citier4 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +32 -0
  5. data/lib/citier4/acts_as_citier4.rb +95 -0
  6. data/lib/citier4/child_instance_methods.rb +111 -0
  7. data/lib/citier4/core_ext.rb +118 -0
  8. data/lib/citier4/instance_methods.rb +41 -0
  9. data/lib/citier4/relation_methods.rb +139 -0
  10. data/lib/citier4/root_class_methods.rb +36 -0
  11. data/lib/citier4/root_instance_methods.rb +47 -0
  12. data/lib/citier4/version.rb +3 -0
  13. data/lib/citier4.rb +34 -0
  14. data/lib/tasks/citier4_tasks.rake +4 -0
  15. data/test/acts_as_citier4_test.rb +10 -0
  16. data/test/child_instance_methods_test.rb +70 -0
  17. data/test/citier4_test.rb +7 -0
  18. data/test/core_ext_test.rb +7 -0
  19. data/test/deleting_methods_test.rb +101 -0
  20. data/test/dummy/README.rdoc +28 -0
  21. data/test/dummy/Rakefile +6 -0
  22. data/test/dummy/app/assets/javascripts/application.js +13 -0
  23. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  24. data/test/dummy/app/controllers/application_controller.rb +5 -0
  25. data/test/dummy/app/helpers/application_helper.rb +2 -0
  26. data/test/dummy/app/models/animal.rb +16 -0
  27. data/test/dummy/app/models/bidule.rb +2 -0
  28. data/test/dummy/app/models/book.rb +7 -0
  29. data/test/dummy/app/models/dictionary.rb +3 -0
  30. data/test/dummy/app/models/fiction.rb +3 -0
  31. data/test/dummy/app/models/product.rb +8 -0
  32. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  33. data/test/dummy/bin/bundle +3 -0
  34. data/test/dummy/bin/rails +4 -0
  35. data/test/dummy/bin/rake +4 -0
  36. data/test/dummy/config/application.rb +23 -0
  37. data/test/dummy/config/boot.rb +5 -0
  38. data/test/dummy/config/database.yml +25 -0
  39. data/test/dummy/config/environment.rb +5 -0
  40. data/test/dummy/config/environments/development.rb +37 -0
  41. data/test/dummy/config/environments/production.rb +78 -0
  42. data/test/dummy/config/environments/test.rb +39 -0
  43. data/test/dummy/config/initializers/assets.rb +8 -0
  44. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  46. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  47. data/test/dummy/config/initializers/inflections.rb +16 -0
  48. data/test/dummy/config/initializers/mime_types.rb +4 -0
  49. data/test/dummy/config/initializers/session_store.rb +3 -0
  50. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  51. data/test/dummy/config/locales/en.yml +23 -0
  52. data/test/dummy/config/routes.rb +56 -0
  53. data/test/dummy/config/secrets.yml +22 -0
  54. data/test/dummy/config.ru +4 -0
  55. data/test/dummy/db/development.sqlite3 +0 -0
  56. data/test/dummy/db/migrate/20141228200436_create_products.rb +10 -0
  57. data/test/dummy/db/migrate/20141228200756_create_books.rb +17 -0
  58. data/test/dummy/db/migrate/20150101181703_create_dictionaries.rb +16 -0
  59. data/test/dummy/db/migrate/20150101181916_create_fictions.rb +14 -0
  60. data/test/dummy/db/migrate/20150102200342_create_bidules.rb +9 -0
  61. data/test/dummy/db/migrate/20150102200786_create_animals.rb +10 -0
  62. data/test/dummy/db/schema.rb +81 -0
  63. data/test/dummy/db/test.sqlite3 +0 -0
  64. data/test/dummy/log/development.log +2695 -0
  65. data/test/dummy/log/test.log +152338 -0
  66. data/test/dummy/public/404.html +67 -0
  67. data/test/dummy/public/422.html +67 -0
  68. data/test/dummy/public/500.html +66 -0
  69. data/test/dummy/public/favicon.ico +0 -0
  70. data/test/dummy/test/fixtures/bidules.yml +7 -0
  71. data/test/dummy/test/fixtures/books.yml +9 -0
  72. data/test/dummy/test/fixtures/dictionaries.yml +7 -0
  73. data/test/dummy/test/fixtures/fictions.yml +7 -0
  74. data/test/dummy/test/fixtures/products.yml +7 -0
  75. data/test/dummy/test/models/bidule_test.rb +7 -0
  76. data/test/dummy/test/models/book_test.rb +7 -0
  77. data/test/dummy/test/models/dictionary_test.rb +7 -0
  78. data/test/dummy/test/models/fiction_test.rb +7 -0
  79. data/test/dummy/test/models/product_test.rb +7 -0
  80. data/test/model_test.rb +34 -0
  81. data/test/retrieving_methods_test.rb +153 -0
  82. data/test/root_instance_methods_test.rb +27 -0
  83. data/test/test_helper.rb +60 -0
  84. metadata +227 -0
