dorsale 1.2.6 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/accounting.js +413 -0
  3. data/app/assets/javascripts/dorsale/billing_machine/all.coffee +20 -0
  4. data/app/assets/javascripts/dorsale/billing_machine/invoices.coffee +39 -0
  5. data/app/assets/javascripts/dorsale/billing_machine/quotations.coffee +38 -0
  6. data/app/assets/javascripts/dorsale/comments.coffee +4 -0
  7. data/app/assets/javascripts/dorsale/customer_vault/all.coffee +9 -0
  8. data/app/assets/javascripts/dorsale/datepicker.coffee +1 -1
  9. data/app/assets/javascripts/dorsale/flyboy/all.coffee +0 -0
  10. data/app/assets/javascripts/dorsale/forms.coffee +20 -6
  11. data/app/assets/stylesheets/dorsale/billing_machine/all.sass +15 -0
  12. data/app/assets/stylesheets/dorsale/bootstrap_nav_left.sass +34 -0
  13. data/app/assets/stylesheets/dorsale/comments.sass +25 -3
  14. data/app/assets/stylesheets/dorsale/customer_vault/all.sass +89 -0
  15. data/app/assets/stylesheets/dorsale/filters.sass +4 -1
  16. data/app/assets/stylesheets/dorsale/flyboy/all.sass +52 -0
  17. data/app/assets/stylesheets/dorsale/forms.sass +19 -0
  18. data/app/controllers/dorsale/alexandrie/attachments_controller.rb +52 -0
  19. data/app/controllers/dorsale/billing_machine/application_controller.rb +15 -0
  20. data/app/controllers/dorsale/billing_machine/invoices_controller.rb +180 -0
  21. data/app/controllers/dorsale/billing_machine/quotations_controller.rb +151 -0
  22. data/app/controllers/dorsale/comments_controller.rb +64 -17
  23. data/app/controllers/dorsale/customer_vault/application_controller.rb +26 -0
  24. data/app/controllers/dorsale/customer_vault/corporations_controller.rb +100 -0
  25. data/app/controllers/dorsale/customer_vault/individuals_controller.rb +104 -0
  26. data/app/controllers/dorsale/customer_vault/links_controller.rb +92 -0
  27. data/app/controllers/dorsale/customer_vault/people_controller.rb +42 -0
  28. data/app/controllers/dorsale/flyboy/application_controller.rb +9 -0
  29. data/app/controllers/dorsale/flyboy/folders_controller.rb +124 -0
  30. data/app/controllers/dorsale/flyboy/task_comments_controller.rb +29 -0
  31. data/app/controllers/dorsale/flyboy/tasks_controller.rb +171 -0
  32. data/app/controllers/dorsale/small_data/filters_controller.rb +7 -0
  33. data/app/helpers/dorsale/alexandrie/attachments_helper.rb +17 -0
  34. data/app/helpers/dorsale/all_helpers.rb +12 -9
  35. data/app/helpers/dorsale/button_helper.rb +23 -3
  36. data/app/helpers/dorsale/comments_helper.rb +4 -0
  37. data/app/helpers/dorsale/customer_vault/application_helper.rb +98 -0
  38. data/app/helpers/dorsale/flyboy/application_helper.rb +44 -0
  39. data/app/helpers/dorsale/form_helper.rb +7 -0
  40. data/app/helpers/dorsale/link_helper.rb +3 -2
  41. data/app/helpers/dorsale/routes_helper.rb +5 -3
  42. data/app/helpers/dorsale/text_helper.rb +28 -1
  43. data/app/models/dorsale/ability_helper.rb +7 -0
  44. data/app/models/dorsale/alexandrie/ability_helper.rb +9 -0
  45. data/app/models/dorsale/alexandrie/attachment.rb +18 -0
  46. data/app/models/dorsale/billing_machine/ability_helper.rb +10 -0
  47. data/app/models/dorsale/billing_machine/id_card.rb +18 -0
  48. data/app/models/dorsale/billing_machine/invoice.rb +126 -0
  49. data/app/models/dorsale/billing_machine/invoice_line.rb +27 -0
  50. data/app/models/dorsale/billing_machine/payment_term.rb +12 -0
  51. data/app/models/dorsale/billing_machine/quotation.rb +66 -0
  52. data/app/models/dorsale/billing_machine/quotation_line.rb +25 -0
  53. data/app/models/dorsale/billing_machine/small_data/filter_for_invoices.rb +21 -0
  54. data/app/models/dorsale/billing_machine/small_data/filter_for_quotations.rb +20 -0
  55. data/app/models/dorsale/billing_machine/small_data/filter_strategy_by_customer.rb +12 -0
  56. data/app/models/dorsale/billing_machine/small_data/filter_strategy_by_payment_status.rb +23 -0
  57. data/app/models/dorsale/billing_machine/small_data/filter_strategy_by_time_period.rb +27 -0
  58. data/app/models/dorsale/comment.rb +6 -2
  59. data/app/models/dorsale/customer_vault/ability_helper.rb +9 -0
  60. data/app/models/dorsale/customer_vault/corporation.rb +12 -0
  61. data/app/models/dorsale/customer_vault/individual.rb +17 -0
  62. data/app/models/dorsale/customer_vault/link.rb +10 -0
  63. data/app/models/dorsale/customer_vault/person.rb +35 -0
  64. data/app/models/dorsale/customer_vault/small_data/filter_for_people.rb +19 -0
  65. data/app/models/dorsale/customer_vault/small_data/filter_strategy_by_tags.rb +18 -0
  66. data/app/models/dorsale/flyboy/ability_helper.rb +41 -0
  67. data/app/models/dorsale/flyboy/folder.rb +77 -0
  68. data/app/models/dorsale/flyboy/small_data/filter_for_folders.rb +19 -0
  69. data/app/models/dorsale/flyboy/small_data/filter_for_tasks.rb +19 -0
  70. data/app/models/dorsale/flyboy/small_data/filter_strategy_by_done.rb +12 -0
  71. data/app/models/dorsale/flyboy/small_data/filter_strategy_by_nothing.rb +11 -0
  72. data/app/models/dorsale/flyboy/small_data/filter_strategy_by_status.rb +15 -0
  73. data/app/models/dorsale/flyboy/task.rb +97 -0
  74. data/app/models/dorsale/flyboy/task_comment.rb +35 -0
  75. data/app/pdfs/dorsale/billing_machine/invoice_pdf.rb +209 -0
  76. data/app/pdfs/dorsale/billing_machine/quotation_pdf.rb +53 -0
  77. data/app/pdfs/dorsale/flyboy/roadmap.rb +51 -0
  78. data/app/uploaders/dorsale/alexandrie/file_uploader.rb +6 -0
  79. data/app/uploaders/dorsale/file_uploader.rb +9 -0
  80. data/app/uploaders/dorsale/image_uploader.rb +7 -0
  81. data/app/views/dorsale/_contextual.html.slim +3 -0
  82. data/app/views/dorsale/alexandrie/attachments/_form.html.slim +13 -0
  83. data/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim +2 -0
  84. data/app/views/dorsale/alexandrie/attachments/_list.html.slim +7 -0
  85. data/app/views/dorsale/billing_machine/invoices/_data_context.html.slim +10 -0
  86. data/app/views/dorsale/billing_machine/invoices/_filters.html.slim +16 -0
  87. data/app/views/dorsale/billing_machine/invoices/_form.html.slim +62 -0
  88. data/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim +23 -0
  89. data/app/views/dorsale/billing_machine/invoices/_list.html.slim +30 -0
  90. data/app/views/dorsale/billing_machine/invoices/edit.html.slim +2 -0
  91. data/app/views/dorsale/billing_machine/invoices/index.html.slim +15 -0
  92. data/app/views/dorsale/billing_machine/invoices/new.html.slim +2 -0
  93. data/app/views/dorsale/billing_machine/invoices/show.html.slim +53 -0
  94. data/app/views/dorsale/billing_machine/quotations/_data_context.html.slim +10 -0
  95. data/app/views/dorsale/billing_machine/quotations/_filters.html.slim +13 -0
  96. data/app/views/dorsale/billing_machine/quotations/_form.html.slim +55 -0
  97. data/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim +23 -0
  98. data/app/views/dorsale/billing_machine/quotations/_list.html.slim +30 -0
  99. data/app/views/dorsale/billing_machine/quotations/edit.html.slim +2 -0
  100. data/app/views/dorsale/billing_machine/quotations/index.html.slim +14 -0
  101. data/app/views/dorsale/billing_machine/quotations/new.html.slim +2 -0
  102. data/app/views/dorsale/billing_machine/quotations/show.html.slim +61 -0
  103. data/app/views/dorsale/comments/_comment.html.slim +23 -9
  104. data/app/views/dorsale/comments/_comments.html.slim +2 -2
  105. data/app/views/dorsale/comments/_form.html.slim +1 -1
  106. data/app/views/dorsale/comments/_list.html.slim +2 -0
  107. data/app/views/dorsale/comments/edit.html.slim +5 -0
  108. data/app/views/dorsale/customer_vault/_breadcrumb.html.slim +4 -0
  109. data/app/views/dorsale/customer_vault/corporations/_context.html.slim +20 -0
  110. data/app/views/dorsale/customer_vault/corporations/_form.html.slim +21 -0
  111. data/app/views/dorsale/customer_vault/corporations/_list_details.html.slim +20 -0
  112. data/app/views/dorsale/customer_vault/corporations/edit.html.slim +14 -0
  113. data/app/views/dorsale/customer_vault/corporations/new.html.slim +14 -0
  114. data/app/views/dorsale/customer_vault/corporations/show.html.slim +1 -0
  115. data/app/views/dorsale/customer_vault/individuals/_context.html.slim +15 -0
  116. data/app/views/dorsale/customer_vault/individuals/_form.html.slim +22 -0
  117. data/app/views/dorsale/customer_vault/individuals/_list_details.html.slim +20 -0
  118. data/app/views/dorsale/customer_vault/individuals/edit.html.slim +14 -0
  119. data/app/views/dorsale/customer_vault/individuals/new.html.slim +14 -0
  120. data/app/views/dorsale/customer_vault/individuals/show.html.slim +1 -0
  121. data/app/views/dorsale/customer_vault/links/_title.html.slim +7 -0
  122. data/app/views/dorsale/customer_vault/links/edit.html.slim +19 -0
  123. data/app/views/dorsale/customer_vault/links/new.html.slim +15 -0
  124. data/app/views/dorsale/customer_vault/people/_activity_tab.html.slim +5 -0
  125. data/app/views/dorsale/customer_vault/people/_comment.html.slim +1 -0
  126. data/app/views/dorsale/customer_vault/people/_context.html.slim +4 -0
  127. data/app/views/dorsale/customer_vault/people/_data_context.html.slim +32 -0
  128. data/app/views/dorsale/customer_vault/people/_filters.html.slim +15 -0
  129. data/app/views/dorsale/customer_vault/people/_index_tabs.html.slim +7 -0
  130. data/app/views/dorsale/customer_vault/people/_links_tab.html.slim +16 -0
  131. data/app/views/dorsale/customer_vault/people/_new_people_contexts.html.slim +7 -0
  132. data/app/views/dorsale/customer_vault/people/_show.html.slim +31 -0
  133. data/app/views/dorsale/customer_vault/people/_tasks_tab.html.slim +1 -0
  134. data/app/views/dorsale/customer_vault/people/activity.slim +20 -0
  135. data/app/views/dorsale/customer_vault/people/list.html.slim +27 -0
  136. data/app/views/dorsale/flyboy/_filters.html.slim +12 -0
  137. data/app/views/dorsale/flyboy/folders/_actions.html.slim +15 -0
  138. data/app/views/dorsale/flyboy/folders/_context.html.slim +18 -0
  139. data/app/views/dorsale/flyboy/folders/_form.html.slim +22 -0
  140. data/app/views/dorsale/flyboy/folders/_list.html.slim +30 -0
  141. data/app/views/dorsale/flyboy/folders/edit.html.slim +2 -0
  142. data/app/views/dorsale/flyboy/folders/index.html.slim +8 -0
  143. data/app/views/dorsale/flyboy/folders/new.html.slim +2 -0
  144. data/app/views/dorsale/flyboy/folders/show.html.slim +9 -0
  145. data/app/views/dorsale/flyboy/task_comments/_list.html.slim +31 -0
  146. data/app/views/dorsale/flyboy/tasks/_actions.html.slim +9 -0
  147. data/app/views/dorsale/flyboy/tasks/_context.html.slim +15 -0
  148. data/app/views/dorsale/flyboy/tasks/_form.html.slim +29 -0
  149. data/app/views/dorsale/flyboy/tasks/_list.html.slim +43 -0
  150. data/app/views/dorsale/flyboy/tasks/_tasks_for_taskable.html.slim +6 -0
  151. data/app/views/dorsale/flyboy/tasks/edit.html.slim +2 -0
  152. data/app/views/dorsale/flyboy/tasks/index.html.slim +10 -0
  153. data/app/views/dorsale/flyboy/tasks/index.xls.erb +29 -0
  154. data/app/views/dorsale/flyboy/tasks/new.html.slim +2 -0
  155. data/app/views/dorsale/flyboy/tasks/show.html.slim +14 -0
  156. data/app/views/dorsale/search/_form.html.slim +6 -0
  157. data/config/locales/alexandrie.fr.yml +8 -0
  158. data/config/locales/billing_machine.fr.yml +50 -0
  159. data/config/locales/common.fr.yml +142 -0
  160. data/config/locales/customer_vault.fr.yml +69 -0
  161. data/config/locales/flyboy.fr.yml +66 -0
  162. data/config/locales/fr.yml +8 -87
  163. data/config/routes.rb +50 -1
  164. data/db/migrate/20141010140200_create_dorsale_addresses.rb +1 -1
  165. data/db/migrate/20150312083147_create_dorsale_comments.rb +3 -3
  166. data/db/migrate/20150616074852_create_dorsale_alexandrie_attachments.rb +9 -0
  167. data/db/migrate/20150622075000_create_flyboy.rb +50 -0
  168. data/db/migrate/20150622075038_create_billing_machine.rb +121 -0
  169. data/db/migrate/20150622105217_create_customer_vault.rb +49 -0
  170. data/db/migrate/20150623093218_dorsale_v2_changes.rb +68 -0
  171. data/db/migrate/20150625093326_billing_machine_quotations_add_expires_at.rb +5 -0
  172. data/db/migrate/20150625131155_billing_machine_add_tracking_ids.rb +6 -0
  173. data/lib/active_record_comma_type_cast.rb +12 -0
  174. data/lib/dorsale/alexandrie/prawn.rb +17 -0
  175. data/lib/dorsale/engine.rb +19 -0
  176. data/lib/dorsale/file_loader.rb +10 -0
  177. data/lib/dorsale/model_i18n.rb +21 -0
  178. data/lib/dorsale/model_to_s.rb +13 -0
  179. data/lib/dorsale/polymorphic_id.rb +2 -0
  180. data/lib/dorsale/version.rb +1 -1
  181. data/spec/controllers/dorsale/alexandrie/attachments_controller_spec.rb +47 -0
  182. data/spec/controllers/dorsale/comments_controller_spec.rb +45 -0
  183. data/spec/controllers/dorsale/customer_vault/corporations_controller_spec.rb +132 -0
  184. data/spec/controllers/dorsale/customer_vault/individuals_controller_spec.rb +130 -0
  185. data/spec/controllers/dorsale/customer_vault/people_controller_spec.rb +59 -0
  186. data/spec/controllers/dorsale/flyboy/folders_controller_spec.rb +111 -0
  187. data/spec/controllers/dorsale/flyboy/task_comments_controller_spec.rb +16 -0
  188. data/spec/controllers/dorsale/flyboy/tasks_controller_spec.rb +234 -0
  189. data/spec/dummy/app/assets/javascripts/application.coffee +10 -0
  190. data/spec/dummy/app/assets/stylesheets/application.sass +9 -0
  191. data/spec/dummy/app/controllers/application_controller.rb +4 -0
  192. data/spec/dummy/app/models/ability.rb +16 -0
  193. data/spec/dummy/app/models/dummy_model.rb +2 -0
  194. data/spec/dummy/app/views/layouts/application.html.erb +10 -3
  195. data/spec/dummy/config/application.rb +4 -2
  196. data/spec/dummy/db/development.sqlite3 +0 -0
  197. data/spec/dummy/db/migrate/20150616082916_create_dorsale_dummy_models.rb +8 -0
  198. data/spec/dummy/db/migrate/20150624081204_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb +31 -0
  199. data/spec/dummy/db/migrate/20150624081205_add_missing_unique_indices.acts_as_taggable_on_engine.rb +20 -0
  200. data/spec/dummy/db/migrate/20150624081206_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +15 -0
  201. data/spec/dummy/db/migrate/20150624081207_add_missing_taggable_index.acts_as_taggable_on_engine.rb +10 -0
  202. data/spec/dummy/db/migrate/20150624081208_change_collation_for_tag_names.acts_as_taggable_on_engine.rb +10 -0
  203. data/spec/dummy/db/schema.rb +243 -5
  204. data/spec/dummy/db/seed.rb +1 -0
  205. data/spec/dummy/db/test.sqlite3 +0 -0
  206. data/spec/dummy/log/development.log +227 -0
  207. data/spec/dummy/log/test.log +2740 -25
  208. data/spec/dummy/{app/assets/stylesheets/application.css → tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705} +0 -0
  209. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  210. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  211. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  212. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  213. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  214. data/spec/factories/alexandrie_attachments.rb +12 -0
  215. data/spec/factories/billing_machine_id_cards.rb +26 -0
  216. data/spec/factories/billing_machine_invoice_lines.rb +11 -0
  217. data/spec/factories/billing_machine_invoices.rb +12 -0
  218. data/spec/factories/billing_machine_payment_terms.rb +5 -0
  219. data/spec/factories/billing_machine_quotation_lines.rb +12 -0
  220. data/spec/factories/billing_machine_quotations.rb +12 -0
  221. data/spec/factories/customer_vault_corporations.rb +14 -0
  222. data/spec/factories/customer_vault_individuals.rb +19 -0
  223. data/spec/factories/customer_vault_links.rb +7 -0
  224. data/spec/factories/dorsale_addresses.rb +6 -8
  225. data/spec/factories/dorsale_comments.rb +8 -0
  226. data/spec/factories/flyboy_folders.rb +7 -0
  227. data/spec/factories/flyboy_task_comments.rb +8 -0
  228. data/spec/factories/flyboy_tasks.rb +12 -0
  229. data/spec/files/pdf.pdf +0 -0
  230. data/spec/helpers/dorsale/flyboy/application_helper_spec.rb +91 -0
  231. data/spec/helpers/dorsale/link_helper_spec.rb +1 -0
  232. data/spec/helpers/dorsale/text_helper_spec.rb +33 -9
  233. data/spec/models/dorsale/ability_helper_spec.rb +11 -0
  234. data/spec/models/dorsale/alexandrie/ability_helper_spec.rb +10 -0
  235. data/spec/models/dorsale/alexandrie/attachment_spec.rb +12 -0
  236. data/spec/models/dorsale/billing_machine/id_card_spec.rb +12 -0
  237. data/spec/models/dorsale/billing_machine/invoice_line_spec.rb +50 -0
  238. data/spec/models/dorsale/billing_machine/invoice_spec.rb +156 -0
  239. data/spec/models/dorsale/billing_machine/quotation_line_spec.rb +36 -0
  240. data/spec/models/dorsale/billing_machine/quotation_spec.rb +91 -0
  241. data/spec/models/dorsale/comment_spec.rb +11 -0
  242. data/spec/models/dorsale/customer_vault/corporation_spec.rb +17 -0
  243. data/spec/models/dorsale/customer_vault/individual_spec.rb +17 -0
  244. data/spec/models/dorsale/customer_vault/link_spec.rb +12 -0
  245. data/spec/models/dorsale/customer_vault/person_spec.rb +44 -0
  246. data/spec/models/dorsale/flyboy/ability_spec.rb +148 -0
  247. data/spec/models/dorsale/flyboy/folder_spec.rb +103 -0
  248. data/spec/models/dorsale/flyboy/task_comment_spec.rb +52 -0
  249. data/spec/models/dorsale/flyboy/task_spec.rb +83 -0
  250. data/spec/pdfs/dorsale/billing_machine/invoice_pdf_spec.rb +252 -0
  251. data/spec/pdfs/dorsale/billing_machine/quotation_pdf_spec.rb +255 -0
  252. data/spec/rails_helper.rb +11 -11
  253. data/spec/routing/dorsale/alexandrie/attachments_routing_spec.rb +19 -0
  254. data/spec/routing/dorsale/billing_machine/invoices_routing_spec.rb +53 -0
  255. data/spec/routing/dorsale/billing_machine/quotations_routing_spec.rb +43 -0
  256. data/spec/routing/dorsale/comments_routing_spec.rb +25 -0
  257. data/spec/routing/dorsale/customer_vault/corporations_routing_spec.rb +66 -0
  258. data/spec/routing/dorsale/customer_vault/individual_routing_spec.rb +66 -0
  259. data/spec/routing/dorsale/customer_vault/people_routing_spec.rb +22 -0
  260. data/spec/routing/dorsale/flyboy/folders_routing_spec.rb +44 -0
  261. data/spec/routing/dorsale/flyboy/task_comments_routing_spec.rb +12 -0
  262. data/spec/routing/dorsale/flyboy/tasks_routing_spec.rb +44 -0
  263. data/spec/spec_helper.rb +0 -6
  264. metadata +439 -10
  265. data/MIT-LICENSE +0 -20
  266. data/README.rdoc +0 -3
  267. data/spec/dummy/app/assets/javascripts/application.js +0 -13
@@ -1,14 +1,119 @@
1
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
2
   (0.1ms) begin transaction
3
3
   (0.1ms) rollback transaction
