activerecord_sortable 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/lib/activerecord_sortable/association_reflection.rb +1 -1
  3. data/lib/activerecord_sortable/collection_proxy.rb +19 -0
  4. data/lib/activerecord_sortable/has_many_association.rb +0 -1
  5. data/lib/activerecord_sortable/through_reflection.rb +16 -0
  6. data/lib/activerecord_sortable/version.rb +1 -1
  7. data/lib/activerecord_sortable.rb +2 -1
  8. data/spec/dummy/README.rdoc +28 -0
  9. data/spec/dummy/Rakefile +6 -0
  10. data/spec/dummy/app/assets/javascripts/application.js +16 -0
  11. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  12. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  13. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  14. data/spec/dummy/app/models/post.rb +7 -0
  15. data/spec/dummy/app/models/post_tag.rb +6 -0
  16. data/spec/dummy/app/models/tag.rb +6 -0
  17. data/spec/dummy/app/models/user.rb +7 -0
  18. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/spec/dummy/bin/bundle +3 -0
  20. data/spec/dummy/bin/rails +4 -0
  21. data/spec/dummy/bin/rake +4 -0
  22. data/spec/dummy/config/application.rb +23 -0
  23. data/spec/dummy/config/boot.rb +4 -0
  24. data/spec/dummy/config/database.yml +25 -0
  25. data/spec/dummy/config/environment.rb +5 -0
  26. data/spec/dummy/config/environments/development.rb +37 -0
  27. data/spec/dummy/config/environments/production.rb +78 -0
  28. data/spec/dummy/config/environments/test.rb +39 -0
  29. data/spec/dummy/config/initializers/assets.rb +8 -0
  30. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  32. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  33. data/spec/dummy/config/initializers/inflections.rb +16 -0
  34. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  35. data/spec/dummy/config/initializers/session_store.rb +3 -0
  36. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/spec/dummy/config/locales/en.yml +23 -0
  38. data/spec/dummy/config/routes.rb +56 -0
  39. data/spec/dummy/config/secrets.yml +22 -0
  40. data/spec/dummy/config.ru +4 -0
  41. data/spec/dummy/db/development.sqlite3 +0 -0
  42. data/spec/dummy/db/migrate/20141007145452_create_users.rb +10 -0
  43. data/spec/dummy/db/migrate/20141007150446_create_posts.rb +10 -0
  44. data/spec/dummy/db/migrate/20141007184100_add_position_to_posts.rb +13 -0
  45. data/spec/dummy/db/migrate/20141007184101_create_tags.rb +9 -0
  46. data/spec/dummy/db/migrate/20141007184102_create_post_tags.rb +10 -0
  47. data/spec/dummy/db/migrate/20141008135500_add_position_to_post_tags.rb +11 -0
  48. data/spec/dummy/db/schema.rb +51 -0
  49. data/spec/dummy/db/seeds.rb +7 -0
  50. data/spec/dummy/log/development.log +3386 -0
  51. data/spec/dummy/public/404.html +67 -0
  52. data/spec/dummy/public/422.html +67 -0
  53. data/spec/dummy/public/500.html +66 -0
  54. data/spec/dummy/public/favicon.ico +0 -0
  55. data/spec/dummy/public/robots.txt +5 -0
  56. data/spec/models/association_reflection_spec.rb +57 -0
  57. data/spec/models/association_relation_spec.rb +89 -0
  58. data/spec/models/has_many_association_spec.rb +53 -0
  59. data/spec/spec_helper.rb +25 -0
  60. metadata +109 -4
  61. data/lib/activerecord_sortable/association_relation.rb +0 -17