@@ -0,0 +1,2695 @@
1
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateProducts (20141228200436)
6
+  (0.1ms) begin transaction
7
+  (0.5ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
9
+  (0.6ms) commit transaction
10
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+ Migrating to CreateBooks (20141228200756)
13
+  (0.1ms) begin transaction
14
+  (0.5ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
15
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
16
+  (1.7ms) commit transaction
17
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
19
+  (0.1ms) select sqlite_version(*)
20
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
21
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
+ Migrating to CreateProducts (20141228200436)
23
+  (0.1ms) begin transaction
24
+  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
25
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
26
+  (0.8ms) commit transaction
27
+ Migrating to CreateBooks (20141228200756)
28
+  (0.0ms) begin transaction
29
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
30
+  (0.3ms) rollback transaction
31
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
32
+ Migrating to CreateBooks (20141228200756)
33
+  (0.0ms) begin transaction
34
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
35
+  (1.1ms) rollback transaction
36
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37
+ Migrating to CreateBooks (20141228200756)
38
+  (0.1ms) begin transaction
39
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
40
+  (1.1ms) rollback transaction
41
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
42
+ Migrating to CreateBooks (20141228200756)
43
+  (0.0ms) begin transaction
44
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
45
+  (1.1ms) rollback transaction
46
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
+ Migrating to CreateBooks (20141228200756)
48
+  (0.1ms) begin transaction
49
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
50
+  (0.4ms) rollback transaction
51
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
+ Migrating to CreateBooks (20141228200756)
53
+  (0.1ms) begin transaction
54
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
55
+  (1.1ms) rollback transaction
56
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
57
+ Migrating to CreateBooks (20141228200756)
58
+  (0.0ms) begin transaction
59
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
60
+  (1.1ms) rollback transaction
61
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
+ Migrating to CreateBooks (20141228200756)
63
+  (0.0ms) begin transaction
64
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
65
+  (1.1ms) rollback transaction
66
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
67
+ Migrating to CreateBooks (20141228200756)
68
+  (0.0ms) begin transaction
69
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
70
+  (1.1ms) rollback transaction
71
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
72
+ Migrating to CreateBooks (20141228200756)
73
+  (0.0ms) begin transaction
74
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
75
+  (1.1ms) rollback transaction
76
+  (0.1ms) begin transaction
77
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-30 15:21:21.902667"], ["name", "premier"], ["updated_at", "2014-12-30 15:21:21.902667"]]
78
+  (1.1ms) commit transaction
79
+ Product Load (0.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
80
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
81
+  (0.1ms) select sqlite_version(*)
82
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
83
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
84
+ Migrating to CreateProducts (20141228200436)
85
+  (0.1ms) begin transaction
86
+  (0.5ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
87
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
88
+  (0.8ms) commit transaction
89
+ Migrating to CreateBooks (20141228200756)
90
+  (0.0ms) begin transaction
91
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
92
+  (0.3ms) rollback transaction
93
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
94
+ Migrating to CreateBooks (20141228200756)
95
+  (0.0ms) begin transaction
96
+  (0.9ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
97
+  (1.1ms) rollback transaction
98
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
99
+ Migrating to CreateBooks (20141228200756)
100
+  (0.0ms) begin transaction
101
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
102
+  (1.1ms) rollback transaction
103
+  (0.1ms) begin transaction
104
+ SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-30 16:02:26.236436"], ["updated_at", "2014-12-30 16:02:26.236436"]]
105
+  (0.7ms) commit transaction
106
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
107
+  (0.1ms) select sqlite_version(*)
108
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
109
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
110
+ Migrating to CreateProducts (20141228200436)
111
+  (0.0ms) begin transaction
112
+  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
113
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
114
+  (0.7ms) commit transaction
115
+ Migrating to CreateBooks (20141228200756)
116
+  (0.0ms) begin transaction
117
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
118
+  (0.3ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title,created_at,updated_at FROM products, books WHERE products.id = books.id
119
+ SQLite3::SQLException: ambiguous column name: created_at: CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title,created_at,updated_at FROM products, books WHERE products.id = books.id
120
+  (0.4ms) rollback transaction
121
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
122
+ Migrating to CreateBooks (20141228200756)
123
+  (0.1ms) begin transaction
124
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
125
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title,created_at,updated_at FROM products, books WHERE products.id = books.id
126
+ SQLite3::SQLException: ambiguous column name: created_at: CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title,created_at,updated_at FROM products, books WHERE products.id = books.id
127
+  (1.1ms) rollback transaction
128
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
129
+ Migrating to CreateBooks (20141228200756)
130
+  (0.0ms) begin transaction
131
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
132
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title,created_at,updated_at FROM products, books WHERE products.id = books.id
133
+ SQLite3::SQLException: ambiguous column name: created_at: CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title,created_at,updated_at FROM products, books WHERE products.id = books.id
134
+  (1.1ms) rollback transaction
135
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
136
+  (0.1ms) select sqlite_version(*)
137
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
138
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
139
+ Migrating to CreateProducts (20141228200436)
140
+  (0.1ms) begin transaction
141
+  (0.5ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
142
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
143
+  (0.8ms) commit transaction
144
+ Migrating to CreateBooks (20141228200756)
145
+  (0.0ms) begin transaction
146
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
147
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
148
+  (0.4ms) rollback transaction
149
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150
+ Migrating to CreateBooks (20141228200756)
151
+  (0.1ms) begin transaction
152
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255)) 
153
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
154
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
155
+  (1.4ms) commit transaction
156
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
157
+  (0.1ms) SELECT name
158
+ FROM sqlite_master
159
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
160
+
161
+  (0.1ms)  SELECT name
162
+ FROM sqlite_master
163
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
164
+ 
165
+  (0.1ms) SELECT sql
166
+ FROM sqlite_master
167
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
168
+
169
+  (0.1ms) begin transaction
170
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-30 16:10:46.885227"], ["name", "toto"], ["updated_at", "2014-12-30 16:10:46.885227"]]
171
+  (1.5ms) commit transaction
172
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
173
+ Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
174
+ Product Load (0.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
175
+  (0.1ms) begin transaction
176
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-30 16:29:53.953856"], ["type", "Book"], ["updated_at", "2014-12-30 16:29:53.953856"]]
177
+  (1.0ms) commit transaction
178
+  (0.0ms) begin transaction
179
+ SQL (0.2ms) INSERT INTO "books" ("id", "title") VALUES (?, ?) [["id", 2], ["title", "Un essais"]]
180
+  (0.5ms) commit transaction
181
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
182
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
183
+ Product Load (0.2ms) SELECT "products".* FROM "products"
184
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
185
+  (0.1ms) begin transaction
186
+ SQL (1.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-30 16:31:44.330762"], ["name", "trois"], ["updated_at", "2014-12-30 16:31:44.330762"]]
187
+  (1.3ms) commit transaction
188
+ Product Load (0.2ms) SELECT "products".* FROM "products"
189
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
190
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book')
191
+ Product Load (2.0ms) SELECT "products".* FROM "products"
192
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
193
+ SQL (1.7ms) DELETE FROM "products"
194
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book')
195
+ SQL (1.6ms) DELETE FROM "products"
196
+ SQL (7.1ms) DELETE FROM "books"
197
+  (0.1ms) begin transaction
198
+ SQL (0.8ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 17:49:24.231258"], ["name", "a"], ["type", "Book"], ["updated_at", "2015-01-01 17:49:24.231258"]]
199
+  (0.7ms) commit transaction
200
+  (0.0ms) begin transaction
201
+ SQL (0.2ms) INSERT INTO "books" ("id") VALUES (?) [["id", 4]]
202
+  (0.8ms) commit transaction
203
+  (0.1ms) begin transaction
204
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 17:49:27.273421"], ["name", "b"], ["type", "Book"], ["updated_at", "2015-01-01 17:49:27.273421"]]
205
+  (7.9ms) commit transaction
206
+  (0.1ms) begin transaction
207
+ SQL (0.2ms) INSERT INTO "books" ("id") VALUES (?) [["id", 5]]
208
+  (0.7ms) commit transaction
209
+  (0.1ms) begin transaction
210
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 17:49:30.236306"], ["name", "c"], ["type", "Book"], ["updated_at", "2015-01-01 17:49:30.236306"]]
211
+  (1.2ms) commit transaction
212
+  (0.1ms) begin transaction
213
+ SQL (0.3ms) INSERT INTO "books" ("id") VALUES (?) [["id", 6]]
214
+  (0.8ms) commit transaction
215
+  (0.3ms) SELECT COUNT(*) FROM "view_books" WHERE "view_books"."type" IN ('Book')
216
+ SQL (2.9ms) DELETE FROM "products"
217
+  (0.1ms) begin transaction
218
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:08:31.080067"], ["name", "UnLivre"], ["type", "Book"], ["updated_at", "2015-01-01 18:08:31.080067"]]
219
+  (1.7ms) commit transaction
220
+  (0.0ms) begin transaction
221
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu"], ["id", 7]]
222
+  (0.6ms) commit transaction
223
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
224
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 7]]
225
+ SQL (1.8ms) DELETE FROM "products" WHERE "products"."id" = 7
226
+ SQL (0.9ms) DELETE FROM "books" WHERE "books"."id" = 7
227
+  (0.2ms) SELECT COUNT(*) FROM "products"
228
+  (0.3ms) SELECT COUNT(*) FROM "view_books" WHERE "view_books"."type" IN ('Book')
229
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
230
+ Migrating to CreateDictionaries (20150101181703)
231
+  (0.0ms) begin transaction
232
+  (0.3ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
233
+  (0.2ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
234
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
235
+  (1.4ms) commit transaction
236
+ Migrating to CreateFictions (20150101181916)
237
+  (0.1ms) begin transaction
238
+  (0.3ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
239
+  (0.3ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
240
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
241
+  (0.9ms) commit transaction
242
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
243
+  (0.2ms)  SELECT name
244
+ FROM sqlite_master
245
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
246
+ 
247
+  (0.1ms) SELECT name
248
+ FROM sqlite_master
249
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
250
+
251
+  (0.1ms)  SELECT sql
252
+ FROM sqlite_master
253
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
254
+ 
255
+  (0.2ms) SELECT sql
256
+ FROM sqlite_master
257
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
258
+
259
+  (0.1ms)  SELECT sql
260
+ FROM sqlite_master
261
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
262
+ 
263
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
264
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
265
+ Migrating to CreateFictions (20150101181916)
266
+  (0.0ms) begin transaction
267
+  (0.3ms) DROP VIEW "view_fictions"
268
+  (0.4ms) rollback transaction
269
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
270
+  (0.1ms) select sqlite_version(*)
271
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
272
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
273
+ Migrating to CreateProducts (20141228200436)
274
+  (0.1ms) begin transaction
275
+  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
276
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
277
+  (0.7ms) commit transaction
278
+ Migrating to CreateBooks (20141228200756)
279
+  (0.0ms) begin transaction
280
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
281
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
282
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
283
+  (0.7ms) commit transaction
284
+ Migrating to CreateDictionaries (20150101181703)
285
+  (0.1ms) begin transaction
286
+  (0.3ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
287
+  (0.2ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
288
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
289
+  (0.8ms) commit transaction
290
+ Migrating to CreateFictions (20150101181916)
291
+  (0.0ms) begin transaction
292
+  (0.2ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
293
+  (0.2ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
294
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
295
+  (0.8ms) commit transaction
296
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
297
+  (0.1ms)  SELECT name
298
+ FROM sqlite_master
299
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
300
+ 
301
+  (0.1ms) SELECT name
302
+ FROM sqlite_master
303
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
304
+
305
+  (0.1ms)  SELECT sql
306
+ FROM sqlite_master
307
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
308
+ 
309
+  (0.1ms) SELECT sql
310
+ FROM sqlite_master
311
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
312
+
313
+  (0.1ms)  SELECT sql
314
+ FROM sqlite_master
315
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
316
+ 
317
+ SQL (2.2ms) DELETE FROM "products"
318
+  (0.1ms) begin transaction
319
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:27:35.092146"], ["name", "Necronomicon"], ["type", "Fiction"], ["updated_at", "2015-01-01 18:27:35.092146"]]
320
+  (1.3ms) commit transaction
321
+  (0.0ms) begin transaction
322
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "H. P. Lovecraft "], ["id", 1]]
323
+  (0.7ms) commit transaction
324
+  (0.0ms) begin transaction
325
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 1], ["story", "A fictional grimoire appearing in the stories by horror"]]
326
+  (0.8ms) commit transaction
327
+  (0.2ms) SELECT COUNT(*) FROM "products"
328
+  (0.3ms) SELECT COUNT(*) FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Fiction')
329
+  (0.1ms) begin transaction
330
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:31:30.240200"], ["name", "UnLivre"], ["type", "Book"], ["updated_at", "2015-01-01 18:31:30.240200"]]
331
+  (1.2ms) commit transaction
332
+  (0.1ms) begin transaction
333
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu"], ["id", 2]]
334
+  (0.7ms) commit transaction
335
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Fiction')
336
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" = ? LIMIT 1 [["id", 1]]
337
+ Product Load (0.2ms) SELECT "products".* FROM "products"
338
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" = ? LIMIT 1 [["id", 1]]
339
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Fiction') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
340
+  (0.1ms) begin transaction
341
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 18:33:14.834824"], ["name", "SomeThings"], ["updated_at", "2015-01-01 18:33:14.834824"]]
342
+  (1.2ms) commit transaction
343
+  (0.1ms) begin transaction
344
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:33:15.200513"], ["name", "Le Petit Robert"], ["type", "Dictionary"], ["updated_at", "2015-01-01 18:33:15.200513"]]
345
+  (1.0ms) commit transaction
346
+  (0.0ms) begin transaction
347
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 4]]
348
+  (0.5ms) commit transaction
349
+  (0.0ms) begin transaction
350
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 4], ["language", "French"]]
351
+  (0.5ms) commit transaction
352
+ Product Load (0.2ms) SELECT "products".* FROM "products"
353
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" = ? LIMIT 1 [["id", 1]]
354
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Fiction', 'Dictionary') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
355
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 4]]
356
+  (0.2ms) SELECT COUNT(*) FROM "products"
357
+ SQL (1.6ms) DELETE FROM "products"
358
+ SQL (9.2ms) DELETE FROM "books"
359
+  (0.2ms) SELECT COUNT(*) FROM "products"
360
+  (0.2ms) SELECT COUNT(*) FROM "products"
361
+  (0.1ms) begin transaction
362
+ SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:40:26.559683"], ["name", "UnLivre"], ["type", "Book"], ["updated_at", "2015-01-01 18:40:26.559683"]]
363
+  (7.4ms) commit transaction
364
+  (0.1ms) begin transaction
365
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu"], ["id", 5]]
366
+  (2.0ms) commit transaction
367
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
368
+  (0.1ms) select sqlite_version(*)
369
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
370
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
371
+ Migrating to CreateProducts (20141228200436)
372
+  (0.1ms) begin transaction
373
+  (0.5ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
374
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
375
+  (0.8ms) commit transaction
376
+ Migrating to CreateBooks (20141228200756)
377
+  (0.0ms) begin transaction
378
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
379
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
380
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
381
+  (0.8ms) commit transaction
382
+ Migrating to CreateDictionaries (20150101181703)
383
+  (0.1ms) begin transaction
384
+  (0.3ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
385
+  (0.2ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
386
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
387
+  (0.9ms) commit transaction
388
+ Migrating to CreateFictions (20150101181916)
389
+  (0.1ms) begin transaction
390
+  (0.3ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
391
+  (0.2ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
392
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
393
+  (0.9ms) commit transaction
394
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
395
+  (0.2ms)  SELECT name
396
+ FROM sqlite_master
397
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
398
+ 
399
+  (0.1ms) SELECT name
400
+ FROM sqlite_master
401
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
402
+
403
+  (0.1ms)  SELECT sql
404
+ FROM sqlite_master
405
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
406
+ 
407
+  (0.1ms) SELECT sql
408
+ FROM sqlite_master
409
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
410
+
411
+  (0.1ms)  SELECT sql
412
+ FROM sqlite_master
413
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
414
+ 
415
+  (0.1ms) begin transaction
416
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:41:08.087381"], ["name", "Necronomicon"], ["type", "Fiction"], ["updated_at", "2015-01-01 18:41:08.087381"]]
417
+  (1.6ms) commit transaction
418
+  (0.0ms) begin transaction
419
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "H. P. Lovecraft "], ["id", 1]]
420
+  (0.8ms) commit transaction
421
+  (0.0ms) begin transaction
422
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 1], ["story", "A fictional grimoire appearing in the stories by horror"]]
423
+  (0.6ms) commit transaction
424
+  (0.1ms) begin transaction
425
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:41:23.109590"], ["name", "UnLivre"], ["type", "Book"], ["updated_at", "2015-01-01 18:41:23.109590"]]
426
+  (2.1ms) commit transaction
427
+  (0.0ms) begin transaction
428
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu"], ["id", 2]]
429
+  (0.5ms) commit transaction
430
+  (0.0ms) begin transaction
431
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 18:41:23.116526"], ["name", "SomeThings"], ["updated_at", "2015-01-01 18:41:23.116526"]]
432
+  (0.5ms) commit transaction
433
+  (0.1ms) begin transaction
434
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:41:23.756462"], ["name", "Le Petit Robert"], ["type", "Dictionary"], ["updated_at", "2015-01-01 18:41:23.756462"]]
435
+  (1.6ms) commit transaction
436
+  (0.1ms) begin transaction
437
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 4]]
438
+  (0.8ms) commit transaction
439
+  (0.0ms) begin transaction
440
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 4], ["language", "French"]]
441
+  (0.8ms) commit transaction
442
+ Product Load (0.2ms) SELECT "products".* FROM "products"
443
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" = ? LIMIT 1 [["id", 1]]
444
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Fiction', 'Dictionary') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
445
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 4]]
446
+ SQL (1.6ms) DELETE FROM "products"
447
+ SQL (8.8ms) DELETE FROM "books"
448
+ Product Load (0.2ms) SELECT "products".* FROM "products"
449
+  (0.1ms) begin transaction
450
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:45:15.321700"], ["name", "Le Petit Robert"], ["type", "Dictionary"], ["updated_at", "2015-01-01 18:45:15.321700"]]
451
+  (1.6ms) commit transaction
452
+  (0.1ms) begin transaction
453
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 5]]
454
+  (0.6ms) commit transaction
455
+  (0.1ms) begin transaction
456
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 5], ["language", "French"]]
457
+  (0.6ms) commit transaction
458
+  (0.1ms) begin transaction
459
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 18:45:19.670549"], ["name", "SomeThings"], ["updated_at", "2015-01-01 18:45:19.670549"]]
460
+  (1.3ms) commit transaction
461
+
462
+ ***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
463
+
464
+ SQL (1.7ms) DELETE FROM "products"
465
+ SQL (1.8ms) DELETE FROM "books"
466
+  (0.1ms) begin transaction
467
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:48:17.875672"], ["name", "Necronomicon"], ["type", "Fiction"], ["updated_at", "2015-01-01 18:48:17.875672"]]
468
+  (1.0ms) commit transaction
469
+  (0.0ms) begin transaction
470
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "H. P. Lovecraft "], ["id", 7]]
471
+  (0.5ms) commit transaction
472
+  (0.0ms) begin transaction
473
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 7], ["story", "A fictional grimoire appearing in the stories by horror"]]
474
+  (0.5ms) commit transaction
475
+  (0.1ms) begin transaction
476
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:48:26.901084"], ["name", "UnLivre"], ["type", "Book"], ["updated_at", "2015-01-01 18:48:26.901084"]]
477
+  (1.2ms) commit transaction
478
+  (0.1ms) begin transaction
479
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu"], ["id", 8]]
480
+  (0.6ms) commit transaction
481
+  (0.0ms) begin transaction
482
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 18:48:26.906748"], ["name", "SomeThings"], ["updated_at", "2015-01-01 18:48:26.906748"]]
483
+  (0.5ms) commit transaction
484
+  (0.1ms) begin transaction
485
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:48:26.917673"], ["name", "Le Petit Robert"], ["type", "Dictionary"], ["updated_at", "2015-01-01 18:48:26.917673"]]
486
+  (0.6ms) commit transaction
487
+  (0.0ms) begin transaction
488
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 10]]
489
+  (0.5ms) commit transaction
490
+  (0.0ms) begin transaction
491
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 10], ["language", "French"]]
492
+  (0.5ms) commit transaction
493
+ SQL (1.3ms) DELETE FROM "products"
494
+  (0.1ms) SELECT COUNT(*) FROM "view_books" WHERE "view_books"."type" IN ('Book')
495
+  (0.1ms) begin transaction
496
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:52:55.882093"], ["name", "UnLivre"], ["type", "Book"], ["updated_at", "2015-01-01 18:52:55.882093"]]
497
+  (1.1ms) commit transaction
498
+  (0.1ms) begin transaction
499
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu"], ["id", 11]]
500
+  (0.5ms) commit transaction
501
+  (0.0ms) begin transaction
502
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 18:52:55.892333"], ["name", "SomeThings"], ["updated_at", "2015-01-01 18:52:55.892333"]]
503
+  (0.5ms) commit transaction
504
+  (0.1ms) begin transaction
505
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:52:56.588562"], ["name", "Le Petit Robert"], ["type", "Dictionary"], ["updated_at", "2015-01-01 18:52:56.588562"]]
506
+  (1.0ms) commit transaction
507
+  (0.0ms) begin transaction
508
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 13]]
509
+  (0.5ms) commit transaction
510
+  (0.1ms) begin transaction
511
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 13], ["language", "French"]]
512
+  (0.5ms) commit transaction
513
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary')
514
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 13]]
515
+ SQL (1.4ms) DELETE FROM "products"
516
+ SQL (1.1ms) DELETE FROM "books"
517
+  (0.1ms) begin transaction
518
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 18:54:41.923123"], ["name", "SomeThings"], ["updated_at", "2015-01-01 18:54:41.923123"]]
519
+  (1.1ms) commit transaction
520
+  (0.1ms) begin transaction
521
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 18:54:44.978304"], ["name", "Le Petit Robert"], ["type", "Dictionary"], ["updated_at", "2015-01-01 18:54:44.978304"]]
522
+  (1.2ms) commit transaction
523
+  (0.0ms) begin transaction
524
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 15]]
525
+  (0.7ms) commit transaction
526
+  (0.0ms) begin transaction
527
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 15], ["language", "French"]]
528
+  (0.7ms) commit transaction
529
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary')
530
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 15]]
531
+ Book::Writable Load (0.2ms) SELECT "books".* FROM "books"
532
+ Product Load (0.2ms) SELECT "products".* FROM "products"
533
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 15]]
534
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", "all"]]
535
+ Product Load (0.2ms) SELECT "products".* FROM "products"
536
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 15]]
537
+ Product Load (1.1ms) SELECT "products".* FROM "products"
538
+ Dictionary Load (0.4ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 15]]
539
+ Product Load (0.2ms) SELECT "products".* FROM "products"
540
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 15]]
541
+  (0.2ms) SELECT COUNT(*) FROM "products"
542
+ SQL (0.9ms) DELETE FROM "products"
543
+  (0.2ms) SELECT COUNT(*) FROM "products"
544
+ SQL (1.3ms) DELETE FROM "books"
545
+  (0.1ms) begin transaction
546
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:12:23.104532"], ["name", "UnLivre"], ["type", "Book"], ["updated_at", "2015-01-01 20:12:23.104532"]]
547
+  (1.0ms) commit transaction
548
+  (0.0ms) begin transaction
549
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu"], ["id", 16]]
550
+  (0.6ms) commit transaction
551
+  (0.0ms) begin transaction
552
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 20:12:23.113237"], ["name", "SomeThings"], ["updated_at", "2015-01-01 20:12:23.113237"]]
553
+  (0.6ms) commit transaction
554
+  (0.1ms) begin transaction
555
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:12:23.867228"], ["name", "Le Petit Robert"], ["type", "Dictionary"], ["updated_at", "2015-01-01 20:12:23.867228"]]
556
+  (1.0ms) commit transaction
557
+  (0.0ms) begin transaction
558
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 18]]
559
+  (0.5ms) commit transaction
560
+  (0.0ms) begin transaction
561
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 18], ["language", "French"]]
562
+  (1.7ms) commit transaction
563
+  (0.1ms) begin transaction
564
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.461825"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-01 20:31:30.461825"]]
565
+  (1.5ms) commit transaction
566
+  (0.0ms) begin transaction
567
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 19]]
568
+  (0.7ms) commit transaction
569
+  (0.0ms) begin transaction
570
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 20:31:30.472205"], ["name", "Product1"], ["updated_at", "2015-01-01 20:31:30.472205"]]
571
+  (0.8ms) commit transaction
572
+  (0.0ms) begin transaction
573
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.480735"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-01 20:31:30.480735"]]
574
+  (0.5ms) commit transaction
575
+  (0.1ms) begin transaction
576
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 21]]
577
+  (0.5ms) commit transaction
578
+  (0.0ms) begin transaction
579
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 21], ["language", "French"]]
580
+  (0.5ms) commit transaction
581
+  (0.1ms) begin transaction
582
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.496279"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-01 20:31:30.496279"]]
583
+  (0.6ms) commit transaction
584
+  (0.0ms) begin transaction
585
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 22]]
586
+  (0.9ms) commit transaction
587
+  (0.0ms) begin transaction
588
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 22], ["story", "A good story"]]
589
+  (0.8ms) commit transaction
590
+  (0.0ms) begin transaction
591
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.505339"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 20:31:30.505339"]]
592
+  (0.7ms) commit transaction
593
+  (0.1ms) begin transaction
594
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 23]]
595
+  (0.7ms) commit transaction
596
+  (0.1ms) begin transaction
597
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 20:31:30.509374"], ["name", "Product2"], ["updated_at", "2015-01-01 20:31:30.509374"]]
598
+  (0.9ms) commit transaction
599
+  (0.0ms) begin transaction
600
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.512860"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-01 20:31:30.512860"]]
601
+  (0.7ms) commit transaction
602
+  (0.1ms) begin transaction
603
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 25]]
604
+  (0.8ms) commit transaction
605
+  (0.1ms) begin transaction
606
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 25], ["language", "French"]]
607
+  (0.7ms) commit transaction
608
+  (0.0ms) begin transaction
609
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.520491"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-01 20:31:30.520491"]]
610
+  (0.7ms) commit transaction
611
+  (0.0ms) begin transaction
612
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 26]]
613
+  (0.7ms) commit transaction
614
+  (0.1ms) begin transaction
615
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 26], ["story", "A good story"]]
616
+  (4.8ms) commit transaction
617
+  (0.1ms) begin transaction
618
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.531284"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 20:31:30.531284"]]
619
+  (0.9ms) commit transaction
620
+  (0.0ms) begin transaction
621
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 27]]
622
+  (0.5ms) commit transaction
623
+  (0.0ms) begin transaction
624
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 20:31:30.534802"], ["name", "Product3"], ["updated_at", "2015-01-01 20:31:30.534802"]]
625
+  (0.5ms) commit transaction
626
+  (0.0ms) begin transaction
627
+ SQL (0.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.536922"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-01 20:31:30.536922"]]
628
+  (0.5ms) commit transaction
629
+  (0.1ms) begin transaction
630
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 29]]
631
+  (1.0ms) commit transaction
632
+  (0.1ms) begin transaction
633
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 29], ["language", "French"]]
634
+  (0.7ms) commit transaction
635
+  (0.1ms) begin transaction
636
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 20:31:30.545225"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-01 20:31:30.545225"]]
637
+  (0.7ms) commit transaction
638
+  (0.1ms) begin transaction
639
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 30]]
640
+  (0.8ms) commit transaction
641
+  (0.1ms) begin transaction
642
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 30], ["story", "A good story"]]
643
+  (0.8ms) commit transaction
644
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 5]]
645
+ Product Load (0.3ms) SELECT "products".* FROM "products"
646
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction') AND "view_books"."id" IN (16, 19, 23, 27)
647
+ Dictionary Load (0.4ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" IN (18, 21, 25, 29)
648
+ Fiction Load (0.3ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (22, 26, 30)
649
+ Product Load (1.6ms) SELECT "products".* FROM "products"
650
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction') AND "view_books"."id" IN (16, 19, 23, 27)
651
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" IN (18, 21, 25, 29)
652
+ Fiction Load (0.1ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (22, 26, 30)
653
+  (0.2ms) SELECT COUNT(*) FROM "products"
654
+ SQL (1.3ms) DELETE FROM "products"
655
+ SQL (1.0ms) DELETE FROM "books"
656
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
657
+ Product Load (0.5ms) SELECT "products".* FROM "products"
658
+  (0.2ms) begin transaction
659
+ SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:03.960454"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-01 23:09:03.960454"]]
660
+  (1.2ms) commit transaction
661
+  (0.2ms) begin transaction
662
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 31]]
663
+  (0.8ms) commit transaction
664
+  (0.2ms) begin transaction
665
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:09:03.992733"], ["name", "Product1"], ["updated_at", "2015-01-01 23:09:03.992733"]]
666
+  (0.7ms) commit transaction
667
+  (0.2ms) begin transaction
668
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:04.008513"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:09:04.008513"]]
669
+  (0.7ms) commit transaction
670
+  (0.2ms) begin transaction
671
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 33]]
672
+  (0.6ms) commit transaction
673
+  (0.1ms) begin transaction
674
+ SQL (0.4ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 33], ["language", "French"]]
675
+  (0.8ms) commit transaction
676
+  (0.2ms) begin transaction
677
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:04.039855"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:09:04.039855"]]
678
+  (0.7ms) commit transaction
679
+  (0.2ms) begin transaction
680
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 34]]
681
+  (0.9ms) commit transaction
682
+  (0.2ms) begin transaction
683
+ SQL (0.4ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 34], ["story", "A good story"]]
684
+  (0.8ms) commit transaction
685
+  (0.2ms) begin transaction
686
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:04.072123"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:09:04.072123"]]
687
+  (0.9ms) commit transaction
688
+  (0.2ms) begin transaction
689
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 35]]
690
+  (0.8ms) commit transaction
691
+  (0.3ms) begin transaction
692
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:09:04.093549"], ["name", "Product2"], ["updated_at", "2015-01-01 23:09:04.093549"]]
693
+  (1.2ms) commit transaction
694
+  (0.2ms) begin transaction
695
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:04.119889"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:09:04.119889"]]
696
+  (0.9ms) commit transaction
697
+  (0.3ms) begin transaction
698
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 37]]
699
+  (0.9ms) commit transaction
700
+  (0.3ms) begin transaction
701
+ SQL (0.6ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 37], ["language", "French"]]
702
+  (1.5ms) commit transaction
703
+  (0.2ms) begin transaction
704
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:04.155577"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:09:04.155577"]]
705
+  (0.9ms) commit transaction
706
+  (0.2ms) begin transaction
707
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 38]]
708
+  (0.9ms) commit transaction
709
+  (0.3ms) begin transaction
710
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 38], ["story", "A good story"]]
711
+  (0.9ms) commit transaction
712
+  (0.4ms) begin transaction
713
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:04.186046"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:09:04.186046"]]
714
+  (0.8ms) commit transaction
715
+  (0.3ms) begin transaction
716
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 39]]
717
+  (0.8ms) commit transaction
718
+  (0.1ms) begin transaction
719
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:09:04.206654"], ["name", "Product3"], ["updated_at", "2015-01-01 23:09:04.206654"]]
720
+  (1.1ms) commit transaction
721
+  (0.2ms) begin transaction
722
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:04.224302"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:09:04.224302"]]
723
+  (0.8ms) commit transaction
724
+  (0.1ms) begin transaction
725
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 41]]
726
+  (4.3ms) commit transaction
727
+  (0.2ms) begin transaction
728
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 41], ["language", "French"]]
729
+  (0.7ms) commit transaction
730
+  (0.2ms) begin transaction
731
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:09:04.825766"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:09:04.825766"]]
732
+  (1.6ms) commit transaction
733
+  (0.2ms) begin transaction
734
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 42]]
735
+  (0.8ms) commit transaction
736
+  (0.2ms) begin transaction
737
+ SQL (0.4ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 42], ["story", "A good story"]]
738
+  (1.0ms) commit transaction
739
+  (0.3ms) SELECT COUNT(*) FROM "products"
740
+ SQL (3.9ms) DELETE FROM "products"
741
+ SQL (2.0ms) DELETE FROM "dictionaries"
742
+ SQL (3.4ms) DELETE FROM "books"
743
+  (0.2ms) begin transaction
744
+ SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:12.585153"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-01 23:15:12.585153"]]
745
+  (0.9ms) commit transaction
746
+  (0.2ms) begin transaction
747
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 43]]
748
+  (0.7ms) commit transaction
749
+  (0.2ms) begin transaction
750
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:15:12.604046"], ["name", "Product1"], ["updated_at", "2015-01-01 23:15:12.604046"]]
751
+  (0.7ms) commit transaction
752
+  (0.2ms) begin transaction
753
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:12.620517"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:15:12.620517"]]
754
+  (0.6ms) commit transaction
755
+  (0.2ms) begin transaction
756
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 45]]
757
+  (0.6ms) commit transaction
758
+  (0.2ms) begin transaction
759
+ SQL (0.5ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 45], ["language", "French"]]
760
+  (0.7ms) commit transaction
761
+  (0.2ms) begin transaction
762
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:12.648529"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:15:12.648529"]]
763
+  (0.7ms) commit transaction
764
+  (0.2ms) begin transaction
765
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 46]]
766
+  (0.6ms) commit transaction
767
+  (0.1ms) begin transaction
768
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 46], ["story", "A good story"]]
769
+  (0.7ms) commit transaction
770
+  (0.2ms) begin transaction
771
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:12.673587"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:15:12.673587"]]
772
+  (0.9ms) commit transaction
773
+  (0.2ms) begin transaction
774
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 47]]
775
+  (0.8ms) commit transaction
776
+  (0.2ms) begin transaction
777
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:15:12.694781"], ["name", "Product2"], ["updated_at", "2015-01-01 23:15:12.694781"]]
778
+  (0.9ms) commit transaction
779
+  (0.3ms) begin transaction
780
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:12.719884"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:15:12.719884"]]
781
+  (0.8ms) commit transaction
782
+  (0.2ms) begin transaction
783
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 49]]
784
+  (0.9ms) commit transaction
785
+  (0.2ms) begin transaction
786
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 49], ["language", "French"]]
787
+  (0.9ms) commit transaction
788
+  (0.2ms) begin transaction
789
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:12.752422"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:15:12.752422"]]
790
+  (0.9ms) commit transaction
791
+  (0.3ms) begin transaction
792
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 50]]
793
+  (0.8ms) commit transaction
794
+  (0.3ms) begin transaction
795
+ SQL (0.5ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 50], ["story", "A good story"]]
796
+  (0.7ms) commit transaction
797
+  (0.2ms) begin transaction
798
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:12.783065"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:15:12.783065"]]
799
+  (0.8ms) commit transaction
800
+  (0.2ms) begin transaction
801
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 51]]
802
+  (0.9ms) commit transaction
803
+  (0.1ms) begin transaction
804
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:15:12.800892"], ["name", "Product3"], ["updated_at", "2015-01-01 23:15:12.800892"]]
805
+  (0.8ms) commit transaction
806
+  (0.4ms) begin transaction
807
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:12.821238"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:15:12.821238"]]
808
+  (0.8ms) commit transaction
809
+  (0.2ms) begin transaction
810
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 53]]
811
+  (0.8ms) commit transaction
812
+  (0.2ms) begin transaction
813
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 53], ["language", "French"]]
814
+  (0.9ms) commit transaction
815
+  (0.2ms) begin transaction
816
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:15:13.605418"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:15:13.605418"]]
817
+  (2.0ms) commit transaction
818
+  (0.2ms) begin transaction
819
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 54]]
820
+  (1.3ms) commit transaction
821
+  (0.2ms) begin transaction
822
+ SQL (0.4ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 54], ["story", "A good story"]]
823
+  (0.7ms) commit transaction
824
+ Product Load (0.7ms) SELECT "products".* FROM "products"
825
+ Book Load (0.8ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction') AND "view_books"."id" IN (43, 47, 51)
826
+ Dictionary Load (0.7ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" IN (45, 49, 53)
827
+ Fiction Load (0.7ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (46, 50, 54)
828
+  (0.6ms) SELECT "products"."id" FROM "products"
829
+  (0.7ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
830
+  (0.6ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
831
+  (0.4ms) begin transaction
832
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.318000"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-01 23:19:47.318000"]]
833
+  (0.8ms) commit transaction
834
+  (0.2ms) begin transaction
835
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 55]]
836
+  (0.8ms) commit transaction
837
+  (0.3ms) begin transaction
838
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:19:47.343761"], ["name", "Product1"], ["updated_at", "2015-01-01 23:19:47.343761"]]
839
+  (0.7ms) commit transaction
840
+  (0.3ms) begin transaction
841
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.370516"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:19:47.370516"]]
842
+  (0.9ms) commit transaction
843
+  (0.3ms) begin transaction
844
+ SQL (0.5ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 57]]
845
+  (0.7ms) commit transaction
846
+  (0.3ms) begin transaction
847
+ SQL (0.6ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 57], ["language", "French"]]
848
+  (0.7ms) commit transaction
849
+  (0.3ms) begin transaction
850
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.414611"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:19:47.414611"]]
851
+  (0.7ms) commit transaction
852
+  (0.3ms) begin transaction
853
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 58]]
854
+  (0.7ms) commit transaction
855
+  (0.2ms) begin transaction
856
+ SQL (0.5ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 58], ["story", "A good story"]]
857
+  (0.8ms) commit transaction
858
+  (0.3ms) begin transaction
859
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.457978"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:19:47.457978"]]
860
+  (0.8ms) commit transaction
861
+  (0.3ms) begin transaction
862
+ SQL (0.5ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 59]]
863
+  (0.8ms) commit transaction
864
+  (0.2ms) begin transaction
865
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:19:47.480579"], ["name", "Product2"], ["updated_at", "2015-01-01 23:19:47.480579"]]
866
+  (0.7ms) commit transaction
867
+  (0.2ms) begin transaction
868
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.499235"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:19:47.499235"]]
869
+  (0.8ms) commit transaction
870
+  (0.2ms) begin transaction
871
+ SQL (0.5ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 61]]
872
+  (0.9ms) commit transaction
873
+  (0.2ms) begin transaction
874
+ SQL (0.5ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 61], ["language", "French"]]
875
+  (0.7ms) commit transaction
876
+  (0.2ms) begin transaction
877
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.543044"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:19:47.543044"]]
878
+  (0.8ms) commit transaction
879
+  (0.2ms) begin transaction
880
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 62]]
881
+  (0.7ms) commit transaction
882
+  (0.1ms) begin transaction
883
+ SQL (0.4ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 62], ["story", "A good story"]]
884
+  (0.6ms) commit transaction
885
+  (0.4ms) begin transaction
886
+ SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.573498"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:19:47.573498"]]
887
+  (0.9ms) commit transaction
888
+  (0.4ms) begin transaction
889
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 63]]
890
+  (0.9ms) commit transaction
891
+  (0.2ms) begin transaction
892
+ SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:19:47.597049"], ["name", "Product3"], ["updated_at", "2015-01-01 23:19:47.597049"]]
893
+  (0.8ms) commit transaction
894
+  (0.4ms) begin transaction
895
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.625486"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:19:47.625486"]]
896
+  (0.9ms) commit transaction
897
+  (0.2ms) begin transaction
898
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 65]]
899
+  (0.8ms) commit transaction
900
+  (0.2ms) begin transaction
901
+ SQL (0.4ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 65], ["language", "French"]]
902
+  (0.6ms) commit transaction
903
+  (0.3ms) begin transaction
904
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:19:47.837500"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:19:47.837500"]]
905
+  (1.2ms) commit transaction
906
+  (0.3ms) begin transaction
907
+ SQL (0.6ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 66]]
908
+  (0.9ms) commit transaction
909
+  (0.3ms) begin transaction
910
+ SQL (0.5ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 66], ["story", "A good story"]]
911
+  (0.8ms) commit transaction
912
+ Product Load (1.0ms) SELECT "products".* FROM "products"
913
+ Book Load (0.8ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction') AND "view_books"."id" IN (43, 47, 51, 55, 59, 63)
914
+ Dictionary Load (0.6ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" IN (45, 49, 53, 57, 61, 65)
915
+ Fiction Load (0.7ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (46, 50, 54, 58, 62, 66)
916
+  (0.7ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
917
+  (0.8ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
918
+  (0.8ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
919
+ SQL (1.4ms) DELETE FROM "products" WHERE "products"."id" IN (43, 45, 46, 47, 49, 50, 51, 53, 54, 55, 57, 58, 59, 61, 62, 63, 65, 66)
920
+  (0.5ms) SELECT COUNT(*) FROM "products"
921
+ Product Load (0.7ms) SELECT "products".* FROM "products"
922
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
923
+ Dictionary Load (0.6ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary')
924
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
925
+  (0.1ms) select sqlite_version(*)
926
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
927
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
928
+ Migrating to CreateProducts (20141228200436)
929
+  (0.1ms) begin transaction
930
+  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
931
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
932
+  (0.9ms) commit transaction
933
+ Migrating to CreateBooks (20141228200756)
934
+  (0.1ms) begin transaction
935
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
936
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
937
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
938
+  (0.9ms) commit transaction
939
+ Migrating to CreateDictionaries (20150101181703)
940
+  (0.1ms) begin transaction
941
+  (0.2ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
942
+  (0.2ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
943
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
944
+  (0.7ms) commit transaction
945
+ Migrating to CreateFictions (20150101181916)
946
+  (0.0ms) begin transaction
947
+  (0.3ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
948
+  (0.3ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
949
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
950
+  (1.4ms) commit transaction
951
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
952
+  (0.1ms)  SELECT name
953
+ FROM sqlite_master
954
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
955
+ 
956
+  (0.1ms) SELECT name
957
+ FROM sqlite_master
958
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
959
+
960
+  (0.1ms)  SELECT sql
961
+ FROM sqlite_master
962
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
963
+ 
964
+  (0.1ms) SELECT sql
965
+ FROM sqlite_master
966
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
967
+
968
+  (0.1ms)  SELECT sql
969
+ FROM sqlite_master
970
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
971
+ 
972
+  (0.1ms) begin transaction
973
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:32:03.366260"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-01 23:32:03.366260"]]
974
+  (0.9ms) commit transaction
975
+  (0.0ms) begin transaction
976
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 1]]
977
+  (0.7ms) commit transaction
978
+ Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
979
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
980
+  (0.2ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book')
981
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = 1
982
+ Product Load (3.1ms) SELECT "products".* FROM "products"
983
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
984
+ Product Load (0.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
985
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
986
+  (0.2ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book')
987
+ SQL (3.6ms) DELETE FROM "products" WHERE "products"."id" = 1
988
+ SQL (0.7ms) DELETE FROM "books" WHERE "books"."id" = 1
989
+  (0.1ms) begin transaction
990
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.438696"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-01 23:34:21.438696"]]
991
+  (1.2ms) commit transaction
992
+  (0.0ms) begin transaction
993
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 2]]
994
+  (0.5ms) commit transaction
995
+  (0.0ms) begin transaction
996
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:34:21.447638"], ["name", "Product1"], ["updated_at", "2015-01-01 23:34:21.447638"]]
997
+  (0.5ms) commit transaction
998
+  (0.0ms) begin transaction
999
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.456225"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:34:21.456225"]]
1000
+  (0.6ms) commit transaction
1001
+  (0.0ms) begin transaction
1002
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 4]]
1003
+  (0.5ms) commit transaction
1004
+  (0.0ms) begin transaction
1005
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 4], ["language", "French"]]
1006
+  (0.5ms) commit transaction
1007
+  (0.1ms) begin transaction
1008
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.469844"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:34:21.469844"]]
1009
+  (0.6ms) commit transaction
1010
+  (0.0ms) begin transaction
1011
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 5]]
1012
+  (0.5ms) commit transaction
1013
+  (0.0ms) begin transaction
1014
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 5], ["story", "A good story"]]
1015
+  (0.5ms) commit transaction
1016
+  (0.0ms) begin transaction
1017
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.477716"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:34:21.477716"]]
1018
+  (0.5ms) commit transaction
1019
+  (0.0ms) begin transaction
1020
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 6]]
1021
+  (0.5ms) commit transaction
1022
+  (0.0ms) begin transaction
1023
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:34:21.481693"], ["name", "Product2"], ["updated_at", "2015-01-01 23:34:21.481693"]]
1024
+  (0.5ms) commit transaction
1025
+  (0.0ms) begin transaction
1026
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.485236"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:34:21.485236"]]
1027
+  (0.5ms) commit transaction
1028
+  (0.0ms) begin transaction
1029
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 8]]
1030
+  (0.5ms) commit transaction
1031
+  (0.0ms) begin transaction
1032
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 8], ["language", "French"]]
1033
+  (0.5ms) commit transaction
1034
+  (0.0ms) begin transaction
1035
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.491339"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:34:21.491339"]]
1036
+  (0.5ms) commit transaction
1037
+  (0.0ms) begin transaction
1038
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 9]]
1039
+  (0.5ms) commit transaction
1040
+  (0.0ms) begin transaction
1041
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 9], ["story", "A good story"]]
1042
+  (0.5ms) commit transaction
1043
+  (0.0ms) begin transaction
1044
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.496993"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:34:21.496993"]]
1045
+  (0.5ms) commit transaction
1046
+  (0.0ms) begin transaction
1047
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 10]]
1048
+  (0.5ms) commit transaction
1049
+  (0.0ms) begin transaction
1050
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:34:21.500577"], ["name", "Product3"], ["updated_at", "2015-01-01 23:34:21.500577"]]
1051
+  (0.5ms) commit transaction
1052
+  (0.0ms) begin transaction
1053
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.504129"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:34:21.504129"]]
1054
+  (0.5ms) commit transaction
1055
+  (0.0ms) begin transaction
1056
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 12]]
1057
+  (0.5ms) commit transaction
1058
+  (0.0ms) begin transaction
1059
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 12], ["language", "French"]]
1060
+  (0.5ms) commit transaction
1061
+  (0.0ms) begin transaction
1062
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:34:21.510245"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:34:21.510245"]]
1063
+  (0.5ms) commit transaction
1064
+  (0.0ms) begin transaction
1065
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 13]]
1066
+  (0.5ms) commit transaction
1067
+  (0.0ms) begin transaction
1068
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 13], ["story", "A good story"]]
1069
+  (0.6ms) commit transaction
1070
+  (0.2ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
1071
+  (0.2ms) SELECT "products"."id" FROM "products"
1072
+ SQL (1.3ms) DELETE FROM "products" WHERE "products"."id" IN (2, 4, 5, 6, 8, 9, 10, 12, 13)
1073
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1074
+  (0.1ms) select sqlite_version(*)
1075
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1076
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1077
+ Migrating to CreateProducts (20141228200436)
1078
+  (0.1ms) begin transaction
1079
+  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
1080
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
1081
+  (0.9ms) commit transaction
1082
+ Migrating to CreateBooks (20141228200756)
1083
+  (0.1ms) begin transaction
1084
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
1085
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
1086
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
1087
+  (0.8ms) commit transaction
1088
+ Migrating to CreateDictionaries (20150101181703)
1089
+  (0.1ms) begin transaction
1090
+  (0.3ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
1091
+  (0.3ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
1092
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
1093
+  (0.7ms) commit transaction
1094
+ Migrating to CreateFictions (20150101181916)
1095
+  (0.0ms) begin transaction
1096
+  (0.2ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
1097
+  (0.2ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
1098
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
1099
+  (0.6ms) commit transaction
1100
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1101
+  (0.1ms)  SELECT name
1102
+ FROM sqlite_master
1103
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
1104
+ 
1105
+  (0.1ms) SELECT name
1106
+ FROM sqlite_master
1107
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
1108
+
1109
+  (0.1ms)  SELECT sql
1110
+ FROM sqlite_master
1111
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
1112
+ 
1113
+  (0.1ms) SELECT sql
1114
+ FROM sqlite_master
1115
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
1116
+
1117
+  (0.1ms)  SELECT sql
1118
+ FROM sqlite_master
1119
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
1120
+ 
1121
+  (0.1ms) begin transaction
1122
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.724563"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-01 23:36:19.724563"]]
1123
+  (1.0ms) commit transaction
1124
+  (0.0ms) begin transaction
1125
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 1]]
1126
+  (0.5ms) commit transaction
1127
+  (0.0ms) begin transaction
1128
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:36:19.733262"], ["name", "Product1"], ["updated_at", "2015-01-01 23:36:19.733262"]]
1129
+  (0.5ms) commit transaction
1130
+  (0.1ms) begin transaction
1131
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.741960"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:36:19.741960"]]
1132
+  (0.6ms) commit transaction
1133
+  (0.0ms) begin transaction
1134
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 3]]
1135
+  (0.5ms) commit transaction
1136
+  (0.1ms) begin transaction
1137
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 3], ["language", "French"]]
1138
+  (0.5ms) commit transaction
1139
+  (0.1ms) begin transaction
1140
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.756030"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:36:19.756030"]]
1141
+  (0.5ms) commit transaction
1142
+  (0.0ms) begin transaction
1143
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 4]]
1144
+  (0.5ms) commit transaction
1145
+  (0.0ms) begin transaction
1146
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 4], ["story", "A good story"]]
1147
+  (0.5ms) commit transaction
1148
+  (0.0ms) begin transaction
1149
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.763937"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:36:19.763937"]]
1150
+  (0.5ms) commit transaction
1151
+  (0.0ms) begin transaction
1152
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 5]]
1153
+  (0.5ms) commit transaction
1154
+  (0.0ms) begin transaction
1155
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:36:19.767828"], ["name", "Product2"], ["updated_at", "2015-01-01 23:36:19.767828"]]
1156
+  (0.5ms) commit transaction
1157
+  (0.0ms) begin transaction
1158
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.771414"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:36:19.771414"]]
1159
+  (0.5ms) commit transaction
1160
+  (0.1ms) begin transaction
1161
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 7]]
1162
+  (0.5ms) commit transaction
1163
+  (0.0ms) begin transaction
1164
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 7], ["language", "French"]]
1165
+  (0.5ms) commit transaction
1166
+  (0.0ms) begin transaction
1167
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.777667"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:36:19.777667"]]
1168
+  (0.5ms) commit transaction
1169
+  (0.0ms) begin transaction
1170
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 8]]
1171
+  (0.5ms) commit transaction
1172
+  (0.0ms) begin transaction
1173
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 8], ["story", "A good story"]]
1174
+  (0.5ms) commit transaction
1175
+  (0.0ms) begin transaction
1176
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.783349"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:36:19.783349"]]
1177
+  (0.5ms) commit transaction
1178
+  (0.0ms) begin transaction
1179
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 9]]
1180
+  (0.5ms) commit transaction
1181
+  (0.0ms) begin transaction
1182
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:36:19.786970"], ["name", "Product3"], ["updated_at", "2015-01-01 23:36:19.786970"]]
1183
+  (0.5ms) commit transaction
1184
+  (0.1ms) begin transaction
1185
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.790940"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:36:19.790940"]]
1186
+  (0.5ms) commit transaction
1187
+  (0.0ms) begin transaction
1188
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 11]]
1189
+  (0.5ms) commit transaction
1190
+  (0.0ms) begin transaction
1191
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 11], ["language", "French"]]
1192
+  (0.5ms) commit transaction
1193
+  (0.0ms) begin transaction
1194
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:36:19.797269"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:36:19.797269"]]
1195
+  (0.5ms) commit transaction
1196
+  (0.0ms) begin transaction
1197
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 12]]
1198
+  (0.5ms) commit transaction
1199
+  (0.0ms) begin transaction
1200
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 12], ["story", "A good story"]]
1201
+  (0.6ms) commit transaction
1202
+  (0.2ms) SELECT "products"."id" FROM "products"
1203
+ SQL (1.2ms) DELETE FROM "products"
1204
+ Product Load (0.5ms) SELECT "products".* FROM "products"
1205
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1206
+  (0.1ms) select sqlite_version(*)
1207
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1208
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1209
+ Migrating to CreateProducts (20141228200436)
1210
+  (0.1ms) begin transaction
1211
+  (0.5ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
1212
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
1213
+  (0.7ms) commit transaction
1214
+ Migrating to CreateBooks (20141228200756)
1215
+  (0.0ms) begin transaction
1216
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
1217
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
1218
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
1219
+  (0.8ms) commit transaction
1220
+ Migrating to CreateDictionaries (20150101181703)
1221
+  (0.1ms) begin transaction
1222
+  (0.4ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
1223
+  (0.3ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
1224
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
1225
+  (0.8ms) commit transaction
1226
+ Migrating to CreateFictions (20150101181916)
1227
+  (0.1ms) begin transaction
1228
+  (0.3ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
1229
+  (0.3ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
1230
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
1231
+  (0.6ms) commit transaction
1232
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1233
+  (0.1ms)  SELECT name
1234
+ FROM sqlite_master
1235
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
1236
+ 
1237
+  (0.1ms) SELECT name
1238
+ FROM sqlite_master
1239
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
1240
+
1241
+  (0.1ms)  SELECT sql
1242
+ FROM sqlite_master
1243
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
1244
+ 
1245
+  (0.1ms) SELECT sql
1246
+ FROM sqlite_master
1247
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
1248
+
1249
+  (0.1ms)  SELECT sql
1250
+ FROM sqlite_master
1251
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
1252
+ 
1253
+  (0.1ms) begin transaction
1254
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.447247"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-01 23:41:44.447247"]]
1255
+  (1.1ms) commit transaction
1256
+  (0.0ms) begin transaction
1257
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 1]]
1258
+  (0.5ms) commit transaction
1259
+  (0.0ms) begin transaction
1260
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:41:44.455980"], ["name", "Product1"], ["updated_at", "2015-01-01 23:41:44.455980"]]
1261
+  (0.5ms) commit transaction
1262
+  (0.0ms) begin transaction
1263
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.464504"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:41:44.464504"]]
1264
+  (0.5ms) commit transaction
1265
+  (0.0ms) begin transaction
1266
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 3]]
1267
+  (0.5ms) commit transaction
1268
+  (0.0ms) begin transaction
1269
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 3], ["language", "French"]]
1270
+  (0.5ms) commit transaction
1271
+  (0.1ms) begin transaction
1272
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.478097"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:41:44.478097"]]
1273
+  (0.6ms) commit transaction
1274
+  (0.0ms) begin transaction
1275
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 4]]
1276
+  (0.5ms) commit transaction
1277
+  (0.0ms) begin transaction
1278
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 4], ["story", "A good story"]]
1279
+  (0.5ms) commit transaction
1280
+  (0.0ms) begin transaction
1281
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.485950"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:41:44.485950"]]
1282
+  (0.5ms) commit transaction
1283
+  (0.0ms) begin transaction
1284
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 5]]
1285
+  (0.5ms) commit transaction
1286
+  (0.0ms) begin transaction
1287
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:41:44.489840"], ["name", "Product2"], ["updated_at", "2015-01-01 23:41:44.489840"]]
1288
+  (0.5ms) commit transaction
1289
+  (0.0ms) begin transaction
1290
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.493381"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:41:44.493381"]]
1291
+  (0.5ms) commit transaction
1292
+  (0.0ms) begin transaction
1293
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 7]]
1294
+  (0.5ms) commit transaction
1295
+  (0.0ms) begin transaction
1296
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 7], ["language", "French"]]
1297
+  (0.5ms) commit transaction
1298
+  (0.0ms) begin transaction
1299
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.499435"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:41:44.499435"]]
1300
+  (0.5ms) commit transaction
1301
+  (0.0ms) begin transaction
1302
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 8]]
1303
+  (0.5ms) commit transaction
1304
+  (0.0ms) begin transaction
1305
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 8], ["story", "A good story"]]
1306
+  (0.5ms) commit transaction
1307
+  (0.0ms) begin transaction
1308
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.505063"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-01 23:41:44.505063"]]
1309
+  (0.5ms) commit transaction
1310
+  (0.0ms) begin transaction
1311
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 9]]
1312
+  (0.5ms) commit transaction
1313
+  (0.0ms) begin transaction
1314
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-01 23:41:44.508613"], ["name", "Product3"], ["updated_at", "2015-01-01 23:41:44.508613"]]
1315
+  (0.5ms) commit transaction
1316
+  (0.0ms) begin transaction
1317
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.512168"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-01 23:41:44.512168"]]
1318
+  (0.5ms) commit transaction
1319
+  (0.0ms) begin transaction
1320
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 11]]
1321
+  (0.5ms) commit transaction
1322
+  (0.0ms) begin transaction
1323
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 11], ["language", "French"]]
1324
+  (0.5ms) commit transaction
1325
+  (0.0ms) begin transaction
1326
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-01 23:41:44.518177"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-01 23:41:44.518177"]]
1327
+  (0.5ms) commit transaction
1328
+  (0.0ms) begin transaction
1329
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 12]]
1330
+  (0.5ms) commit transaction
1331
+  (0.0ms) begin transaction
1332
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 12], ["story", "A good story"]]
1333
+  (0.6ms) commit transaction
1334
+  (0.2ms) SELECT "products"."id" FROM "products"
1335
+ Product Load (1.2ms) SELECT "products".* FROM "products"
1336
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction') AND "view_books"."id" IN (1, 5, 9)
1337
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" IN (3, 7, 11)
1338
+ Fiction Load (0.3ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (4, 8, 12)
1339
+  (0.2ms) SELECT COUNT(*) FROM "products"
1340
+  (0.4ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
1341
+ SQL (1.8ms) DELETE FROM "products" WHERE "products"."id" IN (1, 3, 4, 5, 7, 8, 9, 11, 12)
1342
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1343
+  (0.1ms) select sqlite_version(*)
1344
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1345
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1346
+ Migrating to CreateProducts (20141228200436)
1347
+  (0.1ms) begin transaction
1348
+  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
1349
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
1350
+  (1.0ms) commit transaction
1351
+ Migrating to CreateBooks (20141228200756)
1352
+  (0.1ms) begin transaction
1353
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
1354
+  (0.4ms) rollback transaction
1355
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1356
+ Migrating to CreateBooks (20141228200756)
1357
+  (0.0ms) begin transaction
1358
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255)) 
1359
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
1360
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
1361
+  (1.6ms) commit transaction
1362
+ Migrating to CreateDictionaries (20150101181703)
1363
+  (0.1ms) begin transaction
1364
+  (0.4ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255))
1365
+  (0.3ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
1366
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
1367
+  (0.8ms) commit transaction
1368
+ Migrating to CreateFictions (20150101181916)
1369
+  (0.1ms) begin transaction
1370
+  (0.4ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text) 
1371
+  (0.2ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
1372
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
1373
+  (0.6ms) commit transaction
1374
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1375
+  (0.1ms) SELECT name
1376
+ FROM sqlite_master
1377
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
1378
+
1379
+  (0.1ms)  SELECT name
1380
+ FROM sqlite_master
1381
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
1382
+ 
1383
+  (0.1ms) SELECT sql
1384
+ FROM sqlite_master
1385
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
1386
+
1387
+  (0.1ms)  SELECT sql
1388
+ FROM sqlite_master
1389
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
1390
+ 
1391
+  (0.2ms) SELECT sql
1392
+ FROM sqlite_master
1393
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
1394
+
1395
+ SQL (2.9ms) DELETE FROM "products"
1396
+ SQL (3.1ms) DELETE FROM "products"
1397
+ SQL (2.6ms) DELETE FROM "products"
1398
+  (0.1ms) begin transaction
1399
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:09.753579"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-02 00:11:09.753579"]]
1400
+  (1.2ms) commit transaction
1401
+  (0.0ms) begin transaction
1402
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 1]]
1403
+  (0.5ms) commit transaction
1404
+  (0.0ms) begin transaction
1405
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:11:09.762557"], ["name", "Product1"], ["updated_at", "2015-01-02 00:11:09.762557"]]
1406
+  (0.5ms) commit transaction
1407
+  (0.0ms) begin transaction
1408
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:09.771038"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:11:09.771038"]]
1409
+  (0.7ms) commit transaction
1410
+  (0.0ms) begin transaction
1411
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 3]]
1412
+  (0.5ms) commit transaction
1413
+  (0.0ms) begin transaction
1414
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 3], ["language", "French"]]
1415
+  (0.5ms) commit transaction
1416
+  (0.0ms) begin transaction
1417
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:09.784616"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:11:09.784616"]]
1418
+  (0.6ms) commit transaction
1419
+  (0.0ms) begin transaction
1420
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 4]]
1421
+  (0.5ms) commit transaction
1422
+  (0.0ms) begin transaction
1423
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 4], ["story", "A good story"]]
1424
+  (0.5ms) commit transaction
1425
+  (0.1ms) begin transaction
1426
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:09.792514"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 00:11:09.792514"]]
1427
+  (0.5ms) commit transaction
1428
+  (0.0ms) begin transaction
1429
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 5]]
1430
+  (0.5ms) commit transaction
1431
+  (0.0ms) begin transaction
1432
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:11:09.796418"], ["name", "Product2"], ["updated_at", "2015-01-02 00:11:09.796418"]]
1433
+  (0.6ms) commit transaction
1434
+  (0.0ms) begin transaction
1435
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:09.800036"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:11:09.800036"]]
1436
+  (0.5ms) commit transaction
1437
+  (0.0ms) begin transaction
1438
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 7]]
1439
+  (0.5ms) commit transaction
1440
+  (0.0ms) begin transaction
1441
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 7], ["language", "French"]]
1442
+  (0.5ms) commit transaction
1443
+  (0.0ms) begin transaction
1444
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:09.806180"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:11:09.806180"]]
1445
+  (0.5ms) commit transaction
1446
+  (0.0ms) begin transaction
1447
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 8]]
1448
+  (0.5ms) commit transaction
1449
+  (0.0ms) begin transaction
1450
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 8], ["story", "A good story"]]
1451
+  (0.5ms) commit transaction
1452
+  (0.0ms) begin transaction
1453
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:09.811828"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 00:11:09.811828"]]
1454
+  (0.7ms) commit transaction
1455
+  (0.0ms) begin transaction
1456
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 9]]
1457
+  (0.5ms) commit transaction
1458
+  (0.0ms) begin transaction
1459
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:11:09.815638"], ["name", "Product3"], ["updated_at", "2015-01-02 00:11:09.815638"]]
1460
+  (0.6ms) commit transaction
1461
+  (0.0ms) begin transaction
1462
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:09.819257"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:11:09.819257"]]
1463
+  (0.5ms) commit transaction
1464
+  (0.0ms) begin transaction
1465
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 11]]
1466
+  (0.5ms) commit transaction
1467
+  (0.0ms) begin transaction
1468
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 11], ["language", "French"]]
1469
+  (0.5ms) commit transaction
1470
+  (0.1ms) begin transaction
1471
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:11:10.732308"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:11:10.732308"]]
1472
+  (1.3ms) commit transaction
1473
+  (0.1ms) begin transaction
1474
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 12]]
1475
+  (0.6ms) commit transaction
1476
+  (0.1ms) begin transaction
1477
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 12], ["story", "A good story"]]
1478
+  (0.6ms) commit transaction
1479
+ SQL (9.2ms) DELETE FROM "products"
1480
+  (0.1ms) begin transaction
1481
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:06.285536"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-02 00:14:06.285536"]]
1482
+  (1.1ms) commit transaction
1483
+  (0.0ms) begin transaction
1484
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 13]]
1485
+  (0.5ms) commit transaction
1486
+  (0.0ms) begin transaction
1487
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:14:06.294216"], ["name", "Product1"], ["updated_at", "2015-01-02 00:14:06.294216"]]
1488
+  (0.5ms) commit transaction
1489
+  (0.1ms) begin transaction
1490
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:06.302604"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:14:06.302604"]]
1491
+  (0.6ms) commit transaction
1492
+  (0.0ms) begin transaction
1493
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 15]]
1494
+  (0.5ms) commit transaction
1495
+  (0.0ms) begin transaction
1496
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 15], ["language", "French"]]
1497
+  (0.5ms) commit transaction
1498
+  (0.0ms) begin transaction
1499
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:06.316279"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:14:06.316279"]]
1500
+  (0.6ms) commit transaction
1501
+  (0.1ms) begin transaction
1502
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 16]]
1503
+  (0.5ms) commit transaction
1504
+  (0.1ms) begin transaction
1505
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 16], ["story", "A good story"]]
1506
+  (0.5ms) commit transaction
1507
+  (0.0ms) begin transaction
1508
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:06.324211"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 00:14:06.324211"]]
1509
+  (0.5ms) commit transaction
1510
+  (0.0ms) begin transaction
1511
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 17]]
1512
+  (0.5ms) commit transaction
1513
+  (0.0ms) begin transaction
1514
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:14:06.328098"], ["name", "Product2"], ["updated_at", "2015-01-02 00:14:06.328098"]]
1515
+  (0.5ms) commit transaction
1516
+  (0.0ms) begin transaction
1517
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:06.331587"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:14:06.331587"]]
1518
+  (0.5ms) commit transaction
1519
+  (0.0ms) begin transaction
1520
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 19]]
1521
+  (0.5ms) commit transaction
1522
+  (0.0ms) begin transaction
1523
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 19], ["language", "French"]]
1524
+  (0.7ms) commit transaction
1525
+  (0.0ms) begin transaction
1526
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:06.338089"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:14:06.338089"]]
1527
+  (0.5ms) commit transaction
1528
+  (0.0ms) begin transaction
1529
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 20]]
1530
+  (0.5ms) commit transaction
1531
+  (0.0ms) begin transaction
1532
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 20], ["story", "A good story"]]
1533
+  (0.5ms) commit transaction
1534
+  (0.0ms) begin transaction
1535
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:06.343770"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 00:14:06.343770"]]
1536
+  (0.5ms) commit transaction
1537
+  (0.0ms) begin transaction
1538
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 21]]
1539
+  (0.5ms) commit transaction
1540
+  (0.0ms) begin transaction
1541
+ SQL (0.1ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:14:06.347362"], ["name", "Product3"], ["updated_at", "2015-01-02 00:14:06.347362"]]
1542
+  (0.6ms) commit transaction
1543
+  (0.0ms) begin transaction
1544
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:06.350937"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:14:06.350937"]]
1545
+  (0.5ms) commit transaction
1546
+  (0.0ms) begin transaction
1547
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 23]]
1548
+  (0.5ms) commit transaction
1549
+  (0.0ms) begin transaction
1550
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 23], ["language", "French"]]
1551
+  (0.5ms) commit transaction
1552
+  (0.1ms) begin transaction
1553
+ SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:14:07.010158"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:14:07.010158"]]
1554
+  (6.8ms) commit transaction
1555
+  (0.1ms) begin transaction
1556
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 24]]
1557
+  (0.5ms) commit transaction
1558
+  (0.0ms) begin transaction
1559
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 24], ["story", "A good story"]]
1560
+  (0.5ms) commit transaction
1561
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
1562
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" IN (15, 19, 23)
1563
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (16, 20, 24)
1564
+  (0.2ms) SELECT "products"."id" FROM "products"
1565
+ SQL (1.5ms) DELETE FROM "products" WHERE "products"."id" = 13
1566
+ SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = 13
1567
+ SQL (1.8ms) DELETE FROM "products" WHERE "products"."id" IN (14, 15)
1568
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1569
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1570
+  (0.1ms)  SELECT name
1571
+ FROM sqlite_master
1572
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
1573
+ 
1574
+  (0.1ms) SELECT name
1575
+ FROM sqlite_master
1576
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
1577
+
1578
+  (0.1ms)  SELECT sql
1579
+ FROM sqlite_master
1580
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
1581
+ 
1582
+  (0.1ms) SELECT sql
1583
+ FROM sqlite_master
1584
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
1585
+
1586
+  (0.1ms)  SELECT sql
1587
+ FROM sqlite_master
1588
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
1589
+ 
1590
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1591
+  (0.1ms) select sqlite_version(*)
1592
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1593
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1594
+ Migrating to CreateProducts (20141228200436)
1595
+  (0.0ms) begin transaction
1596
+  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
1597
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
1598
+  (0.9ms) commit transaction
1599
+ Migrating to CreateBooks (20141228200756)
1600
+  (0.1ms) begin transaction
1601
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
1602
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
1603
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
1604
+  (0.7ms) commit transaction
1605
+ Migrating to CreateDictionaries (20150101181703)
1606
+  (0.0ms) begin transaction
1607
+  (0.2ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
1608
+  (0.2ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
1609
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
1610
+  (0.9ms) commit transaction
1611
+ Migrating to CreateFictions (20150101181916)
1612
+  (0.1ms) begin transaction
1613
+  (0.3ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
1614
+  (0.2ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
1615
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
1616
+  (0.6ms) commit transaction
1617
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1618
+  (0.1ms)  SELECT name
1619
+ FROM sqlite_master
1620
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
1621
+ 
1622
+  (0.1ms) SELECT name
1623
+ FROM sqlite_master
1624
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
1625
+
1626
+  (0.1ms)  SELECT sql
1627
+ FROM sqlite_master
1628
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
1629
+ 
1630
+  (0.1ms) SELECT sql
1631
+ FROM sqlite_master
1632
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
1633
+
1634
+  (0.1ms)  SELECT sql
1635
+ FROM sqlite_master
1636
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
1637
+ 
1638
+  (0.1ms) begin transaction
1639
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:56.802379"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-02 00:15:56.802379"]]
1640
+  (1.1ms) commit transaction
1641
+  (0.1ms) begin transaction
1642
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 1]]
1643
+  (0.5ms) commit transaction
1644
+  (0.0ms) begin transaction
1645
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:15:56.814218"], ["name", "Product1"], ["updated_at", "2015-01-02 00:15:56.814218"]]
1646
+  (0.5ms) commit transaction
1647
+  (0.1ms) begin transaction
1648
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:56.826539"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:15:56.826539"]]
1649
+  (0.5ms) commit transaction
1650
+  (0.0ms) begin transaction
1651
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 3]]
1652
+  (0.5ms) commit transaction
1653
+  (0.0ms) begin transaction
1654
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 3], ["language", "French"]]
1655
+  (0.5ms) commit transaction
1656
+  (0.1ms) begin transaction
1657
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:56.845388"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:15:56.845388"]]
1658
+  (0.8ms) commit transaction
1659
+  (0.0ms) begin transaction
1660
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 4]]
1661
+  (0.5ms) commit transaction
1662
+  (0.0ms) begin transaction
1663
+ SQL (0.4ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 4], ["story", "A good story"]]
1664
+  (0.6ms) commit transaction
1665
+  (0.1ms) begin transaction
1666
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:56.858743"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 00:15:56.858743"]]
1667
+  (0.6ms) commit transaction
1668
+  (0.1ms) begin transaction
1669
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 5]]
1670
+  (0.6ms) commit transaction
1671
+  (0.1ms) begin transaction
1672
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:15:56.865447"], ["name", "Product2"], ["updated_at", "2015-01-02 00:15:56.865447"]]
1673
+  (0.5ms) commit transaction
1674
+  (0.1ms) begin transaction
1675
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:56.871202"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:15:56.871202"]]
1676
+  (0.5ms) commit transaction
1677
+  (0.1ms) begin transaction
1678
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 7]]
1679
+  (0.5ms) commit transaction
1680
+  (0.1ms) begin transaction
1681
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 7], ["language", "French"]]
1682
+  (0.5ms) commit transaction
1683
+  (0.1ms) begin transaction
1684
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:56.881176"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:15:56.881176"]]
1685
+  (0.8ms) commit transaction
1686
+  (0.1ms) begin transaction
1687
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 8]]
1688
+  (0.9ms) commit transaction
1689
+  (0.1ms) begin transaction
1690
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 8], ["story", "A good story"]]
1691
+  (0.6ms) commit transaction
1692
+  (0.1ms) begin transaction
1693
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:56.890690"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 00:15:56.890690"]]
1694
+  (0.5ms) commit transaction
1695
+  (0.1ms) begin transaction
1696
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 9]]
1697
+  (0.6ms) commit transaction
1698
+  (0.1ms) begin transaction
1699
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 00:15:56.900121"], ["name", "Product3"], ["updated_at", "2015-01-02 00:15:56.900121"]]
1700
+  (0.6ms) commit transaction
1701
+  (0.1ms) begin transaction
1702
+ SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:56.906214"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-02 00:15:56.906214"]]
1703
+  (2.3ms) commit transaction
1704
+  (0.1ms) begin transaction
1705
+ SQL (0.8ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 11]]
1706
+  (0.5ms) commit transaction
1707
+  (0.1ms) begin transaction
1708
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 11], ["language", "French"]]
1709
+  (0.5ms) commit transaction
1710
+  (0.1ms) begin transaction
1711
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 00:15:57.193907"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-02 00:15:57.193907"]]
1712
+  (1.2ms) commit transaction
1713
+  (0.1ms) begin transaction
1714
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 12]]
1715
+  (0.8ms) commit transaction
1716
+  (0.1ms) begin transaction
1717
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 12], ["story", "A good story"]]
1718
+  (0.5ms) commit transaction
1719
+  (0.3ms) SELECT "view_dictionaries"."id" FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary')
1720
+ SQL (1.6ms) DELETE FROM "products" WHERE "products"."id" = 3
1721
+ SQL (2.9ms) DELETE FROM "products" WHERE "products"."id" = 7
1722
+ SQL (1.6ms) DELETE FROM "products" WHERE "products"."id" = 11
1723
+ Product Load (0.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
1724
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
1725
+  (0.2ms) SELECT COUNT(*) FROM products WHERE id = 1
1726
+  (0.2ms) SELECT COUNT(*) FROM products WHERE id = 1
1727
+  (0.2ms) SELECT COUNT(*) FROM products WHERE id = 1
1728
+  (0.2ms) SELECT COUNT(*) FROM products WHERE id = 1
1729
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1730
+  (0.1ms) select sqlite_version(*)
1731
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1732
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1733
+ Migrating to CreateProducts (20141228200436)
1734
+  (0.1ms) begin transaction
1735
+  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
1736
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
1737
+  (0.8ms) commit transaction
1738
+ Migrating to CreateBooks (20141228200756)
1739
+  (0.0ms) begin transaction
1740
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
1741
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
1742
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
1743
+  (0.8ms) commit transaction
1744
+ Migrating to CreateDictionaries (20150101181703)
1745
+  (0.1ms) begin transaction
1746
+  (0.4ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
1747
+  (0.2ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
1748
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
1749
+  (0.8ms) commit transaction
1750
+ Migrating to CreateFictions (20150101181916)
1751
+  (0.0ms) begin transaction
1752
+  (0.4ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
1753
+  (0.2ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
1754
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
1755
+  (0.6ms) commit transaction
1756
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1757
+  (0.1ms)  SELECT name
1758
+ FROM sqlite_master
1759
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
1760
+ 
1761
+  (0.2ms) SELECT name
1762
+ FROM sqlite_master
1763
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
1764
+
1765
+  (0.2ms)  SELECT sql
1766
+ FROM sqlite_master
1767
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
1768
+ 
1769
+  (0.1ms) SELECT sql
1770
+ FROM sqlite_master
1771
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
1772
+
1773
+  (0.1ms)  SELECT sql
1774
+ FROM sqlite_master
1775
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
1776
+ 
1777
+ SQL (2.5ms) DELETE FROM "books"
1778
+  (0.2ms) begin transaction
1779
+ SQL (1.0ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 17:02:58.049799"], ["name", "toto"], ["type", "Book"], ["updated_at", "2015-01-02 17:02:58.049799"]]
1780
+  (0.9ms) commit transaction
1781
+ Book::Writeable Load (1.5ms) SELECT "books".* FROM "books"
1782
+  (7.3ms) begin transaction
1783
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 17:11:38.510612"], ["name", "toto"], ["type", "Book"], ["updated_at", "2015-01-02 17:11:38.510612"]]
1784
+  (1.7ms) commit transaction
1785
+  (0.2ms) begin transaction
1786
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "laurent"], ["id", 2]]
1787
+  (0.9ms) commit transaction
1788
+ Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
1789
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
1790
+ Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
1791
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
1792
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
1793
+ Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
1794
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
1795
+  (0.1ms) begin transaction
1796
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 17:21:53.221171"], ["name", "toto"], ["updated_at", "2015-01-02 17:21:53.221171"]]
1797
+  (1.1ms) commit transaction
1798
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book')
1799
+ Product Load (0.2ms) SELECT "products".* FROM "products"
1800
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" IN (1, 2)
1801
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1802
+  (0.1ms) select sqlite_version(*)
1803
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1804
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1805
+ Migrating to CreateProducts (20141228200436)
1806
+  (0.0ms) begin transaction
1807
+  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "created_at" datetime, "updated_at" datetime)
1808
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
1809
+  (0.7ms) commit transaction
1810
+ Migrating to CreateBooks (20141228200756)
1811
+  (0.1ms) begin transaction
1812
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "title" varchar(255))
1813
+  (0.2ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
1814
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
1815
+  (0.8ms) commit transaction
1816
+ Migrating to CreateDictionaries (20150101181703)
1817
+  (0.0ms) begin transaction
1818
+  (0.3ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar(255)) 
1819
+  (0.3ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
1820
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
1821
+  (0.8ms) commit transaction
1822
+ Migrating to CreateFictions (20150101181916)
1823
+  (0.1ms) begin transaction
1824
+  (0.3ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
1825
+  (0.3ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
1826
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
1827
+  (0.7ms) commit transaction
1828
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1829
+  (0.1ms)  SELECT name
1830
+ FROM sqlite_master
1831
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
1832
+ 
1833
+  (0.1ms) SELECT name
1834
+ FROM sqlite_master
1835
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
1836
+
1837
+  (0.1ms)  SELECT sql
1838
+ FROM sqlite_master
1839
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
1840
+ 
1841
+  (0.1ms) SELECT sql
1842
+ FROM sqlite_master
1843
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
1844
+
1845
+  (0.2ms)  SELECT sql
1846
+ FROM sqlite_master
1847
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
1848
+ 
1849
+  (0.1ms) begin transaction
1850
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 17:23:28.513868"], ["name", "toto"], ["type", "Book"], ["updated_at", "2015-01-02 17:23:28.513868"]]
1851
+  (1.6ms) commit transaction
1852
+  (0.0ms) begin transaction
1853
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "laurent"], ["id", 1]]
1854
+  (0.7ms) commit transaction
1855
+ Product Load (0.2ms) SELECT "products".* FROM "products"
1856
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
1857
+ Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
1858
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
1859
+  (0.6ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book')
1860
+ SQL (1.3ms) DELETE FROM "products" WHERE "products"."id" = 1
1861
+ SQL (1.2ms) DELETE FROM "books" WHERE "books"."id" = 1
1862
+ Book::Writeable Load (0.4ms) SELECT "books".* FROM "books"
1863
+ Product Load (0.4ms) SELECT "products".* FROM "products"
1864
+ Product Load (1.6ms) SELECT "products".* FROM "products"
1865
+  (0.3ms) begin transaction
1866
+ SQL (0.6ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:04:14.808748"], ["name", "toto"], ["type", "Book"], ["updated_at", "2015-01-02 18:04:14.808748"]]
1867
+  (1.7ms) commit transaction
1868
+  (0.2ms) begin transaction
1869
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "laurent"], ["id", 2]]
1870
+  (0.8ms) commit transaction
1871
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book')
1872
+ Product Load (0.2ms) SELECT "products".* FROM "products"
1873
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
1874
+  (0.3ms) SELECT COUNT(*) FROM "view_books" WHERE "view_books"."type" IN ('Book')
1875
+  (0.1ms) SELECT COUNT(*) FROM "books"
1876
+ Product Load (1.1ms) SELECT "products".* FROM "products"
1877
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
1878
+ Product Load (0.1ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
1879
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
1880
+  (0.5ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book')
1881
+ SQL (1.2ms) DELETE FROM "products" WHERE "products"."id" = 2
1882
+ SQL (1.3ms) DELETE FROM "books" WHERE "books"."id" = 2
1883
+  (0.4ms) SELECT COUNT(*) FROM "view_books" WHERE "view_books"."type" IN ('Book')
1884
+  (0.3ms) SELECT COUNT(*) FROM "books"
1885
+  (0.2ms) begin transaction
1886
+ SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:14:29.541600"], ["name", "laurent"], ["type", "Book"], ["updated_at", "2015-01-02 18:14:29.541600"]]
1887
+  (1.7ms) commit transaction
1888
+  (0.2ms) begin transaction
1889
+ SQL (0.5ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "inconnu"], ["id", 3]]
1890
+  (2.1ms) commit transaction
1891
+  (0.5ms) SELECT "view_books"."id" FROM "view_books" WHERE "view_books"."type" IN ('Book')
1892
+ SQL (1.0ms) DELETE FROM "products" WHERE "products"."id" = 3
1893
+ SQL (1.5ms) DELETE FROM "books" WHERE "books"."id" = 3
1894
+  (0.4ms) SELECT COUNT(*) FROM "view_books" WHERE "view_books"."type" IN ('Book')
1895
+  (0.4ms) SELECT COUNT(*) FROM "books"
1896
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1897
+  (0.1ms) SELECT COUNT(*) FROM "products"
1898
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1899
+  (2.6ms) DELETE FROM products
1900
+  (0.9ms) DELETE FROM books
1901
+  (5.0ms) DELETE FROM dictionaries
1902
+  (0.7ms) DELETE FROM fictions
1903
+  (0.1ms) begin transaction
1904
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.730654"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-02 18:35:50.730654"]]
1905
+  (2.3ms) commit transaction
1906
+  (0.0ms) begin transaction
1907
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 4]]
1908
+  (0.8ms) commit transaction
1909
+  (0.0ms) begin transaction
1910
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 18:35:50.741374"], ["name", "Product1"], ["updated_at", "2015-01-02 18:35:50.741374"]]
1911
+  (0.8ms) commit transaction
1912
+  (0.1ms) begin transaction
1913
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.750974"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-02 18:35:50.750974"]]
1914
+  (0.6ms) commit transaction
1915
+  (0.1ms) begin transaction
1916
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 6]]
1917
+  (0.6ms) commit transaction
1918
+  (0.1ms) begin transaction
1919
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 6], ["language", "French"]]
1920
+  (0.5ms) commit transaction
1921
+  (0.0ms) begin transaction
1922
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.765634"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-02 18:35:50.765634"]]
1923
+  (0.6ms) commit transaction
1924
+  (0.0ms) begin transaction
1925
+ SQL (0.7ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 7]]
1926
+  (0.6ms) commit transaction
1927
+  (0.1ms) begin transaction
1928
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 7], ["story", "A good story"]]
1929
+  (0.7ms) commit transaction
1930
+  (0.0ms) begin transaction
1931
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.775715"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 18:35:50.775715"]]
1932
+  (0.6ms) commit transaction
1933
+  (0.0ms) begin transaction
1934
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 8]]
1935
+  (0.7ms) commit transaction
1936
+  (0.1ms) begin transaction
1937
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 18:35:50.779490"], ["name", "Product2"], ["updated_at", "2015-01-02 18:35:50.779490"]]
1938
+  (0.8ms) commit transaction
1939
+  (0.0ms) begin transaction
1940
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.782806"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-02 18:35:50.782806"]]
1941
+  (0.7ms) commit transaction
1942
+  (0.0ms) begin transaction
1943
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 10]]
1944
+  (0.7ms) commit transaction
1945
+  (0.0ms) begin transaction
1946
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 10], ["language", "French"]]
1947
+  (0.7ms) commit transaction
1948
+  (0.1ms) begin transaction
1949
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.789298"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-02 18:35:50.789298"]]
1950
+  (0.7ms) commit transaction
1951
+  (0.0ms) begin transaction
1952
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 11]]
1953
+  (0.7ms) commit transaction
1954
+  (0.0ms) begin transaction
1955
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 11], ["story", "A good story"]]
1956
+  (0.8ms) commit transaction
1957
+  (0.1ms) begin transaction
1958
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.795970"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 18:35:50.795970"]]
1959
+  (0.9ms) commit transaction
1960
+  (0.1ms) begin transaction
1961
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 12]]
1962
+  (1.0ms) commit transaction
1963
+  (0.0ms) begin transaction
1964
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 18:35:50.800968"], ["name", "Product3"], ["updated_at", "2015-01-02 18:35:50.800968"]]
1965
+  (0.8ms) commit transaction
1966
+  (0.1ms) begin transaction
1967
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.804896"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-02 18:35:50.804896"]]
1968
+  (3.4ms) commit transaction
1969
+  (0.0ms) begin transaction
1970
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 14]]
1971
+  (0.5ms) commit transaction
1972
+  (0.1ms) begin transaction
1973
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 14], ["language", "French"]]
1974
+  (0.6ms) commit transaction
1975
+  (0.0ms) begin transaction
1976
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 18:35:50.813828"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-02 18:35:50.813828"]]
1977
+  (0.5ms) commit transaction
1978
+  (0.0ms) begin transaction
1979
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 15]]
1980
+  (0.5ms) commit transaction
1981
+  (0.0ms) begin transaction
1982
+ SQL (0.1ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 15], ["story", "A good story"]]
1983
+  (1.6ms) commit transaction
1984
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary', 'Fiction')
1985
+ Dictionary Load (0.3ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" IN (6, 10, 14)
1986
+ Fiction Load (0.3ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (7, 11, 15)
1987
+ SQL (1.2ms) DELETE FROM "products" WHERE "products"."id" = 4
1988
+ SQL (1.3ms) DELETE FROM "books" WHERE "books"."id" = 4
1989
+  (0.5ms) SELECT COUNT(*) FROM products WHERE id = 4
1990
+  (0.4ms) SELECT COUNT(*) FROM books WHERE id = 4
1991
+  (0.6ms) SELECT COUNT(*) FROM dictionaries WHERE id = 4
1992
+  (0.7ms) SELECT COUNT(*) FROM fictions WHERE id = 4
1993
+ Dictionary Load (0.6ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') ORDER BY "view_dictionaries"."id" ASC LIMIT 1
1994
+ SQL (1.3ms) DELETE FROM "products" WHERE "products"."id" = 6
1995
+ SQL (1.2ms) DELETE FROM "dictionaries" WHERE "dictionaries"."id" = 6
1996
+ Book::Writeable Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = 6
1997
+ SQL (1.3ms) DELETE FROM "books" WHERE "books"."id" = 6
1998
+  (0.5ms) SELECT COUNT(*) FROM products WHERE id = 6
1999
+  (0.5ms) SELECT COUNT(*) FROM books WHERE id = 6
2000
+  (0.6ms) SELECT COUNT(*) FROM dictionaries WHERE id = 6
2001
+  (0.6ms) SELECT COUNT(*) FROM fictions WHERE id = 6
2002
+ Dictionary Load (0.6ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') ORDER BY "view_dictionaries"."id" ASC LIMIT 1
2003
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = 10
2004
+ Dictionary Load (0.3ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 10]]
2005
+ SQL (1.3ms) DELETE FROM "products" WHERE "products"."id" = 10
2006
+  (0.6ms) SELECT COUNT(*) FROM products WHERE id = 10
2007
+  (0.5ms) SELECT COUNT(*) FROM books WHERE id = 10
2008
+  (0.6ms) SELECT COUNT(*) FROM dictionaries WHERE id = 10
2009
+  (0.7ms) SELECT COUNT(*) FROM fictions WHERE id = 10
2010
+ Product Load (1.1ms) SELECT "products".* FROM "products"
2011
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (7, 11, 15)
2012
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Fiction', 'Dictionary') AND "view_books"."id" IN (8, 12)
2013
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 14]]
2014
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2015
+  (0.3ms) SELECT COUNT(*) FROM products WHERE id = 6
2016
+  (0.2ms) SELECT COUNT(*) FROM books WHERE id = 6
2017
+  (0.2ms) SELECT COUNT(*) FROM dictionaries WHERE id = 6
2018
+  (0.1ms) SELECT COUNT(*) FROM fictions WHERE id = 6
2019
+  (0.2ms) SELECT COUNT(*) FROM products WHERE id = 10
2020
+  (0.2ms) SELECT COUNT(*) FROM books WHERE id = 10
2021
+  (0.2ms) SELECT COUNT(*) FROM dictionaries WHERE id = 10
2022
+  (0.2ms) SELECT COUNT(*) FROM fictions WHERE id = 10
2023
+  (1.9ms) DELETE FROM products
2024
+  (1.1ms) DELETE FROM books
2025
+  (7.7ms) DELETE FROM dictionaries
2026
+  (0.8ms) DELETE FROM fictions
2027
+  (0.2ms) begin transaction
2028
+ SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.784993"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-02 19:26:56.784993"]]
2029
+  (4.2ms) commit transaction
2030
+  (0.0ms) begin transaction
2031
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 16]]
2032
+  (0.6ms) commit transaction
2033
+  (0.0ms) begin transaction
2034
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:26:56.796379"], ["name", "Product1"], ["updated_at", "2015-01-02 19:26:56.796379"]]
2035
+  (0.6ms) commit transaction
2036
+  (0.1ms) begin transaction
2037
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.799127"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:26:56.799127"]]
2038
+  (0.9ms) commit transaction
2039
+  (0.1ms) begin transaction
2040
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 18]]
2041
+  (0.6ms) commit transaction
2042
+  (0.1ms) begin transaction
2043
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 18], ["language", "French"]]
2044
+  (0.7ms) commit transaction
2045
+  (0.0ms) begin transaction
2046
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.810198"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:26:56.810198"]]
2047
+  (0.8ms) commit transaction
2048
+  (0.1ms) begin transaction
2049
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 19]]
2050
+  (0.7ms) commit transaction
2051
+  (0.0ms) begin transaction
2052
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 19], ["story", "A good story"]]
2053
+  (2.7ms) commit transaction
2054
+  (0.0ms) begin transaction
2055
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.821786"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 19:26:56.821786"]]
2056
+  (0.5ms) commit transaction
2057
+  (0.0ms) begin transaction
2058
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 20]]
2059
+  (0.5ms) commit transaction
2060
+  (0.0ms) begin transaction
2061
+ SQL (0.1ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:26:56.824988"], ["name", "Product2"], ["updated_at", "2015-01-02 19:26:56.824988"]]
2062
+  (0.5ms) commit transaction
2063
+  (0.0ms) begin transaction
2064
+ SQL (0.1ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.826969"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:26:56.826969"]]
2065
+  (0.5ms) commit transaction
2066
+  (0.0ms) begin transaction
2067
+ SQL (0.1ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 22]]
2068
+  (0.5ms) commit transaction
2069
+  (0.0ms) begin transaction
2070
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 22], ["language", "French"]]
2071
+  (0.6ms) commit transaction
2072
+  (0.1ms) begin transaction
2073
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.832249"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:26:56.832249"]]
2074
+  (0.9ms) commit transaction
2075
+  (0.1ms) begin transaction
2076
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 23]]
2077
+  (0.6ms) commit transaction
2078
+  (0.0ms) begin transaction
2079
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 23], ["story", "A good story"]]
2080
+  (0.8ms) commit transaction
2081
+  (0.1ms) begin transaction
2082
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.840252"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 19:26:56.840252"]]
2083
+  (0.7ms) commit transaction
2084
+  (0.0ms) begin transaction
2085
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 24]]
2086
+  (0.7ms) commit transaction
2087
+  (0.0ms) begin transaction
2088
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:26:56.844383"], ["name", "Product3"], ["updated_at", "2015-01-02 19:26:56.844383"]]
2089
+  (0.8ms) commit transaction
2090
+  (0.1ms) begin transaction
2091
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.847823"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:26:56.847823"]]
2092
+  (0.8ms) commit transaction
2093
+  (0.1ms) begin transaction
2094
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 26]]
2095
+  (0.8ms) commit transaction
2096
+  (0.1ms) begin transaction
2097
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 26], ["language", "French"]]
2098
+  (0.6ms) commit transaction
2099
+  (0.0ms) begin transaction
2100
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:26:56.855426"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:26:56.855426"]]
2101
+  (0.7ms) commit transaction
2102
+  (0.0ms) begin transaction
2103
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 27]]
2104
+  (0.7ms) commit transaction
2105
+  (0.0ms) begin transaction
2106
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 27], ["story", "A good story"]]
2107
+  (0.7ms) commit transaction
2108
+  (0.2ms) SELECT COUNT(*) FROM products WHERE id = 10
2109
+  (0.2ms) SELECT COUNT(*) FROM books WHERE id = 10
2110
+  (0.1ms) SELECT COUNT(*) FROM dictionaries WHERE id = 10
2111
+  (0.2ms) SELECT COUNT(*) FROM fictions WHERE id = 10
2112
+ Product Load (0.3ms) SELECT "products".* FROM "products"
2113
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Fiction', 'Dictionary') AND "view_books"."id" IN (16, 20, 24)
2114
+ Dictionary Load (0.4ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" IN (18, 22, 26)
2115
+ Fiction Load (0.4ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" IN (19, 23, 27)
2116
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 13]]
2117
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 18]]
2118
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 18]]
2119
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 18]]
2120
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 18]]
2121
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2122
+ SQL (1.4ms) DELETE FROM "products" WHERE "products"."id" = 18
2123
+ SQL (0.4ms) DELETE FROM "products" WHERE "products"."id" = 18
2124
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 18]]
2125
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') ORDER BY "view_dictionaries"."id" ASC LIMIT 1
2126
+ SQL (1.5ms) DELETE FROM "products" WHERE "products"."id" = 22
2127
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 0]]
2128
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') ORDER BY "view_fictions"."id" ASC LIMIT 1
2129
+ SQL (1.4ms) DELETE FROM "products" WHERE "products"."id" = 19
2130
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 19]]
2131
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2132
+  (1.7ms) DELETE FROM products
2133
+  (1.1ms) DELETE FROM books
2134
+  (6.7ms) DELETE FROM dictionaries
2135
+  (0.6ms) DELETE FROM fictions
2136
+  (0.1ms) begin transaction
2137
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.087209"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-02 19:49:08.087209"]]
2138
+  (1.1ms) commit transaction
2139
+  (0.1ms) begin transaction
2140
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 28]]
2141
+  (1.0ms) commit transaction
2142
+  (0.1ms) begin transaction
2143
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:49:08.097579"], ["name", "Product1"], ["updated_at", "2015-01-02 19:49:08.097579"]]
2144
+  (0.6ms) commit transaction
2145
+  (0.1ms) begin transaction
2146
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.106669"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:49:08.106669"]]
2147
+  (1.0ms) commit transaction
2148
+  (0.1ms) begin transaction
2149
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 30]]
2150
+  (0.5ms) commit transaction
2151
+  (0.0ms) begin transaction
2152
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 30], ["language", "French"]]
2153
+  (0.6ms) commit transaction
2154
+  (0.1ms) begin transaction
2155
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.120793"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:49:08.120793"]]
2156
+  (0.6ms) commit transaction
2157
+  (0.0ms) begin transaction
2158
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 31]]
2159
+  (0.5ms) commit transaction
2160
+  (0.0ms) begin transaction
2161
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 31], ["story", "A good story"]]
2162
+  (0.6ms) commit transaction
2163
+  (0.1ms) begin transaction
2164
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.128648"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 19:49:08.128648"]]
2165
+  (0.8ms) commit transaction
2166
+  (0.1ms) begin transaction
2167
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 32]]
2168
+  (0.6ms) commit transaction
2169
+  (0.0ms) begin transaction
2170
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:49:08.133713"], ["name", "Product2"], ["updated_at", "2015-01-02 19:49:08.133713"]]
2171
+  (0.8ms) commit transaction
2172
+  (0.1ms) begin transaction
2173
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.137308"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:49:08.137308"]]
2174
+  (0.8ms) commit transaction
2175
+  (0.0ms) begin transaction
2176
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 34]]
2177
+  (0.8ms) commit transaction
2178
+  (0.1ms) begin transaction
2179
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 34], ["language", "French"]]
2180
+  (0.7ms) commit transaction
2181
+  (0.0ms) begin transaction
2182
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.144828"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:49:08.144828"]]
2183
+  (0.7ms) commit transaction
2184
+  (0.0ms) begin transaction
2185
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 35]]
2186
+  (0.7ms) commit transaction
2187
+  (0.0ms) begin transaction
2188
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 35], ["story", "A good story"]]
2189
+  (0.8ms) commit transaction
2190
+  (0.1ms) begin transaction
2191
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.151210"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 19:49:08.151210"]]
2192
+  (0.8ms) commit transaction
2193
+  (0.1ms) begin transaction
2194
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 36]]
2195
+  (0.7ms) commit transaction
2196
+  (0.0ms) begin transaction
2197
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:49:08.155913"], ["name", "Product3"], ["updated_at", "2015-01-02 19:49:08.155913"]]
2198
+  (0.7ms) commit transaction
2199
+  (0.0ms) begin transaction
2200
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.158976"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:49:08.158976"]]
2201
+  (0.7ms) commit transaction
2202
+  (0.0ms) begin transaction
2203
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 38]]
2204
+  (0.7ms) commit transaction
2205
+  (0.1ms) begin transaction
2206
+ SQL (0.3ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 38], ["language", "French"]]
2207
+  (2.3ms) commit transaction
2208
+  (0.0ms) begin transaction
2209
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:49:08.167078"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:49:08.167078"]]
2210
+  (0.5ms) commit transaction
2211
+  (0.0ms) begin transaction
2212
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 39]]
2213
+  (0.5ms) commit transaction
2214
+  (0.0ms) begin transaction
2215
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 39], ["story", "A good story"]]
2216
+  (0.5ms) commit transaction
2217
+ Dictionary Load (0.2ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') ORDER BY "view_dictionaries"."id" ASC LIMIT 1
2218
+ SQL (1.3ms) DELETE FROM "products" WHERE "products"."id" = 30
2219
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 30]]
2220
+ Fiction Load (0.1ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') ORDER BY "view_fictions"."id" ASC LIMIT 1
2221
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 31]]
2222
+ Fiction Load (0.4ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" = ? LIMIT 1 [["id", 31]]
2223
+ SQL (1.3ms) DELETE FROM "products" WHERE "products"."id" = 31
2224
+ SQL (1.3ms) DELETE FROM "fictions" WHERE "fictions"."id" = 31
2225
+ SQL (1.3ms) DELETE FROM "books" WHERE "books"."id" = 31
2226
+ Book::Writeable Load (0.5ms) SELECT "books".* FROM "books"
2227
+ Book::Writeable Load (0.5ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 31]]
2228
+ Fiction::Writeable Load (0.3ms) SELECT "fictions".* FROM "fictions" WHERE "fictions"."id" = ? LIMIT 1 [["id", 31]]
2229
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2230
+  (1.8ms) DELETE FROM products
2231
+  (1.1ms) DELETE FROM books
2232
+  (0.9ms) DELETE FROM dictionaries
2233
+  (0.9ms) DELETE FROM fictions
2234
+  (0.1ms) begin transaction
2235
+ SQL (0.4ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.466889"], ["name", "Livre1"], ["type", "Book"], ["updated_at", "2015-01-02 19:54:12.466889"]]
2236
+  (1.3ms) commit transaction
2237
+  (0.0ms) begin transaction
2238
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 40]]
2239
+  (0.8ms) commit transaction
2240
+  (0.0ms) begin transaction
2241
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:54:12.477289"], ["name", "Product1"], ["updated_at", "2015-01-02 19:54:12.477289"]]
2242
+  (0.7ms) commit transaction
2243
+  (0.1ms) begin transaction
2244
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.486425"], ["name", "Dictionary1"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:54:12.486425"]]
2245
+  (3.7ms) commit transaction
2246
+  (0.0ms) begin transaction
2247
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 42]]
2248
+  (0.5ms) commit transaction
2249
+  (0.0ms) begin transaction
2250
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 42], ["language", "French"]]
2251
+  (0.5ms) commit transaction
2252
+  (0.1ms) begin transaction
2253
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.504046"], ["name", "Fiction1"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:54:12.504046"]]
2254
+  (0.7ms) commit transaction
2255
+  (0.1ms) begin transaction
2256
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 43]]
2257
+  (0.6ms) commit transaction
2258
+  (0.0ms) begin transaction
2259
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 43], ["story", "A good story"]]
2260
+  (0.7ms) commit transaction
2261
+  (0.0ms) begin transaction
2262
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.513236"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 19:54:12.513236"]]
2263
+  (0.7ms) commit transaction
2264
+  (0.1ms) begin transaction
2265
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 44]]
2266
+  (0.8ms) commit transaction
2267
+  (0.1ms) begin transaction
2268
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:54:12.517860"], ["name", "Product2"], ["updated_at", "2015-01-02 19:54:12.517860"]]
2269
+  (0.7ms) commit transaction
2270
+  (0.0ms) begin transaction
2271
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.521175"], ["name", "Dictionary2"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:54:12.521175"]]
2272
+  (0.7ms) commit transaction
2273
+  (0.1ms) begin transaction
2274
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Laurent"], ["id", 46]]
2275
+  (0.8ms) commit transaction
2276
+  (0.1ms) begin transaction
2277
+ SQL (0.2ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 46], ["language", "French"]]
2278
+  (0.7ms) commit transaction
2279
+  (0.1ms) begin transaction
2280
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.528520"], ["name", "Fiction2"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:54:12.528520"]]
2281
+  (0.8ms) commit transaction
2282
+  (0.1ms) begin transaction
2283
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 47]]
2284
+  (0.8ms) commit transaction
2285
+  (0.1ms) begin transaction
2286
+ SQL (0.3ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 47], ["story", "A good story"]]
2287
+  (0.7ms) commit transaction
2288
+  (0.0ms) begin transaction
2289
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.535760"], ["name", "Livre3"], ["type", "Book"], ["updated_at", "2015-01-02 19:54:12.535760"]]
2290
+  (0.6ms) commit transaction
2291
+  (0.1ms) begin transaction
2292
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu1"], ["id", 48]]
2293
+  (6.0ms) commit transaction
2294
+  (0.0ms) begin transaction
2295
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-02 19:54:12.545313"], ["name", "Product3"], ["updated_at", "2015-01-02 19:54:12.545313"]]
2296
+  (0.5ms) commit transaction
2297
+  (0.1ms) begin transaction
2298
+ SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.547492"], ["name", "Dictionary3"], ["type", "Dictionary"], ["updated_at", "2015-01-02 19:54:12.547492"]]
2299
+  (0.5ms) commit transaction
2300
+  (0.0ms) begin transaction
2301
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 50]]
2302
+  (0.5ms) commit transaction
2303
+  (0.0ms) begin transaction
2304
+ SQL (0.1ms) INSERT INTO "dictionaries" ("id", "language") VALUES (?, ?) [["id", 50], ["language", "French"]]
2305
+  (0.5ms) commit transaction
2306
+  (0.1ms) begin transaction
2307
+ SQL (0.3ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-02 19:54:12.553308"], ["name", "Fiction3"], ["type", "Fiction"], ["updated_at", "2015-01-02 19:54:12.553308"]]
2308
+  (0.7ms) commit transaction
2309
+  (0.1ms) begin transaction
2310
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Aucun"], ["id", 51]]
2311
+  (0.6ms) commit transaction
2312
+  (0.1ms) begin transaction
2313
+ SQL (0.2ms) INSERT INTO "fictions" ("id", "story") VALUES (?, ?) [["id", 51], ["story", "A good story"]]
2314
+  (0.5ms) commit transaction
2315
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') ORDER BY "view_fictions"."id" ASC LIMIT 1
2316
+ Fiction Load (0.4ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') ORDER BY "view_fictions"."id" ASC LIMIT 1
2317
+  (0.1ms) begin transaction
2318
+ Fiction Load (0.4ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" = ? LIMIT 1 [["id", 43]]
2319
+ SQL (0.3ms) DELETE FROM "products" WHERE "products"."id" = 43
2320
+ SQL (0.1ms) DELETE FROM "fictions" WHERE "fictions"."id" = 43
2321
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = 43
2322
+  (1.2ms) commit transaction
2323
+ Book::Writeable Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT 1 [["id", 43]]
2324
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" = ? LIMIT 1 [["id", 43]]
2325
+ Fiction Load (0.2ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') ORDER BY "view_fictions"."id" ASC LIMIT 1
2326
+  (0.1ms) begin transaction
2327
+ Fiction Load (0.5ms) SELECT "view_fictions".* FROM "view_fictions" WHERE "view_fictions"."type" IN ('Fiction') AND "view_fictions"."id" = ? LIMIT 1 [["id", 47]]
2328
+ SQL (0.4ms) DELETE FROM "products" WHERE "products"."id" = 47
2329
+ SQL (0.4ms) DELETE FROM "fictions" WHERE "fictions"."id" = 47
2330
+ SQL (0.4ms) DELETE FROM "books" WHERE "books"."id" = 47
2331
+  (1.1ms) commit transaction
2332
+ A Load (0.6ms) SELECT "as".* FROM "as"
2333
+ SQLite3::SQLException: no such table: as: SELECT "as".* FROM "as"
2334
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2335
+ Migrating to CreateBidules (20150102200342)
2336
+  (0.1ms) begin transaction
2337
+  (0.5ms) CREATE TABLE "bidules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
2338
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150102200342"]]
2339
+  (1.0ms) commit transaction
2340
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2341
+  (0.2ms)  SELECT name
2342
+ FROM sqlite_master
2343
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
2344
+ 
2345
+  (0.1ms) SELECT name
2346
+ FROM sqlite_master
2347
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
2348
+
2349
+  (0.1ms)  SELECT sql
2350
+ FROM sqlite_master
2351
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
2352
+ 
2353
+  (0.1ms) SELECT sql
2354
+ FROM sqlite_master
2355
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
2356
+
2357
+  (0.1ms)  SELECT sql
2358
+ FROM sqlite_master
2359
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
2360
+ 
2361
+ SQL (0.6ms) DELETE FROM "as"
2362
+ SQLite3::SQLException: no such table: as: DELETE FROM "as"
2363
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2364
+  (0.1ms) select sqlite_version(*)
2365
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2366
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2367
+ Migrating to CreateProducts (20141228200436)
2368
+  (0.1ms) begin transaction
2369
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
2370
+  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "type" varchar, "created_at" datetime, "updated_at" datetime)
2371
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
2372
+  (0.9ms) commit transaction
2373
+ Migrating to CreateBooks (20141228200756)
2374
+  (0.1ms) begin transaction
2375
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar, "title" varchar)
2376
+  (0.3ms) rollback transaction
2377
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2378
+ Migrating to CreateBooks (20141228200756)
2379
+  (0.0ms) begin transaction
2380
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar, "title" varchar) 
2381
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2382
+  (0.1ms) select sqlite_version(*)
2383
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2384
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2385
+ Migrating to CreateProducts (20141228200436)
2386
+  (0.0ms) begin transaction
2387
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
2388
+  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "type" varchar, "created_at" datetime, "updated_at" datetime)
2389
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
2390
+  (0.9ms) commit transaction
2391
+ Migrating to CreateBooks (20141228200756)
2392
+  (0.1ms) begin transaction
2393
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar, "title" varchar)
2394
+  (0.6ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
2395
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
2396
+  (0.8ms) commit transaction
2397
+ Migrating to CreateDictionaries (20150101181703)
2398
+  (0.6ms) begin transaction
2399
+  (0.5ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar) 
2400
+  (0.6ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
2401
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
2402
+  (0.8ms) commit transaction
2403
+ Migrating to CreateFictions (20150101181916)
2404
+  (0.2ms) begin transaction
2405
+  (0.4ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
2406
+  (0.7ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
2407
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
2408
+  (1.1ms) commit transaction
2409
+ Migrating to CreateBidules (20150102200342)
2410
+  (0.4ms) begin transaction
2411
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
2412
+  (0.5ms) CREATE TABLE "bidules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) 
2413
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150102200342"]]
2414
+  (0.9ms) commit transaction
2415
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2416
+  (0.7ms)  SELECT name
2417
+ FROM sqlite_master
2418
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
2419
+ 
2420
+  (0.3ms) SELECT name
2421
+ FROM sqlite_master
2422
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
2423
+
2424
+  (0.2ms)  SELECT sql
2425
+ FROM sqlite_master
2426
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
2427
+ 
2428
+  (0.2ms) SELECT sql
2429
+ FROM sqlite_master
2430
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
2431
+
2432
+  (0.2ms)  SELECT sql
2433
+ FROM sqlite_master
2434
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
2435
+ 
2436
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2437
+  (0.1ms) select sqlite_version(*)
2438
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2439
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2440
+ Migrating to CreateProducts (20141228200436)
2441
+  (0.1ms) begin transaction
2442
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
2443
+  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "type" varchar, "created_at" datetime, "updated_at" datetime)
2444
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
2445
+  (0.7ms) commit transaction
2446
+ Migrating to CreateBooks (20141228200756)
2447
+  (0.0ms) begin transaction
2448
+  (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar, "title" varchar)
2449
+  (0.5ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
2450
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
2451
+  (1.0ms) commit transaction
2452
+ Migrating to CreateDictionaries (20150101181703)
2453
+  (0.2ms) begin transaction
2454
+  (0.4ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar) 
2455
+  (0.5ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
2456
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
2457
+  (0.9ms) commit transaction
2458
+ Migrating to CreateFictions (20150101181916)
2459
+  (0.2ms) begin transaction
2460
+  (0.6ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
2461
+  (0.6ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
2462
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
2463
+  (1.0ms) commit transaction
2464
+ Migrating to CreateBidules (20150102200342)
2465
+  (0.2ms) begin transaction
2466
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
2467
+  (0.6ms) CREATE TABLE "bidules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) 
2468
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150102200342"]]
2469
+  (0.9ms) commit transaction
2470
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2471
+  (0.4ms)  SELECT name
2472
+ FROM sqlite_master
2473
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
2474
+ 
2475
+  (0.3ms) SELECT name
2476
+ FROM sqlite_master
2477
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
2478
+
2479
+  (0.2ms)  SELECT sql
2480
+ FROM sqlite_master
2481
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
2482
+ 
2483
+  (0.2ms) SELECT sql
2484
+ FROM sqlite_master
2485
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
2486
+
2487
+  (0.2ms)  SELECT sql
2488
+ FROM sqlite_master
2489
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
2490
+ 
2491
+  (0.1ms) begin transaction
2492
+ SQL (0.4ms) INSERT INTO "products" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "toto"], ["created_at", "2015-01-03 16:45:41.199387"], ["updated_at", "2015-01-03 16:45:41.199387"]]
2493
+  (1.2ms) commit transaction
2494
+ Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
2495
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]]
2496
+ SQL (1.4ms) DELETE FROM "products" WHERE "products"."id" = ? [["id", 1]]
2497
+ Product Load (0.2ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
2498
+  (0.1ms) begin transaction
2499
+ SQL (0.3ms) INSERT INTO "products" ("type", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["type", "Book"], ["name", "toto"], ["created_at", "2015-01-03 16:46:30.164538"], ["updated_at", "2015-01-03 16:46:30.164538"]]
2500
+  (1.5ms) commit transaction
2501
+  (0.0ms) begin transaction
2502
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "essais"], ["id", 2]]
2503
+  (0.8ms) commit transaction
2504
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
2505
+  (0.1ms) begin transaction
2506
+ SQL (0.4ms) INSERT INTO "products" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "toto"], ["created_at", "2015-01-03 16:46:58.262662"], ["updated_at", "2015-01-03 16:46:58.262662"]]
2507
+  (1.2ms) commit transaction
2508
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 3]]
2509
+  (0.1ms) begin transaction
2510
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 3]]
2511
+ SQL (0.8ms) DELETE FROM "products" WHERE "products"."id" = ? [["id", 3]]
2512
+  (7.2ms) rollback transaction
2513
+ Product Load (0.2ms) SELECT "products".* FROM "products"
2514
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 2]]
2515
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 3]]
2516
+  (0.1ms) begin transaction
2517
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 3]]
2518
+ SQL (0.3ms) DELETE FROM "products" WHERE "products"."id" = ? [["id", 3]]
2519
+  (8.7ms) rollback transaction
2520
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2521
+  (0.1ms) select sqlite_version(*)
2522
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2523
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2524
+ Migrating to CreateProducts (20141228200436)
2525
+  (0.1ms) begin transaction
2526
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
2527
+  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "type" varchar, "created_at" datetime, "updated_at" datetime)
2528
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
2529
+  (0.7ms) commit transaction
2530
+ Migrating to CreateBooks (20141228200756)
2531
+  (0.0ms) begin transaction
2532
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar, "title" varchar)
2533
+  (0.5ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
2534
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
2535
+  (1.0ms) commit transaction
2536
+ Migrating to CreateDictionaries (20150101181703)
2537
+  (0.3ms) begin transaction
2538
+  (0.7ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar) 
2539
+  (0.6ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
2540
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
2541
+  (1.0ms) commit transaction
2542
+ Migrating to CreateFictions (20150101181916)
2543
+  (0.3ms) begin transaction
2544
+  (0.6ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
2545
+  (0.6ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
2546
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
2547
+  (1.2ms) commit transaction
2548
+ Migrating to CreateBidules (20150102200342)
2549
+  (0.3ms) begin transaction
2550
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
2551
+  (0.5ms) CREATE TABLE "bidules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) 
2552
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150102200342"]]
2553
+  (0.8ms) commit transaction
2554
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2555
+  (0.3ms)  SELECT name
2556
+ FROM sqlite_master
2557
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
2558
+ 
2559
+  (0.3ms) SELECT name
2560
+ FROM sqlite_master
2561
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
2562
+
2563
+  (0.2ms)  SELECT sql
2564
+ FROM sqlite_master
2565
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
2566
+ 
2567
+  (0.2ms) SELECT sql
2568
+ FROM sqlite_master
2569
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
2570
+
2571
+  (0.2ms)  SELECT sql
2572
+ FROM sqlite_master
2573
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
2574
+ 
2575
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book')
2576
+  (0.1ms) begin transaction
2577
+ SQL (0.3ms) INSERT INTO "products" ("type", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["type", "Book"], ["name", "UnLivre"], ["created_at", "2015-01-04 11:26:43.007213"], ["updated_at", "2015-01-04 11:26:43.007213"]]
2578
+  (1.0ms) commit transaction
2579
+  (0.1ms) begin transaction
2580
+ SQL (0.5ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "Inconnu"], ["id", 1]]
2581
+  (0.9ms) commit transaction
2582
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book')
2583
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = ? LIMIT 1 [["name", "UnLivre"]]
2584
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = ? LIMIT 1 [["name", "UnLivre"]]
2585
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2586
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2587
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book')
2588
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2589
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2590
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2591
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2592
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2593
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2594
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2595
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2596
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2597
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2598
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2599
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2600
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2601
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2602
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2603
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2604
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2605
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2606
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre'
2607
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2608
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2609
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2610
+ Migrating to CreateAnimals (20150102200786)
2611
+  (0.1ms) begin transaction
2612
+  (0.4ms) CREATE TABLE "animals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "race" varchar(255), "created_at" datetime, "updated_at" datetime) 
2613
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150102200786"]]
2614
+  (0.8ms) commit transaction
2615
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2616
+  (0.1ms)  SELECT name
2617
+ FROM sqlite_master
2618
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
2619
+ 
2620
+  (0.1ms) SELECT name
2621
+ FROM sqlite_master
2622
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
2623
+
2624
+  (0.1ms)  SELECT sql
2625
+ FROM sqlite_master
2626
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
2627
+ 
2628
+  (0.1ms) SELECT sql
2629
+ FROM sqlite_master
2630
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
2631
+
2632
+  (0.1ms)  SELECT sql
2633
+ FROM sqlite_master
2634
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
2635
+ 
2636
+  (0.1ms) begin transaction
2637
+ SQL (0.5ms) INSERT INTO "animals" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-04 14:22:35.866574"], ["name", "De base"], ["updated_at", "2015-01-04 14:22:35.866574"]]
2638
+  (0.7ms) commit transaction
2639
+ Animal Load (0.2ms) SELECT "animals".* FROM "animals"
2640
+ Meerkat Load (0.5ms) SELECT "animals".* FROM "animals" WHERE "animals"."race" IN ('Meerkat')
2641
+  (0.3ms) begin transaction
2642
+ SQL (0.7ms) INSERT INTO "animals" ("created_at", "name", "race", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-04 14:25:28.753486"], ["name", "Timon"], ["race", "Meerkat"], ["updated_at", "2015-01-04 14:25:28.753486"]]
2643
+  (1.3ms) commit transaction
2644
+  (0.3ms) begin transaction
2645
+ SQL (0.6ms) INSERT INTO "animals" ("created_at", "name", "race", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-04 14:25:37.079676"], ["name", "Timon2"], ["race", "Meerkat"], ["updated_at", "2015-01-04 14:25:37.079676"]]
2646
+  (1.0ms) commit transaction
2647
+  (0.3ms) begin transaction
2648
+ SQL (0.5ms) INSERT INTO "animals" ("created_at", "name", "race", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-04 14:25:49.083557"], ["name", "Pumba"], ["race", "WildBoar"], ["updated_at", "2015-01-04 14:25:49.083557"]]
2649
+  (1.1ms) commit transaction
2650
+  (0.3ms) begin transaction
2651
+ SQL (0.6ms) INSERT INTO "animals" ("created_at", "name", "race", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-04 14:26:00.987762"], ["name", "Simba"], ["race", "Lion"], ["updated_at", "2015-01-04 14:26:00.987762"]]
2652
+  (1.0ms) commit transaction
2653
+ Animal Load (0.5ms) SELECT "animals".* FROM "animals"
2654
+ Lion Load (0.5ms) SELECT "animals".* FROM "animals" WHERE "animals"."race" IN ('Lion')
2655
+ Lion Load (0.5ms) SELECT "animals".* FROM "animals" WHERE "animals"."race" IN ('Lion')
2656
+ Lion Load (0.5ms) SELECT "animals".* FROM "animals" WHERE "animals"."race" IN ('Lion')
2657
+ Product Load (0.5ms) SELECT "products".* FROM "products"
2658
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2659
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."name" = 'UnLivre' LIMIT 1
2660
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2661
+ Product Load (0.5ms) SELECT "products".* FROM "products"
2662
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2663
+ Product Load (0.5ms) SELECT "products".* FROM "products"
2664
+ Book Load (0.7ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2665
+ Dictionary Load (0.6ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary')
2666
+  (0.2ms) begin transaction
2667
+ SQL (0.5ms) INSERT INTO "products" ("created_at", "name", "type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-04 14:42:50.780742"], ["name", "dico"], ["type", "Dictionary"], ["updated_at", "2015-01-04 14:42:50.780742"]]
2668
+  (1.8ms) commit transaction
2669
+  (0.2ms) begin transaction
2670
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES (?, ?) [["author", "laruent"], ["id", 2]]
2671
+  (0.9ms) commit transaction
2672
+  (0.2ms) begin transaction
2673
+ SQL (0.5ms) INSERT INTO "dictionaries" ("id") VALUES (?) [["id", 2]]
2674
+  (0.8ms) commit transaction
2675
+ Product Load (0.5ms) SELECT "products".* FROM "products"
2676
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2677
+ Dictionary Load (0.7ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 2]]
2678
+ Product Load (1.4ms) SELECT "products".* FROM "products"
2679
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book', 'Dictionary') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2680
+ Dictionary Load (0.5ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = ? LIMIT 1 [["id", 2]]
2681
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book')
2682
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."name" = ? LIMIT 1 [["name", "UnLivre"]]
2683
+ Product Load (0.3ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
2684
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2685
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]]
2686
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2687
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]]
2688
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2689
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]]
2690
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2691
+  (0.1ms) begin transaction
2692
+ Book Load (0.1ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = ? LIMIT 1 [["id", 1]]
2693
+ SQL (0.4ms) DELETE FROM "products" WHERE "products"."id" = ? [["id", 1]]
2694
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
2695
+  (0.8ms) rollback transaction