4
4
   (0.1ms) begin transaction
5
5
   (0.0ms) rollback transaction
6
+  (0.0ms) begin transaction
7
+  (0.1ms) rollback transaction
8
+  (0.0ms) begin transaction
9
+  (0.1ms) rollback transaction
10
+  (0.0ms) begin transaction
11
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
12
+  (0.1ms) rollback transaction
13
+  (0.0ms) begin transaction
14
+  (0.0ms) rollback transaction
15
+  (0.1ms) begin transaction
16
+  (0.0ms) rollback transaction
17
+  (0.0ms) begin transaction
18
+  (0.0ms) rollback transaction
19
+  (0.0ms) begin transaction
20
+  (0.0ms) rollback transaction
21
+  (0.0ms) begin transaction
22
+  (0.0ms) rollback transaction
23
+  (0.0ms) begin transaction
24
+  (0.0ms) rollback transaction
25
+  (0.0ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.0ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+  (0.0ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.0ms) begin transaction
32
+  (0.0ms) rollback transaction
33
+  (0.0ms) begin transaction
34
+  (0.0ms) rollback transaction
35
+  (0.0ms) begin transaction
36
+  (0.0ms) rollback transaction
37
+  (0.0ms) begin transaction
38
+  (0.0ms) rollback transaction
39
+  (0.0ms) begin transaction
40
+  (0.0ms) rollback transaction
41
+  (0.0ms) begin transaction
42
+  (0.0ms) rollback transaction
43
+  (0.0ms) begin transaction
44
+  (0.0ms) rollback transaction
45
+  (0.0ms) begin transaction
46
+  (0.0ms) rollback transaction
47
+  (0.0ms) begin transaction
48
+  (0.0ms) rollback transaction
49
+  (0.0ms) begin transaction
50
+  (0.1ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+  (0.1ms) rollback transaction
53
+  (0.0ms) begin transaction
54
+  (0.0ms) rollback transaction
55
+  (0.0ms) begin transaction
56
+  (0.1ms) rollback transaction
57
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
58
   (0.1ms) begin transaction
7
59
   (0.0ms) rollback transaction
60
+  (0.1ms) begin transaction
61
+  (0.1ms) rollback transaction
62
+  (0.0ms) begin transaction
63
+  (0.1ms) rollback transaction
8
64
   (0.0ms) begin transaction
9
65
   (0.0ms) rollback transaction
10
66
   (0.0ms) begin transaction
11
-  (0.1ms) rollback transaction
67
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
68
+  (0.1ms) rollback transaction
69
+  (0.0ms) begin transaction
70
+  (0.1ms) rollback transaction
71
+  (0.0ms) begin transaction
72
+  (0.0ms) rollback transaction
73
+  (0.0ms) begin transaction
74
+  (0.0ms) rollback transaction
75
+  (0.1ms) begin transaction
76
+  (0.0ms) rollback transaction
77
+  (0.0ms) begin transaction
78
+  (0.0ms) rollback transaction
79
+  (0.1ms) begin transaction
80
+  (0.0ms) rollback transaction
81
+  (0.0ms) begin transaction
82
+  (0.0ms) rollback transaction
83
+  (0.0ms) begin transaction
84
+  (0.0ms) rollback transaction
85
+  (0.1ms) begin transaction
86
+  (0.1ms) rollback transaction
87
+  (0.0ms) begin transaction
88
+  (0.0ms) rollback transaction
89
+  (0.0ms) begin transaction
90
+  (0.0ms) rollback transaction
91
+  (0.1ms) begin transaction
92
+  (0.1ms) rollback transaction
93
+  (0.0ms) begin transaction
94
+  (0.0ms) rollback transaction
95
+  (0.0ms) begin transaction
96
+  (0.0ms) rollback transaction
97
+  (0.1ms) begin transaction
98
+  (0.0ms) rollback transaction
99
+  (0.0ms) begin transaction
100
+  (0.0ms) rollback transaction
101
+  (0.0ms) begin transaction
102
+  (0.0ms) rollback transaction
103
+  (0.0ms) begin transaction
104
+  (0.0ms) rollback transaction
105
+  (0.1ms) begin transaction
106
+  (0.1ms) rollback transaction
107
+  (0.1ms) begin transaction
108
+  (0.1ms) rollback transaction
109
+  (0.0ms) begin transaction
110
+  (0.1ms) rollback transaction
111
+  (0.0ms) begin transaction
112
+  (0.1ms) rollback transaction
113
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
114
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
115
+  (0.1ms) begin transaction
116
+  (0.0ms) rollback transaction
12
117
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
118
   (0.1ms) begin transaction
14
119
   (0.1ms) rollback transaction
@@ -17,101 +122,2711 @@
17
122
   (0.1ms) rollback transaction
18
123
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19
124
   (0.1ms) begin transaction
125
+  (0.0ms) rollback transaction
126
+  (0.0ms) begin transaction
127
+  (0.0ms) rollback transaction
128
+  (0.0ms) begin transaction
129
+  (0.0ms) rollback transaction
130
+  (0.0ms) begin transaction
131
+  (0.0ms) rollback transaction
132
+  (0.0ms) begin transaction
133
+  (0.0ms) rollback transaction
134
+  (0.0ms) begin transaction
135
+  (0.0ms) rollback transaction
136
+  (0.0ms) begin transaction
137
+  (0.0ms) rollback transaction
138
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
139
+  (0.1ms) begin transaction
140
+  (0.0ms) rollback transaction
141
+  (0.0ms) begin transaction
142
+  (0.0ms) rollback transaction
143
+  (0.0ms) begin transaction
144
+  (0.0ms) rollback transaction
145
+  (0.0ms) begin transaction
146
+  (0.0ms) rollback transaction
147
+  (0.0ms) begin transaction
148
+  (0.0ms) rollback transaction
149
+  (0.0ms) begin transaction
150
+  (0.0ms) rollback transaction
151
+  (0.0ms) begin transaction
152
+  (0.0ms) rollback transaction
153
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
154
+  (0.1ms) begin transaction
155
+  (0.0ms) rollback transaction
156
+  (0.1ms) begin transaction
157
+  (0.0ms) rollback transaction
158
+  (0.0ms) begin transaction
159
+  (0.0ms) rollback transaction
160
+  (0.0ms) begin transaction
161
+  (0.0ms) rollback transaction
162
+  (0.0ms) begin transaction
163
+  (0.0ms) rollback transaction
164
+  (0.0ms) begin transaction
165
+  (0.0ms) rollback transaction
166
+  (0.0ms) begin transaction
167
+  (0.0ms) rollback transaction
168
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
169
+  (0.1ms) begin transaction
170
+  (0.0ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+  (0.0ms) rollback transaction
173
+  (0.0ms) begin transaction
174
+  (0.0ms) rollback transaction
175
+  (0.0ms) begin transaction
176
+  (0.0ms) rollback transaction
177
+  (0.0ms) begin transaction
20
178
   (0.1ms) rollback transaction
21
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
179
   (0.1ms) begin transaction
23
180
   (0.1ms) rollback transaction
24
181
   (0.1ms) begin transaction
182
+  (0.0ms) rollback transaction
183
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
184
+  (0.1ms) begin transaction
185
+  (0.0ms) rollback transaction
186
+  (0.0ms) begin transaction
187
+  (0.0ms) rollback transaction
188
+  (0.0ms) begin transaction
25
189
   (0.1ms) rollback transaction
190
+  (0.0ms) begin transaction
191
+  (0.0ms) rollback transaction
192
+  (0.0ms) begin transaction
193
+  (0.4ms) SELECT COUNT(*) FROM "dorsale_addresses"
194
+  (0.1ms) rollback transaction
195
+  (0.0ms) begin transaction
196
+  (0.1ms) rollback transaction
197
+  (0.0ms) begin transaction
198
+  (0.0ms) rollback transaction
199
+  (0.0ms) begin transaction
200
+  (0.0ms) rollback transaction
201
+  (0.0ms) begin transaction
202
+  (0.1ms) rollback transaction
203
+  (0.0ms) begin transaction
204
+  (0.0ms) rollback transaction
205
+  (0.0ms) begin transaction
206
+  (0.0ms) rollback transaction
207
+  (0.0ms) begin transaction
208
+  (0.1ms) rollback transaction
209
+  (0.0ms) begin transaction
210
+  (0.0ms) rollback transaction
211
+  (0.0ms) begin transaction
212
+  (0.0ms) rollback transaction
213
+  (0.0ms) begin transaction
214
+  (0.1ms) rollback transaction
215
+  (0.0ms) begin transaction
216
+  (0.0ms) rollback transaction
217
+  (0.0ms) begin transaction
218
+  (0.1ms) rollback transaction
219
+  (0.0ms) begin transaction
220
+  (0.0ms) rollback transaction
221
+  (0.0ms) begin transaction
222
+  (0.0ms) rollback transaction
223
+  (0.0ms) begin transaction
224
+  (0.0ms) rollback transaction
225
+  (0.0ms) begin transaction
226
+  (0.0ms) rollback transaction
227
+  (0.0ms) begin transaction
228
+  (0.0ms) rollback transaction
229
+  (0.0ms) begin transaction
230
+  (0.0ms) rollback transaction
231
+  (0.0ms) begin transaction
232
+  (0.0ms) rollback transaction
233
+  (0.0ms) begin transaction
234
+  (0.1ms) rollback transaction
235
+  (0.0ms) begin transaction
236
+  (0.1ms) rollback transaction
237
+  (0.0ms) begin transaction
238
+  (0.1ms) rollback transaction
239
+  (0.0ms) begin transaction
240
+  (0.0ms) rollback transaction
26
241
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27
242
   (0.1ms) begin transaction
243
+  (0.0ms) rollback transaction
244
+  (0.1ms) begin transaction
28
245
   (0.1ms) rollback transaction
246
+  (0.0ms) begin transaction
247
+  (0.0ms) rollback transaction
248
+  (0.0ms) begin transaction
249
+  (0.0ms) rollback transaction
250
+  (0.0ms) begin transaction
251
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
252
+  (0.1ms) rollback transaction
253
+  (0.0ms) begin transaction
254
+  (0.0ms) rollback transaction
255
+  (0.1ms) begin transaction
256
+  (0.0ms) rollback transaction
257
+  (0.0ms) begin transaction
258
+  (0.0ms) rollback transaction
259
+  (0.0ms) begin transaction
260
+  (0.0ms) rollback transaction
261
+  (0.0ms) begin transaction
262
+  (0.0ms) rollback transaction
263
+  (0.0ms) begin transaction
264
+  (0.0ms) rollback transaction
265
+  (0.0ms) begin transaction
266
+  (0.0ms) rollback transaction
267
+  (0.0ms) begin transaction
268
+  (0.0ms) rollback transaction
269
+  (0.0ms) begin transaction
270
+  (0.0ms) rollback transaction
271
+  (0.0ms) begin transaction
272
+  (0.0ms) rollback transaction
273
+  (0.0ms) begin transaction
274
+  (0.0ms) rollback transaction
275
+  (0.0ms) begin transaction
276
+  (0.1ms) rollback transaction
277
+  (0.0ms) begin transaction
278
+  (0.0ms) rollback transaction
279
+  (0.0ms) begin transaction
280
+  (0.0ms) rollback transaction
281
+  (0.0ms) begin transaction
282
+  (0.0ms) rollback transaction
283
+  (0.0ms) begin transaction
284
+  (0.0ms) rollback transaction
285
+  (0.1ms) begin transaction
286
+  (0.1ms) rollback transaction
287
+  (0.1ms) begin transaction
288
+  (0.1ms) rollback transaction
289
+  (0.1ms) begin transaction
290
+  (0.0ms) rollback transaction
291
+  (0.1ms) begin transaction
292
+  (0.1ms) SAVEPOINT active_record_1
293
+ SQL (11.8ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "MyString"], ["country", "MyString"], ["created_at", Mon, 13 Oct 2014 15:06:25 UTC +00:00], ["street", "MyString"], ["street_bis", "MyString"], ["updated_at", Mon, 13 Oct 2014 15:06:25 UTC +00:00], ["zip", "MyString"]]
294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
295
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (65.0ms)
296
+  (0.5ms) rollback transaction
29
297
   (0.1ms) begin transaction
298
+  (0.0ms) SAVEPOINT active_record_1
299
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:06:25 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:06:25 UTC +00:00], ["zip", "Zip"]]
300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
301
+  (0.0ms) SAVEPOINT active_record_1
302
+ SQL (1.0ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:06:25 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:06:25 UTC +00:00], ["zip", "Zip"]]
303
+  (0.0ms) RELEASE SAVEPOINT active_record_1
304
+  (0.6ms) rollback transaction
305
+  (0.1ms) begin transaction
306
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (55.5ms)
30
307
   (0.1ms) rollback transaction
308
+  (0.1ms) begin transaction
309
+  (0.0ms) SAVEPOINT active_record_1
310
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:06:25 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:06:25 UTC +00:00], ["zip", "Zip"]]
311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
312
+  (0.5ms) rollback transaction
31
313
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
32
314
   (0.1ms) begin transaction
33
315
   (0.1ms) rollback transaction
316
+  (0.0ms) begin transaction
317
+  (0.0ms) rollback transaction
318
+  (0.0ms) begin transaction
319
+  (0.1ms) rollback transaction
320
+  (0.0ms) begin transaction
321
+  (0.0ms) rollback transaction
322
+  (0.0ms) begin transaction
323
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
324
+  (0.1ms) rollback transaction
325
+  (0.0ms) begin transaction
326
+  (0.0ms) rollback transaction
327
+  (0.1ms) begin transaction
328
+  (0.0ms) rollback transaction
329
+  (0.0ms) begin transaction
330
+  (0.0ms) rollback transaction
331
+  (0.0ms) begin transaction
332
+  (0.0ms) rollback transaction
333
+  (0.0ms) begin transaction
334
+  (0.0ms) rollback transaction
335
+  (0.0ms) begin transaction
336
+  (0.0ms) rollback transaction
337
+  (0.0ms) begin transaction
338
+  (0.0ms) rollback transaction
339
+  (0.0ms) begin transaction
340
+  (0.0ms) rollback transaction
341
+  (0.0ms) begin transaction
342
+  (0.1ms) rollback transaction
343
+  (0.0ms) begin transaction
344
+  (0.0ms) rollback transaction
345
+  (0.0ms) begin transaction
346
+  (0.0ms) rollback transaction
347
+  (0.0ms) begin transaction
348
+  (0.1ms) rollback transaction
349
+  (0.0ms) begin transaction
350
+  (0.0ms) rollback transaction
351
+  (0.0ms) begin transaction
352
+  (0.0ms) rollback transaction
353
+  (0.0ms) begin transaction
354
+  (0.0ms) rollback transaction
355
+  (0.0ms) begin transaction
356
+  (0.0ms) rollback transaction
357
+  (0.0ms) begin transaction
358
+  (0.0ms) rollback transaction
359
+  (0.0ms) begin transaction
360
+  (0.0ms) rollback transaction
361
+  (0.0ms) begin transaction
362
+  (0.0ms) rollback transaction
363
+  (0.0ms) begin transaction
364
+  (0.0ms) SAVEPOINT active_record_1
365
+ SQL (2.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "MyString"], ["country", "MyString"], ["created_at", Mon, 13 Oct 2014 15:07:20 UTC +00:00], ["street", "MyString"], ["street_bis", "MyString"], ["updated_at", Mon, 13 Oct 2014 15:07:20 UTC +00:00], ["zip", "MyString"]]
366
+  (0.0ms) RELEASE SAVEPOINT active_record_1
367
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (61.1ms)
368
+  (6.7ms) rollback transaction
34
369
   (0.1ms) begin transaction
370
+  (0.1ms) SAVEPOINT active_record_1
371
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:07:21 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:07:21 UTC +00:00], ["zip", "Zip"]]
372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
373
+  (0.0ms) SAVEPOINT active_record_1
374
+ SQL (1.0ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:07:21 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:07:21 UTC +00:00], ["zip", "Zip"]]
375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
376
+  (0.5ms) rollback transaction
377
+  (0.1ms) begin transaction
378
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (54.8ms)
35
379
   (0.1ms) rollback transaction
380
+  (0.0ms) begin transaction
381
+  (0.0ms) SAVEPOINT active_record_1
382
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:07:21 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:07:21 UTC +00:00], ["zip", "Zip"]]
383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
384
+  (0.5ms) rollback transaction
36
385
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37
386
   (0.1ms) begin transaction
38
387
   (0.1ms) rollback transaction
388
+  (0.0ms) begin transaction
389
+  (0.0ms) rollback transaction
390
+  (0.0ms) begin transaction
391
+  (0.1ms) rollback transaction
392
+  (0.0ms) begin transaction
393
+  (0.0ms) rollback transaction
394
+  (0.0ms) begin transaction
395
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
396
+  (0.1ms) rollback transaction
397
+  (0.0ms) begin transaction
398
+  (0.0ms) rollback transaction
399
+  (0.0ms) begin transaction
400
+  (0.0ms) rollback transaction
401
+  (0.0ms) begin transaction
402
+  (0.0ms) rollback transaction
403
+  (0.1ms) begin transaction
404
+  (0.0ms) rollback transaction
405
+  (0.0ms) begin transaction
406
+  (0.0ms) rollback transaction
407
+  (0.1ms) begin transaction
408
+  (0.1ms) rollback transaction
409
+  (0.1ms) begin transaction
410
+  (0.0ms) rollback transaction
411
+  (0.0ms) begin transaction
412
+  (0.0ms) rollback transaction
413
+  (0.0ms) begin transaction
414
+  (0.1ms) rollback transaction
415
+  (0.0ms) begin transaction
416
+  (0.0ms) rollback transaction
417
+  (0.0ms) begin transaction
418
+  (0.0ms) rollback transaction
419
+  (0.0ms) begin transaction
420
+  (0.1ms) rollback transaction
421
+  (0.0ms) begin transaction
422
+  (0.0ms) rollback transaction
423
+  (0.0ms) begin transaction
424
+  (0.0ms) rollback transaction
425
+  (0.0ms) begin transaction
426
+  (0.0ms) rollback transaction
427
+  (0.0ms) begin transaction
428
+  (0.0ms) rollback transaction
429
+  (0.0ms) begin transaction
430
+  (0.0ms) rollback transaction
431
+  (0.0ms) begin transaction
432
+  (0.0ms) rollback transaction
433
+  (0.0ms) begin transaction
434
+  (0.0ms) rollback transaction
435
+  (0.0ms) begin transaction
436
+  (0.0ms) SAVEPOINT active_record_1
437
+ SQL (2.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "MyString"], ["country", "MyString"], ["created_at", Mon, 13 Oct 2014 15:08:30 UTC +00:00], ["street", "MyString"], ["street_bis", "MyString"], ["updated_at", Mon, 13 Oct 2014 15:08:30 UTC +00:00], ["zip", "MyString"]]
438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
439
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (22.1ms)
440
+  (0.5ms) rollback transaction
441
+  (0.1ms) begin transaction
442
+  (0.0ms) SAVEPOINT active_record_1
443
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:08:30 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:08:30 UTC +00:00], ["zip", "Zip"]]
444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
445
+  (0.0ms) SAVEPOINT active_record_1
446
+ SQL (0.9ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:08:30 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:08:30 UTC +00:00], ["zip", "Zip"]]
447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
448
+  (0.6ms) rollback transaction
39
449
   (0.1ms) begin transaction
450
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (5.9ms)
40
451
   (0.1ms) rollback transaction
41
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
452
+  (0.0ms) begin transaction
453
+  (0.0ms) SAVEPOINT active_record_1
454
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:08:30 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:08:30 UTC +00:00], ["zip", "Zip"]]
455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
456
+  (0.5ms) rollback transaction
457
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
42
458
   (0.1ms) begin transaction
459
+  (0.0ms) rollback transaction
460
+  (0.0ms) begin transaction
461
+  (0.0ms) rollback transaction
462
+  (0.0ms) begin transaction
43
463
   (0.1ms) rollback transaction
464
+  (0.0ms) begin transaction
465
+  (0.0ms) rollback transaction
466
+  (0.0ms) begin transaction
467
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
468
+  (0.0ms) rollback transaction
469
+  (0.1ms) begin transaction
470
+  (0.0ms) rollback transaction
471
+  (0.0ms) begin transaction
472
+  (0.0ms) rollback transaction
473
+  (0.0ms) begin transaction
474
+  (0.0ms) rollback transaction
475
+  (0.0ms) begin transaction
476
+  (0.0ms) rollback transaction
477
+  (0.0ms) begin transaction
478
+  (0.0ms) rollback transaction
479
+  (0.0ms) begin transaction
480
+  (0.0ms) rollback transaction
481
+  (0.0ms) begin transaction
482
+  (0.0ms) rollback transaction
483
+  (0.0ms) begin transaction
484
+  (0.0ms) rollback transaction
485
+  (0.0ms) begin transaction
486
+  (0.0ms) rollback transaction
487
+  (0.0ms) begin transaction
488
+  (0.0ms) rollback transaction
489
+  (0.0ms) begin transaction
490
+  (0.0ms) rollback transaction
491
+  (0.0ms) begin transaction
492
+  (0.1ms) rollback transaction
493
+  (0.0ms) begin transaction
494
+  (0.0ms) rollback transaction
495
+  (0.0ms) begin transaction
496
+  (0.0ms) rollback transaction
497
+  (0.0ms) begin transaction
498
+  (0.0ms) rollback transaction
499
+  (0.0ms) begin transaction
500
+  (0.0ms) rollback transaction
501
+  (0.0ms) begin transaction
502
+  (0.0ms) rollback transaction
503
+  (0.0ms) begin transaction
504
+  (0.0ms) rollback transaction
505
+  (0.0ms) begin transaction
506
+  (0.0ms) rollback transaction
507
+  (0.0ms) begin transaction
508
+  (0.1ms) SAVEPOINT active_record_1
509
+ SQL (2.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "MyString"], ["country", "MyString"], ["created_at", Mon, 13 Oct 2014 15:10:29 UTC +00:00], ["street", "MyString"], ["street_bis", "MyString"], ["updated_at", Mon, 13 Oct 2014 15:10:29 UTC +00:00], ["zip", "MyString"]]
510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
511
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (9.6ms)
512
+  (6.6ms) rollback transaction
44
513
   (0.1ms) begin transaction