@@ -0,0 +1,3386 @@
1
+  (6.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (3.1ms) 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 CreateUsers (20141007145452)
6
+  (0.0ms) begin transaction
7
+  (0.0ms) rollback transaction
8
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9
+ Migrating to CreateUsers (20141007145452)
10
+  (0.0ms) begin transaction
11
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime, "updated_at" datetime) 
12
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141007145452"]]
13
+  (5.2ms) commit transaction
14
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
+  (0.0ms) begin transaction
16
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:01:19.967902"], ["name", "Sergey"], ["updated_at", "2014-10-07 15:01:19.967902"]]
17
+  (5.3ms) commit transaction
18
+  (0.1ms) begin transaction
19
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:03:50.714750"], ["name", "Sergey"], ["updated_at", "2014-10-07 15:03:50.714750"]]
20
+  (5.3ms) commit transaction
21
+  (2.9ms) DELETE FROM "users";
22
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
23
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
24
+  (6.1ms) DELETE FROM "users";
25
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
26
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
27
+  (5.0ms) DELETE FROM "users";
28
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
29
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
30
+  (4.0ms) DELETE FROM "users";
31
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
32
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
33
+  (6.5ms) DELETE FROM "users";
34
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
35
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
36
+  (6.1ms) DELETE FROM "users";
37
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
38
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
39
+  (7.2ms) DELETE FROM "users";
40
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
41
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'users';
42
+  (5.6ms) DELETE FROM "users";
43
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
44
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
45
+  (6.3ms) DELETE FROM "users";
46
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
47
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
48
+  (3.4ms) DELETE FROM "users";
49
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
50
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
51
+  (3.5ms) DELETE FROM "users";
52
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
53
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
54
+  (5.6ms) DELETE FROM "users";
55
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
56
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
57
+  (3.5ms) DELETE FROM "users";
58
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
59
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
60
+  (6.6ms) DELETE FROM "users";
61
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
62
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
63
+  (3.4ms) DELETE FROM "users";
64
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
65
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
66
+  (3.3ms) DELETE FROM "users";
67
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
68
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
69
+  (6.1ms) DELETE FROM "users";
70
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
71
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
72
+  (3.0ms) DELETE FROM "users";
73
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
74
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
75
+  (2.9ms) DELETE FROM "users";
76
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
77
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
78
+  (6.2ms) DELETE FROM "users";
79
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
80
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
81
+  (3.1ms) DELETE FROM "users";
82
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
83
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
84
+  (3.0ms) DELETE FROM "users";
85
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
86
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
87
+  (5.8ms) DELETE FROM "users";
88
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
89
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
90
+  (2.9ms) DELETE FROM "users";
91
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
92
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
93
+  (3.1ms) DELETE FROM "users";
94
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
95
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
96
+  (3.6ms) DELETE FROM "users";
97
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
98
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
99
+  (5.7ms) DELETE FROM "users";
100
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
101
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
102
+  (3.4ms) DELETE FROM "users";
103
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
104
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
105
+  (3.3ms) DELETE FROM "users";
106
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
107
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
108
+  (3.2ms) DELETE FROM "users";
109
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
110
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
111
+  (4.9ms) DELETE FROM "users";
112
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
113
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
114
+  (3.5ms) DELETE FROM "users";
115
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
116
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
117
+  (3.7ms) DELETE FROM "users";
118
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
119
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
120
+  (3.4ms) DELETE FROM "users";
121
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
122
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
123
+  (0.1ms) begin transaction
124
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:39:56.502322"], ["updated_at", "2014-10-07 15:39:56.502322"]]
125
+  (3.1ms) commit transaction
126
+  (3.0ms) DELETE FROM "users";
127
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
128
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
129
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
130
+ Migrating to CreatePosts (20141007150446)
131
+  (0.1ms) begin transaction
132
+  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
133
+  (0.0ms) select sqlite_version(*)
134
+  (0.1ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
135
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141007150446"]]
136
+  (5.8ms) commit transaction
137
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
138
+  (0.1ms)  SELECT sql
139
+ FROM sqlite_master
140
+ WHERE name='index_posts_on_user_id' AND type='index'
141
+ UNION ALL
142
+ SELECT sql
143
+ FROM sqlite_temp_master
144
+ WHERE name='index_posts_on_user_id' AND type='index'
145
+ 
146
+  (6.9ms) DELETE FROM "users";
147
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
148
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
149
+  (2.5ms) DELETE FROM "posts";
150
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
151
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
152
+  (3.8ms) DELETE FROM "users";
153
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
154
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
155
+  (3.8ms) DELETE FROM "posts";
156
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
158
+  (3.6ms) DELETE FROM "users";
159
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
160
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
161
+  (4.1ms) DELETE FROM "posts";
162
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
163
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';
164
+  (3.0ms) DELETE FROM "users";
165
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
166
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
167
+  (3.2ms) DELETE FROM "posts";
168
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
169
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
170
+  (0.1ms) begin transaction
171
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:40:21.815869"], ["updated_at", "2014-10-07 15:40:21.815869"]]
172
+  (2.9ms) commit transaction
173
+  (0.1ms) begin transaction
174
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:40:21.830033"], ["title", "Post2"], ["updated_at", "2014-10-07 15:40:21.830033"]]
175
+  (3.0ms) commit transaction
176
+  (0.1ms) begin transaction
177
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:40:21.835315"], ["title", "Post3"], ["updated_at", "2014-10-07 15:40:21.835315"]]
178
+  (3.0ms) commit transaction
179
+  (0.0ms) begin transaction
180
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:40:21.839545"], ["title", "Post1"], ["updated_at", "2014-10-07 15:40:21.839545"]]
181
+  (2.9ms) commit transaction
182
+  (2.9ms) DELETE FROM "users";
183
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
184
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';
185
+  (3.6ms) DELETE FROM "posts";
186
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
187
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
188
+  (6.2ms) DELETE FROM "users";
189
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
190
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
191
+  (3.6ms) DELETE FROM "posts";
192
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
193
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
194
+  (3.0ms) DELETE FROM "users";
195
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
196
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
197
+  (3.6ms) DELETE FROM "posts";
198
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
199
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
200
+  (3.7ms) DELETE FROM "users";
201
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
202
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
203
+  (3.1ms) DELETE FROM "posts";
204
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
205
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
206
+  (3.2ms) DELETE FROM "users";
207
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
208
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
209
+  (3.0ms) DELETE FROM "posts";
210
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
211
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
212
+  (0.0ms) begin transaction
213
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:40:41.830346"], ["updated_at", "2014-10-07 15:40:41.830346"]]
214
+  (2.9ms) commit transaction
215
+  (0.1ms) begin transaction
216
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:40:41.845538"], ["title", "Post2"], ["updated_at", "2014-10-07 15:40:41.845538"]]
217
+  (3.5ms) commit transaction
218
+  (0.1ms) begin transaction
219
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:40:41.850628"], ["title", "Post3"], ["updated_at", "2014-10-07 15:40:41.850628"]]
220
+  (3.2ms) commit transaction
221
+  (0.1ms) begin transaction
222
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:40:41.855200"], ["title", "Post1"], ["updated_at", "2014-10-07 15:40:41.855200"]]
223
+  (3.1ms) commit transaction
224
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
225
+ SQLite3::SQLException: no such column: posts.position: SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC
226
+  (3.4ms) DELETE FROM "users";
227
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
228
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
229
+  (3.5ms) DELETE FROM "posts";
230
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
231
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'posts';
232
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
233
+ Migrating to AddPositionToPosts (20141007184100)
234
+  (0.1ms) begin transaction
235
+  (0.3ms) ALTER TABLE "posts" ADD "position" integer
236
+  (0.1ms) ALTER TABLE "posts" ADD "user_position" integer
237
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141007184100"]]
238
+  (6.0ms) commit transaction
239
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
240
+  (0.1ms) SELECT sql
241
+ FROM sqlite_master
242
+ WHERE name='index_posts_on_user_id' AND type='index'
243
+ UNION ALL
244
+ SELECT sql
245
+ FROM sqlite_temp_master
246
+ WHERE name='index_posts_on_user_id' AND type='index'
247
+
248
+  (0.0ms) begin transaction
249
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:43:43.249445"], ["updated_at", "2014-10-07 15:43:43.249445"]]
250
+  (6.6ms) commit transaction
251
+  (0.1ms) begin transaction
252
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:43:43.267328"], ["title", "Post2"], ["updated_at", "2014-10-07 15:43:43.267328"]]
253
+  (3.0ms) commit transaction
254
+  (0.1ms) begin transaction
255
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:43:43.272149"], ["title", "Post3"], ["updated_at", "2014-10-07 15:43:43.272149"]]
256
+  (3.0ms) commit transaction
257
+  (0.1ms) begin transaction
258
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:43:43.277451"], ["title", "Post1"], ["updated_at", "2014-10-07 15:43:43.277451"]]
259
+  (3.5ms) commit transaction
260
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
261
+  (0.0ms) begin transaction
262
+ SQL (0.2ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["updated_at", "2014-10-07 15:43:43.288040"], ["user_id", 1]]
263
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-07 15:43:43.289406"], ["user_id", 1]]
264
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-07 15:43:43.289899"], ["user_id", 1]]
265
+  (3.5ms) commit transaction
266
+  (0.0ms) begin transaction
267
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-07 15:43:43.293971"]]
268
+  (3.4ms) commit transaction
269
+  (0.0ms) begin transaction
270
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-07 15:43:43.298058"]]
271
+  (3.3ms) commit transaction
272
+  (0.0ms) begin transaction
273
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-07 15:43:43.302085"]]
274
+  (3.3ms) commit transaction
275
+  (0.0ms) begin transaction
276
+  (0.0ms) commit transaction
277
+  (3.0ms) DELETE FROM "users";
278
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
279
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'users';
280
+  (3.5ms) DELETE FROM "posts";
281
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
282
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
283
+  (3.6ms) DELETE FROM "users";
284
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
285
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
286
+  (3.2ms) DELETE FROM "posts";
287
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
288
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
289
+  (3.4ms) DELETE FROM "users";
290
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
291
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
292
+  (3.3ms) DELETE FROM "posts";
293
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
294
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
295
+  (3.2ms) DELETE FROM "users";
296
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
297
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
298
+  (2.4ms) DELETE FROM "posts";
299
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
300
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
301
+  (3.0ms) DELETE FROM "users";
302
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
303
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
304
+  (3.0ms) DELETE FROM "posts";
305
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
306
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
307
+  (0.0ms) begin transaction
308
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:47:10.600507"], ["updated_at", "2014-10-07 15:47:10.600507"]]
309
+  (5.5ms) commit transaction
310
+  (0.1ms) begin transaction
311
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:10.617677"], ["title", "Post2"], ["updated_at", "2014-10-07 15:47:10.617677"]]
312
+  (3.5ms) commit transaction
313
+  (0.1ms) begin transaction
314
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:10.623525"], ["title", "Post1"], ["updated_at", "2014-10-07 15:47:10.623525"]]
315
+  (3.1ms) commit transaction
316
+  (0.1ms) begin transaction
317
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:10.628618"], ["title", "Post3"], ["updated_at", "2014-10-07 15:47:10.628618"]]
318
+  (3.5ms) commit transaction
319
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
320
+  (0.0ms) begin transaction
321
+ SQL (0.2ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["updated_at", "2014-10-07 15:47:10.639002"], ["user_id", 1]]
322
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-07 15:47:10.640386"], ["user_id", 1]]
323
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-07 15:47:10.640875"], ["user_id", 1]]
324
+  (3.1ms) commit transaction
325
+  (0.0ms) begin transaction
326
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-07 15:47:10.644567"]]
327
+  (2.9ms) commit transaction
328
+  (0.0ms) begin transaction
329
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-07 15:47:10.648161"]]
330
+  (3.0ms) commit transaction
331
+  (0.0ms) begin transaction
332
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-07 15:47:10.651740"]]
333
+  (2.9ms) commit transaction
334
+  (0.0ms) begin transaction
335
+  (0.0ms) commit transaction
336
+  (3.0ms) DELETE FROM "users";
337
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
338
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'users';
339
+  (3.6ms) DELETE FROM "posts";
340
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
341
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
342
+  (3.4ms) DELETE FROM "users";
343
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
344
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
345
+  (3.4ms) DELETE FROM "posts";
346
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
347
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
348
+  (3.3ms) DELETE FROM "users";
349
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
350
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
351
+  (3.4ms) DELETE FROM "posts";
352
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
353
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
354
+  (3.3ms) DELETE FROM "users";
355
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
356
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
357
+  (3.3ms) DELETE FROM "posts";
358
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
359
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
360
+  (3.4ms) DELETE FROM "users";
361
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
362
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
363
+  (3.6ms) DELETE FROM "posts";
364
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
365
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
366
+  (3.6ms) DELETE FROM "users";
367
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
368
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
369
+  (3.5ms) DELETE FROM "posts";
370
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
371
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
372
+  (0.0ms) begin transaction
373
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:47:31.135374"], ["updated_at", "2014-10-07 15:47:31.135374"]]
374
+  (5.9ms) commit transaction
375
+  (0.1ms) begin transaction
376
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:31.153163"], ["title", "Post2"], ["updated_at", "2014-10-07 15:47:31.153163"]]
377
+  (3.5ms) commit transaction
378
+  (0.1ms) begin transaction
379
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:31.158548"], ["title", "Post1"], ["updated_at", "2014-10-07 15:47:31.158548"]]
380
+  (3.1ms) commit transaction
381
+  (0.1ms) begin transaction
382
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:31.164163"], ["title", "Post3"], ["updated_at", "2014-10-07 15:47:31.164163"]]
383
+  (3.1ms) commit transaction
384
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
385
+  (0.0ms) begin transaction
386
+ SQL (0.2ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["updated_at", "2014-10-07 15:47:31.174231"], ["user_id", 1]]
387
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-07 15:47:31.175581"], ["user_id", 1]]
388
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-07 15:47:31.176094"], ["user_id", 1]]
389
+  (2.9ms) commit transaction
390
+  (0.0ms) begin transaction
391
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-07 15:47:31.179637"]]
392
+  (2.9ms) commit transaction
393
+  (0.0ms) begin transaction
394
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-07 15:47:31.183235"]]
395
+  (2.9ms) commit transaction
396
+  (0.0ms) begin transaction
397
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-07 15:47:31.186824"]]
398
+  (3.3ms) commit transaction
399
+  (0.0ms) begin transaction
400
+  (0.0ms) commit transaction
401
+  (2.9ms) DELETE FROM "users";
402
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
403
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
404
+  (3.6ms) DELETE FROM "posts";
405
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
406
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
407
+  (3.3ms) DELETE FROM "users";
408
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
409
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
410
+  (3.5ms) DELETE FROM "posts";
411
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
412
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
413
+  (3.5ms) DELETE FROM "users";
414
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
415
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
416
+  (3.5ms) DELETE FROM "posts";
417
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
418
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
419
+  (3.5ms) DELETE FROM "users";
420
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
421
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
422
+  (3.3ms) DELETE FROM "posts";
423
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
424
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
425
+  (3.3ms) DELETE FROM "users";
426
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
427
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
428
+  (3.4ms) DELETE FROM "posts";
429
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
430
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
431
+  (0.1ms) begin transaction
432
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:31.239863"], ["title", "Post2"], ["updated_at", "2014-10-07 15:47:31.239863"]]
433
+  (3.1ms) commit transaction
434
+  (0.1ms) begin transaction
435
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:31.244997"], ["title", "Post1"], ["updated_at", "2014-10-07 15:47:31.244997"]]
436
+  (3.4ms) commit transaction
437
+  (0.0ms) begin transaction
438
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:47:31.250416"], ["title", "Post3"], ["updated_at", "2014-10-07 15:47:31.250416"]]
439
+  (3.3ms) commit transaction
440
+  (0.0ms) begin transaction
441
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:47:31.255141"], ["updated_at", "2014-10-07 15:47:31.255141"]]
442
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-07 15:47:31.255726"], ["user_id", 1]]
443
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-07 15:47:31.256308"], ["user_id", 1]]
444
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-07 15:47:31.256695"], ["user_id", 1]]
445
+  (2.8ms) commit transaction
446
+  (0.0ms) begin transaction
447
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-07 15:47:31.260089"]]
448
+  (2.9ms) commit transaction
449
+  (0.1ms) begin transaction
450
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-07 15:47:31.263668"]]
451
+  (3.0ms) commit transaction
452
+  (0.1ms) begin transaction
453
+  (0.0ms) commit transaction
454
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
455
+  (6.1ms) DELETE FROM "users";
456
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
457
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
458
+  (3.4ms) DELETE FROM "posts";
459
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
460
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'posts';
461
+  (0.1ms) begin transaction
462
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.855631"], ["title", "Post2"], ["updated_at", "2014-10-07 15:48:20.855631"]]
463
+  (5.9ms) commit transaction
464
+  (0.0ms) begin transaction
465
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.864339"], ["title", "Post1"], ["updated_at", "2014-10-07 15:48:20.864339"]]
466
+  (2.9ms) commit transaction
467
+  (0.0ms) begin transaction
468
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.868260"], ["title", "Post3"], ["updated_at", "2014-10-07 15:48:20.868260"]]
469
+  (3.0ms) commit transaction
470
+  (0.2ms) begin transaction
471
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:48:20.879911"], ["updated_at", "2014-10-07 15:48:20.879911"]]
472
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-07 15:48:20.883468"], ["user_id", 1]]
473
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-07 15:48:20.884635"], ["user_id", 1]]
474
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-07 15:48:20.885112"], ["user_id", 1]]
475
+  (2.9ms) commit transaction
476
+  (0.0ms) begin transaction
477
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-07 15:48:20.888701"]]
478
+  (2.4ms) commit transaction
479
+  (0.0ms) begin transaction
480
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-07 15:48:20.891690"]]
481
+  (2.9ms) commit transaction
482
+  (0.0ms) begin transaction
483
+  (0.0ms) commit transaction
484
+  (2.9ms) DELETE FROM "users";
485
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
486
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';
487
+  (3.7ms) DELETE FROM "posts";
488
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
489
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
490
+  (0.0ms) begin transaction
491
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.910866"], ["title", "Post2"], ["updated_at", "2014-10-07 15:48:20.910866"]]
492
+  (2.9ms) commit transaction
493
+  (0.0ms) begin transaction
494
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.914813"], ["title", "Post1"], ["updated_at", "2014-10-07 15:48:20.914813"]]
495
+  (3.3ms) commit transaction
496
+  (0.0ms) begin transaction
497
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.918878"], ["title", "Post3"], ["updated_at", "2014-10-07 15:48:20.918878"]]
498
+  (2.9ms) commit transaction
499
+  (0.0ms) begin transaction
500
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:48:20.923214"], ["updated_at", "2014-10-07 15:48:20.923214"]]
501
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-07 15:48:20.923878"], ["user_id", 1]]
502
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-07 15:48:20.924418"], ["user_id", 1]]
503
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-07 15:48:20.924806"], ["user_id", 1]]
504
+  (2.9ms) commit transaction
505
+  (0.0ms) begin transaction
506
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-07 15:48:20.928316"]]
507
+  (2.8ms) commit transaction
508
+  (0.0ms) begin transaction
509
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-07 15:48:20.931735"]]
510
+  (2.9ms) commit transaction
511
+  (0.0ms) begin transaction
512
+  (0.0ms) commit transaction
513
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
514
+  (3.9ms) DELETE FROM "users";
515
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
516
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'users';
517
+  (3.6ms) DELETE FROM "posts";
518
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
519
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
520
+  (0.1ms) begin transaction
521
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-07 15:48:20.955053"], ["updated_at", "2014-10-07 15:48:20.955053"]]
522
+  (2.9ms) commit transaction
523
+  (0.0ms) begin transaction
524
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.959389"], ["title", "Post2"], ["updated_at", "2014-10-07 15:48:20.959389"]]
525
+  (2.9ms) commit transaction
526
+  (0.0ms) begin transaction
527
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.963135"], ["title", "Post1"], ["updated_at", "2014-10-07 15:48:20.963135"]]
528
+  (2.9ms) commit transaction
529
+  (0.0ms) begin transaction
530
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-07 15:48:20.966826"], ["title", "Post3"], ["updated_at", "2014-10-07 15:48:20.966826"]]
531
+  (3.1ms) commit transaction
532
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
533
+  (0.1ms) begin transaction
534
+ SQL (0.3ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["updated_at", "2014-10-07 15:48:20.973506"], ["user_id", 1]]
535
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-07 15:48:20.974972"], ["user_id", 1]]
536
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-07 15:48:20.975857"], ["user_id", 1]]
537
+  (3.2ms) commit transaction
538
+  (0.1ms) begin transaction
539
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-07 15:48:20.980082"]]
540
+  (3.0ms) commit transaction
541
+  (0.1ms) begin transaction
542
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-07 15:48:20.984426"]]
543
+  (2.9ms) commit transaction
544
+  (0.0ms) begin transaction
545
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-07 15:48:20.988419"]]
546
+  (2.9ms) commit transaction
547
+  (0.0ms) begin transaction
548
+  (0.0ms) commit transaction
549
+  (2.9ms) DELETE FROM "users";
550
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
551
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'users';
552
+  (3.5ms) DELETE FROM "posts";
553
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
554
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
555
+  (3.4ms) DELETE FROM "users";
556
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
557
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
558
+  (3.3ms) DELETE FROM "posts";
559
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
560
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
561
+  (3.3ms) DELETE FROM "users";
562
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
563
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
564
+  (2.9ms) DELETE FROM "posts";
565
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
566
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
567
+  (2.5ms) DELETE FROM "users";
568
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
569
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
570
+  (2.9ms) DELETE FROM "posts";
571
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
572
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
573
+  (3.0ms) DELETE FROM "users";
574
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
575
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
576
+  (4.9ms) DELETE FROM "posts";
577
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
578
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
579
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
580
+ Migrating to CreateTags (20141007184101)
581
+  (0.1ms) begin transaction
582
+  (0.2ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
583
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141007184101"]]
584
+  (3.3ms) commit transaction
585
+ Migrating to CreatePostTags (20141007184102)
586
+  (0.0ms) begin transaction
587
+  (0.2ms) CREATE TABLE "post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "tag_id" integer, "created_at" datetime, "updated_at" datetime) 
588
+  (0.0ms) select sqlite_version(*)
589
+  (0.1ms) CREATE INDEX "index_post_tags_on_post_id" ON "post_tags" ("post_id")
590
+  (0.1ms) SELECT sql
591
+ FROM sqlite_master
592
+ WHERE name='index_post_tags_on_post_id' AND type='index'
593
+ UNION ALL
594
+ SELECT sql
595
+ FROM sqlite_temp_master
596
+ WHERE name='index_post_tags_on_post_id' AND type='index'
597
+
598
+  (0.1ms) CREATE INDEX "index_post_tags_on_tag_id" ON "post_tags" ("tag_id")
599
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141007184102"]]
600
+  (3.4ms) commit transaction
601
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
602
+  (0.1ms)  SELECT sql
603
+ FROM sqlite_master
604
+ WHERE name='index_post_tags_on_tag_id' AND type='index'
605
+ UNION ALL
606
+ SELECT sql
607
+ FROM sqlite_temp_master
608
+ WHERE name='index_post_tags_on_tag_id' AND type='index'
609
+ 
610
+  (0.1ms) SELECT sql
611
+ FROM sqlite_master
612
+ WHERE name='index_post_tags_on_post_id' AND type='index'
613
+ UNION ALL
614
+ SELECT sql
615
+ FROM sqlite_temp_master
616
+ WHERE name='index_post_tags_on_post_id' AND type='index'
617
+
618
+  (0.1ms)  SELECT sql
619
+ FROM sqlite_master
620
+ WHERE name='index_posts_on_user_id' AND type='index'
621
+ UNION ALL
622
+ SELECT sql
623
+ FROM sqlite_temp_master
624
+ WHERE name='index_posts_on_user_id' AND type='index'
625
+ 
626
+  (3.8ms) DELETE FROM "users";
627
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
628
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
629
+  (3.0ms) DELETE FROM "posts";
630
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
631
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
632
+  (3.0ms) DELETE FROM "tags";
633
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
634
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
635
+  (3.4ms) DELETE FROM "post_tags";
636
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
637
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
638
+  (3.3ms) DELETE FROM "users";
639
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
640
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
641
+  (3.4ms) DELETE FROM "posts";
642
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
643
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
644
+  (3.4ms) DELETE FROM "tags";
645
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
646
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
647
+  (3.4ms) DELETE FROM "post_tags";
648
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
649
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
650
+  (3.4ms) DELETE FROM "users";
651
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
652
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
653
+  (3.4ms) DELETE FROM "posts";
654
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
655
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
656
+  (2.9ms) DELETE FROM "tags";
657
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
658
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
659
+  (2.4ms) DELETE FROM "post_tags";
660
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
661
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
662
+  (3.0ms) DELETE FROM "users";
663
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
664
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
665
+  (3.1ms) DELETE FROM "posts";
666
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
667
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
668
+  (3.0ms) DELETE FROM "tags";
669
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
670
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
671
+  (3.4ms) DELETE FROM "post_tags";
672
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
673
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
674
+  (0.0ms) begin transaction
675
+ SQL (0.2ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.054948"], ["name", "Tag2"], ["updated_at", "2014-10-08 10:54:32.054948"]]
676
+  (2.9ms) commit transaction
677
+  (0.2ms) begin transaction
678
+ SQL (0.4ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.061550"], ["name", "Tag1"], ["updated_at", "2014-10-08 10:54:32.061550"]]
679
+  (4.0ms) commit transaction
680
+  (0.1ms) begin transaction
681
+ SQL (0.3ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.069168"], ["name", "Tag3"], ["updated_at", "2014-10-08 10:54:32.069168"]]
682
+  (4.1ms) commit transaction
683
+  (3.1ms) DELETE FROM "users";
684
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
685
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
686
+  (3.4ms) DELETE FROM "posts";
687
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
688
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
689
+  (3.4ms) DELETE FROM "tags";
690
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
691
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
692
+  (3.5ms) DELETE FROM "post_tags";
693
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
694
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
695
+  (0.0ms) begin transaction
696
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.115885"], ["name", "Tag2"], ["updated_at", "2014-10-08 10:54:32.115885"]]
697
+  (3.4ms) commit transaction
698
+  (0.1ms) begin transaction
699
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.120492"], ["name", "Tag1"], ["updated_at", "2014-10-08 10:54:32.120492"]]
700
+  (2.9ms) commit transaction
701
+  (0.0ms) begin transaction
702
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.124289"], ["name", "Tag3"], ["updated_at", "2014-10-08 10:54:32.124289"]]
703
+  (2.9ms) commit transaction
704
+  (3.1ms) DELETE FROM "users";
705
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
706
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
707
+  (3.0ms) DELETE FROM "posts";
708
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
709
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
710
+  (3.0ms) DELETE FROM "tags";
711
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
712
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'tags';
713
+  (3.6ms) DELETE FROM "post_tags";
714
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
715
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
716
+  (0.1ms) begin transaction
717
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.150485"], ["title", "Post2"], ["updated_at", "2014-10-08 10:54:32.150485"]]
718
+  (3.6ms) commit transaction
719
+  (0.1ms) begin transaction
720
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.156478"], ["title", "Post1"], ["updated_at", "2014-10-08 10:54:32.156478"]]
721
+  (3.1ms) commit transaction
722
+  (0.1ms) begin transaction
723
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.161281"], ["title", "Post3"], ["updated_at", "2014-10-08 10:54:32.161281"]]
724
+  (3.1ms) commit transaction
725
+  (0.0ms) begin transaction
726
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 10:54:32.169358"], ["updated_at", "2014-10-08 10:54:32.169358"]]
727
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 10:54:32.172758"], ["user_id", 1]]
728
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 10:54:32.174150"], ["user_id", 1]]
729
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-08 10:54:32.174629"], ["user_id", 1]]
730
+  (2.9ms) commit transaction
731
+  (0.0ms) begin transaction
732
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 10:54:32.178306"]]
733
+  (3.0ms) commit transaction
734
+  (0.0ms) begin transaction
735
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 10:54:32.182046"]]
736
+  (3.0ms) commit transaction
737
+  (0.0ms) begin transaction
738
+  (0.0ms) commit transaction
739
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
740
+  (3.0ms) DELETE FROM "users";
741
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
742
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'users';
743
+  (3.9ms) DELETE FROM "posts";
744
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
745
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
746
+  (3.9ms) DELETE FROM "tags";
747
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
748
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';
749
+  (3.3ms) DELETE FROM "post_tags";
750
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
751
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'post_tags';
752
+  (0.1ms) begin transaction
753
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.216173"], ["title", "Post2"], ["updated_at", "2014-10-08 10:54:32.216173"]]
754
+  (3.3ms) commit transaction
755
+  (0.1ms) begin transaction
756
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.222619"], ["title", "Post1"], ["updated_at", "2014-10-08 10:54:32.222619"]]
757
+  (4.0ms) commit transaction
758
+  (0.2ms) begin transaction
759
+ SQL (0.6ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.230075"], ["title", "Post3"], ["updated_at", "2014-10-08 10:54:32.230075"]]
760
+  (3.7ms) commit transaction
761
+  (0.1ms) begin transaction
762
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 10:54:32.239994"], ["updated_at", "2014-10-08 10:54:32.239994"]]
763
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 10:54:32.242553"], ["user_id", 1]]
764
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 10:54:32.244901"], ["user_id", 1]]
765
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-08 10:54:32.246620"], ["user_id", 1]]
766
+  (4.1ms) commit transaction
767
+  (0.2ms) begin transaction
768
+ SQL (0.3ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 10:54:32.253600"]]
769
+  (4.1ms) commit transaction
770
+  (0.1ms) begin transaction
771
+ SQL (0.3ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 10:54:32.260311"]]
772
+  (3.5ms) commit transaction
773
+  (0.1ms) begin transaction
774
+  (0.1ms) commit transaction
775
+  (4.1ms) DELETE FROM "users";
776
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
777
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'users';
778
+  (3.5ms) DELETE FROM "posts";
779
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
780
+  (4.2ms) DELETE FROM sqlite_sequence where name = 'posts';
781
+  (3.6ms) DELETE FROM "tags";
782
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
783
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
784
+  (2.9ms) DELETE FROM "post_tags";
785
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
786
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
787
+  (0.0ms) begin transaction
788
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 10:54:32.293731"], ["updated_at", "2014-10-08 10:54:32.293731"]]
789
+  (3.0ms) commit transaction
790
+  (0.1ms) begin transaction
791
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.298109"], ["title", "Post2"], ["updated_at", "2014-10-08 10:54:32.298109"]]
792
+  (2.9ms) commit transaction
793
+  (0.0ms) begin transaction
794
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.301898"], ["title", "Post1"], ["updated_at", "2014-10-08 10:54:32.301898"]]
795
+  (2.5ms) commit transaction
796
+  (0.0ms) begin transaction
797
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:54:32.305186"], ["title", "Post3"], ["updated_at", "2014-10-08 10:54:32.305186"]]
798
+  (2.9ms) commit transaction
799
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
800
+  (0.0ms) begin transaction
801
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["updated_at", "2014-10-08 10:54:32.309530"], ["user_id", 1]]
802
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 10:54:32.310150"], ["user_id", 1]]
803
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-08 10:54:32.310578"], ["user_id", 1]]
804
+  (2.9ms) commit transaction
805
+  (0.0ms) begin transaction
806
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 10:54:32.314027"]]
807
+  (2.4ms) commit transaction
808
+  (0.0ms) begin transaction
809
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 10:54:32.317123"]]
810
+  (2.9ms) commit transaction
811
+  (0.1ms) begin transaction
812
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 10:54:32.320799"]]
813
+  (2.9ms) commit transaction
814
+  (0.0ms) begin transaction
815
+  (0.0ms) commit transaction
816
+  (2.9ms) DELETE FROM "users";
817
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
818
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
819
+  (3.7ms) DELETE FROM "posts";
820
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
821
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
822
+  (3.1ms) DELETE FROM "tags";
823
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
824
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
825
+  (2.5ms) DELETE FROM "post_tags";
826
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
827
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
828
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
829
+ Migrating to AddPositionToPostTags (20141008135500)
830
+  (0.1ms) begin transaction
831
+  (0.3ms) ALTER TABLE "post_tags" ADD "position" integer
832
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141008135500"]]
833
+  (4.1ms) commit transaction
834
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
835
+  (0.1ms)  SELECT sql
836
+ FROM sqlite_master
837
+ WHERE name='index_post_tags_on_tag_id' AND type='index'
838
+ UNION ALL
839
+ SELECT sql
840
+ FROM sqlite_temp_master
841
+ WHERE name='index_post_tags_on_tag_id' AND type='index'
842
+ 
843
+  (0.1ms) SELECT sql
844
+ FROM sqlite_master
845
+ WHERE name='index_post_tags_on_post_id' AND type='index'
846
+ UNION ALL
847
+ SELECT sql
848
+ FROM sqlite_temp_master
849
+ WHERE name='index_post_tags_on_post_id' AND type='index'
850
+
851
+  (0.1ms)  SELECT sql
852
+ FROM sqlite_master
853
+ WHERE name='index_posts_on_user_id' AND type='index'
854
+ UNION ALL
855
+ SELECT sql
856
+ FROM sqlite_temp_master
857
+ WHERE name='index_posts_on_user_id' AND type='index'
858
+ 
859
+  (0.0ms) begin transaction
860
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 10:56:50.316561"], ["updated_at", "2014-10-08 10:56:50.316561"]]
861
+  (5.8ms) commit transaction
862
+  (0.1ms) begin transaction
863
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.336830"], ["title", "Post2"], ["updated_at", "2014-10-08 10:56:50.336830"]]
864
+  (3.0ms) commit transaction
865
+  (0.0ms) begin transaction
866
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.341032"], ["title", "Post1"], ["updated_at", "2014-10-08 10:56:50.341032"]]
867
+  (2.9ms) commit transaction
868
+  (0.0ms) begin transaction
869
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.344712"], ["title", "Post3"], ["updated_at", "2014-10-08 10:56:50.344712"]]
870
+  (2.9ms) commit transaction
871
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
872
+  (0.0ms) begin transaction
873
+ SQL (0.2ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["updated_at", "2014-10-08 10:56:50.353642"], ["user_id", 1]]
874
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 10:56:50.355044"], ["user_id", 1]]
875
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-08 10:56:50.355556"], ["user_id", 1]]
876
+  (3.4ms) commit transaction
877
+  (0.0ms) begin transaction
878
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 10:56:50.359595"]]
879
+  (3.3ms) commit transaction
880
+  (0.0ms) begin transaction
881
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 10:56:50.363561"]]
882
+  (3.4ms) commit transaction
883
+  (0.0ms) begin transaction
884
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 10:56:50.367632"]]
885
+  (3.3ms) commit transaction
886
+  (0.0ms) begin transaction
887
+  (0.0ms) commit transaction
888
+  (3.3ms) DELETE FROM "users";
889
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
890
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
891
+  (3.7ms) DELETE FROM "posts";
892
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
893
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
894
+  (3.1ms) DELETE FROM "tags";
895
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
896
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
897
+  (2.5ms) DELETE FROM "post_tags";
898
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
899
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
900
+  (3.0ms) DELETE FROM "users";
901
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
902
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
903
+  (2.9ms) DELETE FROM "posts";
904
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
905
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'posts';
906
+  (4.4ms) DELETE FROM "tags";
907
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
908
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
909
+  (2.9ms) DELETE FROM "post_tags";
910
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
911
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
912
+  (3.0ms) DELETE FROM "users";
913
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
914
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
915
+  (3.4ms) DELETE FROM "posts";
916
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
917
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
918
+  (3.5ms) DELETE FROM "tags";
919
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
920
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
921
+  (6.2ms) DELETE FROM "post_tags";
922
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
923
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
924
+  (3.6ms) DELETE FROM "users";
925
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
926
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
927
+  (3.1ms) DELETE FROM "posts";
928
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
929
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
930
+  (3.5ms) DELETE FROM "tags";
931
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
932
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
933
+  (3.6ms) DELETE FROM "post_tags";
934
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
935
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
936
+  (3.5ms) DELETE FROM "users";
937
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
938
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
939
+  (3.5ms) DELETE FROM "posts";
940
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
941
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
942
+  (4.1ms) DELETE FROM "tags";
943
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
944
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';
945
+  (3.2ms) DELETE FROM "post_tags";
946
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
947
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'post_tags';
948
+  (0.1ms) begin transaction
949
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.463142"], ["title", "Post2"], ["updated_at", "2014-10-08 10:56:50.463142"]]
950
+  (3.0ms) commit transaction
951
+  (0.1ms) begin transaction
952
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.468510"], ["title", "Post1"], ["updated_at", "2014-10-08 10:56:50.468510"]]
953
+  (5.1ms) commit transaction
954
+  (0.1ms) begin transaction
955
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.475078"], ["title", "Post3"], ["updated_at", "2014-10-08 10:56:50.475078"]]
956
+  (3.6ms) commit transaction
957
+  (0.1ms) begin transaction
958
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 10:56:50.482178"], ["updated_at", "2014-10-08 10:56:50.482178"]]
959
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 10:56:50.483172"], ["user_id", 1]]
960
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 10:56:50.484066"], ["user_id", 1]]
961
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-08 10:56:50.484682"], ["user_id", 1]]
962
+  (2.9ms) commit transaction
963
+  (0.1ms) begin transaction
964
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 10:56:50.488749"]]
965
+  (2.9ms) commit transaction
966
+  (0.0ms) begin transaction
967
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 10:56:50.492579"]]
968
+  (2.9ms) commit transaction
969
+  (0.0ms) begin transaction
970
+  (0.0ms) commit transaction
971
+  (3.0ms) DELETE FROM "users";
972
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
973
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
974
+  (3.6ms) DELETE FROM "posts";
975
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
976
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
977
+  (3.1ms) DELETE FROM "tags";
978
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
979
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
980
+  (2.5ms) DELETE FROM "post_tags";
981
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
982
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
983
+  (0.1ms) begin transaction
984
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.517825"], ["title", "Post2"], ["updated_at", "2014-10-08 10:56:50.517825"]]
985
+  (3.0ms) commit transaction
986
+  (0.1ms) begin transaction
987
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.521871"], ["title", "Post1"], ["updated_at", "2014-10-08 10:56:50.521871"]]
988
+  (2.9ms) commit transaction
989
+  (0.0ms) begin transaction
990
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.525950"], ["title", "Post3"], ["updated_at", "2014-10-08 10:56:50.525950"]]
991
+  (2.9ms) commit transaction
992
+  (0.1ms) begin transaction
993
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 10:56:50.530507"], ["updated_at", "2014-10-08 10:56:50.530507"]]
994
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 10:56:50.531329"], ["user_id", 1]]
995
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 10:56:50.532019"], ["user_id", 1]]
996
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-08 10:56:50.532575"], ["user_id", 1]]
997
+  (3.0ms) commit transaction
998
+  (0.1ms) begin transaction
999
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 10:56:50.536520"]]
1000
+  (3.0ms) commit transaction
1001
+  (0.1ms) begin transaction
1002
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 10:56:50.540429"]]
1003
+  (2.9ms) commit transaction
1004
+  (0.0ms) begin transaction
1005
+  (0.0ms) commit transaction
1006
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
1007
+  (3.0ms) DELETE FROM "users";
1008
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1009
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'users';
1010
+  (3.5ms) DELETE FROM "posts";
1011
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1012
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
1013
+  (3.4ms) DELETE FROM "tags";
1014
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1015
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1016
+  (3.4ms) DELETE FROM "post_tags";
1017
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1018
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1019
+  (0.0ms) begin transaction
1020
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.572757"], ["name", "Tag2"], ["updated_at", "2014-10-08 10:56:50.572757"]]
1021
+  (3.0ms) commit transaction
1022
+  (0.0ms) begin transaction
1023
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.577076"], ["name", "Tag1"], ["updated_at", "2014-10-08 10:56:50.577076"]]
1024
+  (2.9ms) commit transaction
1025
+  (0.0ms) begin transaction
1026
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.581056"], ["name", "Tag3"], ["updated_at", "2014-10-08 10:56:50.581056"]]
1027
+  (3.0ms) commit transaction
1028
+  (0.1ms) begin transaction
1029
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 10:56:50.599214"], ["updated_at", "2014-10-08 10:56:50.599214"]]
1030
+ SQL (0.1ms) INSERT INTO "post_tags" ("created_at", "position", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-08 10:56:50.600009"], ["position", 1], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-10-08 10:56:50.600009"]]
1031
+ SQL (0.1ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 10:56:50.600730"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-10-08 10:56:50.600730"]]
1032
+ SQL (0.1ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 10:56:50.601270"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-10-08 10:56:50.601270"]]
1033
+  (3.0ms) commit transaction
1034
+  (0.0ms) begin transaction
1035
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 10:56:50.605501"]]
1036
+  (2.9ms) commit transaction
1037
+  (0.0ms) begin transaction
1038
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 10:56:50.609178"]]
1039
+  (2.9ms) commit transaction
1040
+  (0.0ms) begin transaction
1041
+  (0.0ms) commit transaction
1042
+  (2.9ms) DELETE FROM "users";
1043
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1044
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1045
+  (2.9ms) DELETE FROM "posts";
1046
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1047
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
1048
+  (3.6ms) DELETE FROM "tags";
1049
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1050
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'tags';
1051
+  (3.7ms) DELETE FROM "post_tags";
1052
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1053
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1054
+  (0.1ms) begin transaction
1055
+ SQL (0.2ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.640404"], ["name", "Tag2"], ["updated_at", "2014-10-08 10:56:50.640404"]]
1056
+  (3.0ms) commit transaction
1057
+  (0.1ms) begin transaction
1058
+ SQL (0.2ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.645129"], ["name", "Tag1"], ["updated_at", "2014-10-08 10:56:50.645129"]]
1059
+  (3.1ms) commit transaction
1060
+  (0.1ms) begin transaction
1061
+ SQL (0.2ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 10:56:50.649916"], ["name", "Tag3"], ["updated_at", "2014-10-08 10:56:50.649916"]]
1062
+  (3.8ms) commit transaction
1063
+  (0.1ms) begin transaction
1064
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 10:56:50.662371"], ["updated_at", "2014-10-08 10:56:50.662371"]]
1065
+ SQL (0.1ms) INSERT INTO "post_tags" ("created_at", "position", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-08 10:56:50.663146"], ["position", 1], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-10-08 10:56:50.663146"]]
1066
+ SQL (0.0ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 10:56:50.663744"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-10-08 10:56:50.663744"]]
1067
+ SQL (0.0ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 10:56:50.664243"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-10-08 10:56:50.664243"]]
1068
+  (3.1ms) commit transaction
1069
+  (0.1ms) begin transaction
1070
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 10:56:50.668977"]]
1071
+  (3.0ms) commit transaction
1072
+  (0.1ms) begin transaction
1073
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 10:56:50.673096"]]
1074
+  (3.1ms) commit transaction
1075
+  (0.1ms) begin transaction
1076
+  (0.1ms) commit transaction
1077
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? ORDER BY "tags"."name" ASC [["post_id", 1]]
1078
+  (3.6ms) DELETE FROM "users";
1079
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1080
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1081
+  (3.7ms) DELETE FROM "posts";
1082
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1083
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
1084
+  (3.6ms) DELETE FROM "tags";
1085
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1086
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'tags';
1087
+  (3.6ms) DELETE FROM "post_tags";
1088
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1089
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1090
+  (6.2ms) DELETE FROM "users";
1091
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1092
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1093
+  (3.5ms) DELETE FROM "posts";
1094
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1095
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1096
+  (3.4ms) DELETE FROM "tags";
1097
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1098
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1099
+  (3.3ms) DELETE FROM "post_tags";
1100
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1101
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1102
+  (3.4ms) DELETE FROM "users";
1103
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1104
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1105
+  (3.4ms) DELETE FROM "posts";
1106
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1107
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1108
+  (3.5ms) DELETE FROM "tags";
1109
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1110
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1111
+  (3.6ms) DELETE FROM "post_tags";
1112
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1113
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1114
+  (2.9ms) DELETE FROM "users";
1115
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1116
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1117
+  (3.4ms) DELETE FROM "posts";
1118
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1119
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1120
+  (3.3ms) DELETE FROM "tags";
1121
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1122
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1123
+  (3.4ms) DELETE FROM "post_tags";
1124
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1125
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1126
+  (3.4ms) DELETE FROM "users";
1127
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1128
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1129
+  (2.9ms) DELETE FROM "posts";
1130
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1131
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1132
+  (2.5ms) DELETE FROM "tags";
1133
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1134
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1135
+  (3.1ms) DELETE FROM "post_tags";
1136
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1137
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1138
+  (0.1ms) begin transaction
1139
+ SQL (0.2ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.205455"], ["name", "Tag2"], ["updated_at", "2014-10-08 11:00:02.205455"]]
1140
+  (3.4ms) commit transaction
1141
+  (0.0ms) begin transaction
1142
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.211533"], ["name", "Tag1"], ["updated_at", "2014-10-08 11:00:02.211533"]]
1143
+  (3.4ms) commit transaction
1144
+  (0.1ms) begin transaction
1145
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.216093"], ["name", "Tag3"], ["updated_at", "2014-10-08 11:00:02.216093"]]
1146
+  (2.9ms) commit transaction
1147
+  (0.1ms) begin transaction
1148
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 11:00:02.236440"], ["updated_at", "2014-10-08 11:00:02.236440"]]
1149
+ SQL (0.1ms) INSERT INTO "post_tags" ("created_at", "position", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-08 11:00:02.240537"], ["position", 1], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-10-08 11:00:02.240537"]]
1150
+ SQL (0.1ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 11:00:02.241323"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-10-08 11:00:02.241323"]]
1151
+ SQL (0.0ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 11:00:02.241865"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-10-08 11:00:02.241865"]]
1152
+  (3.0ms) commit transaction
1153
+  (0.0ms) begin transaction
1154
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 11:00:02.245976"]]
1155
+  (3.3ms) commit transaction
1156
+  (0.0ms) begin transaction
1157
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 11:00:02.250826"]]
1158
+  (3.3ms) commit transaction
1159
+  (0.0ms) begin transaction
1160
+  (0.0ms) commit transaction
1161
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? ORDER BY "tags"."name" ASC [["post_id", 1]]
1162
+  (3.4ms) DELETE FROM "users";
1163
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1164
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1165
+  (3.4ms) DELETE FROM "posts";
1166
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1167
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
1168
+  (3.5ms) DELETE FROM "tags";
1169
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1170
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'tags';
1171
+  (3.8ms) DELETE FROM "post_tags";
1172
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1173
+  (3.8ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1174
+  (0.1ms) begin transaction
1175
+ SQL (0.3ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.289658"], ["name", "Tag2"], ["updated_at", "2014-10-08 11:00:02.289658"]]
1176
+  (3.9ms) commit transaction
1177
+  (0.1ms) begin transaction
1178
+ SQL (0.3ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.296613"], ["name", "Tag1"], ["updated_at", "2014-10-08 11:00:02.296613"]]
1179
+  (3.3ms) commit transaction
1180
+  (0.1ms) begin transaction
1181
+ SQL (0.4ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.302827"], ["name", "Tag3"], ["updated_at", "2014-10-08 11:00:02.302827"]]
1182
+  (3.4ms) commit transaction
1183
+  (0.2ms) begin transaction
1184
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 11:00:02.321144"], ["updated_at", "2014-10-08 11:00:02.321144"]]
1185
+ SQL (0.2ms) INSERT INTO "post_tags" ("created_at", "position", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-10-08 11:00:02.324753"], ["position", 1], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-10-08 11:00:02.324753"]]
1186
+ SQL (0.1ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 11:00:02.326096"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-10-08 11:00:02.326096"]]
1187
+ SQL (0.2ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 11:00:02.327111"], ["post_id", 1], ["tag_id", 3], ["updated_at", "2014-10-08 11:00:02.327111"]]
1188
+  (3.3ms) commit transaction
1189
+  (0.1ms) begin transaction
1190
+ SQL (0.3ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 11:00:02.334349"]]
1191
+  (3.5ms) commit transaction
1192
+  (0.0ms) begin transaction
1193
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 11:00:02.339653"]]
1194
+  (3.4ms) commit transaction
1195
+  (0.0ms) begin transaction
1196
+  (0.0ms) commit transaction
1197
+  (3.4ms) DELETE FROM "users";
1198
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1199
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1200
+  (3.4ms) DELETE FROM "posts";
1201
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1202
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
1203
+  (3.6ms) DELETE FROM "tags";
1204
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1205
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'tags';
1206
+  (2.7ms) DELETE FROM "post_tags";
1207
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1208
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1209
+  (0.0ms) begin transaction
1210
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.368895"], ["title", "Post2"], ["updated_at", "2014-10-08 11:00:02.368895"]]
1211
+  (2.8ms) commit transaction
1212
+  (0.0ms) begin transaction
1213
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.372745"], ["title", "Post1"], ["updated_at", "2014-10-08 11:00:02.372745"]]
1214
+  (3.2ms) commit transaction
1215
+  (0.1ms) begin transaction
1216
+ SQL (0.4ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.377458"], ["title", "Post3"], ["updated_at", "2014-10-08 11:00:02.377458"]]
1217
+  (3.8ms) commit transaction
1218
+  (0.0ms) begin transaction
1219
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 11:00:02.385760"], ["updated_at", "2014-10-08 11:00:02.385760"]]
1220
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 11:00:02.389071"], ["user_id", 1]]
1221
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 11:00:02.389809"], ["user_id", 1]]
1222
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-08 11:00:02.390334"], ["user_id", 1]]
1223
+  (3.0ms) commit transaction
1224
+  (0.0ms) begin transaction
1225
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 11:00:02.394066"]]
1226
+  (2.6ms) commit transaction
1227
+  (0.1ms) begin transaction
1228
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 11:00:02.398186"]]
1229
+  (3.6ms) commit transaction
1230
+  (0.1ms) begin transaction
1231
+  (0.1ms) commit transaction
1232
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
1233
+  (3.2ms) DELETE FROM "users";
1234
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1235
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'users';
1236
+  (3.5ms) DELETE FROM "posts";
1237
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1238
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
1239
+  (3.5ms) DELETE FROM "tags";
1240
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1241
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1242
+  (3.6ms) DELETE FROM "post_tags";
1243
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1244
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1245
+  (0.1ms) begin transaction
1246
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.428809"], ["title", "Post2"], ["updated_at", "2014-10-08 11:00:02.428809"]]
1247
+  (3.0ms) commit transaction
1248
+  (0.0ms) begin transaction
1249
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.433265"], ["title", "Post1"], ["updated_at", "2014-10-08 11:00:02.433265"]]
1250
+  (2.9ms) commit transaction
1251
+  (0.0ms) begin transaction
1252
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.436967"], ["title", "Post3"], ["updated_at", "2014-10-08 11:00:02.436967"]]
1253
+  (2.9ms) commit transaction
1254
+  (0.1ms) begin transaction
1255
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 11:00:02.441328"], ["updated_at", "2014-10-08 11:00:02.441328"]]
1256
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 11:00:02.441973"], ["user_id", 1]]
1257
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 11:00:02.442491"], ["user_id", 1]]
1258
+ SQL (0.0ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 3 [["updated_at", "2014-10-08 11:00:02.442907"], ["user_id", 1]]
1259
+  (3.5ms) commit transaction
1260
+  (0.0ms) begin transaction
1261
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 11:00:02.447052"]]
1262
+  (3.5ms) commit transaction
1263
+  (0.1ms) begin transaction
1264
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 3 [["position", 3], ["updated_at", "2014-10-08 11:00:02.451311"]]
1265
+  (3.5ms) commit transaction
1266
+  (0.1ms) begin transaction
1267
+  (0.1ms) commit transaction
1268
+  (3.1ms) DELETE FROM "users";
1269
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1270
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'users';
1271
+  (3.6ms) DELETE FROM "posts";
1272
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1273
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
1274
+  (3.5ms) DELETE FROM "tags";
1275
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1276
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1277
+  (3.4ms) DELETE FROM "post_tags";
1278
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1279
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1280
+  (0.0ms) begin transaction
1281
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 11:00:02.479846"], ["updated_at", "2014-10-08 11:00:02.479846"]]
1282
+  (3.4ms) commit transaction
1283
+  (0.0ms) begin transaction
1284
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.484230"], ["name", "Tag2"], ["updated_at", "2014-10-08 11:00:02.484230"]]
1285
+  (2.9ms) commit transaction
1286
+  (0.1ms) begin transaction
1287
+ SQL (0.1ms) INSERT INTO "tags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.488423"], ["name", "Tag1"], ["updated_at", "2014-10-08 11:00:02.488423"]]
1288
+  (3.0ms) commit transaction
1289
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? ORDER BY post_tags.position ASC [["post_id", 1]]
1290
+  (0.1ms) begin transaction
1291
+ SQL (0.2ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 11:00:02.494854"], ["post_id", 1], ["tag_id", 1], ["updated_at", "2014-10-08 11:00:02.494854"]]
1292
+ SQL (0.1ms) INSERT INTO "post_tags" ("created_at", "post_id", "tag_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-10-08 11:00:02.496191"], ["post_id", 1], ["tag_id", 2], ["updated_at", "2014-10-08 11:00:02.496191"]]
1293
+  (3.0ms) commit transaction
1294
+ PostTag Load (0.2ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
1295
+  (0.0ms) begin transaction
1296
+ SQL (0.1ms) UPDATE "post_tags" SET "created_at" = ?, "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 1 [["created_at", "2014-10-08 11:00:02.494854"], ["position", 1], ["updated_at", "2014-10-08 11:00:02.494854"]]
1297
+  (2.8ms) commit transaction
1298
+  (0.0ms) begin transaction
1299
+ SQL (0.1ms) UPDATE "post_tags" SET "created_at" = ?, "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = 2 [["created_at", "2014-10-08 11:00:02.496191"], ["position", 2], ["updated_at", "2014-10-08 11:00:02.496191"]]
1300
+  (2.9ms) commit transaction
1301
+  (0.0ms) begin transaction
1302
+  (0.0ms) commit transaction
1303
+ PostTag Load (0.1ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = 1 AND "post_tags"."tag_id" = 1 LIMIT 1
1304
+  (2.9ms) DELETE FROM "users";
1305
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1306
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1307
+  (3.4ms) DELETE FROM "posts";
1308
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1309
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
1310
+  (3.6ms) DELETE FROM "tags";
1311
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1312
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'tags';
1313
+  (2.7ms) DELETE FROM "post_tags";
1314
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1315
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1316
+  (0.0ms) begin transaction
1317
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-08 11:00:02.536573"], ["updated_at", "2014-10-08 11:00:02.536573"]]
1318
+  (2.8ms) commit transaction
1319
+  (0.0ms) begin transaction
1320
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.540628"], ["title", "Post2"], ["updated_at", "2014-10-08 11:00:02.540628"]]
1321
+  (2.9ms) commit transaction
1322
+  (0.0ms) begin transaction
1323
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-10-08 11:00:02.544602"], ["title", "Post1"], ["updated_at", "2014-10-08 11:00:02.544602"]]
1324
+  (2.9ms) commit transaction
1325
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
1326
+  (0.0ms) begin transaction
1327
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 1 [["updated_at", "2014-10-08 11:00:02.549046"], ["user_id", 1]]
1328
+ SQL (0.1ms) UPDATE "posts" SET "updated_at" = ?, "user_id" = ? WHERE "posts"."id" = 2 [["updated_at", "2014-10-08 11:00:02.549837"], ["user_id", 1]]
1329
+  (2.9ms) commit transaction
1330
+  (0.1ms) begin transaction
1331
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 1 [["position", 1], ["updated_at", "2014-10-08 11:00:02.553737"]]
1332
+  (2.9ms) commit transaction
1333
+  (0.1ms) begin transaction
1334
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = 2 [["position", 2], ["updated_at", "2014-10-08 11:00:02.557851"]]
1335
+  (3.0ms) commit transaction
1336
+  (0.1ms) begin transaction
1337
+  (0.0ms) commit transaction
1338
+  (3.1ms) DELETE FROM "users";
1339
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1340
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'users';
1341
+  (3.2ms) DELETE FROM "posts";
1342
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1343
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1344
+  (3.7ms) DELETE FROM "tags";
1345
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1346
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1347
+  (3.4ms) DELETE FROM "post_tags";
1348
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1349
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1350
+  (0.1ms) begin transaction
1351
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:41:33.871478"], ["updated_at", "2015-09-28 08:41:33.871478"]]
1352
+  (6.0ms) commit transaction
1353
+  (0.1ms) begin transaction
1354
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:41:33.888452"], ["updated_at", "2015-09-28 08:41:33.888452"]]
1355
+  (2.9ms) commit transaction
1356
+  (0.0ms) begin transaction
1357
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:41:33.892769"], ["updated_at", "2015-09-28 08:41:33.892769"]]
1358
+  (3.1ms) commit transaction
1359
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
1360
+  (0.0ms) begin transaction
1361
+ SQL (0.2ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:41:33.902933"], ["id", 1]]
1362
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:41:33.906461"], ["id", 2]]
1363
+  (3.4ms) commit transaction
1364
+  (0.0ms) begin transaction
1365
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:41:33.910860"], ["id", 1]]
1366
+  (2.9ms) commit transaction
1367
+  (0.0ms) begin transaction
1368
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:41:33.914736"], ["id", 2]]
1369
+  (2.9ms) commit transaction
1370
+  (0.0ms) begin transaction
1371
+  (0.0ms) commit transaction
1372
+  (2.9ms) DELETE FROM "users";
1373
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1374
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
1375
+  (3.6ms) DELETE FROM "posts";
1376
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1377
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
1378
+  (3.7ms) DELETE FROM "tags";
1379
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1380
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1381
+  (3.8ms) DELETE FROM "post_tags";
1382
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1383
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1384
+  (0.1ms) begin transaction
1385
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:41:33.944004"], ["updated_at", "2015-09-28 08:41:33.944004"]]
1386
+  (3.7ms) commit transaction
1387
+  (0.0ms) begin transaction
1388
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:41:33.955590"], ["updated_at", "2015-09-28 08:41:33.955590"]]
1389
+  (2.9ms) commit transaction
1390
+  (0.0ms) begin transaction
1391
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:41:33.959807"], ["updated_at", "2015-09-28 08:41:33.959807"]]
1392
+  (2.9ms) commit transaction
1393
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
1394
+  (0.0ms) begin transaction
1395
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:41:33.981083"], ["updated_at", "2015-09-28 08:41:33.981083"]]
1396
+ SQL (0.0ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:41:33.982620"], ["updated_at", "2015-09-28 08:41:33.982620"]]
1397
+  (3.0ms) commit transaction
1398
+  (3.5ms) DELETE FROM "users";
1399
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1400
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1401
+  (3.3ms) DELETE FROM "posts";
1402
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1403
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
1404
+  (3.1ms) DELETE FROM "tags";
1405
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1406
+  (2.6ms) DELETE FROM sqlite_sequence where name = 'tags';
1407
+  (3.1ms) DELETE FROM "post_tags";
1408
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1409
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1410
+  (3.3ms) DELETE FROM "users";
1411
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1412
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1413
+  (3.4ms) DELETE FROM "posts";
1414
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1415
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1416
+  (3.4ms) DELETE FROM "tags";
1417
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1418
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1419
+  (3.6ms) DELETE FROM "post_tags";
1420
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1421
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1422
+  (3.4ms) DELETE FROM "users";
1423
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1424
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1425
+  (3.3ms) DELETE FROM "posts";
1426
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1427
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1428
+  (2.9ms) DELETE FROM "tags";
1429
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1430
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1431
+  (2.6ms) DELETE FROM "post_tags";
1432
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1433
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1434
+  (3.0ms) DELETE FROM "users";
1435
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1436
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1437
+  (3.1ms) DELETE FROM "posts";
1438
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1439
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1440
+  (3.1ms) DELETE FROM "tags";
1441
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1442
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1443
+  (3.0ms) DELETE FROM "post_tags";
1444
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1445
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1446
+  (3.3ms) DELETE FROM "users";
1447
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1448
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1449
+  (3.3ms) DELETE FROM "posts";
1450
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1451
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1452
+  (3.3ms) DELETE FROM "tags";
1453
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1454
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1455
+  (3.3ms) DELETE FROM "post_tags";
1456
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1457
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1458
+  (0.1ms) begin transaction
1459
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:41:34.070376"], ["updated_at", "2015-09-28 08:41:34.070376"]]
1460
+  (3.0ms) commit transaction
1461
+  (0.1ms) begin transaction
1462
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:41:34.075064"], ["updated_at", "2015-09-28 08:41:34.075064"]]
1463
+  (3.1ms) commit transaction
1464
+  (0.1ms) begin transaction
1465
+ SQL (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:41:34.080233"], ["updated_at", "2015-09-28 08:41:34.080233"]]
1466
+  (3.7ms) commit transaction
1467
+  (0.1ms) begin transaction
1468
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:41:34.087246"], ["updated_at", "2015-09-28 08:41:34.087246"]]
1469
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:41:34.088310"], ["id", 1]]
1470
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:41:34.089222"], ["id", 2]]
1471
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:41:34.089858"], ["id", 3]]
1472
+  (3.3ms) commit transaction
1473
+  (0.0ms) begin transaction
1474
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:41:34.094212"], ["id", 2]]
1475
+  (3.3ms) commit transaction
1476
+  (0.0ms) begin transaction
1477
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:41:34.098336"], ["id", 3]]
1478
+  (3.4ms) commit transaction
1479
+  (0.1ms) begin transaction
1480
+  (0.1ms) commit transaction
1481
+  (3.3ms) DELETE FROM "users";
1482
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1483
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'users';
1484
+  (3.7ms) DELETE FROM "posts";
1485
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1486
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1487
+  (3.5ms) DELETE FROM "tags";
1488
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1489
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1490
+  (3.5ms) DELETE FROM "post_tags";
1491
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1492
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1493
+  (0.0ms) begin transaction
1494
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:41:34.126945"], ["updated_at", "2015-09-28 08:41:34.126945"]]
1495
+  (2.9ms) commit transaction
1496
+  (0.0ms) begin transaction
1497
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:41:34.131451"], ["updated_at", "2015-09-28 08:41:34.131451"]]
1498
+  (3.2ms) commit transaction
1499
+  (0.1ms) begin transaction
1500
+ SQL (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:41:34.136981"], ["updated_at", "2015-09-28 08:41:34.136981"]]
1501
+  (3.5ms) commit transaction
1502
+  (0.0ms) begin transaction
1503
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:41:34.143649"], ["updated_at", "2015-09-28 08:41:34.143649"]]
1504
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:41:34.145097"], ["id", 1]]
1505
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:41:34.146678"], ["id", 2]]
1506
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:41:34.148081"], ["id", 3]]
1507
+  (3.1ms) commit transaction
1508
+  (0.0ms) begin transaction
1509
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:41:34.152920"], ["id", 2]]
1510
+  (2.9ms) commit transaction
1511
+  (0.0ms) begin transaction
1512
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:41:34.156800"], ["id", 3]]
1513
+  (2.8ms) commit transaction
1514
+  (0.0ms) begin transaction
1515
+  (0.0ms) commit transaction
1516
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
1517
+  (3.3ms) DELETE FROM "users";
1518
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1519
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'users';
1520
+  (3.6ms) DELETE FROM "posts";
1521
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1522
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'posts';
1523
+  (2.6ms) DELETE FROM "tags";
1524
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1525
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1526
+  (3.0ms) DELETE FROM "post_tags";
1527
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1528
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1529
+  (0.1ms) begin transaction
1530
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:41:34.183888"], ["updated_at", "2015-09-28 08:41:34.183888"]]
1531
+  (2.9ms) commit transaction
1532
+  (0.1ms) begin transaction
1533
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:41:34.188387"], ["updated_at", "2015-09-28 08:41:34.188387"]]
1534
+  (3.0ms) commit transaction
1535
+  (0.0ms) begin transaction
1536
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:41:34.192479"], ["updated_at", "2015-09-28 08:41:34.192479"]]
1537
+  (2.4ms) commit transaction
1538
+  (3.4ms) DELETE FROM "users";
1539
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1540
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1541
+  (3.4ms) DELETE FROM "posts";
1542
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1543
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1544
+  (3.5ms) DELETE FROM "tags";
1545
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1546
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'tags';
1547
+  (3.7ms) DELETE FROM "post_tags";
1548
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1549
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1550
+  (0.1ms) begin transaction
1551
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:41:34.219713"], ["updated_at", "2015-09-28 08:41:34.219713"]]
1552
+  (3.1ms) commit transaction
1553
+  (0.1ms) begin transaction
1554
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:41:34.224633"], ["updated_at", "2015-09-28 08:41:34.224633"]]
1555
+  (2.9ms) commit transaction
1556
+  (0.0ms) begin transaction
1557
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:41:34.228734"], ["updated_at", "2015-09-28 08:41:34.228734"]]
1558
+  (2.9ms) commit transaction
1559
+  (3.4ms) DELETE FROM "users";
1560
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1561
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1562
+  (3.5ms) DELETE FROM "posts";
1563
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1564
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1565
+  (3.4ms) DELETE FROM "tags";
1566
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1567
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'tags';
1568
+  (3.7ms) DELETE FROM "post_tags";
1569
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1570
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1571
+  (0.1ms) begin transaction
1572
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:42:17.592307"], ["updated_at", "2015-09-28 08:42:17.592307"]]
1573
+  (6.4ms) commit transaction
1574
+  (0.0ms) begin transaction
1575
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:42:17.601735"], ["updated_at", "2015-09-28 08:42:17.601735"]]
1576
+  (4.0ms) commit transaction
1577
+  (0.1ms) begin transaction
1578
+ SQL (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:42:17.607370"], ["updated_at", "2015-09-28 08:42:17.607370"]]
1579
+  (3.0ms) commit transaction
1580
+  (0.1ms) begin transaction
1581
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:42:17.622292"], ["updated_at", "2015-09-28 08:42:17.622292"]]
1582
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:42:17.623325"], ["id", 1]]
1583
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:42:17.626890"], ["id", 2]]
1584
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:42:17.627732"], ["id", 3]]
1585
+  (2.9ms) commit transaction
1586
+  (0.0ms) begin transaction
1587
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:42:17.631769"], ["id", 2]]
1588
+  (2.9ms) commit transaction
1589
+  (0.0ms) begin transaction
1590
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:42:17.635592"], ["id", 3]]
1591
+  (2.9ms) commit transaction
1592
+  (0.0ms) begin transaction
1593
+  (0.0ms) commit transaction
1594
+  (3.0ms) DELETE FROM "users";
1595
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1596
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';
1597
+  (3.5ms) DELETE FROM "posts";
1598
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1599
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
1600
+  (3.7ms) DELETE FROM "tags";
1601
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1602
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1603
+  (3.7ms) DELETE FROM "post_tags";
1604
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1605
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1606
+  (0.1ms) begin transaction
1607
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:42:17.664321"], ["updated_at", "2015-09-28 08:42:17.664321"]]
1608
+  (3.5ms) commit transaction
1609
+  (0.0ms) begin transaction
1610
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:42:17.669990"], ["updated_at", "2015-09-28 08:42:17.669990"]]
1611
+  (3.3ms) commit transaction
1612
+  (0.0ms) begin transaction
1613
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:42:17.674372"], ["updated_at", "2015-09-28 08:42:17.674372"]]
1614
+  (2.9ms) commit transaction
1615
+  (0.0ms) begin transaction
1616
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:42:17.679037"], ["updated_at", "2015-09-28 08:42:17.679037"]]
1617
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:42:17.679858"], ["id", 1]]
1618
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:42:17.680730"], ["id", 2]]
1619
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:42:17.681354"], ["id", 3]]
1620
+  (3.5ms) commit transaction
1621
+  (0.1ms) begin transaction
1622
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:42:17.686282"], ["id", 2]]
1623
+  (3.1ms) commit transaction
1624
+  (0.1ms) begin transaction
1625
+ SQL (0.3ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:42:17.692502"], ["id", 3]]
1626
+  (5.2ms) commit transaction
1627
+  (0.1ms) begin transaction
1628
+  (0.1ms) commit transaction
1629
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
1630
+ Post Load (0.9ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
1631
+  (6.1ms) DELETE FROM "users";
1632
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1633
+  (4.2ms) DELETE FROM sqlite_sequence where name = 'users';
1634
+  (3.7ms) DELETE FROM "posts";
1635
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1636
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'posts';
1637
+  (3.7ms) DELETE FROM "tags";
1638
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1639
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1640
+  (3.4ms) DELETE FROM "post_tags";
1641
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1642
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1643
+  (0.1ms) begin transaction
1644
+ SQL (0.3ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:43:07.788004"], ["updated_at", "2015-09-28 08:43:07.788004"]]
1645
+  (3.5ms) commit transaction
1646
+  (0.1ms) begin transaction
1647
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:43:07.793899"], ["updated_at", "2015-09-28 08:43:07.793899"]]
1648
+  (3.4ms) commit transaction
1649
+  (0.0ms) begin transaction
1650
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:43:07.798528"], ["updated_at", "2015-09-28 08:43:07.798528"]]
1651
+  (3.0ms) commit transaction
1652
+  (3.1ms) DELETE FROM "users";
1653
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1654
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1655
+  (2.6ms) DELETE FROM "posts";
1656
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1657
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1658
+  (3.2ms) DELETE FROM "tags";
1659
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1660
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'tags';
1661
+  (3.0ms) DELETE FROM "post_tags";
1662
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1663
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1664
+  (0.0ms) begin transaction
1665
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:43:07.835537"], ["updated_at", "2015-09-28 08:43:07.835537"]]
1666
+  (2.9ms) commit transaction
1667
+  (0.0ms) begin transaction
1668
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:43:07.839681"], ["updated_at", "2015-09-28 08:43:07.839681"]]
1669
+  (3.0ms) commit transaction
1670
+  (0.1ms) begin transaction
1671
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:43:07.844302"], ["updated_at", "2015-09-28 08:43:07.844302"]]
1672
+  (3.1ms) commit transaction
1673
+  (3.2ms) DELETE FROM "users";
1674
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1675
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1676
+  (2.5ms) DELETE FROM "posts";
1677
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1678
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1679
+  (2.9ms) DELETE FROM "tags";
1680
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1681
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'tags';
1682
+  (3.6ms) DELETE FROM "post_tags";
1683
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1684
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1685
+  (0.0ms) begin transaction
1686
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:43:07.871697"], ["updated_at", "2015-09-28 08:43:07.871697"]]
1687
+  (2.9ms) commit transaction
1688
+  (0.1ms) begin transaction
1689
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:43:07.876318"], ["updated_at", "2015-09-28 08:43:07.876318"]]
1690
+  (3.0ms) commit transaction
1691
+  (0.1ms) begin transaction
1692
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:43:07.880777"], ["updated_at", "2015-09-28 08:43:07.880777"]]
1693
+  (3.9ms) commit transaction
1694
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
1695
+  (0.1ms) begin transaction
1696
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:43:07.889487"], ["id", 1]]
1697
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:43:07.890505"], ["id", 2]]
1698
+  (3.4ms) commit transaction
1699
+  (0.0ms) begin transaction
1700
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:43:07.894837"], ["id", 1]]
1701
+  (2.9ms) commit transaction
1702
+  (0.0ms) begin transaction
1703
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:43:07.898845"], ["id", 2]]
1704
+  (3.0ms) commit transaction
1705
+  (0.1ms) begin transaction
1706
+  (0.1ms) commit transaction
1707
+  (3.0ms) DELETE FROM "users";
1708
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1709
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'users';
1710
+  (3.5ms) DELETE FROM "posts";
1711
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1712
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
1713
+  (3.5ms) DELETE FROM "tags";
1714
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1715
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1716
+  (3.4ms) DELETE FROM "post_tags";
1717
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1718
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1719
+  (0.0ms) begin transaction
1720
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:43:07.926779"], ["updated_at", "2015-09-28 08:43:07.926779"]]
1721
+  (2.9ms) commit transaction
1722
+  (0.0ms) begin transaction
1723
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:43:07.931016"], ["updated_at", "2015-09-28 08:43:07.931016"]]
1724
+  (2.9ms) commit transaction
1725
+  (0.1ms) begin transaction
1726
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:43:07.935211"], ["updated_at", "2015-09-28 08:43:07.935211"]]
1727
+  (2.9ms) commit transaction
1728
+ Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
1729
+  (0.1ms) begin transaction
1730
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:43:07.947994"], ["updated_at", "2015-09-28 08:43:07.947994"]]
1731
+ SQL (0.0ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:43:07.949579"], ["updated_at", "2015-09-28 08:43:07.949579"]]
1732
+  (3.5ms) commit transaction
1733
+  (3.4ms) DELETE FROM "users";
1734
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1735
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1736
+  (3.4ms) DELETE FROM "posts";
1737
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1738
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'posts';
1739
+  (2.7ms) DELETE FROM "tags";
1740
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1741
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'tags';
1742
+  (3.5ms) DELETE FROM "post_tags";
1743
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1744
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1745
+  (3.5ms) DELETE FROM "users";
1746
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1747
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1748
+  (3.4ms) DELETE FROM "posts";
1749
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1750
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1751
+  (2.9ms) DELETE FROM "tags";
1752
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1753
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1754
+  (2.5ms) DELETE FROM "post_tags";
1755
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1756
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1757
+  (2.9ms) DELETE FROM "users";
1758
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1759
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1760
+  (2.9ms) DELETE FROM "posts";
1761
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1762
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1763
+  (3.5ms) DELETE FROM "tags";
1764
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1765
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1766
+  (3.4ms) DELETE FROM "post_tags";
1767
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1768
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1769
+  (3.3ms) DELETE FROM "users";
1770
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1771
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1772
+  (3.5ms) DELETE FROM "posts";
1773
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1774
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1775
+  (3.5ms) DELETE FROM "tags";
1776
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1777
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1778
+  (3.5ms) DELETE FROM "post_tags";
1779
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1780
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1781
+  (3.3ms) DELETE FROM "users";
1782
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1783
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1784
+  (3.4ms) DELETE FROM "posts";
1785
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1786
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1787
+  (3.4ms) DELETE FROM "tags";
1788
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1789
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1790
+  (3.4ms) DELETE FROM "post_tags";
1791
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1792
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1793
+  (0.1ms) begin transaction
1794
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:44:16.481350"], ["updated_at", "2015-09-28 08:44:16.481350"]]
1795
+  (5.7ms) commit transaction
1796
+  (0.1ms) begin transaction
1797
+ SQL (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:44:16.500980"], ["updated_at", "2015-09-28 08:44:16.500980"]]
1798
+  (3.5ms) commit transaction
1799
+  (0.1ms) begin transaction
1800
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:44:16.506616"], ["updated_at", "2015-09-28 08:44:16.506616"]]
1801
+  (2.9ms) commit transaction
1802
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
1803
+  (0.0ms) begin transaction
1804
+ SQL (0.2ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:44:16.516743"], ["id", 1]]
1805
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:44:16.520352"], ["id", 2]]
1806
+  (3.0ms) commit transaction
1807
+  (0.4ms) begin transaction
1808
+ SQL (0.6ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:44:32.370842"], ["id", 1]]
1809
+  (7.0ms) commit transaction
1810
+  (0.2ms) begin transaction
1811
+ SQL (0.4ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:44:32.383906"], ["id", 2]]
1812
+  (3.7ms) commit transaction
1813
+  (0.2ms) begin transaction
1814
+  (0.2ms) commit transaction
1815
+  (4.2ms) DELETE FROM "users";
1816
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1817
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'users';
1818
+  (4.5ms) DELETE FROM "posts";
1819
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1820
+  (4.0ms) DELETE FROM sqlite_sequence where name = 'posts';
1821
+  (3.8ms) DELETE FROM "tags";
1822
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1823
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1824
+  (3.7ms) DELETE FROM "post_tags";
1825
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1826
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1827
+  (0.0ms) begin transaction
1828
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:44:32.426958"], ["updated_at", "2015-09-28 08:44:32.426958"]]
1829
+  (2.9ms) commit transaction
1830
+  (0.1ms) begin transaction
1831
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:44:32.438706"], ["updated_at", "2015-09-28 08:44:32.438706"]]
1832
+  (3.1ms) commit transaction
1833
+  (0.1ms) begin transaction
1834
+ SQL (0.3ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:44:32.444304"], ["updated_at", "2015-09-28 08:44:32.444304"]]
1835
+  (3.5ms) commit transaction
1836
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
1837
+  (0.0ms) begin transaction
1838
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:44:32.465722"], ["updated_at", "2015-09-28 08:44:32.465722"]]
1839
+ SQL (0.1ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:44:32.467650"], ["updated_at", "2015-09-28 08:44:32.467650"]]
1840
+  (3.0ms) commit transaction
1841
+  (0.1ms) begin transaction
1842
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:48:42.444044"], ["updated_at", "2015-09-28 08:48:42.444044"]]
1843
+  (6.5ms) commit transaction
1844
+  (0.1ms) begin transaction
1845
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:48:42.463179"], ["updated_at", "2015-09-28 08:48:42.463179"]]
1846
+  (3.0ms) commit transaction
1847
+  (0.0ms) begin transaction
1848
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:48:42.467896"], ["updated_at", "2015-09-28 08:48:42.467896"]]
1849
+  (3.0ms) commit transaction
1850
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
1851
+  (0.1ms) begin transaction
1852
+ SQL (0.2ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:48:42.482856"], ["id", 2]]
1853
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:48:42.486528"], ["id", 3]]
1854
+  (2.9ms) commit transaction
1855
+  (0.0ms) begin transaction
1856
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:48:42.490459"], ["id", 2]]
1857
+  (3.5ms) commit transaction
1858
+  (0.0ms) begin transaction
1859
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:48:42.494859"], ["id", 3]]
1860
+  (3.0ms) commit transaction
1861
+  (0.1ms) begin transaction
1862
+  (0.1ms) commit transaction
1863
+  (3.1ms) DELETE FROM "users";
1864
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1865
+  (3.2ms) DELETE FROM sqlite_sequence where name = 'users';
1866
+  (3.7ms) DELETE FROM "posts";
1867
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1868
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
1869
+  (3.5ms) DELETE FROM "tags";
1870
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1871
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'tags';
1872
+  (3.7ms) DELETE FROM "post_tags";
1873
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1874
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1875
+  (0.2ms) begin transaction
1876
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:48:42.535384"], ["updated_at", "2015-09-28 08:48:42.535384"]]
1877
+  (4.1ms) commit transaction
1878
+  (0.1ms) begin transaction
1879
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:48:42.558376"], ["updated_at", "2015-09-28 08:48:42.558376"]]
1880
+  (3.1ms) commit transaction
1881
+  (0.1ms) begin transaction
1882
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:48:42.563703"], ["updated_at", "2015-09-28 08:48:42.563703"]]
1883
+  (3.0ms) commit transaction
1884
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
1885
+  (0.0ms) begin transaction
1886
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:48:42.583441"], ["updated_at", "2015-09-28 08:48:42.583441"]]
1887
+ SQL (0.0ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:48:42.584989"], ["updated_at", "2015-09-28 08:48:42.584989"]]
1888
+  (3.0ms) commit transaction
1889
+  (2.5ms) DELETE FROM "users";
1890
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1891
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1892
+  (3.0ms) DELETE FROM "posts";
1893
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1894
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
1895
+  (3.6ms) DELETE FROM "tags";
1896
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1897
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
1898
+  (3.6ms) DELETE FROM "post_tags";
1899
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1900
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1901
+  (0.0ms) begin transaction
1902
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:48:42.613496"], ["updated_at", "2015-09-28 08:48:42.613496"]]
1903
+  (3.4ms) commit transaction
1904
+  (0.0ms) begin transaction
1905
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:48:42.618044"], ["updated_at", "2015-09-28 08:48:42.618044"]]
1906
+  (3.4ms) commit transaction
1907
+  (0.0ms) begin transaction
1908
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:48:42.622482"], ["updated_at", "2015-09-28 08:48:42.622482"]]
1909
+  (2.9ms) commit transaction
1910
+  (0.0ms) begin transaction
1911
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:48:42.627066"], ["updated_at", "2015-09-28 08:48:42.627066"]]
1912
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:48:42.627909"], ["id", 1]]
1913
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:48:42.628795"], ["id", 2]]
1914
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:48:42.629440"], ["id", 3]]
1915
+  (3.4ms) commit transaction
1916
+  (0.0ms) begin transaction
1917
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:48:42.634027"], ["id", 2]]
1918
+  (3.4ms) commit transaction
1919
+  (0.0ms) begin transaction
1920
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:48:42.638495"], ["id", 3]]
1921
+  (3.0ms) commit transaction
1922
+  (0.1ms) begin transaction
1923
+  (0.0ms) commit transaction
1924
+  (3.1ms) DELETE FROM "users";
1925
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1926
+  (3.2ms) DELETE FROM sqlite_sequence where name = 'users';
1927
+  (3.5ms) DELETE FROM "posts";
1928
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1929
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
1930
+  (3.6ms) DELETE FROM "tags";
1931
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1932
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1933
+  (3.4ms) DELETE FROM "post_tags";
1934
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1935
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1936
+  (0.0ms) begin transaction
1937
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:48:42.666118"], ["updated_at", "2015-09-28 08:48:42.666118"]]
1938
+  (3.3ms) commit transaction
1939
+  (0.0ms) begin transaction
1940
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:48:42.670552"], ["updated_at", "2015-09-28 08:48:42.670552"]]
1941
+  (3.0ms) commit transaction
1942
+  (0.1ms) begin transaction
1943
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:48:42.674863"], ["updated_at", "2015-09-28 08:48:42.674863"]]
1944
+  (3.0ms) commit transaction
1945
+  (0.1ms) begin transaction
1946
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:48:42.680427"], ["updated_at", "2015-09-28 08:48:42.680427"]]
1947
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:48:42.681643"], ["id", 1]]
1948
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:48:42.683007"], ["id", 2]]
1949
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:48:42.684688"], ["id", 3]]
1950
+  (3.4ms) commit transaction
1951
+  (0.0ms) begin transaction
1952
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:48:42.689711"], ["id", 2]]
1953
+  (3.3ms) commit transaction
1954
+  (0.0ms) begin transaction
1955
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:48:42.693943"], ["id", 3]]
1956
+  (3.3ms) commit transaction
1957
+  (0.0ms) begin transaction
1958
+  (0.0ms) commit transaction
1959
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
1960
+  (2.9ms) DELETE FROM "users";
1961
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1962
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'users';
1963
+  (3.6ms) DELETE FROM "posts";
1964
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1965
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
1966
+  (3.6ms) DELETE FROM "tags";
1967
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1968
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
1969
+  (3.4ms) DELETE FROM "post_tags";
1970
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1971
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1972
+  (0.0ms) begin transaction
1973
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:48:42.722519"], ["updated_at", "2015-09-28 08:48:42.722519"]]
1974
+  (2.9ms) commit transaction
1975
+  (0.0ms) begin transaction
1976
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:48:42.726589"], ["updated_at", "2015-09-28 08:48:42.726589"]]
1977
+  (2.8ms) commit transaction
1978
+  (0.0ms) begin transaction
1979
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:48:42.730346"], ["updated_at", "2015-09-28 08:48:42.730346"]]
1980
+  (3.3ms) commit transaction
1981
+  (3.5ms) DELETE FROM "users";
1982
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1983
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
1984
+  (2.9ms) DELETE FROM "posts";
1985
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1986
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
1987
+  (2.5ms) DELETE FROM "tags";
1988
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1989
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'tags';
1990
+  (3.7ms) DELETE FROM "post_tags";
1991
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1992
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
1993
+  (0.1ms) begin transaction
1994
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:48:42.756545"], ["updated_at", "2015-09-28 08:48:42.756545"]]
1995
+  (3.6ms) commit transaction
1996
+  (0.1ms) begin transaction
1997
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:48:42.762047"], ["updated_at", "2015-09-28 08:48:42.762047"]]
1998
+  (3.3ms) commit transaction
1999
+  (0.0ms) begin transaction
2000
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:48:42.766450"], ["updated_at", "2015-09-28 08:48:42.766450"]]
2001
+  (3.4ms) commit transaction
2002
+  (3.0ms) DELETE FROM "users";
2003
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2004
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2005
+  (2.4ms) DELETE FROM "posts";
2006
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2007
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2008
+  (3.0ms) DELETE FROM "tags";
2009
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2010
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'tags';
2011
+  (3.6ms) DELETE FROM "post_tags";
2012
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2013
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2014
+  (3.2ms) DELETE FROM "users";
2015
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2016
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2017
+  (3.1ms) DELETE FROM "posts";
2018
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2019
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2020
+  (3.4ms) DELETE FROM "tags";
2021
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2022
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2023
+  (3.4ms) DELETE FROM "post_tags";
2024
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2025
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2026
+  (3.3ms) DELETE FROM "users";
2027
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2028
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2029
+  (3.5ms) DELETE FROM "posts";
2030
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2031
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2032
+  (3.5ms) DELETE FROM "tags";
2033
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2034
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2035
+  (3.5ms) DELETE FROM "post_tags";
2036
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2037
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2038
+  (3.6ms) DELETE FROM "users";
2039
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2040
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2041
+  (3.3ms) DELETE FROM "posts";
2042
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2043
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2044
+  (3.3ms) DELETE FROM "tags";
2045
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2046
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2047
+  (3.3ms) DELETE FROM "post_tags";
2048
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2049
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2050
+  (3.5ms) DELETE FROM "users";
2051
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2052
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2053
+  (3.4ms) DELETE FROM "posts";
2054
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2055
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2056
+  (3.5ms) DELETE FROM "tags";
2057
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2058
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';
2059
+  (3.7ms) DELETE FROM "post_tags";
2060
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2061
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2062
+  (0.1ms) begin transaction
2063
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:49:00.013969"], ["updated_at", "2015-09-28 08:49:00.013969"]]
2064
+  (6.3ms) commit transaction
2065
+  (0.1ms) begin transaction
2066
+ SQL (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:49:00.034982"], ["updated_at", "2015-09-28 08:49:00.034982"]]
2067
+  (3.0ms) commit transaction
2068
+  (0.0ms) begin transaction
2069
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:49:00.040266"], ["updated_at", "2015-09-28 08:49:00.040266"]]
2070
+  (2.9ms) commit transaction
2071
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
2072
+  (0.0ms) begin transaction
2073
+ SQL (0.2ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:49:00.049882"], ["id", 1]]
2074
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:49:00.053709"], ["id", 2]]
2075
+  (3.5ms) commit transaction
2076
+  (0.2ms) begin transaction
2077
+ SQL (0.5ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:49:04.497246"], ["id", 1]]
2078
+  (6.0ms) commit transaction
2079
+  (0.0ms) begin transaction
2080
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:49:04.507132"], ["id", 2]]
2081
+  (2.9ms) commit transaction
2082
+  (0.0ms) begin transaction
2083
+  (0.0ms) commit transaction
2084
+  (3.1ms) DELETE FROM "users";
2085
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2086
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';
2087
+  (3.5ms) DELETE FROM "posts";
2088
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2089
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
2090
+  (3.6ms) DELETE FROM "tags";
2091
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2092
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2093
+  (3.7ms) DELETE FROM "post_tags";
2094
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2095
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2096
+  (0.1ms) begin transaction
2097
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:49:04.535861"], ["updated_at", "2015-09-28 08:49:04.535861"]]
2098
+  (3.1ms) commit transaction
2099
+  (0.0ms) begin transaction
2100
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:49:04.546508"], ["updated_at", "2015-09-28 08:49:04.546508"]]
2101
+  (3.0ms) commit transaction
2102
+  (0.0ms) begin transaction
2103
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:49:04.550835"], ["updated_at", "2015-09-28 08:49:04.550835"]]
2104
+  (2.8ms) commit transaction
2105
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2106
+  (0.0ms) begin transaction
2107
+ SQL (0.4ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:49:04.571580"], ["updated_at", "2015-09-28 08:49:04.571580"]]
2108
+ SQL (0.1ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:49:04.574543"], ["updated_at", "2015-09-28 08:49:04.574543"]]
2109
+  (3.0ms) commit transaction
2110
+  (0.1ms) begin transaction
2111
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:51:10.252570"], ["updated_at", "2015-09-28 08:51:10.252570"]]
2112
+  (6.6ms) commit transaction
2113
+  (0.1ms) begin transaction
2114
+ SQL (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:51:10.271080"], ["updated_at", "2015-09-28 08:51:10.271080"]]
2115
+  (3.2ms) commit transaction
2116
+  (0.1ms) begin transaction
2117
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:51:10.276802"], ["updated_at", "2015-09-28 08:51:10.276802"]]
2118
+  (3.5ms) commit transaction
2119
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
2120
+  (0.0ms) begin transaction
2121
+ SQL (0.2ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:51:10.287915"], ["id", 2]]
2122
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:51:10.291701"], ["id", 3]]
2123
+  (2.9ms) commit transaction
2124
+  (0.0ms) begin transaction
2125
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:51:10.295690"], ["id", 2]]
2126
+  (2.9ms) commit transaction
2127
+  (0.1ms) begin transaction
2128
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:51:10.299837"], ["id", 3]]
2129
+  (3.1ms) commit transaction
2130
+  (0.1ms) begin transaction
2131
+  (0.1ms) commit transaction
2132
+  (3.6ms) DELETE FROM "users";
2133
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2134
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'users';
2135
+  (3.9ms) DELETE FROM "posts";
2136
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2137
+  (3.9ms) DELETE FROM sqlite_sequence where name = 'posts';
2138
+  (3.8ms) DELETE FROM "tags";
2139
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2140
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'tags';
2141
+  (3.8ms) DELETE FROM "post_tags";
2142
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2143
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2144
+  (0.2ms) begin transaction
2145
+ SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:51:10.342459"], ["updated_at", "2015-09-28 08:51:10.342459"]]
2146
+  (4.0ms) commit transaction
2147
+  (0.0ms) begin transaction
2148
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:51:10.362260"], ["updated_at", "2015-09-28 08:51:10.362260"]]
2149
+  (3.0ms) commit transaction
2150
+  (0.0ms) begin transaction
2151
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:51:10.366510"], ["updated_at", "2015-09-28 08:51:10.366510"]]
2152
+  (3.0ms) commit transaction
2153
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2154
+  (0.0ms) begin transaction
2155
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:51:10.387996"], ["updated_at", "2015-09-28 08:51:10.387996"]]
2156
+ SQL (0.1ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:51:10.390019"], ["updated_at", "2015-09-28 08:51:10.390019"]]
2157
+  (3.4ms) commit transaction
2158
+  (3.4ms) DELETE FROM "users";
2159
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2160
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2161
+  (3.5ms) DELETE FROM "posts";
2162
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2163
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
2164
+  (3.1ms) DELETE FROM "tags";
2165
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2166
+  (2.6ms) DELETE FROM sqlite_sequence where name = 'tags';
2167
+  (3.1ms) DELETE FROM "post_tags";
2168
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2169
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2170
+  (3.4ms) DELETE FROM "users";
2171
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2172
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2173
+  (3.3ms) DELETE FROM "posts";
2174
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2175
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2176
+  (3.4ms) DELETE FROM "tags";
2177
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2178
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2179
+  (3.4ms) DELETE FROM "post_tags";
2180
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2181
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2182
+  (3.4ms) DELETE FROM "users";
2183
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2184
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2185
+  (3.4ms) DELETE FROM "posts";
2186
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2187
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2188
+  (2.9ms) DELETE FROM "tags";
2189
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2190
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2191
+  (2.5ms) DELETE FROM "post_tags";
2192
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2193
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2194
+  (3.1ms) DELETE FROM "users";
2195
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2196
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2197
+  (3.2ms) DELETE FROM "posts";
2198
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2199
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2200
+  (3.1ms) DELETE FROM "tags";
2201
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2202
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2203
+  (3.1ms) DELETE FROM "post_tags";
2204
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2205
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2206
+  (2.9ms) DELETE FROM "users";
2207
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2208
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2209
+  (3.3ms) DELETE FROM "posts";
2210
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2211
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2212
+  (3.4ms) DELETE FROM "tags";
2213
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2214
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2215
+  (3.4ms) DELETE FROM "post_tags";
2216
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2217
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2218
+  (0.1ms) begin transaction
2219
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:51:10.478694"], ["updated_at", "2015-09-28 08:51:10.478694"]]
2220
+  (3.0ms) commit transaction
2221
+  (0.0ms) begin transaction
2222
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:51:10.483256"], ["updated_at", "2015-09-28 08:51:10.483256"]]
2223
+  (3.2ms) commit transaction
2224
+  (0.1ms) begin transaction
2225
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:51:10.488189"], ["updated_at", "2015-09-28 08:51:10.488189"]]
2226
+  (3.0ms) commit transaction
2227
+  (0.1ms) begin transaction
2228
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:51:10.493353"], ["updated_at", "2015-09-28 08:51:10.493353"]]
2229
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:51:10.494134"], ["id", 1]]
2230
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:51:10.495063"], ["id", 2]]
2231
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:51:10.495771"], ["id", 3]]
2232
+  (2.9ms) commit transaction
2233
+  (0.0ms) begin transaction
2234
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:51:10.499670"], ["id", 2]]
2235
+  (2.9ms) commit transaction
2236
+  (0.0ms) begin transaction
2237
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:51:10.503618"], ["id", 3]]
2238
+  (2.9ms) commit transaction
2239
+  (0.1ms) begin transaction
2240
+  (0.0ms) commit transaction
2241
+  (3.1ms) DELETE FROM "users";
2242
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2243
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'users';
2244
+  (3.1ms) DELETE FROM "posts";
2245
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2246
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
2247
+  (3.6ms) DELETE FROM "tags";
2248
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2249
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2250
+  (3.5ms) DELETE FROM "post_tags";
2251
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2252
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2253
+  (0.1ms) begin transaction
2254
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:51:10.531579"], ["updated_at", "2015-09-28 08:51:10.531579"]]
2255
+  (2.9ms) commit transaction
2256
+  (0.0ms) begin transaction
2257
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:51:10.535845"], ["updated_at", "2015-09-28 08:51:10.535845"]]
2258
+  (3.0ms) commit transaction
2259
+  (0.1ms) begin transaction
2260
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:51:10.540405"], ["updated_at", "2015-09-28 08:51:10.540405"]]
2261
+  (3.6ms) commit transaction
2262
+  (0.1ms) begin transaction
2263
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:51:10.547037"], ["updated_at", "2015-09-28 08:51:10.547037"]]
2264
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:51:10.548617"], ["id", 1]]
2265
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:51:10.550346"], ["id", 2]]
2266
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:51:10.551940"], ["id", 3]]
2267
+  (3.6ms) commit transaction
2268
+  (0.1ms) begin transaction
2269
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:51:10.558072"], ["id", 2]]
2270
+  (3.4ms) commit transaction
2271
+  (0.0ms) begin transaction
2272
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:51:10.562741"], ["id", 3]]
2273
+  (2.9ms) commit transaction
2274
+  (0.0ms) begin transaction
2275
+  (0.0ms) commit transaction
2276
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
2277
+  (3.0ms) DELETE FROM "users";
2278
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2279
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'users';
2280
+  (3.0ms) DELETE FROM "posts";
2281
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2282
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
2283
+  (3.5ms) DELETE FROM "tags";
2284
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2285
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2286
+  (2.9ms) DELETE FROM "post_tags";
2287
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2288
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2289
+  (0.0ms) begin transaction
2290
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:51:10.589705"], ["updated_at", "2015-09-28 08:51:10.589705"]]
2291
+  (3.4ms) commit transaction
2292
+  (0.0ms) begin transaction
2293
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:51:10.594221"], ["updated_at", "2015-09-28 08:51:10.594221"]]
2294
+  (3.3ms) commit transaction
2295
+  (0.0ms) begin transaction
2296
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:51:10.598401"], ["updated_at", "2015-09-28 08:51:10.598401"]]
2297
+  (3.4ms) commit transaction
2298
+  (3.5ms) DELETE FROM "users";
2299
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2300
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2301
+  (3.4ms) DELETE FROM "posts";
2302
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2303
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2304
+  (3.5ms) DELETE FROM "tags";
2305
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2306
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'tags';
2307
+  (3.2ms) DELETE FROM "post_tags";
2308
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2309
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2310
+  (0.1ms) begin transaction
2311
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:51:10.626787"], ["updated_at", "2015-09-28 08:51:10.626787"]]
2312
+  (3.1ms) commit transaction
2313
+  (0.1ms) begin transaction
2314
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:51:10.631875"], ["updated_at", "2015-09-28 08:51:10.631875"]]
2315
+  (2.9ms) commit transaction
2316
+  (0.0ms) begin transaction
2317
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:51:10.635832"], ["updated_at", "2015-09-28 08:51:10.635832"]]
2318
+  (2.9ms) commit transaction
2319
+  (3.4ms) DELETE FROM "users";
2320
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2321
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2322
+  (3.4ms) DELETE FROM "posts";
2323
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2324
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2325
+  (3.5ms) DELETE FROM "tags";
2326
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2327
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'tags';
2328
+  (3.7ms) DELETE FROM "post_tags";
2329
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2330
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2331
+  (0.1ms) begin transaction
2332
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:51:35.451242"], ["updated_at", "2015-09-28 08:51:35.451242"]]
2333
+  (6.8ms) commit transaction
2334
+  (0.1ms) begin transaction
2335
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:51:35.466475"], ["updated_at", "2015-09-28 08:51:35.466475"]]
2336
+  (3.1ms) commit transaction
2337
+  (0.1ms) begin transaction
2338
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:51:35.471559"], ["updated_at", "2015-09-28 08:51:35.471559"]]
2339
+  (3.3ms) commit transaction
2340
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2341
+  (0.0ms) begin transaction
2342
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:51:35.493917"], ["updated_at", "2015-09-28 08:51:35.493917"]]
2343
+ SQL (0.0ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:51:35.495648"], ["updated_at", "2015-09-28 08:51:35.495648"]]
2344
+  (3.0ms) commit transaction
2345
+  (0.1ms) begin transaction
2346
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:56:10.785701"], ["updated_at", "2015-09-28 08:56:10.785701"]]
2347
+  (5.0ms) commit transaction
2348
+  (0.0ms) begin transaction
2349
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:56:10.793705"], ["updated_at", "2015-09-28 08:56:10.793705"]]
2350
+  (3.4ms) commit transaction
2351
+  (0.1ms) begin transaction
2352
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:56:10.798491"], ["updated_at", "2015-09-28 08:56:10.798491"]]
2353
+  (3.3ms) commit transaction
2354
+  (0.1ms) begin transaction
2355
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:56:10.825000"], ["updated_at", "2015-09-28 08:56:10.825000"]]
2356
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "position", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 3], ["position", 1], ["post_id", 2], ["created_at", "2015-09-28 08:56:10.826021"], ["updated_at", "2015-09-28 08:56:10.826021"]]
2357
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 4], ["post_id", 2], ["created_at", "2015-09-28 08:56:10.826975"], ["updated_at", "2015-09-28 08:56:10.826975"]]
2358
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 5], ["post_id", 2], ["created_at", "2015-09-28 08:56:10.827766"], ["updated_at", "2015-09-28 08:56:10.827766"]]
2359
+  (2.9ms) commit transaction
2360
+  (0.0ms) begin transaction
2361
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:56:10.832577"], ["id", 4]]
2362
+  (2.9ms) commit transaction
2363
+  (0.0ms) begin transaction
2364
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:56:10.839230"], ["id", 5]]
2365
+  (3.0ms) commit transaction
2366
+  (0.0ms) begin transaction
2367
+  (0.0ms) commit transaction
2368
+ Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? ORDER BY "tags"."name" ASC [["post_id", 2]]
2369
+  (2.9ms) DELETE FROM "users";
2370
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2371
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2372
+  (2.9ms) DELETE FROM "posts";
2373
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2374
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
2375
+  (3.6ms) DELETE FROM "tags";
2376
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2377
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
2378
+  (3.2ms) DELETE FROM "post_tags";
2379
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2380
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2381
+  (0.1ms) begin transaction
2382
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:56:10.876690"], ["updated_at", "2015-09-28 08:56:10.876690"]]
2383
+  (3.6ms) commit transaction
2384
+  (0.1ms) begin transaction
2385
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:56:10.881988"], ["updated_at", "2015-09-28 08:56:10.881988"]]
2386
+  (3.5ms) commit transaction
2387
+  (0.1ms) begin transaction
2388
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:56:10.886928"], ["updated_at", "2015-09-28 08:56:10.886928"]]
2389
+  (2.9ms) commit transaction
2390
+  (0.1ms) begin transaction
2391
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:56:10.894387"], ["updated_at", "2015-09-28 08:56:10.894387"]]
2392
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "position", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["position", 1], ["post_id", 1], ["created_at", "2015-09-28 08:56:10.895378"], ["updated_at", "2015-09-28 08:56:10.895378"]]
2393
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 2], ["post_id", 1], ["created_at", "2015-09-28 08:56:10.896728"], ["updated_at", "2015-09-28 08:56:10.896728"]]
2394
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 3], ["post_id", 1], ["created_at", "2015-09-28 08:56:10.897919"], ["updated_at", "2015-09-28 08:56:10.897919"]]
2395
+  (3.0ms) commit transaction
2396
+  (0.1ms) begin transaction
2397
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:56:10.903113"], ["id", 2]]
2398
+  (3.5ms) commit transaction
2399
+  (0.1ms) begin transaction
2400
+ SQL (0.3ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:56:10.908422"], ["id", 3]]
2401
+  (3.7ms) commit transaction
2402
+  (0.1ms) begin transaction
2403
+  (0.1ms) commit transaction
2404
+  (3.1ms) DELETE FROM "users";
2405
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2406
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2407
+  (2.9ms) DELETE FROM "posts";
2408
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2409
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
2410
+  (3.5ms) DELETE FROM "tags";
2411
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2412
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
2413
+  (3.2ms) DELETE FROM "post_tags";
2414
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2415
+  (2.6ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2416
+  (0.1ms) begin transaction
2417
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:56:10.944965"], ["updated_at", "2015-09-28 08:56:10.944965"]]
2418
+  (3.5ms) commit transaction
2419
+  (0.1ms) begin transaction
2420
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:56:10.950403"], ["updated_at", "2015-09-28 08:56:10.950403"]]
2421
+  (3.0ms) commit transaction
2422
+  (0.1ms) begin transaction
2423
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:56:10.955282"], ["updated_at", "2015-09-28 08:56:10.955282"]]
2424
+  (3.0ms) commit transaction
2425
+  (0.1ms) begin transaction
2426
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:56:10.964328"], ["updated_at", "2015-09-28 08:56:10.964328"]]
2427
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:56:10.965356"], ["id", 1]]
2428
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:56:10.966319"], ["id", 2]]
2429
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:56:10.967290"], ["id", 3]]
2430
+  (3.0ms) commit transaction
2431
+  (0.1ms) begin transaction
2432
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:56:10.972173"], ["id", 2]]
2433
+  (3.4ms) commit transaction
2434
+  (0.1ms) begin transaction
2435
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:56:10.977498"], ["id", 3]]
2436
+  (3.6ms) commit transaction
2437
+  (0.1ms) begin transaction
2438
+  (0.0ms) commit transaction
2439
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
2440
+  (3.0ms) DELETE FROM "users";
2441
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2442
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';
2443
+  (3.6ms) DELETE FROM "posts";
2444
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2445
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
2446
+  (3.6ms) DELETE FROM "tags";
2447
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2448
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2449
+  (2.9ms) DELETE FROM "post_tags";
2450
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2451
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2452
+  (0.0ms) begin transaction
2453
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:56:11.005587"], ["updated_at", "2015-09-28 08:56:11.005587"]]
2454
+  (3.4ms) commit transaction
2455
+  (0.0ms) begin transaction
2456
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:56:11.010021"], ["updated_at", "2015-09-28 08:56:11.010021"]]
2457
+  (3.3ms) commit transaction
2458
+  (0.0ms) begin transaction
2459
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:56:11.014261"], ["updated_at", "2015-09-28 08:56:11.014261"]]
2460
+  (3.3ms) commit transaction
2461
+  (0.0ms) begin transaction
2462
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:56:11.019187"], ["updated_at", "2015-09-28 08:56:11.019187"]]
2463
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:56:11.019965"], ["id", 1]]
2464
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:56:11.020747"], ["id", 2]]
2465
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:56:11.021370"], ["id", 3]]
2466
+  (3.4ms) commit transaction
2467
+  (0.1ms) begin transaction
2468
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:56:11.026012"], ["id", 2]]
2469
+  (3.0ms) commit transaction
2470
+  (0.1ms) begin transaction
2471
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:56:11.030945"], ["id", 3]]
2472
+  (3.1ms) commit transaction
2473
+  (0.1ms) begin transaction
2474
+  (0.1ms) commit transaction
2475
+  (3.7ms) DELETE FROM "users";
2476
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2477
+  (3.8ms) DELETE FROM sqlite_sequence where name = 'users';
2478
+  (3.7ms) DELETE FROM "posts";
2479
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2480
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
2481
+  (3.0ms) DELETE FROM "tags";
2482
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2483
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2484
+  (2.5ms) DELETE FROM "post_tags";
2485
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2486
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2487
+  (0.0ms) begin transaction
2488
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:56:11.060399"], ["updated_at", "2015-09-28 08:56:11.060399"]]
2489
+  (2.9ms) commit transaction
2490
+  (0.1ms) begin transaction
2491
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:56:11.064681"], ["updated_at", "2015-09-28 08:56:11.064681"]]
2492
+  (3.5ms) commit transaction
2493
+  (0.1ms) begin transaction
2494
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:56:11.069994"], ["updated_at", "2015-09-28 08:56:11.069994"]]
2495
+  (3.1ms) commit transaction
2496
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2497
+  (0.0ms) begin transaction
2498
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:56:11.079874"], ["updated_at", "2015-09-28 08:56:11.079874"]]
2499
+ SQL (0.0ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:56:11.081287"], ["updated_at", "2015-09-28 08:56:11.081287"]]
2500
+  (3.4ms) commit transaction
2501
+ PostTag Load (0.1ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2502
+  (0.0ms) begin transaction
2503
+ SQL (0.1ms) UPDATE "post_tags" SET "created_at" = ?, "updated_at" = ?, "position" = ? WHERE "post_tags"."id" = ? [["created_at", "2015-09-28 08:56:11.079874"], ["updated_at", "2015-09-28 08:56:11.079874"], ["position", 1], ["id", 1]]
2504
+  (2.9ms) commit transaction
2505
+  (0.0ms) begin transaction
2506
+ SQL (0.1ms) UPDATE "post_tags" SET "created_at" = ?, "updated_at" = ?, "position" = ? WHERE "post_tags"."id" = ? [["created_at", "2015-09-28 08:56:11.081287"], ["updated_at", "2015-09-28 08:56:11.081287"], ["position", 2], ["id", 2]]
2507
+  (2.9ms) commit transaction
2508
+  (0.0ms) begin transaction
2509
+  (0.0ms) commit transaction
2510
+ PostTag Load (0.1ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = 1 AND "post_tags"."tag_id" = 1 LIMIT 1
2511
+  (3.0ms) DELETE FROM "users";
2512
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2513
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2514
+  (2.9ms) DELETE FROM "posts";
2515
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2516
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
2517
+  (3.8ms) DELETE FROM "tags";
2518
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2519
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
2520
+  (3.6ms) DELETE FROM "post_tags";
2521
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2522
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2523
+  (0.1ms) begin transaction
2524
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:56:11.122646"], ["updated_at", "2015-09-28 08:56:11.122646"]]
2525
+  (2.9ms) commit transaction
2526
+  (0.0ms) begin transaction
2527
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:56:11.127088"], ["updated_at", "2015-09-28 08:56:11.127088"]]
2528
+  (2.9ms) commit transaction
2529
+  (0.0ms) begin transaction
2530
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:56:11.130976"], ["updated_at", "2015-09-28 08:56:11.130976"]]
2531
+  (2.9ms) commit transaction
2532
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
2533
+  (0.0ms) begin transaction
2534
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:56:11.135807"], ["id", 1]]
2535
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:56:11.136660"], ["id", 2]]
2536
+  (2.9ms) commit transaction
2537
+  (0.1ms) begin transaction
2538
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:56:11.140601"], ["id", 1]]
2539
+  (3.5ms) commit transaction
2540
+  (0.1ms) begin transaction
2541
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:56:11.145718"], ["id", 2]]
2542
+  (4.3ms) commit transaction
2543
+  (2.1ms) begin transaction
2544
+  (0.1ms) commit transaction
2545
+  (3.0ms) DELETE FROM "users";
2546
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2547
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'users';
2548
+  (3.6ms) DELETE FROM "posts";
2549
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2550
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
2551
+  (3.6ms) DELETE FROM "tags";
2552
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2553
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2554
+  (3.0ms) DELETE FROM "post_tags";
2555
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2556
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2557
+  (2.9ms) DELETE FROM "users";
2558
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2559
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2560
+  (2.5ms) DELETE FROM "posts";
2561
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2562
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2563
+  (2.9ms) DELETE FROM "tags";
2564
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2565
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2566
+  (3.7ms) DELETE FROM "post_tags";
2567
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2568
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2569
+  (3.4ms) DELETE FROM "users";
2570
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2571
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2572
+  (3.3ms) DELETE FROM "posts";
2573
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2574
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2575
+  (3.4ms) DELETE FROM "tags";
2576
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2577
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2578
+  (3.7ms) DELETE FROM "post_tags";
2579
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2580
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2581
+  (3.0ms) DELETE FROM "users";
2582
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2583
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2584
+  (3.0ms) DELETE FROM "posts";
2585
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2586
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2587
+  (3.1ms) DELETE FROM "tags";
2588
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2589
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2590
+  (3.5ms) DELETE FROM "post_tags";
2591
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2592
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2593
+  (2.9ms) DELETE FROM "users";
2594
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2595
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2596
+  (3.4ms) DELETE FROM "posts";
2597
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2598
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2599
+  (3.6ms) DELETE FROM "tags";
2600
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2601
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2602
+  (3.4ms) DELETE FROM "post_tags";
2603
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2604
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2605
+  (0.1ms) begin transaction
2606
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:57:57.487271"], ["updated_at", "2015-09-28 08:57:57.487271"]]
2607
+  (6.1ms) commit transaction
2608
+  (0.1ms) begin transaction
2609
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:57:57.502135"], ["updated_at", "2015-09-28 08:57:57.502135"]]
2610
+  (3.2ms) commit transaction
2611
+  (0.1ms) begin transaction
2612
+ SQL (0.3ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:57:57.507828"], ["updated_at", "2015-09-28 08:57:57.507828"]]
2613
+  (3.5ms) commit transaction
2614
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2615
+  (0.0ms) begin transaction
2616
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:57:57.530978"], ["updated_at", "2015-09-28 08:57:57.530978"]]
2617
+ SQL (0.0ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:57:57.532656"], ["updated_at", "2015-09-28 08:57:57.532656"]]
2618
+  (3.0ms) commit transaction
2619
+ PostTag Load (0.1ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2620
+  (0.0ms) begin transaction
2621
+ SQL (0.2ms) UPDATE "post_tags" SET "created_at" = ?, "updated_at" = ?, "position" = ? WHERE "post_tags"."id" = ? [["created_at", "2015-09-28 08:57:57.530978"], ["updated_at", "2015-09-28 08:57:57.530978"], ["position", 1], ["id", 1]]
2622
+  (2.9ms) commit transaction
2623
+  (0.0ms) begin transaction
2624
+ SQL (0.1ms) UPDATE "post_tags" SET "created_at" = ?, "updated_at" = ?, "position" = ? WHERE "post_tags"."id" = ? [["created_at", "2015-09-28 08:57:57.532656"], ["updated_at", "2015-09-28 08:57:57.532656"], ["position", 2], ["id", 2]]
2625
+  (3.0ms) commit transaction
2626
+  (0.1ms) begin transaction
2627
+  (0.1ms) commit transaction
2628
+ PostTag Load (0.3ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = 1 AND "post_tags"."tag_id" = 1 LIMIT 1
2629
+  (3.4ms) DELETE FROM "users";
2630
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2631
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
2632
+  (3.2ms) DELETE FROM "posts";
2633
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2634
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'posts';
2635
+  (3.5ms) DELETE FROM "tags";
2636
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2637
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'tags';
2638
+  (3.6ms) DELETE FROM "post_tags";
2639
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2640
+  (3.8ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2641
+  (0.1ms) begin transaction
2642
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:57:57.605804"], ["updated_at", "2015-09-28 08:57:57.605804"]]
2643
+  (3.4ms) commit transaction
2644
+  (0.0ms) begin transaction
2645
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:57:57.610633"], ["updated_at", "2015-09-28 08:57:57.610633"]]
2646
+  (2.9ms) commit transaction
2647
+  (0.1ms) begin transaction
2648
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:57:57.615312"], ["updated_at", "2015-09-28 08:57:57.615312"]]
2649
+  (3.0ms) commit transaction
2650
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
2651
+  (0.1ms) begin transaction
2652
+ SQL (0.3ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:57:57.623249"], ["id", 1]]
2653
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:57:57.625105"], ["id", 2]]
2654
+  (3.4ms) commit transaction
2655
+  (0.0ms) begin transaction
2656
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:57:57.630231"], ["id", 1]]
2657
+  (3.4ms) commit transaction
2658
+  (0.0ms) begin transaction
2659
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:57:57.634606"], ["id", 2]]
2660
+  (3.0ms) commit transaction
2661
+  (0.0ms) begin transaction
2662
+  (0.0ms) commit transaction
2663
+  (3.4ms) DELETE FROM "users";
2664
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2665
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
2666
+  (3.6ms) DELETE FROM "posts";
2667
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2668
+  (3.7ms) DELETE FROM sqlite_sequence where name = 'posts';
2669
+  (3.5ms) DELETE FROM "tags";
2670
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2671
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2672
+  (3.4ms) DELETE FROM "post_tags";
2673
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2674
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2675
+  (0.0ms) begin transaction
2676
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:57:57.662471"], ["updated_at", "2015-09-28 08:57:57.662471"]]
2677
+  (2.9ms) commit transaction
2678
+  (0.0ms) begin transaction
2679
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:57:57.666477"], ["updated_at", "2015-09-28 08:57:57.666477"]]
2680
+  (3.3ms) commit transaction
2681
+  (0.0ms) begin transaction
2682
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:57:57.670876"], ["updated_at", "2015-09-28 08:57:57.670876"]]
2683
+  (3.0ms) commit transaction
2684
+  (0.1ms) begin transaction
2685
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:57:57.680594"], ["updated_at", "2015-09-28 08:57:57.680594"]]
2686
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "position", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["position", 1], ["post_id", 1], ["created_at", "2015-09-28 08:57:57.681544"], ["updated_at", "2015-09-28 08:57:57.681544"]]
2687
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 2], ["post_id", 1], ["created_at", "2015-09-28 08:57:57.682392"], ["updated_at", "2015-09-28 08:57:57.682392"]]
2688
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 3], ["post_id", 1], ["created_at", "2015-09-28 08:57:57.683106"], ["updated_at", "2015-09-28 08:57:57.683106"]]
2689
+  (3.0ms) commit transaction
2690
+  (0.0ms) begin transaction
2691
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:57:57.688020"], ["id", 2]]
2692
+  (3.1ms) commit transaction
2693
+  (0.1ms) begin transaction
2694
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:57:57.693254"], ["id", 3]]
2695
+  (3.5ms) commit transaction
2696
+  (0.1ms) begin transaction
2697
+  (0.1ms) commit transaction
2698
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? ORDER BY "tags"."name" ASC [["post_id", 1]]
2699
+  (3.2ms) DELETE FROM "users";
2700
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2701
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2702
+  (2.5ms) DELETE FROM "posts";
2703
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2704
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'posts';
2705
+  (3.6ms) DELETE FROM "tags";
2706
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2707
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
2708
+  (3.6ms) DELETE FROM "post_tags";
2709
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2710
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2711
+  (0.0ms) begin transaction
2712
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:57:57.726046"], ["updated_at", "2015-09-28 08:57:57.726046"]]
2713
+  (3.3ms) commit transaction
2714
+  (0.0ms) begin transaction
2715
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:57:57.730432"], ["updated_at", "2015-09-28 08:57:57.730432"]]
2716
+  (3.3ms) commit transaction
2717
+  (0.0ms) begin transaction
2718
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:57:57.734683"], ["updated_at", "2015-09-28 08:57:57.734683"]]
2719
+  (3.0ms) commit transaction
2720
+  (0.1ms) begin transaction
2721
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:57:57.741455"], ["updated_at", "2015-09-28 08:57:57.741455"]]
2722
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "position", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["position", 1], ["post_id", 1], ["created_at", "2015-09-28 08:57:57.742393"], ["updated_at", "2015-09-28 08:57:57.742393"]]
2723
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 2], ["post_id", 1], ["created_at", "2015-09-28 08:57:57.743221"], ["updated_at", "2015-09-28 08:57:57.743221"]]
2724
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 3], ["post_id", 1], ["created_at", "2015-09-28 08:57:57.743912"], ["updated_at", "2015-09-28 08:57:57.743912"]]
2725
+  (2.9ms) commit transaction
2726
+  (0.0ms) begin transaction
2727
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:57:57.748640"], ["id", 2]]
2728
+  (3.0ms) commit transaction
2729
+  (0.1ms) begin transaction
2730
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:57:57.752860"], ["id", 3]]
2731
+  (3.4ms) commit transaction
2732
+  (0.1ms) begin transaction
2733
+  (0.0ms) commit transaction
2734
+  (3.2ms) DELETE FROM "users";
2735
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2736
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2737
+  (3.5ms) DELETE FROM "posts";
2738
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2739
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
2740
+  (3.4ms) DELETE FROM "tags";
2741
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2742
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
2743
+  (3.1ms) DELETE FROM "post_tags";
2744
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2745
+  (2.6ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2746
+  (0.0ms) begin transaction
2747
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:57:57.784338"], ["updated_at", "2015-09-28 08:57:57.784338"]]
2748
+  (2.9ms) commit transaction
2749
+  (0.0ms) begin transaction
2750
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:57:57.788331"], ["updated_at", "2015-09-28 08:57:57.788331"]]
2751
+  (2.9ms) commit transaction
2752
+  (0.0ms) begin transaction
2753
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:57:57.792272"], ["updated_at", "2015-09-28 08:57:57.792272"]]
2754
+  (3.0ms) commit transaction
2755
+  (0.1ms) begin transaction
2756
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:57:57.797271"], ["updated_at", "2015-09-28 08:57:57.797271"]]
2757
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:57:57.798074"], ["id", 1]]
2758
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:57:57.798932"], ["id", 2]]
2759
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:57:57.799577"], ["id", 3]]
2760
+  (3.0ms) commit transaction
2761
+  (0.0ms) begin transaction
2762
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:57:57.803538"], ["id", 2]]
2763
+  (2.9ms) commit transaction
2764
+  (0.0ms) begin transaction
2765
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:57:57.807370"], ["id", 3]]
2766
+  (3.0ms) commit transaction
2767
+  (0.1ms) begin transaction
2768
+  (0.1ms) commit transaction
2769
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
2770
+  (6.2ms) DELETE FROM "users";
2771
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2772
+  (5.9ms) DELETE FROM sqlite_sequence where name = 'users';
2773
+  (3.6ms) DELETE FROM "posts";
2774
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2775
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'posts';
2776
+  (3.5ms) DELETE FROM "tags";
2777
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2778
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2779
+  (3.4ms) DELETE FROM "post_tags";
2780
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2781
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2782
+  (0.0ms) begin transaction
2783
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:57:57.842402"], ["updated_at", "2015-09-28 08:57:57.842402"]]
2784
+  (2.9ms) commit transaction
2785
+  (0.0ms) begin transaction
2786
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:57:57.846595"], ["updated_at", "2015-09-28 08:57:57.846595"]]
2787
+  (2.9ms) commit transaction
2788
+  (0.0ms) begin transaction
2789
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:57:57.850597"], ["updated_at", "2015-09-28 08:57:57.850597"]]
2790
+  (2.9ms) commit transaction
2791
+  (0.1ms) begin transaction
2792
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:57:57.855151"], ["updated_at", "2015-09-28 08:57:57.855151"]]
2793
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:57:57.855914"], ["id", 1]]
2794
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:57:57.856661"], ["id", 2]]
2795
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:57:57.857273"], ["id", 3]]
2796
+  (3.3ms) commit transaction
2797
+  (0.0ms) begin transaction
2798
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:57:57.861588"], ["id", 2]]
2799
+  (3.4ms) commit transaction
2800
+  (0.0ms) begin transaction
2801
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:57:57.865828"], ["id", 3]]
2802
+  (3.4ms) commit transaction
2803
+  (0.0ms) begin transaction
2804
+  (0.0ms) commit transaction
2805
+  (4.1ms) DELETE FROM "users";
2806
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2807
+  (3.2ms) DELETE FROM sqlite_sequence where name = 'users';
2808
+  (3.5ms) DELETE FROM "posts";
2809
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2810
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
2811
+  (3.6ms) DELETE FROM "tags";
2812
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2813
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2814
+  (3.4ms) DELETE FROM "post_tags";
2815
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2816
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2817
+  (3.4ms) DELETE FROM "users";
2818
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2819
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2820
+  (3.3ms) DELETE FROM "posts";
2821
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2822
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2823
+  (3.6ms) DELETE FROM "tags";
2824
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2825
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2826
+  (3.5ms) DELETE FROM "post_tags";
2827
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2828
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2829
+  (5.5ms) DELETE FROM "users";
2830
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2831
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2832
+  (2.5ms) DELETE FROM "posts";
2833
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2834
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2835
+  (2.9ms) DELETE FROM "tags";
2836
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2837
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2838
+  (3.4ms) DELETE FROM "post_tags";
2839
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2840
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2841
+  (6.4ms) DELETE FROM "users";
2842
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2843
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
2844
+  (4.2ms) DELETE FROM "posts";
2845
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2846
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';
2847
+  (3.8ms) DELETE FROM "tags";
2848
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2849
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';
2850
+  (4.3ms) DELETE FROM "post_tags";
2851
+  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2852
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2853
+  (3.8ms) DELETE FROM "users";
2854
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2855
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
2856
+  (3.6ms) DELETE FROM "posts";
2857
+  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2858
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';
2859
+  (7.5ms) DELETE FROM "tags";
2860
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2861
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';
2862
+  (4.4ms) DELETE FROM "post_tags";
2863
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2864
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2865
+  (0.1ms) begin transaction
2866
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:58:49.334508"], ["updated_at", "2015-09-28 08:58:49.334508"]]
2867
+  (4.9ms) commit transaction
2868
+  (0.1ms) begin transaction
2869
+ SQL (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:58:49.351676"], ["updated_at", "2015-09-28 08:58:49.351676"]]
2870
+  (3.2ms) commit transaction
2871
+  (0.1ms) begin transaction
2872
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:58:49.357213"], ["updated_at", "2015-09-28 08:58:49.357213"]]
2873
+  (3.7ms) commit transaction
2874
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
2875
+  (0.0ms) begin transaction
2876
+ SQL (0.2ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:58:49.369745"], ["id", 1]]
2877
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:58:49.373232"], ["id", 2]]
2878
+  (3.4ms) commit transaction
2879
+  (0.0ms) begin transaction
2880
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 08:58:49.377641"], ["id", 1]]
2881
+  (3.4ms) commit transaction
2882
+  (0.0ms) begin transaction
2883
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:58:49.381933"], ["id", 2]]
2884
+  (3.4ms) commit transaction
2885
+  (0.0ms) begin transaction
2886
+  (0.0ms) commit transaction
2887
+  (2.9ms) DELETE FROM "users";
2888
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2889
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'users';
2890
+  (3.6ms) DELETE FROM "posts";
2891
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2892
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'posts';
2893
+  (2.7ms) DELETE FROM "tags";
2894
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2895
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2896
+  (2.9ms) DELETE FROM "post_tags";
2897
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2898
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2899
+  (0.1ms) begin transaction
2900
+ SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:58:49.407690"], ["updated_at", "2015-09-28 08:58:49.407690"]]
2901
+  (3.0ms) commit transaction
2902
+  (0.1ms) begin transaction
2903
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:58:49.419009"], ["updated_at", "2015-09-28 08:58:49.419009"]]
2904
+  (2.9ms) commit transaction
2905
+  (0.0ms) begin transaction
2906
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:58:49.423416"], ["updated_at", "2015-09-28 08:58:49.423416"]]
2907
+  (2.9ms) commit transaction
2908
+ Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2909
+  (0.1ms) begin transaction
2910
+ SQL (0.3ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 08:58:49.446186"], ["updated_at", "2015-09-28 08:58:49.446186"]]
2911
+ SQL (0.1ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 08:58:49.449079"], ["updated_at", "2015-09-28 08:58:49.449079"]]
2912
+  (3.5ms) commit transaction
2913
+ PostTag Load (0.1ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
2914
+  (0.0ms) begin transaction
2915
+ SQL (0.1ms) UPDATE "post_tags" SET "created_at" = ?, "updated_at" = ?, "position" = ? WHERE "post_tags"."id" = ? [["created_at", "2015-09-28 08:58:49.446186"], ["updated_at", "2015-09-28 08:58:49.446186"], ["position", 1], ["id", 1]]
2916
+  (2.9ms) commit transaction
2917
+  (0.0ms) begin transaction
2918
+ SQL (0.1ms) UPDATE "post_tags" SET "created_at" = ?, "updated_at" = ?, "position" = ? WHERE "post_tags"."id" = ? [["created_at", "2015-09-28 08:58:49.449079"], ["updated_at", "2015-09-28 08:58:49.449079"], ["position", 2], ["id", 2]]
2919
+  (2.9ms) commit transaction
2920
+  (0.0ms) begin transaction
2921
+  (0.0ms) commit transaction
2922
+ PostTag Load (0.1ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = 1 AND "post_tags"."tag_id" = 1 LIMIT 1
2923
+  (3.4ms) DELETE FROM "users";
2924
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2925
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2926
+  (2.9ms) DELETE FROM "posts";
2927
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2928
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'posts';
2929
+  (3.0ms) DELETE FROM "tags";
2930
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2931
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
2932
+  (3.6ms) DELETE FROM "post_tags";
2933
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2934
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2935
+  (3.4ms) DELETE FROM "users";
2936
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2937
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2938
+  (3.4ms) DELETE FROM "posts";
2939
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2940
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2941
+  (2.9ms) DELETE FROM "tags";
2942
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2943
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2944
+  (2.5ms) DELETE FROM "post_tags";
2945
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2946
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2947
+  (3.0ms) DELETE FROM "users";
2948
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2949
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2950
+  (3.0ms) DELETE FROM "posts";
2951
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2952
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2953
+  (3.5ms) DELETE FROM "tags";
2954
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2955
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2956
+  (3.5ms) DELETE FROM "post_tags";
2957
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2958
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2959
+  (3.1ms) DELETE FROM "users";
2960
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2961
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2962
+  (3.5ms) DELETE FROM "posts";
2963
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2964
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'posts';
2965
+  (3.0ms) DELETE FROM "tags";
2966
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2967
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2968
+  (3.6ms) DELETE FROM "post_tags";
2969
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2970
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2971
+  (2.9ms) DELETE FROM "users";
2972
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2973
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
2974
+  (3.3ms) DELETE FROM "posts";
2975
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2976
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
2977
+  (3.4ms) DELETE FROM "tags";
2978
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2979
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
2980
+  (3.4ms) DELETE FROM "post_tags";
2981
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2982
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
2983
+  (0.1ms) begin transaction
2984
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:58:49.551064"], ["updated_at", "2015-09-28 08:58:49.551064"]]
2985
+  (3.0ms) commit transaction
2986
+  (0.1ms) begin transaction
2987
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:58:49.556496"], ["updated_at", "2015-09-28 08:58:49.556496"]]
2988
+  (3.6ms) commit transaction
2989
+  (0.1ms) begin transaction
2990
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:58:49.562289"], ["updated_at", "2015-09-28 08:58:49.562289"]]
2991
+  (2.9ms) commit transaction
2992
+  (0.0ms) begin transaction
2993
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:58:49.567683"], ["updated_at", "2015-09-28 08:58:49.567683"]]
2994
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:58:49.568496"], ["id", 1]]
2995
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:58:49.569373"], ["id", 2]]
2996
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:58:49.570005"], ["id", 3]]
2997
+  (3.4ms) commit transaction
2998
+  (0.0ms) begin transaction
2999
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:58:49.574381"], ["id", 2]]
3000
+  (3.3ms) commit transaction
3001
+  (0.0ms) begin transaction
3002
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:58:49.578608"], ["id", 3]]
3003
+  (3.0ms) commit transaction
3004
+  (0.1ms) begin transaction
3005
+  (0.0ms) commit transaction
3006
+  (3.2ms) DELETE FROM "users";
3007
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3008
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'users';
3009
+  (3.6ms) DELETE FROM "posts";
3010
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3011
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
3012
+  (3.6ms) DELETE FROM "tags";
3013
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3014
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
3015
+  (3.3ms) DELETE FROM "post_tags";
3016
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3017
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3018
+  (0.0ms) begin transaction
3019
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 08:58:49.606031"], ["updated_at", "2015-09-28 08:58:49.606031"]]
3020
+  (3.4ms) commit transaction
3021
+  (0.1ms) begin transaction
3022
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 08:58:49.610798"], ["updated_at", "2015-09-28 08:58:49.610798"]]
3023
+  (3.1ms) commit transaction
3024
+  (0.1ms) begin transaction
3025
+ SQL (0.3ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 08:58:49.615609"], ["updated_at", "2015-09-28 08:58:49.615609"]]
3026
+  (3.1ms) commit transaction
3027
+  (0.1ms) begin transaction
3028
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:58:49.621637"], ["updated_at", "2015-09-28 08:58:49.621637"]]
3029
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 08:58:49.623211"], ["id", 1]]
3030
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:58:49.625554"], ["id", 2]]
3031
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 08:58:49.626425"], ["id", 3]]
3032
+  (3.0ms) commit transaction
3033
+  (0.0ms) begin transaction
3034
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:58:49.630476"], ["id", 2]]
3035
+  (3.3ms) commit transaction
3036
+  (0.0ms) begin transaction
3037
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:58:49.634733"], ["id", 3]]
3038
+  (2.9ms) commit transaction
3039
+  (0.0ms) begin transaction
3040
+  (0.0ms) commit transaction
3041
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
3042
+  (3.0ms) DELETE FROM "users";
3043
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3044
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'users';
3045
+  (3.6ms) DELETE FROM "posts";
3046
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3047
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
3048
+  (3.7ms) DELETE FROM "tags";
3049
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3050
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
3051
+  (3.5ms) DELETE FROM "post_tags";
3052
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3053
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3054
+  (0.1ms) begin transaction
3055
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:58:49.663006"], ["updated_at", "2015-09-28 08:58:49.663006"]]
3056
+  (3.0ms) commit transaction
3057
+  (0.1ms) begin transaction
3058
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:58:49.667479"], ["updated_at", "2015-09-28 08:58:49.667479"]]
3059
+  (3.0ms) commit transaction
3060
+  (0.0ms) begin transaction
3061
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:58:49.671595"], ["updated_at", "2015-09-28 08:58:49.671595"]]
3062
+  (2.9ms) commit transaction
3063
+  (0.1ms) begin transaction
3064
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:58:49.678886"], ["updated_at", "2015-09-28 08:58:49.678886"]]
3065
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "position", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["position", 1], ["post_id", 1], ["created_at", "2015-09-28 08:58:49.679835"], ["updated_at", "2015-09-28 08:58:49.679835"]]
3066
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 2], ["post_id", 1], ["created_at", "2015-09-28 08:58:49.680699"], ["updated_at", "2015-09-28 08:58:49.680699"]]
3067
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 3], ["post_id", 1], ["created_at", "2015-09-28 08:58:49.681423"], ["updated_at", "2015-09-28 08:58:49.681423"]]
3068
+  (3.5ms) commit transaction
3069
+  (0.0ms) begin transaction
3070
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:58:49.686819"], ["id", 2]]
3071
+  (3.0ms) commit transaction
3072
+  (0.1ms) begin transaction
3073
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:58:49.691486"], ["id", 3]]
3074
+  (3.1ms) commit transaction
3075
+  (0.1ms) begin transaction
3076
+  (0.1ms) commit transaction
3077
+  (3.7ms) DELETE FROM "users";
3078
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3079
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
3080
+  (3.5ms) DELETE FROM "posts";
3081
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3082
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
3083
+  (3.1ms) DELETE FROM "tags";
3084
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3085
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'tags';
3086
+  (3.2ms) DELETE FROM "post_tags";
3087
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3088
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3089
+  (0.1ms) begin transaction
3090
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 08:58:49.723458"], ["updated_at", "2015-09-28 08:58:49.723458"]]
3091
+  (2.9ms) commit transaction
3092
+  (0.1ms) begin transaction
3093
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 08:58:49.727930"], ["updated_at", "2015-09-28 08:58:49.727930"]]
3094
+  (3.0ms) commit transaction
3095
+  (0.0ms) begin transaction
3096
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 08:58:49.732210"], ["updated_at", "2015-09-28 08:58:49.732210"]]
3097
+  (2.9ms) commit transaction
3098
+  (0.1ms) begin transaction
3099
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 08:58:49.738768"], ["updated_at", "2015-09-28 08:58:49.738768"]]
3100
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "position", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["position", 1], ["post_id", 1], ["created_at", "2015-09-28 08:58:49.739679"], ["updated_at", "2015-09-28 08:58:49.739679"]]
3101
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 2], ["post_id", 1], ["created_at", "2015-09-28 08:58:49.740490"], ["updated_at", "2015-09-28 08:58:49.740490"]]
3102
+ SQL (0.5ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 3], ["post_id", 1], ["created_at", "2015-09-28 08:58:49.741170"], ["updated_at", "2015-09-28 08:58:49.741170"]]
3103
+  (7.1ms) commit transaction
3104
+  (0.1ms) begin transaction
3105
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 2], ["updated_at", "2015-09-28 08:58:49.796400"], ["id", 2]]
3106
+  (2.9ms) commit transaction
3107
+  (0.0ms) begin transaction
3108
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 3], ["updated_at", "2015-09-28 08:58:49.800539"], ["id", 3]]
3109
+  (2.5ms) commit transaction
3110
+  (0.0ms) begin transaction
3111
+  (0.0ms) commit transaction
3112
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? ORDER BY "tags"."name" ASC [["post_id", 1]]
3113
+  (2.9ms) DELETE FROM "users";
3114
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3115
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
3116
+  (2.5ms) DELETE FROM "posts";
3117
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3118
+  (2.9ms) DELETE FROM sqlite_sequence where name = 'posts';
3119
+  (3.6ms) DELETE FROM "tags";
3120
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3121
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
3122
+  (3.6ms) DELETE FROM "post_tags";
3123
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3124
+  (3.0ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3125
+  (0.1ms) begin transaction
3126
+ SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 09:41:04.226972"], ["updated_at", "2015-09-28 09:41:04.226972"]]
3127
+  (5.4ms) commit transaction
3128
+  (0.1ms) begin transaction
3129
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 09:41:04.242161"], ["updated_at", "2015-09-28 09:41:04.242161"]]
3130
+  (3.1ms) commit transaction
3131
+  (0.1ms) begin transaction
3132
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 09:41:04.247271"], ["updated_at", "2015-09-28 09:41:04.247271"]]
3133
+  (3.1ms) commit transaction
3134
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
3135
+  (0.0ms) begin transaction
3136
+ SQL (0.2ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 1], ["created_at", "2015-09-28 09:41:04.269240"], ["updated_at", "2015-09-28 09:41:04.269240"]]
3137
+ SQL (0.0ms) INSERT INTO "post_tags" ("post_id", "tag_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["post_id", 1], ["tag_id", 2], ["created_at", "2015-09-28 09:41:04.270989"], ["updated_at", "2015-09-28 09:41:04.270989"]]
3138
+  (3.0ms) commit transaction
3139
+ PostTag Load (0.1ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = ? [["post_id", 1]]
3140
+  (0.0ms) begin transaction
3141
+ SQL (0.2ms) UPDATE "post_tags" SET "created_at" = ?, "updated_at" = ?, "position" = ? WHERE "post_tags"."id" = ? [["created_at", "2015-09-28 09:41:04.269240"], ["updated_at", "2015-09-28 09:41:04.269240"], ["position", 1], ["id", 1]]
3142
+  (2.9ms) commit transaction
3143
+  (0.0ms) begin transaction
3144
+ SQL (0.1ms) UPDATE "post_tags" SET "created_at" = ?, "updated_at" = ?, "position" = ? WHERE "post_tags"."id" = ? [["created_at", "2015-09-28 09:41:04.270989"], ["updated_at", "2015-09-28 09:41:04.270989"], ["position", 2], ["id", 2]]
3145
+  (2.9ms) commit transaction
3146
+  (0.0ms) begin transaction
3147
+  (0.0ms) commit transaction
3148
+ PostTag Load (0.1ms) SELECT "post_tags".* FROM "post_tags" WHERE "post_tags"."post_id" = 1 AND "post_tags"."tag_id" = 1 LIMIT 1
3149
+  (3.4ms) DELETE FROM "users";
3150
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3151
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
3152
+  (3.4ms) DELETE FROM "posts";
3153
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3154
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
3155
+  (3.1ms) DELETE FROM "tags";
3156
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3157
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'tags';
3158
+  (3.1ms) DELETE FROM "post_tags";
3159
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3160
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3161
+  (0.1ms) begin transaction
3162
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 09:41:04.323217"], ["updated_at", "2015-09-28 09:41:04.323217"]]
3163
+  (3.0ms) commit transaction
3164
+  (0.1ms) begin transaction
3165
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 09:41:04.328106"], ["updated_at", "2015-09-28 09:41:04.328106"]]
3166
+  (2.9ms) commit transaction
3167
+  (0.0ms) begin transaction
3168
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 09:41:04.332798"], ["updated_at", "2015-09-28 09:41:04.332798"]]
3169
+  (2.9ms) commit transaction
3170
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? [["user_id", 1]]
3171
+  (0.0ms) begin transaction
3172
+ SQL (0.2ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 09:41:04.338689"], ["id", 1]]
3173
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 09:41:04.339681"], ["id", 2]]
3174
+  (3.0ms) commit transaction
3175
+  (0.1ms) begin transaction
3176
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["updated_at", "2015-09-28 09:41:04.343874"], ["id", 1]]
3177
+  (3.2ms) commit transaction
3178
+  (0.1ms) begin transaction
3179
+ SQL (0.3ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 09:41:04.348844"], ["id", 2]]
3180
+  (3.5ms) commit transaction
3181
+  (0.0ms) begin transaction
3182
+  (0.0ms) commit transaction
3183
+  (3.4ms) DELETE FROM "users";
3184
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3185
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'users';
3186
+  (3.6ms) DELETE FROM "posts";
3187
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3188
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'posts';
3189
+  (3.6ms) DELETE FROM "tags";
3190
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3191
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
3192
+  (3.7ms) DELETE FROM "post_tags";
3193
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3194
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3195
+  (0.1ms) begin transaction
3196
+ SQL (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 09:41:04.380785"], ["updated_at", "2015-09-28 09:41:04.380785"]]
3197
+  (3.7ms) commit transaction
3198
+  (0.1ms) begin transaction
3199
+ SQL (0.3ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 09:41:04.386808"], ["updated_at", "2015-09-28 09:41:04.386808"]]
3200
+  (3.2ms) commit transaction
3201
+  (0.1ms) begin transaction
3202
+ SQL (0.3ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 09:41:04.392940"], ["updated_at", "2015-09-28 09:41:04.392940"]]
3203
+  (3.5ms) commit transaction
3204
+  (0.1ms) begin transaction
3205
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 09:41:04.402060"], ["updated_at", "2015-09-28 09:41:04.402060"]]
3206
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "position", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["position", 1], ["post_id", 1], ["created_at", "2015-09-28 09:41:04.403041"], ["updated_at", "2015-09-28 09:41:04.403041"]]
3207
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 2], ["post_id", 1], ["created_at", "2015-09-28 09:41:04.403942"], ["updated_at", "2015-09-28 09:41:04.403942"]]
3208
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 3], ["post_id", 1], ["created_at", "2015-09-28 09:41:04.404685"], ["updated_at", "2015-09-28 09:41:04.404685"]]
3209
+  (3.5ms) commit transaction
3210
+  (0.1ms) begin transaction
3211
+ SQL (0.3ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 2], ["updated_at", "2015-09-28 09:41:04.410423"], ["id", 2]]
3212
+  (3.2ms) commit transaction
3213
+  (0.1ms) begin transaction
3214
+ SQL (0.2ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 3], ["updated_at", "2015-09-28 09:41:04.415713"], ["id", 3]]
3215
+  (3.1ms) commit transaction
3216
+  (0.1ms) begin transaction
3217
+  (0.1ms) commit transaction
3218
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? ORDER BY "tags"."name" ASC [["post_id", 1]]
3219
+  (3.4ms) DELETE FROM "users";
3220
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3221
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
3222
+  (3.5ms) DELETE FROM "posts";
3223
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3224
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
3225
+  (3.0ms) DELETE FROM "tags";
3226
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3227
+  (2.5ms) DELETE FROM sqlite_sequence where name = 'tags';
3228
+  (3.6ms) DELETE FROM "post_tags";
3229
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3230
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3231
+  (0.1ms) begin transaction
3232
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag2"], ["created_at", "2015-09-28 09:41:04.447799"], ["updated_at", "2015-09-28 09:41:04.447799"]]
3233
+  (3.0ms) commit transaction
3234
+  (0.0ms) begin transaction
3235
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag1"], ["created_at", "2015-09-28 09:41:04.452211"], ["updated_at", "2015-09-28 09:41:04.452211"]]
3236
+  (2.9ms) commit transaction
3237
+  (0.0ms) begin transaction
3238
+ SQL (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tag3"], ["created_at", "2015-09-28 09:41:04.456310"], ["updated_at", "2015-09-28 09:41:04.456310"]]
3239
+  (2.9ms) commit transaction
3240
+  (0.1ms) begin transaction
3241
+ SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 09:41:04.463042"], ["updated_at", "2015-09-28 09:41:04.463042"]]
3242
+ SQL (0.1ms) INSERT INTO "post_tags" ("tag_id", "position", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["tag_id", 1], ["position", 1], ["post_id", 1], ["created_at", "2015-09-28 09:41:04.464032"], ["updated_at", "2015-09-28 09:41:04.464032"]]
3243
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 2], ["post_id", 1], ["created_at", "2015-09-28 09:41:04.464877"], ["updated_at", "2015-09-28 09:41:04.464877"]]
3244
+ SQL (0.0ms) INSERT INTO "post_tags" ("tag_id", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["tag_id", 3], ["post_id", 1], ["created_at", "2015-09-28 09:41:04.465587"], ["updated_at", "2015-09-28 09:41:04.465587"]]
3245
+  (3.4ms) commit transaction
3246
+  (0.0ms) begin transaction
3247
+ SQL (0.1ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 2], ["updated_at", "2015-09-28 09:41:04.470824"], ["id", 2]]
3248
+  (3.0ms) commit transaction
3249
+  (0.2ms) begin transaction
3250
+ SQL (0.3ms) UPDATE "post_tags" SET "position" = ?, "updated_at" = ? WHERE "post_tags"."id" = ? [["position", 3], ["updated_at", "2015-09-28 09:41:04.475614"], ["id", 3]]
3251
+  (3.2ms) commit transaction
3252
+  (0.1ms) begin transaction
3253
+  (0.1ms) commit transaction
3254
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "post_tags" ON "tags"."id" = "post_tags"."tag_id" WHERE "post_tags"."post_id" = ? ORDER BY post_tags.position ASC [["post_id", 1]]
3255
+  (3.9ms) DELETE FROM "users";
3256
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3257
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
3258
+  (3.0ms) DELETE FROM "posts";
3259
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3260
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'posts';
3261
+  (3.5ms) DELETE FROM "tags";
3262
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3263
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'tags';
3264
+  (3.7ms) DELETE FROM "post_tags";
3265
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3266
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3267
+  (0.1ms) begin transaction
3268
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 09:41:04.511072"], ["updated_at", "2015-09-28 09:41:04.511072"]]
3269
+  (3.1ms) commit transaction
3270
+  (0.1ms) begin transaction
3271
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 09:41:04.516419"], ["updated_at", "2015-09-28 09:41:04.516419"]]
3272
+  (3.6ms) commit transaction
3273
+  (0.1ms) begin transaction
3274
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 09:41:04.522125"], ["updated_at", "2015-09-28 09:41:04.522125"]]
3275
+  (3.1ms) commit transaction
3276
+  (0.1ms) begin transaction
3277
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 09:41:04.528330"], ["updated_at", "2015-09-28 09:41:04.528330"]]
3278
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 09:41:04.529816"], ["id", 1]]
3279
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 09:41:04.531772"], ["id", 2]]
3280
+ SQL (0.1ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 09:41:04.533089"], ["id", 3]]
3281
+  (3.6ms) commit transaction
3282
+  (0.1ms) begin transaction
3283
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 09:41:04.538917"], ["id", 2]]
3284
+  (3.1ms) commit transaction
3285
+  (0.1ms) begin transaction
3286
+ SQL (0.2ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 09:41:04.543914"], ["id", 3]]
3287
+  (3.1ms) commit transaction
3288
+  (0.1ms) begin transaction
3289
+  (0.1ms) commit transaction
3290
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY "posts"."title" ASC [["user_id", 1]]
3291
+  (3.0ms) DELETE FROM "users";
3292
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3293
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'users';
3294
+  (3.6ms) DELETE FROM "posts";
3295
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3296
+  (3.6ms) DELETE FROM sqlite_sequence where name = 'posts';
3297
+  (3.9ms) DELETE FROM "tags";
3298
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3299
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';
3300
+  (3.7ms) DELETE FROM "post_tags";
3301
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3302
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3303
+  (0.0ms) begin transaction
3304
+ SQL (0.1ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post2"], ["created_at", "2015-09-28 09:41:04.575499"], ["updated_at", "2015-09-28 09:41:04.575499"]]
3305
+  (3.0ms) commit transaction
3306
+  (0.1ms) begin transaction
3307
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post1"], ["created_at", "2015-09-28 09:41:04.579791"], ["updated_at", "2015-09-28 09:41:04.579791"]]
3308
+  (3.1ms) commit transaction
3309
+  (0.1ms) begin transaction
3310
+ SQL (0.2ms) INSERT INTO "posts" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Post3"], ["created_at", "2015-09-28 09:41:04.584473"], ["updated_at", "2015-09-28 09:41:04.584473"]]
3311
+  (3.8ms) commit transaction
3312
+  (0.1ms) begin transaction
3313
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-28 09:41:04.590463"], ["updated_at", "2015-09-28 09:41:04.590463"]]
3314
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 1], ["user_id", 1], ["updated_at", "2015-09-28 09:41:04.591277"], ["id", 1]]
3315
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 09:41:04.592054"], ["id", 2]]
3316
+ SQL (0.0ms) UPDATE "posts" SET "user_id" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["user_id", 1], ["updated_at", "2015-09-28 09:41:04.592689"], ["id", 3]]
3317
+  (2.9ms) commit transaction
3318
+  (0.0ms) begin transaction
3319
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 2], ["updated_at", "2015-09-28 09:41:04.596657"], ["id", 2]]
3320
+  (2.9ms) commit transaction
3321
+  (0.1ms) begin transaction
3322
+ SQL (0.1ms) UPDATE "posts" SET "position" = ?, "updated_at" = ? WHERE "posts"."id" = ? [["position", 3], ["updated_at", "2015-09-28 09:41:04.600714"], ["id", 3]]
3323
+  (3.5ms) commit transaction
3324
+  (0.1ms) begin transaction
3325
+  (0.1ms) commit transaction
3326
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."user_id" = ? ORDER BY posts.position ASC [["user_id", 1]]
3327
+  (3.6ms) DELETE FROM "users";
3328
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3329
+  (3.1ms) DELETE FROM sqlite_sequence where name = 'users';
3330
+  (3.2ms) DELETE FROM "posts";
3331
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3332
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'posts';
3333
+  (3.6ms) DELETE FROM "tags";
3334
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3335
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
3336
+  (3.5ms) DELETE FROM "post_tags";
3337
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3338
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3339
+  (3.4ms) DELETE FROM "users";
3340
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3341
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
3342
+  (3.6ms) DELETE FROM "posts";
3343
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3344
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
3345
+  (3.5ms) DELETE FROM "tags";
3346
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3347
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
3348
+  (5.7ms) DELETE FROM "post_tags";
3349
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3350
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3351
+  (2.9ms) DELETE FROM "users";
3352
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3353
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
3354
+  (3.4ms) DELETE FROM "posts";
3355
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3356
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
3357
+  (3.3ms) DELETE FROM "tags";
3358
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3359
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
3360
+  (3.4ms) DELETE FROM "post_tags";
3361
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3362
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3363
+  (3.4ms) DELETE FROM "users";
3364
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3365
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
3366
+  (3.4ms) DELETE FROM "posts";
3367
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3368
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
3369
+  (2.9ms) DELETE FROM "tags";
3370
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3371
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
3372
+  (2.5ms) DELETE FROM "post_tags";
3373
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3374
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';
3375
+  (3.2ms) DELETE FROM "users";
3376
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3377
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';
3378
+  (3.5ms) DELETE FROM "posts";
3379
+  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3380
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'posts';
3381
+  (3.9ms) DELETE FROM "tags";
3382
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3383
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'tags';
3384
+  (3.2ms) DELETE FROM "post_tags";
3385
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3386
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'post_tags';