514
+  (0.1ms) SAVEPOINT active_record_1
515
+ SQL (0.5ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:10:29 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:10:29 UTC +00:00], ["zip", "Zip"]]
516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
517
+  (0.0ms) SAVEPOINT active_record_1
518
+ SQL (0.9ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:10:29 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:10:29 UTC +00:00], ["zip", "Zip"]]
519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
520
+  (0.5ms) rollback transaction
521
+  (0.1ms) begin transaction
522
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (6.1ms)
45
523
   (0.1ms) rollback transaction
524
+  (0.1ms) begin transaction
525
+  (0.1ms) SAVEPOINT active_record_1
526
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:10:30 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:10:30 UTC +00:00], ["zip", "Zip"]]
527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
528
+  (0.5ms) rollback transaction
46
529
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
530
   (0.1ms) begin transaction
48
-  (0.1ms) rollback transaction
531
+  (0.0ms) SAVEPOINT active_record_1
532
+ SQL (2.6ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
534
+  (6.7ms) rollback transaction
535
+  (0.1ms) begin transaction
536
+  (0.1ms) SAVEPOINT active_record_1
537
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
539
+  (0.5ms) rollback transaction
49
540
   (0.1ms) begin transaction
50
541
   (0.1ms) rollback transaction
542
+  (0.0ms) begin transaction
543
+  (0.1ms) SAVEPOINT active_record_1
544
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
546
+  (0.3ms) rollback transaction
547
+  (0.0ms) begin transaction
548
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
549
+  (0.1ms) rollback transaction
51
550
   (0.1ms) begin transaction
52
551
   (0.0ms) rollback transaction
552
+  (0.0ms) begin transaction
553
+  (0.0ms) rollback transaction
554
+  (0.0ms) begin transaction
555
+  (0.0ms) rollback transaction
53
556
   (0.1ms) begin transaction
54
557
   (0.0ms) rollback transaction
55
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
558
+  (0.0ms) begin transaction
559
+  (0.0ms) SAVEPOINT active_record_1
560
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
562
+  (0.4ms) rollback transaction
563
+  (0.0ms) begin transaction
564
+  (0.1ms) SAVEPOINT active_record_1
565
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
567
+  (0.4ms) rollback transaction
568
+  (0.0ms) begin transaction
569
+  (0.0ms) SAVEPOINT active_record_1
570
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
571
+  (0.0ms) RELEASE SAVEPOINT active_record_1
572
+  (0.4ms) rollback transaction
573
+  (0.0ms) begin transaction
574
+  (0.0ms) SAVEPOINT active_record_1
575
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
577
+  (0.4ms) rollback transaction
578
+  (0.0ms) begin transaction
579
+  (0.1ms) SAVEPOINT active_record_1
580
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
582
+  (0.3ms) rollback transaction
583
+  (0.0ms) begin transaction
584
+  (0.0ms) SAVEPOINT active_record_1
585
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
587
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
588
+  (0.5ms) rollback transaction
589
+  (0.1ms) begin transaction
590
+  (0.1ms) SAVEPOINT active_record_1
591
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "13004"]]
592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
593
+  (0.4ms) rollback transaction
56
594
   (0.1ms) begin transaction
57
595
   (0.1ms) rollback transaction
596
+  (0.0ms) begin transaction
597
+  (0.0ms) rollback transaction
598
+  (0.0ms) begin transaction
599
+  (0.0ms) rollback transaction
600
+  (0.0ms) begin transaction
601
+  (0.0ms) rollback transaction
602
+  (0.0ms) begin transaction
603
+  (0.0ms) rollback transaction
604
+  (0.0ms) begin transaction
605
+  (0.0ms) rollback transaction
606
+  (0.0ms) begin transaction
607
+  (0.0ms) rollback transaction
608
+  (0.0ms) begin transaction
609
+  (0.0ms) rollback transaction
610
+  (0.0ms) begin transaction
611
+  (0.0ms) SAVEPOINT active_record_1
612
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "MyString"], ["country", "MyString"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "MyString"], ["street_bis", "MyString"], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "MyString"]]
613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
614
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (9.7ms)
615
+  (6.7ms) rollback transaction
616
+  (0.1ms) begin transaction
617
+  (0.1ms) SAVEPOINT active_record_1
618
+ SQL (0.5ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "Zip"]]
619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
620
+  (0.0ms) SAVEPOINT active_record_1
621
+ SQL (1.0ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "Zip"]]
622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
623
+  (0.5ms) rollback transaction
624
+  (0.1ms) begin transaction
625
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (7.3ms)
626
+  (0.1ms) rollback transaction
627
+  (0.1ms) begin transaction
628
+  (0.1ms) SAVEPOINT active_record_1
629
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:10:49 UTC +00:00], ["zip", "Zip"]]
630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
631
+  (0.4ms) rollback transaction
632
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
58
633
   (0.1ms) begin transaction
634
+  (0.0ms) SAVEPOINT active_record_1
635
+ SQL (2.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:29 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:29 UTC +00:00], ["zip", "13004"]]
636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
637
+ Processing by Dorsale::AddressesController#index as HTML
638
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/index.html.slim within layouts/application (0.3ms)
639
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
640
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses"
641
+  (0.4ms) rollback transaction
642
+  (0.0ms) begin transaction
643
+  (0.0ms) SAVEPOINT active_record_1
644
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:29 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:29 UTC +00:00], ["zip", "13004"]]
645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
646
+ Processing by Dorsale::AddressesController#show as HTML
647
+ Parameters: {"id"=>"1"}
648
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
649
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)
650
+  (0.5ms) rollback transaction
651
+  (0.0ms) begin transaction
652
+ Processing by Dorsale::AddressesController#new as HTML
653
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
59
654
   (0.1ms) rollback transaction
60
655
   (0.0ms) begin transaction
656
+  (0.1ms) SAVEPOINT active_record_1
657
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:29 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:29 UTC +00:00], ["zip", "13004"]]
658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
659
+ Processing by Dorsale::AddressesController#edit as HTML
660
+ Parameters: {"id"=>"1"}
661
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
662
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
663
+  (0.5ms) rollback transaction
664
+  (0.0ms) begin transaction
665
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
666
+ Processing by Dorsale::AddressesController#create as HTML
667
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}}
668
+  (0.0ms) SAVEPOINT active_record_1
669
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
671
+ Redirected to http://test.host/dorsale/addresses/1
672
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
673
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
674
+  (0.6ms) rollback transaction
675
+  (0.1ms) begin transaction
676
+ Processing by Dorsale::AddressesController#create as HTML
677
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}}
678
+  (0.1ms) SAVEPOINT active_record_1
679
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
681
+ Redirected to http://test.host/dorsale/addresses/1
682
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
683
+  (0.5ms) rollback transaction
684
+  (0.0ms) begin transaction
685
+ Processing by Dorsale::AddressesController#create as HTML
686
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}}
687
+  (0.1ms) SAVEPOINT active_record_1
688
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
689
+  (0.1ms) RELEASE SAVEPOINT active_record_1
690
+ Redirected to http://test.host/dorsale/addresses/1
691
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
692
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" ORDER BY "dorsale_addresses"."id" DESC LIMIT 1
693
+  (0.3ms) rollback transaction
694
+  (0.0ms) begin transaction
695
+ Processing by Dorsale::AddressesController#create as HTML
696
+ Parameters: {"address"=>{"city"=>""}}
697
+  (0.0ms) SAVEPOINT active_record_1
698
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
699
+ Completed 200 OK in 326ms (Views: 0.7ms | ActiveRecord: 0.1ms)
61
700
   (0.1ms) rollback transaction
701
+  (0.0ms) begin transaction
702
+ Processing by Dorsale::AddressesController#create as HTML
703
+ Parameters: {"address"=>{"city"=>""}}
704
+  (0.0ms) SAVEPOINT active_record_1
705
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
706
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
707
+  (0.0ms) rollback transaction
708
+  (0.0ms) begin transaction
709
+  (0.0ms) SAVEPOINT active_record_1
710
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
712
+ Processing by Dorsale::AddressesController#update as HTML
713
+ Parameters: {"address"=>{"city"=>"new city"}, "id"=>"1"}
714
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
715
+  (0.0ms) SAVEPOINT active_record_1
716
+ SQL (1.2ms) UPDATE "dorsale_addresses" SET "city" = ?, "updated_at" = ? WHERE "dorsale_addresses"."id" = 1 [["city", "new city"], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00]]
717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
718
+ Redirected to http://test.host/dorsale/addresses/1
719
+ Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
720
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", 1]]
721
+  (6.5ms) rollback transaction
62
722
   (0.1ms) begin transaction
63
-  (0.1ms) rollback transaction
64
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
723
+  (0.0ms) SAVEPOINT active_record_1
724
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
726
+ Processing by Dorsale::AddressesController#update as HTML
727
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}, "id"=>"1"}
728
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
729
+  (0.0ms) SAVEPOINT active_record_1
730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
731
+ Redirected to http://test.host/dorsale/addresses/1
732
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
733
+  (0.4ms) rollback transaction
734
+  (0.0ms) begin transaction
735
+  (0.0ms) SAVEPOINT active_record_1
736
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
738
+ Processing by Dorsale::AddressesController#update as HTML
739
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}, "id"=>"1"}
740
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
741
+  (0.0ms) SAVEPOINT active_record_1
742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
743
+ Redirected to http://test.host/dorsale/addresses/1
744
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
745
+  (0.4ms) rollback transaction
746
+  (0.0ms) begin transaction
747
+  (0.0ms) SAVEPOINT active_record_1
748
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
750
+ Processing by Dorsale::AddressesController#update as HTML
751
+ Parameters: {"address"=>{"city"=>""}, "id"=>"1"}
752
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
753
+  (0.0ms) SAVEPOINT active_record_1
754
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
755
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
756
+  (0.4ms) rollback transaction
757
+  (0.0ms) begin transaction
758
+  (0.0ms) SAVEPOINT active_record_1
759
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
761
+ Processing by Dorsale::AddressesController#update as HTML
762
+ Parameters: {"address"=>{"city"=>""}, "id"=>"1"}
763
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
764
+  (0.0ms) SAVEPOINT active_record_1
765
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
766
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
767
+  (0.5ms) rollback transaction
768
+  (0.0ms) begin transaction
769
+  (0.0ms) SAVEPOINT active_record_1
770
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
772
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
773
+ Processing by Dorsale::AddressesController#destroy as HTML
774
+ Parameters: {"id"=>"1"}
775
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
776
+  (0.1ms) SAVEPOINT active_record_1
777
+ SQL (0.4ms) DELETE FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? [["id", 1]]
778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
779
+ Redirected to http://test.host/dorsale/addresses
780
+ Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
781
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
782
+  (0.5ms) rollback transaction
783
+  (0.0ms) begin transaction
784
+  (0.0ms) SAVEPOINT active_record_1
785
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "13004"]]
786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
787
+ Processing by Dorsale::AddressesController#destroy as HTML
788
+ Parameters: {"id"=>"1"}
789
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
790
+  (0.0ms) SAVEPOINT active_record_1
791
+ SQL (0.2ms) DELETE FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? [["id", 1]]
792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
793
+ Redirected to http://test.host/dorsale/addresses
794
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
795
+  (0.4ms) rollback transaction
796
+  (0.0ms) begin transaction
797
+  (0.0ms) rollback transaction
798
+  (0.0ms) begin transaction
799
+  (0.0ms) rollback transaction
800
+  (0.0ms) begin transaction
801
+  (0.0ms) rollback transaction
802
+  (0.0ms) begin transaction
803
+  (0.0ms) rollback transaction
804
+  (0.0ms) begin transaction
805
+  (0.0ms) rollback transaction
806
+  (0.0ms) begin transaction
807
+  (0.0ms) rollback transaction
808
+  (0.0ms) begin transaction
809
+  (0.0ms) rollback transaction
810
+  (0.0ms) begin transaction
811
+  (0.0ms) rollback transaction
812
+  (0.0ms) begin transaction
813
+  (0.0ms) SAVEPOINT active_record_1
814
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "MyString"], ["country", "MyString"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "MyString"], ["street_bis", "MyString"], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "MyString"]]
815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
816
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (9.2ms)
817
+  (0.5ms) rollback transaction
818
+  (0.1ms) begin transaction
819
+  (0.0ms) SAVEPOINT active_record_1
820
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "Zip"]]
821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
822
+  (0.0ms) SAVEPOINT active_record_1
823
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "Zip"]]
824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
825
+  (0.5ms) rollback transaction
826
+  (0.0ms) begin transaction
827
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (5.9ms)
828
+  (0.1ms) rollback transaction
829
+  (0.0ms) begin transaction
830
+  (0.0ms) SAVEPOINT active_record_1
831
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:11:30 UTC +00:00], ["zip", "Zip"]]
832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
833
+  (0.4ms) rollback transaction
834
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
65
835
   (0.1ms) begin transaction
836
+  (0.1ms) SAVEPOINT active_record_1
837
+ SQL (2.2ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
839
+ Processing by Dorsale::AddressesController#index as HTML
840
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/index.html.slim within layouts/application (0.2ms)
841
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
842
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses"
843
+  (6.5ms) rollback transaction
844
+  (0.1ms) begin transaction
845
+  (0.1ms) SAVEPOINT active_record_1
846
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
848
+ Processing by Dorsale::AddressesController#show as HTML
849
+ Parameters: {"id"=>"1"}
850
+ Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
851
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
852
+  (0.5ms) rollback transaction
853
+  (0.0ms) begin transaction
854
+ Processing by Dorsale::AddressesController#new as HTML
855
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
66
856
   (0.1ms) rollback transaction
857
+  (0.0ms) begin transaction
858
+  (0.0ms) SAVEPOINT active_record_1
859
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
861
+ Processing by Dorsale::AddressesController#edit as HTML
862
+ Parameters: {"id"=>"1"}
863
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
864
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
865
+  (0.4ms) rollback transaction
67
866
   (0.1ms) begin transaction
867
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
868
+ Processing by Dorsale::AddressesController#create as HTML
869
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}}
870
+  (0.1ms) SAVEPOINT active_record_1
871
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
873
+ Redirected to http://test.host/dorsale/addresses/1
874
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
875
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
876
+  (0.3ms) rollback transaction
877
+  (0.1ms) begin transaction
878
+ Processing by Dorsale::AddressesController#create as HTML
879
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}}
880
+  (0.1ms) SAVEPOINT active_record_1
881
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
883
+ Redirected to http://test.host/dorsale/addresses/1
884
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
885
+  (0.4ms) rollback transaction
886
+  (0.0ms) begin transaction
887
+ Processing by Dorsale::AddressesController#create as HTML
888
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}}
889
+  (0.0ms) SAVEPOINT active_record_1
890
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
892
+ Redirected to http://test.host/dorsale/addresses/1
893
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
894
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" ORDER BY "dorsale_addresses"."id" DESC LIMIT 1
895
+  (0.4ms) rollback transaction
896
+  (0.0ms) begin transaction
897
+ Processing by Dorsale::AddressesController#create as HTML
898
+ Parameters: {"address"=>{"city"=>""}}
899
+  (0.0ms) SAVEPOINT active_record_1
900
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
901
+ Completed 200 OK in 325ms (Views: 0.7ms | ActiveRecord: 0.1ms)
68
902
   (0.0ms) rollback transaction
903
+  (0.0ms) begin transaction
904
+ Processing by Dorsale::AddressesController#create as HTML
905
+ Parameters: {"address"=>{"city"=>""}}
906
+  (0.0ms) SAVEPOINT active_record_1
907
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
908
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
909
+  (0.1ms) rollback transaction
910
+  (0.0ms) begin transaction
911
+  (0.0ms) SAVEPOINT active_record_1
912
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
914
+ Processing by Dorsale::AddressesController#update as HTML
915
+ Parameters: {"address"=>{"city"=>"new city"}, "id"=>"1"}
916
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
917
+  (0.0ms) SAVEPOINT active_record_1
918
+ SQL (1.2ms) UPDATE "dorsale_addresses" SET "city" = ?, "updated_at" = ? WHERE "dorsale_addresses"."id" = 1 [["city", "new city"], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00]]
919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
920
+ Redirected to http://test.host/dorsale/addresses/1
921
+ Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
922
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", 1]]
923
+  (0.5ms) rollback transaction
924
+  (0.1ms) begin transaction
925
+  (0.1ms) SAVEPOINT active_record_1
926
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
928
+ Processing by Dorsale::AddressesController#update as HTML
929
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}, "id"=>"1"}
930
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
931
+  (0.0ms) SAVEPOINT active_record_1
932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
933
+ Redirected to http://test.host/dorsale/addresses/1
934
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
935
+  (0.4ms) rollback transaction
69
936
   (0.1ms) begin transaction
937
+  (0.0ms) SAVEPOINT active_record_1
938
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
940
+ Processing by Dorsale::AddressesController#update as HTML
941
+ Parameters: {"address"=>{"street"=>"3 Rue Marx Dormoy", "street_bis"=>"", "city"=>"Marseille", "zip"=>"13004", "country"=>"France"}, "id"=>"1"}
942
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
943
+  (0.0ms) SAVEPOINT active_record_1
944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
945
+ Redirected to http://test.host/dorsale/addresses/1
946
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
947
+  (0.4ms) rollback transaction
948
+  (0.0ms) begin transaction
949
+  (0.0ms) SAVEPOINT active_record_1
950
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
951
+  (0.0ms) RELEASE SAVEPOINT active_record_1
952
+ Processing by Dorsale::AddressesController#update as HTML
953
+ Parameters: {"address"=>{"city"=>""}, "id"=>"1"}
954
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
955
+  (0.0ms) SAVEPOINT active_record_1
956
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
957
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
958
+  (0.4ms) rollback transaction
959
+  (0.0ms) begin transaction
960
+  (0.0ms) SAVEPOINT active_record_1
961
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
963
+ Processing by Dorsale::AddressesController#update as HTML
964
+ Parameters: {"address"=>{"city"=>""}, "id"=>"1"}
965
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
966
+  (0.0ms) SAVEPOINT active_record_1
967
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
968
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
969
+  (0.4ms) rollback transaction
970
+  (0.0ms) begin transaction
971
+  (0.0ms) SAVEPOINT active_record_1
972
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
974
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
975
+ Processing by Dorsale::AddressesController#destroy as HTML
976
+ Parameters: {"id"=>"1"}
977
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
978
+  (0.0ms) SAVEPOINT active_record_1
979
+ SQL (0.3ms) DELETE FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? [["id", 1]]
980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
981
+ Redirected to http://test.host/dorsale/addresses
982
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
983
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_addresses"
984
+  (0.5ms) rollback transaction
985
+  (0.0ms) begin transaction
986
+  (0.1ms) SAVEPOINT active_record_1
987
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "Marseille"], ["country", "France"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "3 Rue Marx Dormoy"], ["street_bis", ""], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "13004"]]
988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
989
+ Processing by Dorsale::AddressesController#destroy as HTML
990
+ Parameters: {"id"=>"1"}
991
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? LIMIT 1 [["id", "1"]]
992
+  (0.0ms) SAVEPOINT active_record_1
993
+ SQL (0.2ms) DELETE FROM "dorsale_addresses" WHERE "dorsale_addresses"."id" = ? [["id", 1]]
994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
995
+ Redirected to http://test.host/dorsale/addresses
996
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
997
+  (0.4ms) rollback transaction
998
+  (0.0ms) begin transaction
999
+  (0.0ms) rollback transaction
1000
+  (0.0ms) begin transaction
1001
+  (0.0ms) rollback transaction
1002
+  (0.0ms) begin transaction
1003
+  (0.0ms) rollback transaction
1004
+  (0.0ms) begin transaction
1005
+  (0.0ms) rollback transaction
1006
+  (0.0ms) begin transaction
1007
+  (0.0ms) rollback transaction
1008
+  (0.0ms) begin transaction
1009
+  (0.0ms) rollback transaction
1010
+  (0.0ms) begin transaction
1011
+  (0.0ms) rollback transaction
1012
+  (0.0ms) begin transaction
70
1013
   (0.0ms) rollback transaction
71
1014
   (0.1ms) begin transaction
72
-  (0.1ms) rollback transaction
73
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
74
-  (0.2ms) begin transaction
75
-  (0.1ms) rollback transaction
1015
+  (0.0ms) SAVEPOINT active_record_1
1016
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "MyString"], ["country", "MyString"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "MyString"], ["street_bis", "MyString"], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "MyString"]]
1017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1018
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (9.4ms)
1019
+  (0.5ms) rollback transaction
1020
+  (0.0ms) begin transaction
1021
+  (0.0ms) SAVEPOINT active_record_1
1022
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "Zip"]]
1023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1024
+  (0.0ms) SAVEPOINT active_record_1
1025
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "Zip"]]
1026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1027
+  (0.5ms) rollback transaction
1028
+  (0.0ms) begin transaction
1029
+ Rendered /Users/benoit/Sources/dorsale/app/views/dorsale/addresses/_form.html.slim (6.1ms)
1030
+  (0.1ms) rollback transaction
1031
+  (0.1ms) begin transaction
1032
+  (0.0ms) SAVEPOINT active_record_1
1033
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("city", "country", "created_at", "street", "street_bis", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["country", "Country"], ["created_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["street", "Street"], ["street_bis", "Street Bis"], ["updated_at", Mon, 13 Oct 2014 15:12:13 UTC +00:00], ["zip", "Zip"]]
1034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1035
+  (0.5ms) rollback transaction
1036
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
1037
   (0.1ms) begin transaction
77
1038
   (0.1ms) rollback transaction
78
1039
   (0.1ms) begin transaction
79
-  (0.0ms) rollback transaction
1040
+  (0.1ms) SAVEPOINT active_record_1
1041
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Guerin et Hubert SEM"], ["short_name", "SN"], ["email", "gabriel.mercier@thomas.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://fabre.com/louise_roche"], ["created_at", "2015-07-22 08:56:59.387060"], ["updated_at", "2015-07-22 08:56:59.387060"]]
1042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1043
+  (0.1ms) SAVEPOINT active_record_1
1044
+ SQL (0.5ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:56:59.409880"], ["updated_at", "2015-07-22 08:56:59.409880"]]
1045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1046
+  (0.0ms) SAVEPOINT active_record_1
1047
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term voluptate placeat ullam"], ["created_at", "2015-07-22 08:56:59.415409"], ["updated_at", "2015-07-22 08:56:59.415409"]]
1048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1049
+  (0.1ms) SAVEPOINT active_record_1
1050
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:56:59.437301"], ["updated_at", "2015-07-22 08:56:59.437301"]]
1051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1052
+  (0.0ms) SAVEPOINT active_record_1
1053
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1054
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:56:59.451145"], ["updated_at", "2015-07-22 08:56:59.451145"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1056
+  (1.0ms) rollback transaction
80
1057
   (0.1ms) begin transaction
81
-  (0.0ms) rollback transaction
82
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1058
+  (0.0ms) SAVEPOINT active_record_1
1059
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Baron GIE SEM"], ["short_name", "SN"], ["email", "camille.michel@maillard.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://renaud.name/gabriel_picard"], ["created_at", "2015-07-22 08:56:59.458399"], ["updated_at", "2015-07-22 08:56:59.458399"]]
1060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1061
+  (0.0ms) SAVEPOINT active_record_1
1062
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:56:59.460719"], ["updated_at", "2015-07-22 08:56:59.460719"]]
1063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1064
+  (0.0ms) SAVEPOINT active_record_1
1065
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term reprehenderit error et"], ["created_at", "2015-07-22 08:56:59.462374"], ["updated_at", "2015-07-22 08:56:59.462374"]]
1066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1067
+  (0.0ms) SAVEPOINT active_record_1
1068
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:56:59.464255"], ["updated_at", "2015-07-22 08:56:59.464255"]]
1069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1070
+  (0.1ms) SAVEPOINT active_record_1
1071
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1072
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:56:59.468525"], ["updated_at", "2015-07-22 08:56:59.468525"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1074
+  (0.1ms) SAVEPOINT active_record_1
1075
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineut possimus corrupti"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:57:00.456179"], ["updated_at", "2015-07-22 08:56:59.472949"]]
1076
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1077
+ 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]]
1078
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1079
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:56:59.485999"], ["id", 1]]
1080
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1081
+  (0.0ms) SAVEPOINT active_record_1
1082
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Duval SARL SA"], ["short_name", "SN"], ["email", "la.petit@collet.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://lemoine.name/maxence_prevost"], ["created_at", "2015-07-22 08:56:59.490175"], ["updated_at", "2015-07-22 08:56:59.490175"]]
1083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1084
+  (0.0ms) SAVEPOINT active_record_1
1085
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:56:59.492518"], ["updated_at", "2015-07-22 08:56:59.492518"]]
1086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1087
+  (0.0ms) SAVEPOINT active_record_1
1088
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term saepe sit voluptatem"], ["created_at", "2015-07-22 08:56:59.494214"], ["updated_at", "2015-07-22 08:56:59.494214"]]
1089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1090
+  (0.0ms) SAVEPOINT active_record_1
1091
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:56:59.496181"], ["updated_at", "2015-07-22 08:56:59.496181"]]
1092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1093
+  (0.0ms) SAVEPOINT active_record_1
1094
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1095
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:56:59.499371"], ["updated_at", "2015-07-22 08:56:59.499371"], ["unique_index", 2], ["tracking_id", "2014-02"]]
1096
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1097
+  (0.0ms) SAVEPOINT active_record_1
1098
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 2], ["label", "Invoice linenecessitatibus eos illum"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:57:01.487991"], ["updated_at", "2015-07-22 08:56:59.502809"]]
1099
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]
1100
+ 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", 2]]
1101
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]
1102
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:56:59.505740"], ["id", 2]]
1103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1104
+  (0.0ms) SAVEPOINT active_record_1
1105
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Rodriguez SARL EURL"], ["short_name", "SN"], ["email", "marie_paul@guillot.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://le.org/noah.riviere"], ["created_at", "2015-07-22 08:56:59.508817"], ["updated_at", "2015-07-22 08:56:59.508817"]]
1106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1107
+  (0.0ms) SAVEPOINT active_record_1
1108
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:56:59.510811"], ["updated_at", "2015-07-22 08:56:59.510811"]]
1109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1110
+  (0.0ms) SAVEPOINT active_record_1
1111
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term voluptatem iste placeat"], ["created_at", "2015-07-22 08:56:59.512464"], ["updated_at", "2015-07-22 08:56:59.512464"]]
1112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1113
+  (0.0ms) SAVEPOINT active_record_1
1114
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:56:59.514380"], ["updated_at", "2015-07-22 08:56:59.514380"]]
1115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1116
+  (0.0ms) SAVEPOINT active_record_1
1117
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1118
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:56:59.517509"], ["updated_at", "2015-07-22 08:56:59.517509"], ["unique_index", 3], ["tracking_id", "2014-03"]]
1119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1120
+  (0.0ms) SAVEPOINT active_record_1
1121
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 3], ["label", "Invoice lineut ullam distinctio"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:57:02.506843"], ["updated_at", "2015-07-22 08:56:59.519772"]]
1122
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
1123
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
1124
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
1125
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:56:59.522532"], ["id", 3]]
1126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1127
+  (0.0ms) SAVEPOINT active_record_1
1128
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Berger GIE SA"], ["short_name", "SN"], ["email", "julien_marty@guillaume.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://perrot.fr/mathilde"], ["created_at", "2015-07-22 08:56:59.525620"], ["updated_at", "2015-07-22 08:56:59.525620"]]
1129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1130
+  (0.0ms) SAVEPOINT active_record_1
1131
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:56:59.527610"], ["updated_at", "2015-07-22 08:56:59.527610"]]
1132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1133
+  (0.0ms) SAVEPOINT active_record_1
1134
+ SQL (0.0ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term sed qui odio"], ["created_at", "2015-07-22 08:56:59.529116"], ["updated_at", "2015-07-22 08:56:59.529116"]]
1135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1136
+  (0.0ms) SAVEPOINT active_record_1
1137
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:56:59.530883"], ["updated_at", "2015-07-22 08:56:59.530883"]]
1138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1139
+  (0.0ms) SAVEPOINT active_record_1
1140
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1141
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:56:59.533867"], ["updated_at", "2015-07-22 08:56:59.533867"], ["unique_index", 4], ["tracking_id", "2014-04"]]
1142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1143
+  (0.0ms) SAVEPOINT active_record_1
1144
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 4], ["label", "Invoice lineperspiciatis autem molestiae"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:57:03.523659"], ["updated_at", "2015-07-22 08:56:59.536125"]]
1145
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]
1146
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]
1147
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]]
1148
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:56:59.538897"], ["id", 4]]
1149
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1150
+  (0.0ms) SAVEPOINT active_record_1
1151
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "created_at" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["created_at", "2015-07-22 08:57:04.540116"], ["updated_at", "2015-07-22 08:56:59.540630"], ["id", 3]]
1152
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
1153
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
1154
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
1155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1156
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC
1157
+  (1.0ms) rollback transaction
1158
+  (0.1ms) begin transaction
1159
+  (0.0ms) SAVEPOINT active_record_1
1160
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Garcia et Moulin SA"], ["short_name", "SN"], ["email", "malle@nguyen.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://carpentier.com/valentin"], ["created_at", "2015-07-22 08:56:59.550044"], ["updated_at", "2015-07-22 08:56:59.550044"]]
1161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1162
+  (0.0ms) SAVEPOINT active_record_1
1163
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:56:59.552476"], ["updated_at", "2015-07-22 08:56:59.552476"]]
1164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1165
+  (0.0ms) SAVEPOINT active_record_1
1166
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term sint voluptatem accusamus"], ["created_at", "2015-07-22 08:56:59.554125"], ["updated_at", "2015-07-22 08:56:59.554125"]]
1167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1168
+  (0.1ms) SAVEPOINT active_record_1
1169
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:56:59.555955"], ["updated_at", "2015-07-22 08:56:59.555955"]]
1170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1171
+  (0.1ms) SAVEPOINT active_record_1
1172
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1173
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:56:59.560628"], ["updated_at", "2015-07-22 08:56:59.560628"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1175
+  (0.0ms) SAVEPOINT active_record_1
1176
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linevoluptas velit possimus"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 10.0], ["total", 100.0], ["created_at", "2015-07-22 08:56:59.563980"], ["updated_at", "2015-07-22 08:56:59.563980"]]
1177
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1178
+ 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]]
1179
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1180
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 119.0], ["updated_at", "2015-07-22 08:56:59.567867"], ["id", 1]]
1181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1182
+  (0.8ms) rollback transaction
83
1183
   (0.1ms) begin transaction
84
-  (0.1ms) rollback transaction
1184
+  (0.0ms) SAVEPOINT active_record_1
1185
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Paris EI SARL"], ["short_name", "SN"], ["email", "marie.legrand@blanchard.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://barbier.info/alexis_charpentier"], ["created_at", "2015-07-22 08:56:59.573447"], ["updated_at", "2015-07-22 08:56:59.573447"]]
1186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1187
+  (0.0ms) SAVEPOINT active_record_1
1188
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:56:59.575911"], ["updated_at", "2015-07-22 08:56:59.575911"]]
1189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1190
+  (0.0ms) SAVEPOINT active_record_1
1191
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term quia fugit id"], ["created_at", "2015-07-22 08:56:59.577552"], ["updated_at", "2015-07-22 08:56:59.577552"]]
1192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1193
+  (0.0ms) SAVEPOINT active_record_1
1194
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:56:59.579460"], ["updated_at", "2015-07-22 08:56:59.579460"]]
1195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1196
+  (0.0ms) SAVEPOINT active_record_1
1197
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1198
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:56:59.582841"], ["updated_at", "2015-07-22 08:56:59.582841"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1200
+  (0.0ms) SAVEPOINT active_record_1
1201
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "unit", "total", "quantity", "unit_price", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineofficia et omnis"], ["unit", "€"], ["total", 0.0], ["quantity", 0.0], ["unit_price", 0.0], ["created_at", "2015-07-22 08:56:59.585368"], ["updated_at", "2015-07-22 08:56:59.585368"]]
1202
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1203
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1204
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1206
+  (0.9ms) rollback transaction
1207
+  (0.0ms) begin transaction
1208
+  (0.0ms) SAVEPOINT active_record_1
1209
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Roux SARL GIE"], ["short_name", "SN"], ["email", "quentin.roche@roux.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://fabre.info/clia"], ["created_at", "2015-07-22 08:56:59.592702"], ["updated_at", "2015-07-22 08:56:59.592702"]]
1210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1211
+  (0.0ms) SAVEPOINT active_record_1
1212
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:56:59.594969"], ["updated_at", "2015-07-22 08:56:59.594969"]]
1213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1214
+  (0.0ms) SAVEPOINT active_record_1
1215
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term a et ut"], ["created_at", "2015-07-22 08:56:59.596731"], ["updated_at", "2015-07-22 08:56:59.596731"]]
1216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1217
+  (0.0ms) SAVEPOINT active_record_1
1218
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:56:59.598662"], ["updated_at", "2015-07-22 08:56:59.598662"]]
1219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1220
+  (0.1ms) SAVEPOINT active_record_1
1221
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1222
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:56:59.604164"], ["updated_at", "2015-07-22 08:56:59.604164"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1224
+  (0.0ms) SAVEPOINT active_record_1
1225
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linefacere qui dolore"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:56:59.607510"], ["updated_at", "2015-07-22 08:56:59.607510"]]
1226
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1227
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1228
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1229
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:56:59.611076"], ["id", 1]]
1230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1231
+  (0.0ms) SAVEPOINT active_record_1
1232
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 12.0], ["total", 240.0], ["updated_at", "2015-07-22 08:56:59.612848"], ["id", 1]]
1233
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1234
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1235
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1236
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 240.0], ["vat_amount", 48.0], ["total_all_taxes", 288.0], ["balance", 287.0], ["updated_at", "2015-07-22 08:56:59.615470"], ["id", 1]]
1237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1238
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1239
+  (0.9ms) rollback transaction
1240
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
85
1241
   (0.1ms) begin transaction
86
1242
   (0.1ms) rollback transaction
87
1243
   (0.1ms) begin transaction
88
-  (0.1ms) rollback transaction
1244
+  (0.1ms) SAVEPOINT active_record_1
1245
+ SQL (0.5ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Blanchard SEM SEM"], ["short_name", "SN"], ["email", "hugo@bourgeois.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://gaillard.org/louna_charpentier"], ["created_at", "2015-07-22 08:58:21.648658"], ["updated_at", "2015-07-22 08:58:21.648658"]]
1246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1247
+  (0.1ms) SAVEPOINT active_record_1
1248
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:58:21.676607"], ["updated_at", "2015-07-22 08:58:21.676607"]]
1249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1250
+  (0.1ms) SAVEPOINT active_record_1
1251
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term aut culpa impedit"], ["created_at", "2015-07-22 08:58:21.682382"], ["updated_at", "2015-07-22 08:58:21.682382"]]
1252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1253
+  (0.1ms) SAVEPOINT active_record_1
1254
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:58:21.714759"], ["updated_at", "2015-07-22 08:58:21.714759"]]
1255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1256
+  (0.1ms) SAVEPOINT active_record_1
1257
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1258
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:58:21.731356"], ["updated_at", "2015-07-22 08:58:21.731356"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1260
+  (1.0ms) rollback transaction
89
1261
   (0.1ms) begin transaction
90
-  (0.1ms) rollback transaction
91
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1262
+  (0.0ms) SAVEPOINT active_record_1
1263
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Marie et Guillot GIE"], ["short_name", "SN"], ["email", "lisa.remy@aubry.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://leroux.com/kylian"], ["created_at", "2015-07-22 08:58:21.739375"], ["updated_at", "2015-07-22 08:58:21.739375"]]
1264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1265
+  (0.0ms) SAVEPOINT active_record_1
1266
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:58:21.741690"], ["updated_at", "2015-07-22 08:58:21.741690"]]
1267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1268
+  (0.0ms) SAVEPOINT active_record_1
1269
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term voluptatum ad vitae"], ["created_at", "2015-07-22 08:58:21.743350"], ["updated_at", "2015-07-22 08:58:21.743350"]]
1270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1271
+  (0.0ms) SAVEPOINT active_record_1
1272
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:58:21.745161"], ["updated_at", "2015-07-22 08:58:21.745161"]]
1273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1274
+  (0.1ms) SAVEPOINT active_record_1
1275
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1276
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:58:21.749649"], ["updated_at", "2015-07-22 08:58:21.749649"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1278
+  (0.0ms) SAVEPOINT active_record_1
1279
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linequae est rerum"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:58:22.737107"], ["updated_at", "2015-07-22 08:58:21.753177"]]
1280
+ Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1281
+ 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]]
1282
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1283
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:58:21.764716"], ["id", 1]]
1284
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1285
+  (0.0ms) SAVEPOINT active_record_1
1286
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Boyer GIE SAS"], ["short_name", "SN"], ["email", "romane.brunet@leroux.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://perrot.com/ines_berger"], ["created_at", "2015-07-22 08:58:21.769156"], ["updated_at", "2015-07-22 08:58:21.769156"]]
1287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1288
+  (0.1ms) SAVEPOINT active_record_1
1289
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:58:21.771569"], ["updated_at", "2015-07-22 08:58:21.771569"]]
1290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1291
+  (0.1ms) SAVEPOINT active_record_1
1292
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term laudantium asperiores quidem"], ["created_at", "2015-07-22 08:58:21.773341"], ["updated_at", "2015-07-22 08:58:21.773341"]]
1293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1294
+  (0.0ms) SAVEPOINT active_record_1
1295
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:58:21.775276"], ["updated_at", "2015-07-22 08:58:21.775276"]]
1296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1297
+  (0.0ms) SAVEPOINT active_record_1
1298
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1299
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:58:21.778425"], ["updated_at", "2015-07-22 08:58:21.778425"], ["unique_index", 2], ["tracking_id", "2014-02"]]
1300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1301
+  (0.0ms) SAVEPOINT active_record_1
1302
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 2], ["label", "Invoice linenon occaecati dolorem"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:58:23.766768"], ["updated_at", "2015-07-22 08:58:21.781082"]]
1303
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]
1304
+ 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", 2]]
1305
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]
1306
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:58:21.784595"], ["id", 2]]
1307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1308
+  (0.1ms) SAVEPOINT active_record_1
1309
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Leroy et Garnier SEM"], ["short_name", "SN"], ["email", "charlotte.roy@rolland.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://muller.fr/hugo"], ["created_at", "2015-07-22 08:58:21.788642"], ["updated_at", "2015-07-22 08:58:21.788642"]]
1310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1311
+  (0.0ms) SAVEPOINT active_record_1
1312
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:58:21.791764"], ["updated_at", "2015-07-22 08:58:21.791764"]]
1313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1314
+  (0.0ms) SAVEPOINT active_record_1
1315
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term sed non est"], ["created_at", "2015-07-22 08:58:21.793920"], ["updated_at", "2015-07-22 08:58:21.793920"]]
1316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1317
+  (0.0ms) SAVEPOINT active_record_1
1318
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:58:21.796362"], ["updated_at", "2015-07-22 08:58:21.796362"]]
1319
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1320
+  (0.0ms) SAVEPOINT active_record_1
1321
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1322
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:58:21.800010"], ["updated_at", "2015-07-22 08:58:21.800010"], ["unique_index", 3], ["tracking_id", "2014-03"]]
1323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1324
+  (0.1ms) SAVEPOINT active_record_1
1325
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 3], ["label", "Invoice lineet ipsum facere"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:58:24.785825"], ["updated_at", "2015-07-22 08:58:21.802869"]]
1326
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
1327
+ 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", 3]]
1328
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
1329
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:58:21.807746"], ["id", 3]]
1330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1331
+  (0.0ms) SAVEPOINT active_record_1
1332
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Michel SAS SA"], ["short_name", "SN"], ["email", "tho_gerard@bertrand.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://jacquet.net/julien.fabre"], ["created_at", "2015-07-22 08:58:21.811440"], ["updated_at", "2015-07-22 08:58:21.811440"]]
1333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1334
+  (0.0ms) SAVEPOINT active_record_1
1335
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:58:21.813861"], ["updated_at", "2015-07-22 08:58:21.813861"]]
1336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1337
+  (0.1ms) SAVEPOINT active_record_1
1338
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term fugit nulla dolores"], ["created_at", "2015-07-22 08:58:21.815715"], ["updated_at", "2015-07-22 08:58:21.815715"]]
1339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1340
+  (0.0ms) SAVEPOINT active_record_1
1341
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:58:21.818029"], ["updated_at", "2015-07-22 08:58:21.818029"]]
1342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1343
+  (0.0ms) SAVEPOINT active_record_1
1344
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1345
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:58:21.821230"], ["updated_at", "2015-07-22 08:58:21.821230"], ["unique_index", 4], ["tracking_id", "2014-04"]]
1346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1347
+  (0.0ms) SAVEPOINT active_record_1
1348
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 4], ["label", "Invoice linevero ut dolorem"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:58:25.809336"], ["updated_at", "2015-07-22 08:58:21.823477"]]
1349
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]
1350
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]
1351
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]]
1352
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:58:21.826215"], ["id", 4]]
1353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1354
+  (0.0ms) SAVEPOINT active_record_1
1355
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "created_at" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["created_at", "2015-07-22 08:58:26.827418"], ["updated_at", "2015-07-22 08:58:21.827962"], ["id", 3]]
1356
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
1357
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
1358
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
1359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1360
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC
1361
+  (1.0ms) rollback transaction
1362
+  (0.0ms) begin transaction
1363
+  (0.0ms) SAVEPOINT active_record_1
1364
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Vincent et Renault SAS"], ["short_name", "SN"], ["email", "baptiste.hubert@charpentier.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://legrand.eu/benjamin.lacroix"], ["created_at", "2015-07-22 08:58:21.837956"], ["updated_at", "2015-07-22 08:58:21.837956"]]
1365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1366
+  (0.0ms) SAVEPOINT active_record_1
1367
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:58:21.840336"], ["updated_at", "2015-07-22 08:58:21.840336"]]
1368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1369
+  (0.0ms) SAVEPOINT active_record_1
1370
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term ex odit rem"], ["created_at", "2015-07-22 08:58:21.842019"], ["updated_at", "2015-07-22 08:58:21.842019"]]
1371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1372
+  (0.0ms) SAVEPOINT active_record_1
1373
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:58:21.843839"], ["updated_at", "2015-07-22 08:58:21.843839"]]
1374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1375
+  (0.0ms) SAVEPOINT active_record_1
1376
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1377
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:58:21.847195"], ["updated_at", "2015-07-22 08:58:21.847195"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1379
+  (0.1ms) SAVEPOINT active_record_1
1380
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linepariatur a illum"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 10.0], ["total", 100.0], ["created_at", "2015-07-22 08:58:21.849830"], ["updated_at", "2015-07-22 08:58:21.849830"]]
1381
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1382
+ 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]]
1383
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1384
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 119.0], ["updated_at", "2015-07-22 08:58:21.854251"], ["id", 1]]
1385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1386
+  (0.9ms) rollback transaction
92
1387
   (0.1ms) begin transaction
93
-  (0.1ms) rollback transaction
1388
+  (0.1ms) SAVEPOINT active_record_1
1389
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Meyer SEM SAS"], ["short_name", "SN"], ["email", "anas_perrin@martinez.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://menard.eu/enzo_petit"], ["created_at", "2015-07-22 08:58:21.860279"], ["updated_at", "2015-07-22 08:58:21.860279"]]
1390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1391
+  (0.0ms) SAVEPOINT active_record_1
1392
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:58:21.862577"], ["updated_at", "2015-07-22 08:58:21.862577"]]
1393
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1394
+  (0.0ms) SAVEPOINT active_record_1
1395
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term quam asperiores quis"], ["created_at", "2015-07-22 08:58:21.864651"], ["updated_at", "2015-07-22 08:58:21.864651"]]
1396
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1397
+  (0.0ms) SAVEPOINT active_record_1
1398
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:58:21.866736"], ["updated_at", "2015-07-22 08:58:21.866736"]]
1399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1400
+  (0.1ms) SAVEPOINT active_record_1
1401
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1402
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:58:21.871488"], ["updated_at", "2015-07-22 08:58:21.871488"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1404
+  (0.1ms) SAVEPOINT active_record_1
1405
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "unit", "total", "quantity", "unit_price", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineillum eligendi vel"], ["unit", "€"], ["total", 0.0], ["quantity", 0.0], ["unit_price", 0.0], ["created_at", "2015-07-22 08:58:21.874909"], ["updated_at", "2015-07-22 08:58:21.874909"]]
1406
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1407
+ 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]]
1408
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1410
+  (0.8ms) rollback transaction
1411
+  (0.1ms) begin transaction
1412
+  (0.1ms) SAVEPOINT active_record_1
1413
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Mercier et Blanc SCOP"], ["short_name", "SN"], ["email", "mohamed@lopez.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://morel.info/baptiste"], ["created_at", "2015-07-22 08:58:21.884366"], ["updated_at", "2015-07-22 08:58:21.884366"]]
1414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1415
+  (0.1ms) SAVEPOINT active_record_1
1416
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:58:21.888283"], ["updated_at", "2015-07-22 08:58:21.888283"]]
1417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1418
+  (0.0ms) SAVEPOINT active_record_1
1419
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term consequatur impedit autem"], ["created_at", "2015-07-22 08:58:21.890786"], ["updated_at", "2015-07-22 08:58:21.890786"]]
1420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1421
+  (0.0ms) SAVEPOINT active_record_1
1422
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:58:21.892888"], ["updated_at", "2015-07-22 08:58:21.892888"]]
1423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1424
+  (0.0ms) SAVEPOINT active_record_1
1425
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1426
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:58:21.896284"], ["updated_at", "2015-07-22 08:58:21.896284"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1428
+  (0.1ms) SAVEPOINT active_record_1
1429
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineporro voluptate alias"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:58:21.898956"], ["updated_at", "2015-07-22 08:58:21.898956"]]
1430
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1431
+ 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]]
1432
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1433
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:58:21.903096"], ["id", 1]]
1434
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1435
+  (0.0ms) SAVEPOINT active_record_1
1436
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 12.0], ["total", 240.0], ["updated_at", "2015-07-22 08:58:21.905738"], ["id", 1]]
1437
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1438
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1439
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1440
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 240.0], ["vat_amount", 48.0], ["total_all_taxes", 288.0], ["balance", 287.0], ["updated_at", "2015-07-22 08:58:21.909108"], ["id", 1]]
1441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1442
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1443
+  (1.1ms) rollback transaction
1444
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
94
1445
   (0.1ms) begin transaction
95
1446
   (0.1ms) rollback transaction
1447
+  (0.0ms) begin transaction
1448
+  (0.1ms) SAVEPOINT active_record_1
1449
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Gerard GIE GIE"], ["short_name", "SN"], ["email", "sarah.maillard@laurent.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://renault.net/mohamed"], ["created_at", "2015-07-22 08:59:20.477068"], ["updated_at", "2015-07-22 08:59:20.477068"]]
1450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1451
+  (0.1ms) SAVEPOINT active_record_1
1452
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:59:20.502115"], ["updated_at", "2015-07-22 08:59:20.502115"]]
1453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1454
+  (0.0ms) SAVEPOINT active_record_1
1455
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term laboriosam sequi possimus"], ["created_at", "2015-07-22 08:59:20.507118"], ["updated_at", "2015-07-22 08:59:20.507118"]]
1456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1457
+  (0.1ms) SAVEPOINT active_record_1
1458
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:59:20.541349"], ["updated_at", "2015-07-22 08:59:20.541349"]]
1459
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1460
+  (0.0ms) SAVEPOINT active_record_1
1461
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1462
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:59:20.555171"], ["updated_at", "2015-07-22 08:59:20.555171"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1464
+  (7.2ms) rollback transaction
96
1465
   (0.1ms) begin transaction
97
-  (0.0ms) rollback transaction
1466
+  (0.1ms) SAVEPOINT active_record_1
1467
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Rolland et Girard SEM"], ["short_name", "SN"], ["email", "clara_aubry@dufour.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://gerard.com/louna"], ["created_at", "2015-07-22 08:59:20.570233"], ["updated_at", "2015-07-22 08:59:20.570233"]]
1468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1469
+  (0.0ms) SAVEPOINT active_record_1
1470
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:59:20.573485"], ["updated_at", "2015-07-22 08:59:20.573485"]]
1471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1472
+  (0.0ms) SAVEPOINT active_record_1
1473
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term molestiae et officiis"], ["created_at", "2015-07-22 08:59:20.576182"], ["updated_at", "2015-07-22 08:59:20.576182"]]
1474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1475
+  (0.0ms) SAVEPOINT active_record_1
1476
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:59:20.578432"], ["updated_at", "2015-07-22 08:59:20.578432"]]
1477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1478
+  (0.0ms) SAVEPOINT active_record_1
1479
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1480
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:59:20.581757"], ["updated_at", "2015-07-22 08:59:20.581757"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1482
+  (0.0ms) SAVEPOINT active_record_1
1483
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineexpedita sed possimus"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:59:21.566880"], ["updated_at", "2015-07-22 08:59:20.584553"]]
1484
+ Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1485
+ 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]]
1486
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1487
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:59:20.594429"], ["id", 1]]
1488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1489
+  (0.0ms) SAVEPOINT active_record_1
1490
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Leroy SARL SAS"], ["short_name", "SN"], ["email", "louna.olivier@aubert.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://fernandez.net/paul"], ["created_at", "2015-07-22 08:59:20.598259"], ["updated_at", "2015-07-22 08:59:20.598259"]]
1491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1492
+  (0.0ms) SAVEPOINT active_record_1
1493
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:59:20.600388"], ["updated_at", "2015-07-22 08:59:20.600388"]]
1494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1495
+  (0.0ms) SAVEPOINT active_record_1
1496
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term saepe in qui"], ["created_at", "2015-07-22 08:59:20.602041"], ["updated_at", "2015-07-22 08:59:20.602041"]]
1497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1498
+  (0.0ms) SAVEPOINT active_record_1
1499
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:59:20.604038"], ["updated_at", "2015-07-22 08:59:20.604038"]]
1500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1501
+  (0.0ms) SAVEPOINT active_record_1
1502
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1503
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:59:20.607172"], ["updated_at", "2015-07-22 08:59:20.607172"], ["unique_index", 2], ["tracking_id", "2014-02"]]
1504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1505
+  (0.0ms) SAVEPOINT active_record_1
1506
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 2], ["label", "Invoice linevero exercitationem ipsum"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:59:22.596153"], ["updated_at", "2015-07-22 08:59:20.609548"]]
1507
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]
1508
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 2]]
1509
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]
1510
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:59:20.612319"], ["id", 2]]
1511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1512
+  (0.0ms) SAVEPOINT active_record_1
1513
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Muller et Robin SEM"], ["short_name", "SN"], ["email", "lilou.roueau@marty.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://perrot.name/justine"], ["created_at", "2015-07-22 08:59:20.615430"], ["updated_at", "2015-07-22 08:59:20.615430"]]
1514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1515
+  (0.0ms) SAVEPOINT active_record_1
1516
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:59:20.617458"], ["updated_at", "2015-07-22 08:59:20.617458"]]
1517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1518
+  (0.0ms) SAVEPOINT active_record_1
1519
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term eveniet alias quod"], ["created_at", "2015-07-22 08:59:20.619046"], ["updated_at", "2015-07-22 08:59:20.619046"]]
1520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1521
+  (0.1ms) SAVEPOINT active_record_1
1522
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:59:20.621683"], ["updated_at", "2015-07-22 08:59:20.621683"]]
1523
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1524
+  (0.0ms) SAVEPOINT active_record_1
1525
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1526
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:59:20.625224"], ["updated_at", "2015-07-22 08:59:20.625224"], ["unique_index", 3], ["tracking_id", "2014-03"]]
1527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1528
+  (0.0ms) SAVEPOINT active_record_1
1529
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 3], ["label", "Invoice lineipsa nam molestiae"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:59:23.613470"], ["updated_at", "2015-07-22 08:59:20.627870"]]
1530
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
1531
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
1532
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
1533
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:59:20.631237"], ["id", 3]]
1534
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1535
+  (0.0ms) SAVEPOINT active_record_1
1536
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Blanchard SA SAS"], ["short_name", "SN"], ["email", "julien@jean.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://dufour.eu/lucas"], ["created_at", "2015-07-22 08:59:20.634702"], ["updated_at", "2015-07-22 08:59:20.634702"]]
1537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1538
+  (0.1ms) SAVEPOINT active_record_1
1539
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:59:20.638380"], ["updated_at", "2015-07-22 08:59:20.638380"]]
1540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1541
+  (0.1ms) SAVEPOINT active_record_1
1542
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term excepturi qui amet"], ["created_at", "2015-07-22 08:59:20.640627"], ["updated_at", "2015-07-22 08:59:20.640627"]]
1543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1544
+  (0.0ms) SAVEPOINT active_record_1
1545
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:59:20.643561"], ["updated_at", "2015-07-22 08:59:20.643561"]]
1546
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1547
+  (0.0ms) SAVEPOINT active_record_1
1548
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1549
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:59:20.646841"], ["updated_at", "2015-07-22 08:59:20.646841"], ["unique_index", 4], ["tracking_id", "2014-04"]]
1550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1551
+  (0.0ms) SAVEPOINT active_record_1
1552
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 4], ["label", "Invoice linevitae accusantium dolores"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:59:24.632582"], ["updated_at", "2015-07-22 08:59:20.649143"]]
1553
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]
1554
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]
1555
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]]
1556
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:59:20.651969"], ["id", 4]]
1557
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1558
+  (0.0ms) SAVEPOINT active_record_1
1559
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "created_at" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["created_at", "2015-07-22 08:59:25.653633"], ["updated_at", "2015-07-22 08:59:20.654520"], ["id", 3]]
1560
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
1561
+ 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", 3]]
1562
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
1563
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1564
+ Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC
1565
+  (1.1ms) rollback transaction
1566
+  (0.1ms) begin transaction
1567
+  (0.0ms) SAVEPOINT active_record_1
1568
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Perez SCOP EURL"], ["short_name", "SN"], ["email", "la_vidal@dufour.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://bonnet.com/matto.meunier"], ["created_at", "2015-07-22 08:59:20.668720"], ["updated_at", "2015-07-22 08:59:20.668720"]]
1569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1570
+  (0.0ms) SAVEPOINT active_record_1
1571
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:59:20.672100"], ["updated_at", "2015-07-22 08:59:20.672100"]]
1572
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1573
+  (0.1ms) SAVEPOINT active_record_1
1574
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term reiciendis molestiae magnam"], ["created_at", "2015-07-22 08:59:20.675689"], ["updated_at", "2015-07-22 08:59:20.675689"]]
1575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1576
+  (0.1ms) SAVEPOINT active_record_1
1577
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:59:20.678641"], ["updated_at", "2015-07-22 08:59:20.678641"]]
1578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1579
+  (0.0ms) SAVEPOINT active_record_1
1580
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1581
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:59:20.683557"], ["updated_at", "2015-07-22 08:59:20.683557"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1583
+  (0.0ms) SAVEPOINT active_record_1
1584
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineodio est omnis"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 10.0], ["total", 100.0], ["created_at", "2015-07-22 08:59:20.686563"], ["updated_at", "2015-07-22 08:59:20.686563"]]
1585
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1586
+ 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]]
1587
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1588
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 119.0], ["updated_at", "2015-07-22 08:59:20.690615"], ["id", 1]]
1589
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1590
+  (0.8ms) rollback transaction
98
1591
   (0.1ms) begin transaction
99
-  (0.0ms) rollback transaction
1592
+  (0.1ms) SAVEPOINT active_record_1
1593
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Leroux GIE SEM"], ["short_name", "SN"], ["email", "la@rolland.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://maillard.name/malys"], ["created_at", "2015-07-22 08:59:20.698442"], ["updated_at", "2015-07-22 08:59:20.698442"]]
1594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1595
+  (0.1ms) SAVEPOINT active_record_1
1596
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:59:20.701120"], ["updated_at", "2015-07-22 08:59:20.701120"]]
1597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1598
+  (0.0ms) SAVEPOINT active_record_1
1599
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term quod et dolores"], ["created_at", "2015-07-22 08:59:20.703110"], ["updated_at", "2015-07-22 08:59:20.703110"]]
1600
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1601
+  (0.1ms) SAVEPOINT active_record_1
1602
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:59:20.705884"], ["updated_at", "2015-07-22 08:59:20.705884"]]
1603
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1604
+  (0.1ms) SAVEPOINT active_record_1
1605
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1606
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:59:20.711186"], ["updated_at", "2015-07-22 08:59:20.711186"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1607
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1608
+  (0.1ms) SAVEPOINT active_record_1
1609
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "unit", "total", "quantity", "unit_price", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineet est vel"], ["unit", "€"], ["total", 0.0], ["quantity", 0.0], ["unit_price", 0.0], ["created_at", "2015-07-22 08:59:20.715380"], ["updated_at", "2015-07-22 08:59:20.715380"]]
1610
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1611
+ 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]]
1612
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1614
+  (0.8ms) rollback transaction
1615
+  (0.1ms) begin transaction
1616
+  (0.1ms) SAVEPOINT active_record_1
1617
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Lacroix SARL SAS"], ["short_name", "SN"], ["email", "romane@perrot.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://simon.eu/paul"], ["created_at", "2015-07-22 08:59:20.723959"], ["updated_at", "2015-07-22 08:59:20.723959"]]
1618
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1619
+  (0.1ms) SAVEPOINT active_record_1
1620
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 08:59:20.728128"], ["updated_at", "2015-07-22 08:59:20.728128"]]
1621
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1622
+  (0.1ms) SAVEPOINT active_record_1
1623
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term commodi tempora qui"], ["created_at", "2015-07-22 08:59:20.731974"], ["updated_at", "2015-07-22 08:59:20.731974"]]
1624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1625
+  (0.0ms) SAVEPOINT active_record_1
1626
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 08:59:20.734418"], ["updated_at", "2015-07-22 08:59:20.734418"]]
1627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1628
+  (0.0ms) SAVEPOINT active_record_1
1629
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1630
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 08:59:20.738195"], ["updated_at", "2015-07-22 08:59:20.738195"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1632
+  (0.1ms) SAVEPOINT active_record_1
1633
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linetempore nisi eum"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 08:59:20.741744"], ["updated_at", "2015-07-22 08:59:20.741744"]]
1634
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1635
+ 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]]
1636
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1637
+ SQL (0.3ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 08:59:20.746526"], ["id", 1]]
1638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1639
+  (0.0ms) SAVEPOINT active_record_1
1640
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 12.34], ["total", 246.8], ["updated_at", "2015-07-22 08:59:20.749501"], ["id", 1]]
1641
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1642
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1643
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1644
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 246.8], ["vat_amount", 49.36], ["total_all_taxes", 296.16], ["balance", 295.16], ["updated_at", "2015-07-22 08:59:20.752517"], ["id", 1]]
1645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1646
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1647
+  (0.0ms) SAVEPOINT active_record_1
1648
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1649
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1650
+ 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]]
1651
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1653
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1654
+  (0.0ms) SAVEPOINT active_record_1
1655
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["total", 2469135.6], ["updated_at", "2015-07-22 08:59:20.761308"], ["id", 1]]
1656
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1657
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1658
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1659
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1660
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 2469135.6], ["vat_amount", 493827.12], ["total_all_taxes", 2962962.72], ["balance", 2962961.72], ["updated_at", "2015-07-22 08:59:20.764515"], ["id", 1]]
1661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1662
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1663
+  (0.0ms) SAVEPOINT active_record_1
1664
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["updated_at", "2015-07-22 08:59:20.766626"], ["id", 1]]
1665
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1666
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1667
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1668
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1670
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1671
+  (0.0ms) SAVEPOINT active_record_1
1672
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "unit_price" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["unit_price", 12.34], ["total", 1523456.6652], ["updated_at", "2015-07-22 08:59:20.771905"], ["id", 1]]
1673
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1674
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1675
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1676
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1677
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 1523456.6652], ["vat_amount", 304691.33304], ["total_all_taxes", 1828147.99824], ["balance", 1828146.99824], ["updated_at", "2015-07-22 08:59:20.775413"], ["id", 1]]
1678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1679
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1680
+  (0.9ms) rollback transaction
100
1681
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
101
1682
   (0.1ms) begin transaction
102
1683
   (0.1ms) rollback transaction
1684
+  (0.0ms) begin transaction
1685
+  (0.1ms) SAVEPOINT active_record_1
1686
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Leclerc et Philippe EI"], ["short_name", "SN"], ["email", "mohamed@duval.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://andre.com/louna_nicolas"], ["created_at", "2015-07-22 09:02:41.980043"], ["updated_at", "2015-07-22 09:02:41.980043"]]
1687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1688
+  (0.1ms) SAVEPOINT active_record_1
1689
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 09:02:42.000849"], ["updated_at", "2015-07-22 09:02:42.000849"]]
1690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1691
+  (0.0ms) SAVEPOINT active_record_1
1692
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term ut dicta voluptatum"], ["created_at", "2015-07-22 09:02:42.005467"], ["updated_at", "2015-07-22 09:02:42.005467"]]
1693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1694
+  (0.1ms) SAVEPOINT active_record_1
1695
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 09:02:42.039275"], ["updated_at", "2015-07-22 09:02:42.039275"]]
1696
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1697
+  (0.0ms) SAVEPOINT active_record_1
1698
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1699
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 09:02:42.053308"], ["updated_at", "2015-07-22 09:02:42.053308"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1701
+  (7.3ms) rollback transaction
103
1702
   (0.1ms) begin transaction
104
-  (0.1ms) rollback transaction
1703
+  (0.1ms) SAVEPOINT active_record_1
1704
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Moulin EI SCOP"], ["short_name", "SN"], ["email", "clara_pons@gauthier.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://le.info/lucie"], ["created_at", "2015-07-22 09:02:42.068672"], ["updated_at", "2015-07-22 09:02:42.068672"]]
1705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1706
+  (0.1ms) SAVEPOINT active_record_1
1707
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 09:02:42.072072"], ["updated_at", "2015-07-22 09:02:42.072072"]]
1708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1709
+  (0.0ms) SAVEPOINT active_record_1
1710
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term et in illum"], ["created_at", "2015-07-22 09:02:42.074390"], ["updated_at", "2015-07-22 09:02:42.074390"]]
1711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1712
+  (0.0ms) SAVEPOINT active_record_1
1713
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 09:02:42.076700"], ["updated_at", "2015-07-22 09:02:42.076700"]]
1714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1715
+  (0.0ms) SAVEPOINT active_record_1
1716
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1717
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 09:02:42.080492"], ["updated_at", "2015-07-22 09:02:42.080492"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1718
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1719
+  (0.0ms) SAVEPOINT active_record_1
1720
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linequibusdam alias ut"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 09:02:43.065250"], ["updated_at", "2015-07-22 09:02:42.083209"]]
1721
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1722
+ 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]]
1723
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1724
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 09:02:42.092501"], ["id", 1]]
1725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1726
+  (0.0ms) SAVEPOINT active_record_1
1727
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Deschamps SA SAS"], ["short_name", "SN"], ["email", "alicia.perez@lacroix.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://dupuis.info/clara.hubert"], ["created_at", "2015-07-22 09:02:42.096317"], ["updated_at", "2015-07-22 09:02:42.096317"]]
1728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1729
+  (0.0ms) SAVEPOINT active_record_1
1730
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 09:02:42.098421"], ["updated_at", "2015-07-22 09:02:42.098421"]]
1731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1732
+  (0.0ms) SAVEPOINT active_record_1
1733
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term eum exercitationem officia"], ["created_at", "2015-07-22 09:02:42.100027"], ["updated_at", "2015-07-22 09:02:42.100027"]]
1734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1735
+  (0.0ms) SAVEPOINT active_record_1
1736
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 09:02:42.102123"], ["updated_at", "2015-07-22 09:02:42.102123"]]
1737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1738
+  (0.0ms) SAVEPOINT active_record_1
1739
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1740
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 09:02:42.105329"], ["updated_at", "2015-07-22 09:02:42.105329"], ["unique_index", 2], ["tracking_id", "2014-02"]]
1741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1742
+  (0.0ms) SAVEPOINT active_record_1
1743
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 2], ["label", "Invoice linevoluptatem itaque autem"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 09:02:44.094239"], ["updated_at", "2015-07-22 09:02:42.107696"]]
1744
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]
1745
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 2]]
1746
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]
1747
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 09:02:42.110476"], ["id", 2]]
1748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1749
+  (0.0ms) SAVEPOINT active_record_1
1750
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Andre EI SEM"], ["short_name", "SN"], ["email", "malle.joly@fournier.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://dupont.name/mathilde"], ["created_at", "2015-07-22 09:02:42.113543"], ["updated_at", "2015-07-22 09:02:42.113543"]]
1751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1752
+  (0.0ms) SAVEPOINT active_record_1
1753
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 09:02:42.115649"], ["updated_at", "2015-07-22 09:02:42.115649"]]
1754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1755
+  (0.0ms) SAVEPOINT active_record_1
1756
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term qui sit nam"], ["created_at", "2015-07-22 09:02:42.117273"], ["updated_at", "2015-07-22 09:02:42.117273"]]
1757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1758
+  (0.1ms) SAVEPOINT active_record_1
1759
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 09:02:42.119643"], ["updated_at", "2015-07-22 09:02:42.119643"]]
1760
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1761
+  (0.0ms) SAVEPOINT active_record_1
1762
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1763
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 09:02:42.124931"], ["updated_at", "2015-07-22 09:02:42.124931"], ["unique_index", 3], ["tracking_id", "2014-03"]]
1764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1765
+  (0.0ms) SAVEPOINT active_record_1
1766
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 3], ["label", "Invoice lineet accusantium incidunt"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 09:02:45.111596"], ["updated_at", "2015-07-22 09:02:42.128103"]]
1767
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
1768
+ 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", 3]]
1769
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
1770
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 09:02:42.131398"], ["id", 3]]
1771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1772
+  (0.0ms) SAVEPOINT active_record_1
1773
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Perrot et Meyer SCOP"], ["short_name", "SN"], ["email", "rayan.gautier@lopez.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://garnier.eu/noah"], ["created_at", "2015-07-22 09:02:42.134670"], ["updated_at", "2015-07-22 09:02:42.134670"]]
1774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1775
+  (0.0ms) SAVEPOINT active_record_1
1776
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 09:02:42.136730"], ["updated_at", "2015-07-22 09:02:42.136730"]]
1777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1778
+  (0.0ms) SAVEPOINT active_record_1
1779
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term eaque omnis quia"], ["created_at", "2015-07-22 09:02:42.138243"], ["updated_at", "2015-07-22 09:02:42.138243"]]
1780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1781
+  (0.0ms) SAVEPOINT active_record_1
1782
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 09:02:42.140100"], ["updated_at", "2015-07-22 09:02:42.140100"]]
1783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1784
+  (0.0ms) SAVEPOINT active_record_1
1785
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1786
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 09:02:42.143110"], ["updated_at", "2015-07-22 09:02:42.143110"], ["unique_index", 4], ["tracking_id", "2014-04"]]
1787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1788
+  (0.0ms) SAVEPOINT active_record_1
1789
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 4], ["label", "Invoice lineet fuga voluptatum"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 09:02:46.132578"], ["updated_at", "2015-07-22 09:02:42.145389"]]
1790
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]
1791
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]
1792
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]]
1793
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 09:02:42.148043"], ["id", 4]]
1794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1795
+  (0.0ms) SAVEPOINT active_record_1
1796
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "created_at" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["created_at", "2015-07-22 09:02:47.149154"], ["updated_at", "2015-07-22 09:02:42.149652"], ["id", 3]]
1797
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
1798
+ 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", 3]]
1799
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
1800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1801
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC
1802
+  (1.0ms) rollback transaction
1803
+  (0.1ms) begin transaction
1804
+  (0.0ms) SAVEPOINT active_record_1
1805
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Mercier EI SAS"], ["short_name", "SN"], ["email", "pauline_leroy@paul.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://marie.net/sarah"], ["created_at", "2015-07-22 09:02:42.159537"], ["updated_at", "2015-07-22 09:02:42.159537"]]
1806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1807
+  (0.0ms) SAVEPOINT active_record_1
1808
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 09:02:42.162008"], ["updated_at", "2015-07-22 09:02:42.162008"]]
1809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1810
+  (0.1ms) SAVEPOINT active_record_1
1811
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term ea aut provident"], ["created_at", "2015-07-22 09:02:42.163698"], ["updated_at", "2015-07-22 09:02:42.163698"]]
1812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1813
+  (0.1ms) SAVEPOINT active_record_1
1814
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 09:02:42.166391"], ["updated_at", "2015-07-22 09:02:42.166391"]]
1815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1816
+  (0.1ms) SAVEPOINT active_record_1
1817
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1818
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 09:02:42.171136"], ["updated_at", "2015-07-22 09:02:42.171136"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1820
+  (0.0ms) SAVEPOINT active_record_1
1821
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineomnis nihil deleniti"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 10.0], ["total", 100.0], ["created_at", "2015-07-22 09:02:42.174337"], ["updated_at", "2015-07-22 09:02:42.174337"]]
1822
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1823
+ 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]]
1824
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1825
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 119.0], ["updated_at", "2015-07-22 09:02:42.178102"], ["id", 1]]
1826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1827
+  (0.8ms) rollback transaction
1828
+  (0.1ms) begin transaction
1829
+  (0.1ms) SAVEPOINT active_record_1
1830
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Gerard et Garcia SARL"], ["short_name", "SN"], ["email", "evan@rouel.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://martin.com/adam"], ["created_at", "2015-07-22 09:02:42.183866"], ["updated_at", "2015-07-22 09:02:42.183866"]]
1831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1832
+  (0.1ms) SAVEPOINT active_record_1
1833
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 09:02:42.186447"], ["updated_at", "2015-07-22 09:02:42.186447"]]
1834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1835
+  (0.0ms) SAVEPOINT active_record_1
1836
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term molestias ut eum"], ["created_at", "2015-07-22 09:02:42.188201"], ["updated_at", "2015-07-22 09:02:42.188201"]]
1837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1838
+  (0.0ms) SAVEPOINT active_record_1
1839
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 09:02:42.190168"], ["updated_at", "2015-07-22 09:02:42.190168"]]
1840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1841
+  (0.0ms) SAVEPOINT active_record_1
1842
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1843
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 09:02:42.193721"], ["updated_at", "2015-07-22 09:02:42.193721"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1845
+  (0.1ms) SAVEPOINT active_record_1
1846
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "unit", "total", "quantity", "unit_price", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineaccusamus qui adipisci"], ["unit", "€"], ["total", 0.0], ["quantity", 0.0], ["unit_price", 0.0], ["created_at", "2015-07-22 09:02:42.196327"], ["updated_at", "2015-07-22 09:02:42.196327"]]
1847
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1848
+ 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]]
1849
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1851
+  (0.9ms) rollback transaction
1852
+  (0.1ms) begin transaction
1853
+  (0.0ms) SAVEPOINT active_record_1
1854
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Girard et Henry SCOP"], ["short_name", "SN"], ["email", "romain@renault.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://jean.name/anas"], ["created_at", "2015-07-22 09:02:42.204100"], ["updated_at", "2015-07-22 09:02:42.204100"]]
1855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1856
+  (0.0ms) SAVEPOINT active_record_1
1857
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 09:02:42.206617"], ["updated_at", "2015-07-22 09:02:42.206617"]]
1858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1859
+  (0.1ms) SAVEPOINT active_record_1
1860
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term molestiae dolores et"], ["created_at", "2015-07-22 09:02:42.208267"], ["updated_at", "2015-07-22 09:02:42.208267"]]
1861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1862
+  (0.0ms) SAVEPOINT active_record_1
1863
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 09:02:42.210498"], ["updated_at", "2015-07-22 09:02:42.210498"]]
1864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1865
+  (0.0ms) SAVEPOINT active_record_1
1866
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1867
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 09:02:42.213950"], ["updated_at", "2015-07-22 09:02:42.213950"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1869
+  (0.0ms) SAVEPOINT active_record_1
1870
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linequas facere et"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 09:02:42.216295"], ["updated_at", "2015-07-22 09:02:42.216295"]]
1871
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1872
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1873
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1874
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 09:02:42.219420"], ["id", 1]]
1875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1876
+  (0.0ms) SAVEPOINT active_record_1
1877
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 12.34], ["total", 246.8], ["updated_at", "2015-07-22 09:02:42.221005"], ["id", 1]]
1878
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1879
+ 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]]
1880
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1881
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 246.8], ["vat_amount", 49.36], ["total_all_taxes", 296.16], ["balance", 295.16], ["updated_at", "2015-07-22 09:02:42.223484"], ["id", 1]]
1882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1883
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1884
+  (0.0ms) SAVEPOINT active_record_1
1885
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1886
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1887
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1888
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1890
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1891
+  (0.0ms) SAVEPOINT active_record_1
1892
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["total", 2469135.6], ["updated_at", "2015-07-22 09:02:42.229566"], ["id", 1]]
1893
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1894
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1895
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1896
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1897
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 2469135.6], ["vat_amount", 493827.12], ["total_all_taxes", 2962962.72], ["balance", 2962961.72], ["updated_at", "2015-07-22 09:02:42.232515"], ["id", 1]]
1898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1899
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1900
+  (0.0ms) SAVEPOINT active_record_1
1901
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["updated_at", "2015-07-22 09:02:42.234481"], ["id", 1]]
1902
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1903
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1904
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1905
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1907
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1908
+  (0.0ms) SAVEPOINT active_record_1
1909
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "unit_price" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["unit_price", 12.34], ["total", 1523456.6652], ["updated_at", "2015-07-22 09:02:42.239266"], ["id", 1]]
1910
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1911
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1912
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
1913
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1914
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 1523456.6652], ["vat_amount", 304691.33304], ["total_all_taxes", 1828147.99824], ["balance", 1828146.99824], ["updated_at", "2015-07-22 09:02:42.242659"], ["id", 1]]
1915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1916
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
1917
+  (1.3ms) rollback transaction
1918
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
105
1919
   (0.1ms) begin transaction
106
1920
   (0.1ms) rollback transaction
1921
+  (0.0ms) begin transaction
1922
+  (0.1ms) SAVEPOINT active_record_1
1923
+ SQL (1.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Muller et Fabre EURL"], ["short_name", "SN"], ["email", "laura@dufour.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://carpentier.info/ines"], ["created_at", "2015-07-22 10:10:42.848121"], ["updated_at", "2015-07-22 10:10:42.848121"]]
1924
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1925
+  (0.1ms) SAVEPOINT active_record_1
1926
+ SQL (0.7ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:10:42.872835"], ["updated_at", "2015-07-22 10:10:42.872835"]]
1927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1928
+  (0.0ms) SAVEPOINT active_record_1
1929
+ SQL (0.5ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term ipsa quam inventore"], ["created_at", "2015-07-22 10:10:42.877931"], ["updated_at", "2015-07-22 10:10:42.877931"]]
1930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1931
+  (0.1ms) SAVEPOINT active_record_1
1932
+ SQL (0.5ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:10:42.900076"], ["updated_at", "2015-07-22 10:10:42.900076"]]
1933
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1934
+  (0.0ms) SAVEPOINT active_record_1
1935
+  (0.4ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1936
+ SQL (1.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:10:42.917636"], ["updated_at", "2015-07-22 10:10:42.917636"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1938
+  (0.8ms) rollback transaction
107
1939
   (0.1ms) begin transaction
108
-  (0.0ms) rollback transaction
1940
+  (0.0ms) SAVEPOINT active_record_1
1941
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Richard SA SAS"], ["short_name", "SN"], ["email", "malle.charpentier@moreau.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://robert.eu/mohamed"], ["created_at", "2015-07-22 10:10:42.926618"], ["updated_at", "2015-07-22 10:10:42.926618"]]
1942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1943
+  (0.0ms) SAVEPOINT active_record_1
1944
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:10:42.928973"], ["updated_at", "2015-07-22 10:10:42.928973"]]
1945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1946
+  (0.0ms) SAVEPOINT active_record_1
1947
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term eum temporibus aliquid"], ["created_at", "2015-07-22 10:10:42.930739"], ["updated_at", "2015-07-22 10:10:42.930739"]]
1948
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1949
+  (0.1ms) SAVEPOINT active_record_1
1950
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:10:42.932589"], ["updated_at", "2015-07-22 10:10:42.932589"]]
1951
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1952
+  (0.1ms) SAVEPOINT active_record_1
1953
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1954
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:10:42.935879"], ["updated_at", "2015-07-22 10:10:42.935879"], ["unique_index", 1], ["tracking_id", "2014-01"]]
1955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1956
+  (0.0ms) SAVEPOINT active_record_1
1957
+ SQL (0.9ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineconsequatur similique recusandae"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:10:43.924309"], ["updated_at", "2015-07-22 10:10:42.938307"]]
1958
+ Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
1959
+ 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]]
1960
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
1961
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:10:42.954926"], ["id", 1]]
1962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1963
+  (0.0ms) SAVEPOINT active_record_1
1964
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Barbier et Rolland SARL"], ["short_name", "SN"], ["email", "maxime_collet@roueau.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://le.eu/raphal"], ["created_at", "2015-07-22 10:10:42.959136"], ["updated_at", "2015-07-22 10:10:42.959136"]]
1965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1966
+  (0.0ms) SAVEPOINT active_record_1
1967
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:10:42.961457"], ["updated_at", "2015-07-22 10:10:42.961457"]]
1968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1969
+  (0.0ms) SAVEPOINT active_record_1
1970
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term exercitationem iure cumque"], ["created_at", "2015-07-22 10:10:42.963182"], ["updated_at", "2015-07-22 10:10:42.963182"]]
1971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1972
+  (0.1ms) SAVEPOINT active_record_1
1973
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:10:42.966848"], ["updated_at", "2015-07-22 10:10:42.966848"]]
1974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1975
+  (0.0ms) SAVEPOINT active_record_1
1976
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
1977
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:10:42.970451"], ["updated_at", "2015-07-22 10:10:42.970451"], ["unique_index", 2], ["tracking_id", "2014-02"]]
1978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1979
+  (0.0ms) SAVEPOINT active_record_1
1980
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 2], ["label", "Invoice linereiciendis autem qui"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:10:44.956832"], ["updated_at", "2015-07-22 10:10:42.972924"]]
1981
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]
1982
+ 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", 2]]
1983
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]
1984
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:10:42.975880"], ["id", 2]]
1985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1986
+  (0.0ms) SAVEPOINT active_record_1
1987
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Blanc SEM EI"], ["short_name", "SN"], ["email", "pauline.dumont@leroux.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://charles.info/chlo_boyer"], ["created_at", "2015-07-22 10:10:42.988535"], ["updated_at", "2015-07-22 10:10:42.988535"]]
1988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1989
+  (0.0ms) SAVEPOINT active_record_1
1990
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:10:42.990731"], ["updated_at", "2015-07-22 10:10:42.990731"]]
1991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1992
+  (0.0ms) SAVEPOINT active_record_1
1993
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term voluptatum rerum dignissimos"], ["created_at", "2015-07-22 10:10:42.992197"], ["updated_at", "2015-07-22 10:10:42.992197"]]
1994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1995
+  (0.0ms) SAVEPOINT active_record_1
1996
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:10:42.994145"], ["updated_at", "2015-07-22 10:10:42.994145"]]
1997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1998
+  (0.0ms) SAVEPOINT active_record_1
1999
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2000
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:10:42.997207"], ["updated_at", "2015-07-22 10:10:42.997207"], ["unique_index", 3], ["tracking_id", "2014-03"]]
2001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2002
+  (0.0ms) SAVEPOINT active_record_1
2003
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 3], ["label", "Invoice linererum deserunt est"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:10:45.986226"], ["updated_at", "2015-07-22 10:10:42.999475"]]
2004
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
2005
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
2006
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
2007
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:10:43.002184"], ["id", 3]]
2008
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2009
+  (0.0ms) SAVEPOINT active_record_1
2010
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Nicolas et Charles SEM"], ["short_name", "SN"], ["email", "lola_hubert@joly.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://duval.eu/lo"], ["created_at", "2015-07-22 10:10:43.005252"], ["updated_at", "2015-07-22 10:10:43.005252"]]
2011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2012
+  (0.0ms) SAVEPOINT active_record_1
2013
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:10:43.007482"], ["updated_at", "2015-07-22 10:10:43.007482"]]
2014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2015
+  (0.0ms) SAVEPOINT active_record_1
2016
+ SQL (0.0ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term vero aut aut"], ["created_at", "2015-07-22 10:10:43.008976"], ["updated_at", "2015-07-22 10:10:43.008976"]]
2017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2018
+  (0.0ms) SAVEPOINT active_record_1
2019
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:10:43.010857"], ["updated_at", "2015-07-22 10:10:43.010857"]]
2020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2021
+  (0.0ms) SAVEPOINT active_record_1
2022
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2023
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:10:43.013840"], ["updated_at", "2015-07-22 10:10:43.013840"], ["unique_index", 4], ["tracking_id", "2014-04"]]
2024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2025
+  (0.0ms) SAVEPOINT active_record_1
2026
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 4], ["label", "Invoice linenobis repudiandae quasi"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:10:47.003392"], ["updated_at", "2015-07-22 10:10:43.016068"]]
2027
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]
2028
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]
2029
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]]
2030
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:10:43.018982"], ["id", 4]]
2031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2032
+  (0.0ms) SAVEPOINT active_record_1
2033
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "created_at" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["created_at", "2015-07-22 10:10:48.020180"], ["updated_at", "2015-07-22 10:10:43.020801"], ["id", 3]]
2034
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
2035
+ 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", 3]]
2036
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
2037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2038
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC
2039
+  (0.9ms) rollback transaction
2040
+  (0.1ms) begin transaction
2041
+  (0.0ms) SAVEPOINT active_record_1
2042
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Lefebvre EI SAS"], ["short_name", "SN"], ["email", "lucas@leroux.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://lacroix.org/zoe.laurent"], ["created_at", "2015-07-22 10:10:43.030891"], ["updated_at", "2015-07-22 10:10:43.030891"]]
2043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2044
+  (0.0ms) SAVEPOINT active_record_1
2045
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:10:43.033315"], ["updated_at", "2015-07-22 10:10:43.033315"]]
2046
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2047
+  (0.0ms) SAVEPOINT active_record_1
2048
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term ipsam dicta aut"], ["created_at", "2015-07-22 10:10:43.035071"], ["updated_at", "2015-07-22 10:10:43.035071"]]
2049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2050
+  (0.0ms) SAVEPOINT active_record_1
2051
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:10:43.036907"], ["updated_at", "2015-07-22 10:10:43.036907"]]
2052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2053
+  (0.0ms) SAVEPOINT active_record_1
2054
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2055
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:10:43.040773"], ["updated_at", "2015-07-22 10:10:43.040773"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2057
+  (0.0ms) SAVEPOINT active_record_1
2058
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linesit eligendi non"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 10.0], ["total", 100.0], ["created_at", "2015-07-22 10:10:43.043272"], ["updated_at", "2015-07-22 10:10:43.043272"]]
2059
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2060
+ 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]]
2061
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2062
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 119.0], ["updated_at", "2015-07-22 10:10:43.046109"], ["id", 1]]
2063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2064
+  (1.0ms) rollback transaction
2065
+  (0.0ms) begin transaction
2066
+  (0.1ms) SAVEPOINT active_record_1
2067
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Moreau SAS SEM"], ["short_name", "SN"], ["email", "adam_charles@barbier.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://barre.name/malle"], ["created_at", "2015-07-22 10:10:43.051339"], ["updated_at", "2015-07-22 10:10:43.051339"]]
2068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2069
+  (0.0ms) SAVEPOINT active_record_1
2070
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:10:43.053608"], ["updated_at", "2015-07-22 10:10:43.053608"]]
2071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2072
+  (0.1ms) SAVEPOINT active_record_1
2073
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term omnis harum repudiandae"], ["created_at", "2015-07-22 10:10:43.055367"], ["updated_at", "2015-07-22 10:10:43.055367"]]
2074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2075
+  (0.0ms) SAVEPOINT active_record_1
2076
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:10:43.057206"], ["updated_at", "2015-07-22 10:10:43.057206"]]
2077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2078
+  (0.0ms) SAVEPOINT active_record_1
2079
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2080
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:10:43.060511"], ["updated_at", "2015-07-22 10:10:43.060511"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2082
+  (0.0ms) SAVEPOINT active_record_1
2083
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "unit", "total", "quantity", "unit_price", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineaut eos deserunt"], ["unit", "€"], ["total", 0.0], ["quantity", 0.0], ["unit_price", 0.0], ["created_at", "2015-07-22 10:10:43.062940"], ["updated_at", "2015-07-22 10:10:43.062940"]]
2084
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2085
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2086
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2088
+  (0.9ms) rollback transaction
2089
+  (0.1ms) begin transaction
2090
+  (0.0ms) SAVEPOINT active_record_1
2091
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Meunier EI SA"], ["short_name", "SN"], ["email", "laura@aubert.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://fournier.com/alicia"], ["created_at", "2015-07-22 10:10:43.070406"], ["updated_at", "2015-07-22 10:10:43.070406"]]
2092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2093
+  (0.0ms) SAVEPOINT active_record_1
2094
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:10:43.072837"], ["updated_at", "2015-07-22 10:10:43.072837"]]
2095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2096
+  (0.0ms) SAVEPOINT active_record_1
2097
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term excepturi porro aspernatur"], ["created_at", "2015-07-22 10:10:43.074632"], ["updated_at", "2015-07-22 10:10:43.074632"]]
2098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2099
+  (0.0ms) SAVEPOINT active_record_1
2100
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:10:43.076607"], ["updated_at", "2015-07-22 10:10:43.076607"]]
2101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2102
+  (0.1ms) SAVEPOINT active_record_1
2103
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2104
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:10:43.081038"], ["updated_at", "2015-07-22 10:10:43.081038"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2106
+  (0.1ms) SAVEPOINT active_record_1
2107
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineexcepturi animi quas"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:10:43.084102"], ["updated_at", "2015-07-22 10:10:43.084102"]]
2108
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2109
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2110
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2111
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:10:43.087079"], ["id", 1]]
2112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2113
+  (0.0ms) SAVEPOINT active_record_1
2114
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 12.34], ["total", 246.8], ["updated_at", "2015-07-22 10:10:43.088595"], ["id", 1]]
2115
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2116
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2117
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2118
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 246.8], ["vat_amount", 49.36], ["total_all_taxes", 296.16], ["balance", 295.16], ["updated_at", "2015-07-22 10:10:43.091060"], ["id", 1]]
2119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2120
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2121
+  (0.0ms) SAVEPOINT active_record_1
2122
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2123
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2124
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2125
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2127
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2128
+  (0.0ms) SAVEPOINT active_record_1
2129
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["total", 2469135.6], ["updated_at", "2015-07-22 10:10:43.096958"], ["id", 1]]
2130
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2131
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2132
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2133
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2134
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 2469135.6], ["vat_amount", 493827.12], ["total_all_taxes", 2962962.72], ["balance", 2962961.72], ["updated_at", "2015-07-22 10:10:43.099772"], ["id", 1]]
2135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2136
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2137
+  (0.0ms) SAVEPOINT active_record_1
2138
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["updated_at", "2015-07-22 10:10:43.101775"], ["id", 1]]
2139
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2140
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2141
+ 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]]
2142
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2144
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2145
+  (0.0ms) SAVEPOINT active_record_1
2146
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "unit_price" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["unit_price", 12.34], ["total", 1523456.6652], ["updated_at", "2015-07-22 10:10:43.106046"], ["id", 1]]
2147
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2148
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2149
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2150
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2151
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 1523456.6652], ["vat_amount", 304691.33304], ["total_all_taxes", 1828147.99824], ["balance", 1828146.99824], ["updated_at", "2015-07-22 10:10:43.108821"], ["id", 1]]
2152
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2153
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2154
+  (0.9ms) rollback transaction
109
2155
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
110
2156
   (0.1ms) begin transaction
111
2157
   (0.1ms) rollback transaction
2158
+  (0.0ms) begin transaction
2159
+  (0.1ms) SAVEPOINT active_record_1
2160
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Rodriguez et Faure EI"], ["short_name", "SN"], ["email", "louis@leroux.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://giraud.com/nathan.menard"], ["created_at", "2015-07-22 10:11:04.557814"], ["updated_at", "2015-07-22 10:11:04.557814"]]
2161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2162
+  (0.1ms) SAVEPOINT active_record_1
2163
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:04.577598"], ["updated_at", "2015-07-22 10:11:04.577598"]]
2164
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2165
+  (0.0ms) SAVEPOINT active_record_1
2166
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term et voluptatem rerum"], ["created_at", "2015-07-22 10:11:04.582261"], ["updated_at", "2015-07-22 10:11:04.582261"]]
2167
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2168
+  (0.1ms) SAVEPOINT active_record_1
2169
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:04.607392"], ["updated_at", "2015-07-22 10:11:04.607392"]]
2170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2171
+  (0.0ms) SAVEPOINT active_record_1
2172
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2173
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:04.621344"], ["updated_at", "2015-07-22 10:11:04.621344"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2175
+  (7.0ms) rollback transaction
2176
+  (0.1ms) begin transaction
2177
+  (0.1ms) SAVEPOINT active_record_1
2178
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Le gall SCOP GIE"], ["short_name", "SN"], ["email", "alexis_fabre@boyer.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://roger.eu/louna"], ["created_at", "2015-07-22 10:11:04.635986"], ["updated_at", "2015-07-22 10:11:04.635986"]]
2179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2180
+  (0.0ms) SAVEPOINT active_record_1
2181
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:04.639399"], ["updated_at", "2015-07-22 10:11:04.639399"]]
2182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2183
+  (0.1ms) SAVEPOINT active_record_1
2184
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term blanditiis et necessitatibus"], ["created_at", "2015-07-22 10:11:04.641856"], ["updated_at", "2015-07-22 10:11:04.641856"]]
2185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2186
+  (0.0ms) SAVEPOINT active_record_1
2187
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:04.644072"], ["updated_at", "2015-07-22 10:11:04.644072"]]
2188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2189
+  (0.0ms) SAVEPOINT active_record_1
2190
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2191
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:04.647456"], ["updated_at", "2015-07-22 10:11:04.647456"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2193
+  (0.1ms) SAVEPOINT active_record_1
2194
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linedolores cumque quo"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:05.632825"], ["updated_at", "2015-07-22 10:11:04.650065"]]
2195
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2196
+ 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]]
2197
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2198
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:04.659387"], ["id", 1]]
2199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2200
+  (0.0ms) SAVEPOINT active_record_1
2201
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Duval EI SA"], ["short_name", "SN"], ["email", "jade@martinez.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://schmitt.com/tho"], ["created_at", "2015-07-22 10:11:04.663231"], ["updated_at", "2015-07-22 10:11:04.663231"]]
2202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2203
+  (0.0ms) SAVEPOINT active_record_1
2204
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:04.665482"], ["updated_at", "2015-07-22 10:11:04.665482"]]
2205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2206
+  (0.1ms) SAVEPOINT active_record_1
2207
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term quas vel natus"], ["created_at", "2015-07-22 10:11:04.667063"], ["updated_at", "2015-07-22 10:11:04.667063"]]
2208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2209
+  (0.0ms) SAVEPOINT active_record_1
2210
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:04.669279"], ["updated_at", "2015-07-22 10:11:04.669279"]]
2211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2212
+  (0.1ms) SAVEPOINT active_record_1
2213
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2214
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:04.680209"], ["updated_at", "2015-07-22 10:11:04.680209"], ["unique_index", 2], ["tracking_id", "2014-02"]]
2215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2216
+  (0.0ms) SAVEPOINT active_record_1
2217
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 2], ["label", "Invoice lineet adipisci sed"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:06.661095"], ["updated_at", "2015-07-22 10:11:04.683445"]]
2218
+ 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]]
2219
+ 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", 2]]
2220
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]
2221
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:04.687485"], ["id", 2]]
2222
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2223
+  (0.0ms) SAVEPOINT active_record_1
2224
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Marty et Le roux SAS"], ["short_name", "SN"], ["email", "malys_barre@clement.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://lemaire.net/sarah.charles"], ["created_at", "2015-07-22 10:11:04.690918"], ["updated_at", "2015-07-22 10:11:04.690918"]]
2225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2226
+  (0.0ms) SAVEPOINT active_record_1
2227
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:04.692987"], ["updated_at", "2015-07-22 10:11:04.692987"]]
2228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2229
+  (0.0ms) SAVEPOINT active_record_1
2230
+ SQL (0.0ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term quis beatae praesentium"], ["created_at", "2015-07-22 10:11:04.694501"], ["updated_at", "2015-07-22 10:11:04.694501"]]
2231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2232
+  (0.0ms) SAVEPOINT active_record_1
2233
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:04.696366"], ["updated_at", "2015-07-22 10:11:04.696366"]]
2234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2235
+  (0.0ms) SAVEPOINT active_record_1
2236
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2237
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:04.699420"], ["updated_at", "2015-07-22 10:11:04.699420"], ["unique_index", 3], ["tracking_id", "2014-03"]]
2238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2239
+  (0.0ms) SAVEPOINT active_record_1
2240
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 3], ["label", "Invoice linetotam nam fugit"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:07.688847"], ["updated_at", "2015-07-22 10:11:04.701941"]]
2241
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
2242
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
2243
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
2244
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:04.704567"], ["id", 3]]
2245
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2246
+  (0.0ms) SAVEPOINT active_record_1
2247
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Riviere SCOP EURL"], ["short_name", "SN"], ["email", "rayan_lambert@julien.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://brun.info/malle"], ["created_at", "2015-07-22 10:11:04.707800"], ["updated_at", "2015-07-22 10:11:04.707800"]]
2248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2249
+  (0.0ms) SAVEPOINT active_record_1
2250
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:04.709825"], ["updated_at", "2015-07-22 10:11:04.709825"]]
2251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2252
+  (0.0ms) SAVEPOINT active_record_1
2253
+ SQL (0.0ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term recusandae quibusdam dolor"], ["created_at", "2015-07-22 10:11:04.711262"], ["updated_at", "2015-07-22 10:11:04.711262"]]
2254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2255
+  (0.0ms) SAVEPOINT active_record_1
2256
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:04.713000"], ["updated_at", "2015-07-22 10:11:04.713000"]]
2257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2258
+  (0.0ms) SAVEPOINT active_record_1
2259
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2260
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:04.716154"], ["updated_at", "2015-07-22 10:11:04.716154"], ["unique_index", 4], ["tracking_id", "2014-04"]]
2261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2262
+  (0.0ms) SAVEPOINT active_record_1
2263
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 4], ["label", "Invoice lineest ratione ut"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:08.705728"], ["updated_at", "2015-07-22 10:11:04.718569"]]
2264
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]
2265
+ 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", 4]]
2266
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]]
2267
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:04.721440"], ["id", 4]]
2268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2269
+  (0.0ms) SAVEPOINT active_record_1
2270
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "created_at" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["created_at", "2015-07-22 10:11:09.722677"], ["updated_at", "2015-07-22 10:11:04.723199"], ["id", 3]]
2271
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
2272
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
2273
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
2274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2275
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC
2276
+  (1.1ms) rollback transaction
2277
+  (0.1ms) begin transaction
2278
+  (0.0ms) SAVEPOINT active_record_1
2279
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Lemoine et Michel SA"], ["short_name", "SN"], ["email", "sarah_poirier@barbier.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://barre.info/tho.collet"], ["created_at", "2015-07-22 10:11:04.732809"], ["updated_at", "2015-07-22 10:11:04.732809"]]
2280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2281
+  (0.0ms) SAVEPOINT active_record_1
2282
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:04.735228"], ["updated_at", "2015-07-22 10:11:04.735228"]]
2283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2284
+  (0.0ms) SAVEPOINT active_record_1
2285
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term esse vitae est"], ["created_at", "2015-07-22 10:11:04.737210"], ["updated_at", "2015-07-22 10:11:04.737210"]]
2286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2287
+  (0.0ms) SAVEPOINT active_record_1
2288
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:04.739084"], ["updated_at", "2015-07-22 10:11:04.739084"]]
2289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2290
+  (0.0ms) SAVEPOINT active_record_1
2291
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2292
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:04.742597"], ["updated_at", "2015-07-22 10:11:04.742597"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2294
+  (0.0ms) SAVEPOINT active_record_1
2295
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linerem praesentium odio"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 10.0], ["total", 100.0], ["created_at", "2015-07-22 10:11:04.744934"], ["updated_at", "2015-07-22 10:11:04.744934"]]
2296
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2297
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2298
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2299
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 119.0], ["updated_at", "2015-07-22 10:11:04.747701"], ["id", 1]]
2300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2301
+  (1.0ms) rollback transaction
2302
+  (0.1ms) begin transaction
2303
+  (0.0ms) SAVEPOINT active_record_1
2304
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Denis SCOP EI"], ["short_name", "SN"], ["email", "mael.blanc@dumas.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://garcia.eu/alicia"], ["created_at", "2015-07-22 10:11:04.752884"], ["updated_at", "2015-07-22 10:11:04.752884"]]
2305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2306
+  (0.0ms) SAVEPOINT active_record_1
2307
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:04.755080"], ["updated_at", "2015-07-22 10:11:04.755080"]]
2308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2309
+  (0.0ms) SAVEPOINT active_record_1
2310
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term ipsa odio unde"], ["created_at", "2015-07-22 10:11:04.756759"], ["updated_at", "2015-07-22 10:11:04.756759"]]
2311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2312
+  (0.0ms) SAVEPOINT active_record_1
2313
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:04.758542"], ["updated_at", "2015-07-22 10:11:04.758542"]]
2314
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2315
+  (0.0ms) SAVEPOINT active_record_1
2316
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2317
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:04.762163"], ["updated_at", "2015-07-22 10:11:04.762163"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2319
+  (0.0ms) SAVEPOINT active_record_1
2320
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "unit", "total", "quantity", "unit_price", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineest eaque eligendi"], ["unit", "€"], ["total", 0.0], ["quantity", 0.0], ["unit_price", 0.0], ["created_at", "2015-07-22 10:11:04.765631"], ["updated_at", "2015-07-22 10:11:04.765631"]]
2321
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2322
+ 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]]
2323
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2325
+  (1.0ms) rollback transaction
2326
+  (0.1ms) begin transaction
2327
+  (0.1ms) SAVEPOINT active_record_1
2328
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Garcia et Berger SAS"], ["short_name", "SN"], ["email", "lola_morel@garcia.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://pons.org/baptiste.noel"], ["created_at", "2015-07-22 10:11:04.775674"], ["updated_at", "2015-07-22 10:11:04.775674"]]
2329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2330
+  (0.1ms) SAVEPOINT active_record_1
2331
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:04.778551"], ["updated_at", "2015-07-22 10:11:04.778551"]]
2332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2333
+  (0.0ms) SAVEPOINT active_record_1
2334
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term similique repellat quia"], ["created_at", "2015-07-22 10:11:04.780939"], ["updated_at", "2015-07-22 10:11:04.780939"]]
2335
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2336
+  (0.1ms) SAVEPOINT active_record_1
2337
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:04.783932"], ["updated_at", "2015-07-22 10:11:04.783932"]]
2338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2339
+  (0.0ms) SAVEPOINT active_record_1
2340
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2341
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:04.787679"], ["updated_at", "2015-07-22 10:11:04.787679"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2343
+  (0.0ms) SAVEPOINT active_record_1
2344
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linevoluptatem voluptatem quia"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:04.789962"], ["updated_at", "2015-07-22 10:11:04.789962"]]
2345
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2346
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2347
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2348
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:04.792734"], ["id", 1]]
2349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2350
+  (0.0ms) SAVEPOINT active_record_1
2351
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 12.34], ["total", 246.8], ["updated_at", "2015-07-22 10:11:04.794239"], ["id", 1]]
2352
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2353
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2354
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2355
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 246.8], ["vat_amount", 49.36], ["total_all_taxes", 296.16], ["balance", 295.16], ["updated_at", "2015-07-22 10:11:04.796696"], ["id", 1]]
2356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2357
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2358
+  (0.0ms) SAVEPOINT active_record_1
2359
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2360
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2361
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2362
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2364
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2365
+  (0.0ms) SAVEPOINT active_record_1
2366
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["total", 2469135.6], ["updated_at", "2015-07-22 10:11:04.802662"], ["id", 1]]
2367
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2368
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2369
+ 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]]
2370
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2371
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 2469135.6], ["vat_amount", 493827.12], ["total_all_taxes", 2962962.72], ["balance", 2962961.72], ["updated_at", "2015-07-22 10:11:04.805520"], ["id", 1]]
2372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2373
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2374
+  (0.1ms) SAVEPOINT active_record_1
2375
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["updated_at", "2015-07-22 10:11:04.807483"], ["id", 1]]
2376
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2377
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2378
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2379
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2381
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2382
+  (0.0ms) SAVEPOINT active_record_1
2383
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "unit_price" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["unit_price", 12.34], ["total", 1523456.6652], ["updated_at", "2015-07-22 10:11:04.811635"], ["id", 1]]
2384
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2385
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2386
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2387
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2388
+ SQL (0.0ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 1523456.6652], ["vat_amount", 304691.33304], ["total_all_taxes", 1828147.99824], ["balance", 1828146.99824], ["updated_at", "2015-07-22 10:11:04.814514"], ["id", 1]]
2389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2390
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2391
+  (0.9ms) rollback transaction
2392
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
112
2393
   (0.1ms) begin transaction
113
2394
   (0.1ms) rollback transaction
2395
+  (0.0ms) begin transaction
2396
+  (0.1ms) SAVEPOINT active_record_1
2397
+ SQL (0.5ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Le roux GIE GIE"], ["short_name", "SN"], ["email", "mathilde.blanc@rey.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://gaillard.net/thomas_carpentier"], ["created_at", "2015-07-22 10:11:15.294620"], ["updated_at", "2015-07-22 10:11:15.294620"]]
2398
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2399
+  (0.1ms) SAVEPOINT active_record_1
2400
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:15.318424"], ["updated_at", "2015-07-22 10:11:15.318424"]]
2401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2402
+  (0.0ms) SAVEPOINT active_record_1
2403
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term minima totam consequatur"], ["created_at", "2015-07-22 10:11:15.323244"], ["updated_at", "2015-07-22 10:11:15.323244"]]
2404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2405
+  (0.1ms) SAVEPOINT active_record_1
2406
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:15.348791"], ["updated_at", "2015-07-22 10:11:15.348791"]]
2407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2408
+  (0.0ms) SAVEPOINT active_record_1
2409
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2410
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:15.363234"], ["updated_at", "2015-07-22 10:11:15.363234"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2412
+  (7.1ms) rollback transaction
114
2413
   (0.1ms) begin transaction
115
-  (0.0ms) rollback transaction
2414
+  (0.1ms) SAVEPOINT active_record_1
2415
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Martinez SA EI"], ["short_name", "SN"], ["email", "quentin.lemoine@mercier.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://charpentier.org/alexis"], ["created_at", "2015-07-22 10:11:15.378020"], ["updated_at", "2015-07-22 10:11:15.378020"]]
2416
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2417
+  (0.0ms) SAVEPOINT active_record_1
2418
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:15.381203"], ["updated_at", "2015-07-22 10:11:15.381203"]]
2419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2420
+  (0.1ms) SAVEPOINT active_record_1
2421
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term voluptas repellat qui"], ["created_at", "2015-07-22 10:11:15.383732"], ["updated_at", "2015-07-22 10:11:15.383732"]]
2422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2423
+  (0.0ms) SAVEPOINT active_record_1
2424
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:15.385975"], ["updated_at", "2015-07-22 10:11:15.385975"]]
2425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2426
+  (0.0ms) SAVEPOINT active_record_1
2427
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2428
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:15.389387"], ["updated_at", "2015-07-22 10:11:15.389387"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2430
+  (0.0ms) SAVEPOINT active_record_1
2431
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineillo voluptatem qui"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:16.374797"], ["updated_at", "2015-07-22 10:11:15.392154"]]
2432
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2433
+ 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]]
2434
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2435
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:15.401785"], ["id", 1]]
2436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2437
+  (0.0ms) SAVEPOINT active_record_1
2438
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Francois et Garnier SARL"], ["short_name", "SN"], ["email", "sacha@paris.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://barbier.info/tho.meyer"], ["created_at", "2015-07-22 10:11:15.405592"], ["updated_at", "2015-07-22 10:11:15.405592"]]
2439
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2440
+  (0.0ms) SAVEPOINT active_record_1
2441
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:15.407702"], ["updated_at", "2015-07-22 10:11:15.407702"]]
2442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2443
+  (0.0ms) SAVEPOINT active_record_1
2444
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term maiores magnam cupiditate"], ["created_at", "2015-07-22 10:11:15.409297"], ["updated_at", "2015-07-22 10:11:15.409297"]]
2445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2446
+  (0.0ms) SAVEPOINT active_record_1
2447
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:15.411263"], ["updated_at", "2015-07-22 10:11:15.411263"]]
2448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2449
+  (0.0ms) SAVEPOINT active_record_1
2450
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2451
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:15.414464"], ["updated_at", "2015-07-22 10:11:15.414464"], ["unique_index", 2], ["tracking_id", "2014-02"]]
2452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2453
+  (0.0ms) SAVEPOINT active_record_1
2454
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 2], ["label", "Invoice lineet aperiam in"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:17.403511"], ["updated_at", "2015-07-22 10:11:15.417123"]]
2455
+ 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]]
2456
+ 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", 2]]
2457
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]
2458
+ SQL (8.2ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:15.421947"], ["id", 2]]
2459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2460
+  (0.0ms) SAVEPOINT active_record_1
2461
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Leclercq et Perrot SA"], ["short_name", "SN"], ["email", "thomas.nicolas@charles.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://barbier.eu/emilie_leclercq"], ["created_at", "2015-07-22 10:11:15.433895"], ["updated_at", "2015-07-22 10:11:15.433895"]]
2462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2463
+  (0.0ms) SAVEPOINT active_record_1
2464
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:15.436104"], ["updated_at", "2015-07-22 10:11:15.436104"]]
2465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2466
+  (0.0ms) SAVEPOINT active_record_1
2467
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term voluptatem ut ut"], ["created_at", "2015-07-22 10:11:15.437545"], ["updated_at", "2015-07-22 10:11:15.437545"]]
2468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2469
+  (0.0ms) SAVEPOINT active_record_1
2470
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:15.439411"], ["updated_at", "2015-07-22 10:11:15.439411"]]
2471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2472
+  (0.0ms) SAVEPOINT active_record_1
2473
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2474
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:15.442677"], ["updated_at", "2015-07-22 10:11:15.442677"], ["unique_index", 3], ["tracking_id", "2014-03"]]
2475
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2476
+  (0.0ms) SAVEPOINT active_record_1
2477
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 3], ["label", "Invoice linecupiditate omnis cum"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:18.431756"], ["updated_at", "2015-07-22 10:11:15.445339"]]
2478
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
2479
+ 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", 3]]
2480
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
2481
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:15.448133"], ["id", 3]]
2482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2483
+  (0.1ms) SAVEPOINT active_record_1
2484
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Nicolas et Bernard SARL"], ["short_name", "SN"], ["email", "marie@blanchard.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://brunet.org/zoe"], ["created_at", "2015-07-22 10:11:15.451555"], ["updated_at", "2015-07-22 10:11:15.451555"]]
2485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2486
+  (0.0ms) SAVEPOINT active_record_1
2487
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:15.453815"], ["updated_at", "2015-07-22 10:11:15.453815"]]
2488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2489
+  (0.0ms) SAVEPOINT active_record_1
2490
+ SQL (0.0ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term non ipsam laudantium"], ["created_at", "2015-07-22 10:11:15.455314"], ["updated_at", "2015-07-22 10:11:15.455314"]]
2491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2492
+  (0.1ms) SAVEPOINT active_record_1
2493
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:15.457228"], ["updated_at", "2015-07-22 10:11:15.457228"]]
2494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2495
+  (0.0ms) SAVEPOINT active_record_1
2496
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2497
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:15.460182"], ["updated_at", "2015-07-22 10:11:15.460182"], ["unique_index", 4], ["tracking_id", "2014-04"]]
2498
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2499
+  (0.1ms) SAVEPOINT active_record_1
2500
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 4], ["label", "Invoice linedelectus quas nostrum"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:19.449425"], ["updated_at", "2015-07-22 10:11:15.462502"]]
2501
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]
2502
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 4]]
2503
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]]
2504
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:15.465328"], ["id", 4]]
2505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2506
+  (0.0ms) SAVEPOINT active_record_1
2507
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "created_at" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["created_at", "2015-07-22 10:11:20.466467"], ["updated_at", "2015-07-22 10:11:15.466983"], ["id", 3]]
2508
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
2509
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
2510
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
2511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2512
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC
2513
+  (1.1ms) rollback transaction
2514
+  (0.1ms) begin transaction
2515
+  (0.1ms) SAVEPOINT active_record_1
2516
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Schmitt et Thomas EI"], ["short_name", "SN"], ["email", "hugo.hubert@remy.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://muller.net/anas.michel"], ["created_at", "2015-07-22 10:11:15.478685"], ["updated_at", "2015-07-22 10:11:15.478685"]]
2517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2518
+  (0.1ms) SAVEPOINT active_record_1
2519
+ SQL (0.6ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:15.482217"], ["updated_at", "2015-07-22 10:11:15.482217"]]
2520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2521
+  (0.0ms) SAVEPOINT active_record_1
2522
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term dolore veniam vel"], ["created_at", "2015-07-22 10:11:15.485125"], ["updated_at", "2015-07-22 10:11:15.485125"]]
2523
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2524
+  (0.0ms) SAVEPOINT active_record_1
2525
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:15.487844"], ["updated_at", "2015-07-22 10:11:15.487844"]]
2526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2527
+  (0.0ms) SAVEPOINT active_record_1
2528
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2529
+ SQL (0.5ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:15.491702"], ["updated_at", "2015-07-22 10:11:15.491702"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2531
+  (0.1ms) SAVEPOINT active_record_1
2532
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linenon eaque amet"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 10.0], ["total", 100.0], ["created_at", "2015-07-22 10:11:15.495386"], ["updated_at", "2015-07-22 10:11:15.495386"]]
2533
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2534
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2535
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2536
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 119.0], ["updated_at", "2015-07-22 10:11:15.499601"], ["id", 1]]
2537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2538
+  (0.9ms) rollback transaction
2539
+  (0.1ms) begin transaction
2540
+  (0.1ms) SAVEPOINT active_record_1
2541
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Renaud EI EURL"], ["short_name", "SN"], ["email", "lucas@dufour.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://sanchez.eu/maeva"], ["created_at", "2015-07-22 10:11:15.505967"], ["updated_at", "2015-07-22 10:11:15.505967"]]
2542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2543
+  (0.0ms) SAVEPOINT active_record_1
2544
+ SQL (0.4ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:15.508930"], ["updated_at", "2015-07-22 10:11:15.508930"]]
2545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2546
+  (0.0ms) SAVEPOINT active_record_1
2547
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term consequatur ut id"], ["created_at", "2015-07-22 10:11:15.511352"], ["updated_at", "2015-07-22 10:11:15.511352"]]
2548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2549
+  (0.1ms) SAVEPOINT active_record_1
2550
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:15.514325"], ["updated_at", "2015-07-22 10:11:15.514325"]]
2551
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2552
+  (0.1ms) SAVEPOINT active_record_1
2553
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2554
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:15.519390"], ["updated_at", "2015-07-22 10:11:15.519390"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2556
+  (0.1ms) SAVEPOINT active_record_1
2557
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "unit", "total", "quantity", "unit_price", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linequisquam exercitationem dicta"], ["unit", "€"], ["total", 0.0], ["quantity", 0.0], ["unit_price", 0.0], ["created_at", "2015-07-22 10:11:15.522247"], ["updated_at", "2015-07-22 10:11:15.522247"]]
2558
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2559
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2560
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2562
+  (0.9ms) rollback transaction
2563
+  (0.1ms) begin transaction
2564
+  (0.1ms) SAVEPOINT active_record_1
2565
+ SQL (0.2ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Joly et Roussel SARL"], ["short_name", "SN"], ["email", "clment@colin.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://legrand.fr/jade"], ["created_at", "2015-07-22 10:11:15.529912"], ["updated_at", "2015-07-22 10:11:15.529912"]]
2566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2567
+  (0.0ms) SAVEPOINT active_record_1
2568
+ SQL (0.2ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:15.532448"], ["updated_at", "2015-07-22 10:11:15.532448"]]
2569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2570
+  (0.0ms) SAVEPOINT active_record_1
2571
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term iure aut optio"], ["created_at", "2015-07-22 10:11:15.534215"], ["updated_at", "2015-07-22 10:11:15.534215"]]
2572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2573
+  (0.0ms) SAVEPOINT active_record_1
2574
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:15.536129"], ["updated_at", "2015-07-22 10:11:15.536129"]]
2575
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2576
+  (0.0ms) SAVEPOINT active_record_1
2577
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2578
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:15.539592"], ["updated_at", "2015-07-22 10:11:15.539592"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2580
+  (0.0ms) SAVEPOINT active_record_1
2581
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linemaxime laboriosam quae"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:15.542057"], ["updated_at", "2015-07-22 10:11:15.542057"]]
2582
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2583
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2584
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2585
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:15.544788"], ["id", 1]]
2586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2587
+  (0.0ms) SAVEPOINT active_record_1
2588
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 12.0], ["total", 240.0], ["updated_at", "2015-07-22 10:11:15.546362"], ["id", 1]]
2589
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2590
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2591
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2592
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 240.0], ["vat_amount", 48.0], ["total_all_taxes", 288.0], ["balance", 287.0], ["updated_at", "2015-07-22 10:11:15.548857"], ["id", 1]]
2593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2594
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2595
+  (1.0ms) rollback transaction
2596
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
116
2597
   (0.1ms) begin transaction
117
2598
   (0.1ms) rollback transaction
2599
+  (0.0ms) begin transaction
2600
+  (0.1ms) SAVEPOINT active_record_1
2601
+ SQL (0.4ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Dufour GIE SEM"], ["short_name", "SN"], ["email", "clia@leroux.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://boyer.info/la_remy"], ["created_at", "2015-07-22 10:11:31.076804"], ["updated_at", "2015-07-22 10:11:31.076804"]]
2602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2603
+  (0.1ms) SAVEPOINT active_record_1
2604
+ SQL (0.8ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:31.097492"], ["updated_at", "2015-07-22 10:11:31.097492"]]
2605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2606
+  (0.0ms) SAVEPOINT active_record_1
2607
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term debitis aut eum"], ["created_at", "2015-07-22 10:11:31.102636"], ["updated_at", "2015-07-22 10:11:31.102636"]]
2608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2609
+  (0.1ms) SAVEPOINT active_record_1
2610
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:31.128943"], ["updated_at", "2015-07-22 10:11:31.128943"]]
2611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2612
+  (0.0ms) SAVEPOINT active_record_1
2613
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2614
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:31.143220"], ["updated_at", "2015-07-22 10:11:31.143220"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2616
+  (7.3ms) rollback transaction
2617
+  (0.1ms) begin transaction
2618
+  (0.1ms) SAVEPOINT active_record_1
2619
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Fleury et Arnaud EI"], ["short_name", "SN"], ["email", "hugo_meunier@meunier.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://perrin.org/arthur"], ["created_at", "2015-07-22 10:11:31.158656"], ["updated_at", "2015-07-22 10:11:31.158656"]]
2620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2621
+  (0.0ms) SAVEPOINT active_record_1
2622
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:31.161417"], ["updated_at", "2015-07-22 10:11:31.161417"]]
2623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2624
+  (0.1ms) SAVEPOINT active_record_1
2625
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term sint commodi maiores"], ["created_at", "2015-07-22 10:11:31.163942"], ["updated_at", "2015-07-22 10:11:31.163942"]]
2626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2627
+  (0.1ms) SAVEPOINT active_record_1
2628
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:31.166931"], ["updated_at", "2015-07-22 10:11:31.166931"]]
2629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2630
+  (0.0ms) SAVEPOINT active_record_1
2631
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2632
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:31.170434"], ["updated_at", "2015-07-22 10:11:31.170434"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2634
+  (0.0ms) SAVEPOINT active_record_1
2635
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linepraesentium distinctio ut"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:32.155036"], ["updated_at", "2015-07-22 10:11:31.173266"]]
2636
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2637
+ 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]]
2638
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2639
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:31.182718"], ["id", 1]]
2640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2641
+  (0.0ms) SAVEPOINT active_record_1
2642
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Blanc EURL GIE"], ["short_name", "SN"], ["email", "elisa@colin.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://rodriguez.net/tom"], ["created_at", "2015-07-22 10:11:31.186665"], ["updated_at", "2015-07-22 10:11:31.186665"]]
2643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2644
+  (0.1ms) SAVEPOINT active_record_1
2645
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 2], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:31.188814"], ["updated_at", "2015-07-22 10:11:31.188814"]]
2646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2647
+  (0.0ms) SAVEPOINT active_record_1
2648
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term qui non ut"], ["created_at", "2015-07-22 10:11:31.190524"], ["updated_at", "2015-07-22 10:11:31.190524"]]
2649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2650
+  (0.1ms) SAVEPOINT active_record_1
2651
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:31.193282"], ["updated_at", "2015-07-22 10:11:31.193282"]]
2652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2653
+  (0.1ms) SAVEPOINT active_record_1
2654
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2655
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 2], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 2], ["id_card_id", 2], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:31.197924"], ["updated_at", "2015-07-22 10:11:31.197924"], ["unique_index", 2], ["tracking_id", "2014-02"]]
2656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2657
+  (0.1ms) SAVEPOINT active_record_1
2658
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 2], ["label", "Invoice lineet sapiente corrupti"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:33.184554"], ["updated_at", "2015-07-22 10:11:31.201592"]]
2659
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 2]]
2660
+ 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", 2]]
2661
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 2]]
2662
+ SQL (8.4ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:31.205700"], ["id", 2]]
2663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2664
+  (0.1ms) SAVEPOINT active_record_1
2665
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Lopez et Meyer SEM"], ["short_name", "SN"], ["email", "louna.morin@gauthier.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://maon.net/malys.aubry"], ["created_at", "2015-07-22 10:11:31.218728"], ["updated_at", "2015-07-22 10:11:31.218728"]]
2666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2667
+  (0.0ms) SAVEPOINT active_record_1
2668
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 3], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:31.221120"], ["updated_at", "2015-07-22 10:11:31.221120"]]
2669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2670
+  (0.0ms) SAVEPOINT active_record_1
2671
+ SQL (0.0ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term quis cumque sit"], ["created_at", "2015-07-22 10:11:31.222642"], ["updated_at", "2015-07-22 10:11:31.222642"]]
2672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2673
+  (0.0ms) SAVEPOINT active_record_1
2674
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:31.224667"], ["updated_at", "2015-07-22 10:11:31.224667"]]
2675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2676
+  (0.0ms) SAVEPOINT active_record_1
2677
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2678
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 3], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 3], ["id_card_id", 3], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:31.227862"], ["updated_at", "2015-07-22 10:11:31.227862"], ["unique_index", 3], ["tracking_id", "2014-03"]]
2679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2680
+  (0.0ms) SAVEPOINT active_record_1
2681
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 3], ["label", "Invoice linerepudiandae doloribus quae"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:34.216401"], ["updated_at", "2015-07-22 10:11:31.230119"]]
2682
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
2683
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 3]]
2684
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
2685
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:31.232942"], ["id", 3]]
2686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2687
+  (0.0ms) SAVEPOINT active_record_1
2688
+ SQL (0.1ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Lefebvre et Remy EI"], ["short_name", "SN"], ["email", "rayan_laurent@vaeur.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://guillaume.net/kylian.carpentier"], ["created_at", "2015-07-22 10:11:31.236235"], ["updated_at", "2015-07-22 10:11:31.236235"]]
2689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2690
+  (0.0ms) SAVEPOINT active_record_1
2691
+ SQL (0.1ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 4], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:31.238341"], ["updated_at", "2015-07-22 10:11:31.238341"]]
2692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2693
+  (0.0ms) SAVEPOINT active_record_1
2694
+ SQL (0.0ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term est id aperiam"], ["created_at", "2015-07-22 10:11:31.239871"], ["updated_at", "2015-07-22 10:11:31.239871"]]
2695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2696
+  (0.0ms) SAVEPOINT active_record_1
2697
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:31.241746"], ["updated_at", "2015-07-22 10:11:31.241746"]]
2698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2699
+  (0.0ms) SAVEPOINT active_record_1
2700
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2701
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 4], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 4], ["id_card_id", 4], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:31.244745"], ["updated_at", "2015-07-22 10:11:31.244745"], ["unique_index", 4], ["tracking_id", "2014-04"]]
2702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2703
+  (0.1ms) SAVEPOINT active_record_1
2704
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 4], ["label", "Invoice linequas rerum quia"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:35.234136"], ["updated_at", "2015-07-22 10:11:31.247091"]]
2705
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]]
2706
+ 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", 4]]
2707
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]]
2708
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:31.250059"], ["id", 4]]
2709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2710
+  (0.0ms) SAVEPOINT active_record_1
2711
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "created_at" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["created_at", "2015-07-22 10:11:36.251404"], ["updated_at", "2015-07-22 10:11:31.252016"], ["id", 3]]
2712
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 3]]
2713
+ 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", 3]]
2714
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 3]]
2715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2716
+ Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC
2717
+  (1.2ms) rollback transaction
2718
+  (0.1ms) begin transaction
2719
+  (0.1ms) SAVEPOINT active_record_1
2720
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Fabre et Nicolas EURL"], ["short_name", "SN"], ["email", "matto@jean.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://guillot.net/gabriel_dubois"], ["created_at", "2015-07-22 10:11:31.265086"], ["updated_at", "2015-07-22 10:11:31.265086"]]
2721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2722
+  (0.0ms) SAVEPOINT active_record_1
2723
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:31.267852"], ["updated_at", "2015-07-22 10:11:31.267852"]]
2724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2725
+  (0.1ms) SAVEPOINT active_record_1
2726
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term libero tempora commodi"], ["created_at", "2015-07-22 10:11:31.269775"], ["updated_at", "2015-07-22 10:11:31.269775"]]
2727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2728
+  (0.0ms) SAVEPOINT active_record_1
2729
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:31.271897"], ["updated_at", "2015-07-22 10:11:31.271897"]]
2730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2731
+  (0.0ms) SAVEPOINT active_record_1
2732
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2733
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:31.275245"], ["updated_at", "2015-07-22 10:11:31.275245"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2735
+  (0.0ms) SAVEPOINT active_record_1
2736
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice lineexercitationem et et"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 10.0], ["total", 100.0], ["created_at", "2015-07-22 10:11:31.277623"], ["updated_at", "2015-07-22 10:11:31.277623"]]
2737
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2738
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2739
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2740
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 100.0], ["vat_amount", 20.0], ["total_all_taxes", 120.0], ["balance", 119.0], ["updated_at", "2015-07-22 10:11:31.280438"], ["id", 1]]
2741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2742
+  (0.8ms) rollback transaction
2743
+  (0.1ms) begin transaction
2744
+  (0.1ms) SAVEPOINT active_record_1
2745
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Huet SAS EI"], ["short_name", "SN"], ["email", "louna.fernandez@mercier.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://moulin.fr/antoine"], ["created_at", "2015-07-22 10:11:31.286634"], ["updated_at", "2015-07-22 10:11:31.286634"]]
2746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2747
+  (0.0ms) SAVEPOINT active_record_1
2748
+ SQL (0.5ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:31.289936"], ["updated_at", "2015-07-22 10:11:31.289936"]]
2749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2750
+  (0.0ms) SAVEPOINT active_record_1
2751
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term maiores magni voluptatem"], ["created_at", "2015-07-22 10:11:31.292853"], ["updated_at", "2015-07-22 10:11:31.292853"]]
2752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2753
+  (0.0ms) SAVEPOINT active_record_1
2754
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:31.295887"], ["updated_at", "2015-07-22 10:11:31.295887"]]
2755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2756
+  (0.0ms) SAVEPOINT active_record_1
2757
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2758
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:31.299627"], ["updated_at", "2015-07-22 10:11:31.299627"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2760
+  (0.0ms) SAVEPOINT active_record_1
2761
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "unit", "total", "quantity", "unit_price", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linequibusdam libero sequi"], ["unit", "€"], ["total", 0.0], ["quantity", 0.0], ["unit_price", 0.0], ["created_at", "2015-07-22 10:11:31.302563"], ["updated_at", "2015-07-22 10:11:31.302563"]]
2762
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2763
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2764
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2766
+  (0.7ms) rollback transaction
2767
+  (0.0ms) begin transaction
2768
+  (0.1ms) SAVEPOINT active_record_1
2769
+ SQL (0.3ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Roussel SAS SCOP"], ["short_name", "SN"], ["email", "raphal@rodriguez.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://bertrand.org/clara_dupuis"], ["created_at", "2015-07-22 10:11:31.310940"], ["updated_at", "2015-07-22 10:11:31.310940"]]
2770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2771
+  (0.0ms) SAVEPOINT active_record_1
2772
+ SQL (0.3ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-07-22 10:11:31.313550"], ["updated_at", "2015-07-22 10:11:31.313550"]]
2773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2774
+  (0.0ms) SAVEPOINT active_record_1
2775
+ SQL (0.1ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term fuga autem asperiores"], ["created_at", "2015-07-22 10:11:31.315350"], ["updated_at", "2015-07-22 10:11:31.315350"]]
2776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2777
+  (0.1ms) SAVEPOINT active_record_1
2778
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-07-22 10:11:31.317969"], ["updated_at", "2015-07-22 10:11:31.317969"]]
2779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2780
+  (0.0ms) SAVEPOINT active_record_1
2781
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
2782
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoices" ("date", "due_date", "vat_rate", "advance", "paid", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "total_duty", "vat_amount", "total_all_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["date", "2014-02-19"], ["due_date", "2015-08-21"], ["vat_rate", 20.0], ["advance", 1.0], ["paid", "f"], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["total_duty", 0.0], ["vat_amount", 0.0], ["total_all_taxes", 0.0], ["balance", -1.0], ["created_at", "2015-07-22 10:11:31.322504"], ["updated_at", "2015-07-22 10:11:31.322504"], ["unique_index", 1], ["tracking_id", "2014-01"]]
2783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2784
+  (0.0ms) SAVEPOINT active_record_1
2785
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("invoice_id", "label", "quantity", "unit", "unit_price", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["invoice_id", 1], ["label", "Invoice linevel in quas"], ["quantity", 10.0], ["unit", "€"], ["unit_price", 20.0], ["total", 200.0], ["created_at", "2015-07-22 10:11:31.325149"], ["updated_at", "2015-07-22 10:11:31.325149"]]
2786
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2787
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2788
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2789
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 200.0], ["vat_amount", 40.0], ["total_all_taxes", 240.0], ["balance", 239.0], ["updated_at", "2015-07-22 10:11:31.328212"], ["id", 1]]
2790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2791
+  (0.0ms) SAVEPOINT active_record_1
2792
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 12.34], ["total", 246.8], ["updated_at", "2015-07-22 10:11:31.329956"], ["id", 1]]
2793
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2794
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2795
+  (0.1ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2796
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 246.8], ["vat_amount", 49.36], ["total_all_taxes", 296.16], ["balance", 295.16], ["updated_at", "2015-07-22 10:11:31.332756"], ["id", 1]]
2797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2798
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2799
+  (0.0ms) SAVEPOINT active_record_1
2800
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2801
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2802
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2803
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2805
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2806
+  (0.1ms) SAVEPOINT active_record_1
2807
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["total", 2469135.6], ["updated_at", "2015-07-22 10:11:31.339411"], ["id", 1]]
2808
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2809
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2810
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2811
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2812
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 2469135.6], ["vat_amount", 493827.12], ["total_all_taxes", 2962962.72], ["balance", 2962961.72], ["updated_at", "2015-07-22 10:11:31.342689"], ["id", 1]]
2813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2814
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2815
+  (0.0ms) SAVEPOINT active_record_1
2816
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "quantity" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["quantity", 123456.78], ["updated_at", "2015-07-22 10:11:31.345216"], ["id", 1]]
2817
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2818
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2819
+ 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]]
2820
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2821
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2822
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2823
+  (0.0ms) SAVEPOINT active_record_1
2824
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_invoice_lines" SET "unit_price" = ?, "total" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoice_lines"."id" = ? [["unit_price", 12.34], ["total", 1523456.6652], ["updated_at", "2015-07-22 10:11:31.350312"], ["id", 1]]
2825
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2826
+ Dorsale::BillingMachine::Invoice Load (0.0ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
2827
+ Dorsale::BillingMachine::IdCard Load (0.0ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
2828
+  (0.0ms) SELECT "dorsale_billing_machine_invoice_lines"."total" FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
2829
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_invoices" SET "total_duty" = ?, "vat_amount" = ?, "total_all_taxes" = ?, "balance" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_invoices"."id" = ? [["total_duty", 1523456.6652], ["vat_amount", 304691.33304], ["total_all_taxes", 1828147.99824], ["balance", 1828146.99824], ["updated_at", "2015-07-22 10:11:31.354777"], ["id", 1]]
2830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2831
+ Dorsale::BillingMachine::InvoiceLine Load (0.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."id" = ? LIMIT 1 [["id", 1]]
2832
+  (0.9ms) rollback transaction