fun_with_json_api 0.0.6 → 0.0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d56e5731be1bae5d7e2622bdc08c0250a8583154
4
- data.tar.gz: 48576d64004adb3ba56b2c73b2d483fcd6a3ad9a
3
+ metadata.gz: fb39837a0aeb2489e1331e67db778cb59923dee8
4
+ data.tar.gz: 4a5a473379c5ee99c58f81f96c2b901232c5f69a
5
5
  SHA512:
6
- metadata.gz: 54376c7cc786fcf0f69044ba3f7ab1e6b3d1a9214efc062918ba9ad84806660fa92b8a8d7ceabccdaf149dadd8228008babb1f2f86a8ba1836e905a6aa159cc5
7
- data.tar.gz: e297061ab7793c8abea7ad5dbd008d50594826edbcb1c3578d2c545e8d2d85ddf162445f71fc2a07ba53d21b43e63e89507e1044dd0ac3d7f0bfcdf648fed508
6
+ metadata.gz: 3be3805372041ab048be16edff2cba9f521a998f5ac660e622ed7ec20157ca1e0b60a76d6d8b3e639578aaf65f15d1f7d5b7e2907c7460c5105e0c7acbf2a4e1
7
+ data.tar.gz: 4d619a5061f60c09533707f89ed9b301b1332d4ba1191760735af9e863bb40f69f50a7015a03cb679d4ce2983f3837fea9f8f02e2df52844c221e58b69a85541
@@ -120,7 +120,7 @@ module FunWithJsonApi
120
120
  next if collection_ids.include?(resource_id)
121
121
 
122
122
  ExceptionPayload.new.tap do |payload|
123
- payload.pointer = "/data/relationships/#{name}/#{index}/data/id"
123
+ payload.pointer = "/data/relationships/#{name}/data/#{index}/id"
124
124
  payload.detail = "Unable to find '#{deserializer.type}' with matching id"\
125
125
  ": \"#{resource_id}\""
126
126
  end
@@ -92,7 +92,7 @@ module FunWithJsonApi
92
92
  def build_invalid_collection_item_payload(relationship, index)
93
93
  ExceptionPayload.new(
94
94
  detail: invalid_relationship_type_in_array_message(relationship),
95
- pointer: "/data/relationships/#{relationship.name}/#{index}/data/type"
95
+ pointer: "/data/relationships/#{relationship.name}/data/#{index}/type"
96
96
  )
97
97
  end
98
98
 
@@ -1,3 +1,3 @@
1
1
  module FunWithJsonApi
2
- VERSION = '0.0.6'.freeze
2
+ VERSION = '0.0.6.1'.freeze
3
3
  end
@@ -245007,3 +245007,1476 @@ Unable to determine type for anonymous Deserializer
245007
245007
   (0.1ms) begin transaction
245008
245008
  Unable to determine type for anonymous Deserializer
245009
245009
   (0.1ms) rollback transaction
245010
+  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
245011
+  (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
245012
+  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer) 
245013
+  (0.1ms) begin transaction
245014
+  (0.1ms) rollback transaction
245015
+  (0.1ms) begin transaction
245016
+  (0.1ms) rollback transaction
245017
+  (0.1ms) begin transaction
245018
+  (0.0ms) rollback transaction
245019
+  (0.0ms) begin transaction
245020
+  (0.0ms) rollback transaction
245021
+  (0.0ms) begin transaction
245022
+  (0.0ms) rollback transaction
245023
+  (0.1ms) begin transaction
245024
+  (0.0ms) rollback transaction
245025
+  (0.0ms) begin transaction
245026
+  (0.1ms) rollback transaction
245027
+  (0.0ms) begin transaction
245028
+  (0.0ms) rollback transaction
245029
+  (0.0ms) begin transaction
245030
+  (0.0ms) rollback transaction
245031
+  (0.1ms) begin transaction
245032
+  (0.1ms) rollback transaction
245033
+  (0.1ms) begin transaction
245034
+  (0.0ms) rollback transaction
245035
+  (0.1ms) begin transaction
245036
+  (0.0ms) rollback transaction
245037
+  (0.0ms) begin transaction
245038
+  (0.0ms) rollback transaction
245039
+  (0.1ms) begin transaction
245040
+  (0.0ms) rollback transaction
245041
+  (0.1ms) begin transaction
245042
+  (0.0ms) rollback transaction
245043
+  (0.3ms) begin transaction
245044
+  (0.1ms) rollback transaction
245045
+  (0.1ms) begin transaction
245046
+  (0.0ms) rollback transaction
245047
+  (0.0ms) begin transaction
245048
+  (0.0ms) rollback transaction
245049
+  (0.0ms) begin transaction
245050
+  (0.0ms) rollback transaction
245051
+  (0.1ms) begin transaction
245052
+  (0.1ms) SAVEPOINT active_record_1
245053
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:27:32.519943"], ["updated_at", "2016-03-30 06:27:32.519943"]]
245054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245055
+ Unable to determine type for anonymous Deserializer
245056
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
245057
+  (0.1ms) rollback transaction
245058
+  (0.1ms) begin transaction
245059
+ Unable to determine type for anonymous Deserializer
245060
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
245061
+  (0.0ms) rollback transaction
245062
+  (0.1ms) begin transaction
245063
+ Unable to determine type for anonymous Deserializer
245064
+  (0.1ms) rollback transaction
245065
+  (0.0ms) begin transaction
245066
+ Unable to determine type for anonymous Deserializer
245067
+  (0.1ms) rollback transaction
245068
+  (0.1ms) begin transaction
245069
+ Unable to determine type for anonymous Deserializer
245070
+  (0.1ms) rollback transaction
245071
+  (0.1ms) begin transaction
245072
+ Unable to determine type for anonymous Deserializer
245073
+  (0.1ms) rollback transaction
245074
+  (0.1ms) begin transaction
245075
+ Unable to determine type for anonymous Deserializer
245076
+  (0.0ms) rollback transaction
245077
+  (0.1ms) begin transaction
245078
+ Unable to determine type for anonymous Deserializer
245079
+  (0.0ms) rollback transaction
245080
+  (0.0ms) begin transaction
245081
+ Unable to determine type for anonymous Deserializer
245082
+  (0.1ms) rollback transaction
245083
+  (0.1ms) begin transaction
245084
+  (0.0ms) SAVEPOINT active_record_1
245085
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:27:32.549246"], ["updated_at", "2016-03-30 06:27:32.549246"]]
245086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245087
+ Unable to determine type for anonymous Deserializer
245088
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245089
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245090
+  (0.1ms) rollback transaction
245091
+  (0.1ms) begin transaction
245092
+ Unable to determine type for anonymous Deserializer
245093
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245094
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245095
+  (0.1ms) rollback transaction
245096
+  (0.1ms) begin transaction
245097
+  (0.0ms) SAVEPOINT active_record_1
245098
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:27:32.570513"], ["updated_at", "2016-03-30 06:27:32.570513"]]
245099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245100
+  (0.0ms) SAVEPOINT active_record_1
245101
+ SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-03-30 06:27:32.571834"], ["updated_at", "2016-03-30 06:27:32.571834"]]
245102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245103
+ Unable to determine type for anonymous Deserializer
245104
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245105
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245106
+ ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245107
+  (0.1ms) rollback transaction
245108
+  (0.1ms) begin transaction
245109
+  (0.0ms) SAVEPOINT active_record_1
245110
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:27:32.579978"], ["updated_at", "2016-03-30 06:27:32.579978"]]
245111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245112
+  (0.0ms) SAVEPOINT active_record_1
245113
+ SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-03-30 06:27:32.581297"], ["updated_at", "2016-03-30 06:27:32.581297"]]
245114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245115
+ Unable to determine type for anonymous Deserializer
245116
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245117
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245118
+  (0.1ms) rollback transaction
245119
+  (0.1ms) begin transaction
245120
+  (0.0ms) rollback transaction
245121
+  (0.1ms) begin transaction
245122
+  (0.0ms) rollback transaction
245123
+  (0.1ms) begin transaction
245124
+ Unable to determine type for anonymous Deserializer
245125
+  (0.1ms) rollback transaction
245126
+  (0.0ms) begin transaction
245127
+ Unable to determine type for anonymous Deserializer
245128
+  (0.0ms) rollback transaction
245129
+  (0.1ms) begin transaction
245130
+ Unable to determine type for anonymous Deserializer
245131
+  (0.1ms) rollback transaction
245132
+  (0.1ms) begin transaction
245133
+ Unable to determine type for anonymous Deserializer
245134
+  (0.0ms) rollback transaction
245135
+  (0.1ms) begin transaction
245136
+ Unable to determine type for anonymous Deserializer
245137
+  (0.1ms) rollback transaction
245138
+  (0.0ms) begin transaction
245139
+ Unable to determine type for anonymous Deserializer
245140
+  (0.1ms) rollback transaction
245141
+  (0.1ms) begin transaction
245142
+ Unable to determine type for anonymous Deserializer
245143
+  (0.1ms) rollback transaction
245144
+  (0.1ms) begin transaction
245145
+ Unable to determine type for anonymous Deserializer
245146
+  (0.1ms) rollback transaction
245147
+  (0.3ms) begin transaction
245148
+ Unable to determine type for anonymous Deserializer
245149
+  (0.1ms) rollback transaction
245150
+  (0.1ms) begin transaction
245151
+ Unable to determine type for anonymous Deserializer
245152
+  (0.1ms) rollback transaction
245153
+  (0.1ms) begin transaction
245154
+ Unable to determine type for anonymous Deserializer
245155
+  (0.0ms) rollback transaction
245156
+  (0.1ms) begin transaction
245157
+ Unable to determine type for anonymous Deserializer
245158
+  (0.1ms) rollback transaction
245159
+  (0.1ms) begin transaction
245160
+ Unable to determine type for anonymous Deserializer
245161
+  (0.0ms) rollback transaction
245162
+  (0.0ms) begin transaction
245163
+ Unable to determine type for anonymous Deserializer
245164
+  (0.1ms) rollback transaction
245165
+  (0.1ms) begin transaction
245166
+ Unable to determine type for anonymous Deserializer
245167
+  (0.0ms) rollback transaction
245168
+  (0.0ms) begin transaction
245169
+ Unable to determine type for anonymous Deserializer
245170
+  (0.1ms) rollback transaction
245171
+  (0.1ms) begin transaction
245172
+ Unable to determine type for anonymous Deserializer
245173
+  (0.0ms) rollback transaction
245174
+  (0.1ms) begin transaction
245175
+ Unable to determine type for anonymous Deserializer
245176
+  (0.1ms) rollback transaction
245177
+  (0.1ms) begin transaction
245178
+ Unable to determine type for anonymous Deserializer
245179
+  (0.1ms) rollback transaction
245180
+  (0.0ms) begin transaction
245181
+ Unable to determine type for anonymous Deserializer
245182
+  (0.1ms) rollback transaction
245183
+  (0.1ms) begin transaction
245184
+ Unable to determine type for anonymous Deserializer
245185
+  (0.0ms) rollback transaction
245186
+  (0.0ms) begin transaction
245187
+ Unable to determine type for anonymous Deserializer
245188
+  (0.1ms) rollback transaction
245189
+  (0.1ms) begin transaction
245190
+ Unable to determine type for anonymous Deserializer
245191
+  (0.1ms) rollback transaction
245192
+  (0.1ms) begin transaction
245193
+ Unable to determine type for anonymous Deserializer
245194
+  (0.0ms) rollback transaction
245195
+  (0.1ms) begin transaction
245196
+ Unable to determine type for anonymous Deserializer
245197
+  (0.1ms) rollback transaction
245198
+  (0.1ms) begin transaction
245199
+ Unable to determine type for anonymous Deserializer
245200
+  (0.1ms) rollback transaction
245201
+  (0.1ms) begin transaction
245202
+ Unable to determine type for anonymous Deserializer
245203
+  (0.1ms) rollback transaction
245204
+  (0.0ms) begin transaction
245205
+ Unable to determine type for anonymous Deserializer
245206
+  (0.0ms) rollback transaction
245207
+  (0.1ms) begin transaction
245208
+ Unable to determine type for anonymous Deserializer
245209
+  (0.1ms) rollback transaction
245210
+  (0.1ms) begin transaction
245211
+ Unable to determine type for anonymous Deserializer
245212
+  (0.0ms) rollback transaction
245213
+  (0.1ms) begin transaction
245214
+ Unable to determine type for anonymous Deserializer
245215
+  (0.1ms) rollback transaction
245216
+  (0.1ms) begin transaction
245217
+ Unable to determine type for anonymous Deserializer
245218
+  (0.1ms) rollback transaction
245219
+  (0.1ms) begin transaction
245220
+ Unable to determine type for anonymous Deserializer
245221
+  (0.1ms) rollback transaction
245222
+  (0.1ms) begin transaction
245223
+ Unable to determine type for anonymous Deserializer
245224
+  (0.1ms) rollback transaction
245225
+  (0.1ms) begin transaction
245226
+ Unable to determine type for anonymous Deserializer
245227
+  (0.1ms) rollback transaction
245228
+  (0.1ms) begin transaction
245229
+ Unable to determine type for anonymous Deserializer
245230
+  (0.1ms) rollback transaction
245231
+  (0.1ms) begin transaction
245232
+ Unable to determine type for anonymous Deserializer
245233
+  (0.1ms) rollback transaction
245234
+  (0.1ms) begin transaction
245235
+ Unable to determine type for anonymous Deserializer
245236
+  (0.0ms) rollback transaction
245237
+  (0.1ms) begin transaction
245238
+ Unable to determine type for anonymous Deserializer
245239
+  (0.1ms) rollback transaction
245240
+  (0.1ms) begin transaction
245241
+ Unable to determine type for anonymous Deserializer
245242
+  (0.0ms) rollback transaction
245243
+  (0.1ms) begin transaction
245244
+ Unable to determine type for anonymous Deserializer
245245
+  (0.1ms) rollback transaction
245246
+  (0.1ms) begin transaction
245247
+ Unable to determine type for anonymous Deserializer
245248
+  (0.1ms) rollback transaction
245249
+  (0.1ms) begin transaction
245250
+ Unable to determine type for anonymous Deserializer
245251
+  (0.0ms) rollback transaction
245252
+  (0.1ms) begin transaction
245253
+ Unable to determine type for anonymous Deserializer
245254
+  (0.1ms) rollback transaction
245255
+  (0.0ms) begin transaction
245256
+  (0.1ms) rollback transaction
245257
+  (0.1ms) begin transaction
245258
+  (0.0ms) rollback transaction
245259
+  (0.1ms) begin transaction
245260
+  (0.0ms) rollback transaction
245261
+  (0.1ms) begin transaction
245262
+  (0.0ms) rollback transaction
245263
+  (0.1ms) begin transaction
245264
+  (0.0ms) rollback transaction
245265
+  (0.1ms) begin transaction
245266
+  (0.0ms) rollback transaction
245267
+  (0.1ms) begin transaction
245268
+  (0.1ms) rollback transaction
245269
+  (0.1ms) begin transaction
245270
+  (0.0ms) rollback transaction
245271
+  (0.1ms) begin transaction
245272
+  (0.0ms) rollback transaction
245273
+  (0.0ms) begin transaction
245274
+  (0.1ms) rollback transaction
245275
+  (0.1ms) begin transaction
245276
+ Unable to determine type for anonymous Deserializer
245277
+ Unable to determine type for anonymous Deserializer
245278
+  (0.1ms) rollback transaction
245279
+  (0.1ms) begin transaction
245280
+  (0.0ms) rollback transaction
245281
+  (0.1ms) begin transaction
245282
+ Unable to determine type for anonymous Deserializer
245283
+ Unable to determine type for anonymous Deserializer
245284
+  (0.1ms) rollback transaction
245285
+  (0.1ms) begin transaction
245286
+  (0.0ms) rollback transaction
245287
+  (0.1ms) begin transaction
245288
+  (0.0ms) SAVEPOINT active_record_1
245289
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:27:32.734683"], ["updated_at", "2016-03-30 06:27:32.734683"]]
245290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245291
+  (0.0ms) SAVEPOINT active_record_1
245292
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:27:32.736378"], ["updated_at", "2016-03-30 06:27:32.736378"]]
245293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245294
+  (0.0ms) SAVEPOINT active_record_1
245295
+ SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]
245296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245297
+  (0.0ms) SAVEPOINT active_record_1
245298
+ SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]
245299
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245300
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
245301
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
245302
+  (0.1ms) rollback transaction
245303
+  (0.1ms) begin transaction
245304
+  (0.1ms) SAVEPOINT active_record_1
245305
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:27:32.745262"], ["updated_at", "2016-03-30 06:27:32.745262"]]
245306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245307
+  (0.0ms) SAVEPOINT active_record_1
245308
+ SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
245309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245310
+  (0.1ms) SAVEPOINT active_record_1
245311
+ SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
245312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245313
+  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
245314
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
245315
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
245316
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
245317
+  (0.1ms) rollback transaction
245318
+  (0.1ms) begin transaction
245319
+  (0.0ms) SAVEPOINT active_record_1
245320
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:27:32.753138"], ["updated_at", "2016-03-30 06:27:32.753138"]]
245321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245322
+  (0.0ms) SAVEPOINT active_record_1
245323
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:27:32.754601"], ["updated_at", "2016-03-30 06:27:32.754601"]]
245324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245325
+  (0.0ms) SAVEPOINT active_record_1
245326
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
245327
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245328
+  (0.0ms) SAVEPOINT active_record_1
245329
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
245330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245331
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
245332
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
245333
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
245334
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
245335
+  (0.1ms) rollback transaction
245336
+  (0.1ms) begin transaction
245337
+  (0.1ms) SAVEPOINT active_record_1
245338
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:27:32.761238"], ["updated_at", "2016-03-30 06:27:32.761238"]]
245339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245340
+  (0.0ms) SAVEPOINT active_record_1
245341
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:27:32.762646"], ["updated_at", "2016-03-30 06:27:32.762646"]]
245342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245343
+  (0.0ms) SAVEPOINT active_record_1
245344
+ SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-03-30 06:27:32.763789"], ["updated_at", "2016-03-30 06:27:32.763789"]]
245345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245346
+  (0.0ms) SAVEPOINT active_record_1
245347
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
245348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245349
+  (0.0ms) SAVEPOINT active_record_1
245350
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
245351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245352
+  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
245353
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
245354
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
245355
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]
245356
+  (0.1ms) rollback transaction
245357
+  (0.1ms) begin transaction
245358
+  (0.0ms) SAVEPOINT active_record_1
245359
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:27:32.772082"], ["updated_at", "2016-03-30 06:27:32.772082"]]
245360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245361
+  (0.0ms) SAVEPOINT active_record_1
245362
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:27:32.773556"], ["updated_at", "2016-03-30 06:27:32.773556"]]
245363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245364
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
245365
+  (0.1ms) rollback transaction
245366
+  (0.1ms) begin transaction
245367
+  (0.0ms) SAVEPOINT active_record_1
245368
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-03-30 06:27:32.777376"], ["updated_at", "2016-03-30 06:27:32.777376"]]
245369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245370
+  (0.0ms) SAVEPOINT active_record_1
245371
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:27:32.778829"], ["updated_at", "2016-03-30 06:27:32.778829"]]
245372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245373
+  (0.0ms) SAVEPOINT active_record_1
245374
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-03-30 06:27:32.780122"], ["updated_at", "2016-03-30 06:27:32.780122"]]
245375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245376
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
245377
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
245378
+  (0.1ms) rollback transaction
245379
+  (0.1ms) begin transaction
245380
+  (0.0ms) rollback transaction
245381
+  (0.0ms) begin transaction
245382
+  (0.0ms) SAVEPOINT active_record_1
245383
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-03-30 06:27:32.784552"], ["updated_at", "2016-03-30 06:27:32.784552"]]
245384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245385
+  (0.0ms) SAVEPOINT active_record_1
245386
+ SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-03-30 06:27:32.785836"], ["updated_at", "2016-03-30 06:27:32.785836"]]
245387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245388
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."id" IN (42, 43)
245389
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" IN (42, 43)
245390
+  (0.0ms) rollback transaction
245391
+  (0.0ms) begin transaction
245392
+  (0.0ms) SAVEPOINT active_record_1
245393
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-03-30 06:27:32.789150"], ["updated_at", "2016-03-30 06:27:32.789150"]]
245394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245395
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]
245396
+  (0.0ms) rollback transaction
245397
+  (0.1ms) begin transaction
245398
+  (0.1ms) SAVEPOINT active_record_1
245399
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-03-30 06:27:32.791915"], ["updated_at", "2016-03-30 06:27:32.791915"]]
245400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245401
+  (0.0ms) SAVEPOINT active_record_1
245402
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:27:32.793645"], ["updated_at", "2016-03-30 06:27:32.793645"]]
245403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245404
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]
245405
+  (0.1ms) rollback transaction
245406
+  (0.1ms) begin transaction
245407
+  (0.0ms) rollback transaction
245408
+  (0.1ms) begin transaction
245409
+  (0.1ms) rollback transaction
245410
+  (0.1ms) begin transaction
245411
+  (0.0ms) rollback transaction
245412
+  (0.1ms) begin transaction
245413
+  (0.0ms) rollback transaction
245414
+  (0.1ms) begin transaction
245415
+  (0.1ms) rollback transaction
245416
+  (0.1ms) begin transaction
245417
+  (0.1ms) rollback transaction
245418
+  (0.0ms) begin transaction
245419
+  (0.1ms) rollback transaction
245420
+  (0.0ms) begin transaction
245421
+  (0.0ms) rollback transaction
245422
+  (0.0ms) begin transaction
245423
+ Processing by AnonymousController#index as HTML
245424
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.32ms)
245425
+ Completed 422 Unprocessable Entity in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
245426
+  (0.1ms) rollback transaction
245427
+  (0.1ms) begin transaction
245428
+ Processing by AnonymousController#index as HTML
245429
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms)
245430
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
245431
+  (0.1ms) rollback transaction
245432
+  (0.1ms) begin transaction
245433
+ Processing by AnonymousController#index as HTML
245434
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms)
245435
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
245436
+  (0.1ms) rollback transaction
245437
+  (0.1ms) begin transaction
245438
+ Processing by AnonymousController#index as HTML
245439
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms)
245440
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
245441
+  (0.1ms) rollback transaction
245442
+  (0.1ms) begin transaction
245443
+ Processing by AnonymousController#index as HTML
245444
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (8.76ms)
245445
+ Completed 403 Forbidden in 9ms (Views: 9.2ms | ActiveRecord: 0.0ms)
245446
+  (0.1ms) rollback transaction
245447
+  (0.1ms) begin transaction
245448
+ Processing by AnonymousController#index as HTML
245449
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.46ms)
245450
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
245451
+  (0.1ms) rollback transaction
245452
+  (0.1ms) begin transaction
245453
+  (0.0ms) rollback transaction
245454
+  (0.1ms) begin transaction
245455
+  (0.1ms) rollback transaction
245456
+  (0.1ms) begin transaction
245457
+  (0.1ms) rollback transaction
245458
+  (0.1ms) begin transaction
245459
+  (0.0ms) rollback transaction
245460
+  (0.0ms) begin transaction
245461
+  (0.1ms) rollback transaction
245462
+  (0.1ms) begin transaction
245463
+  (0.1ms) rollback transaction
245464
+  (0.0ms) begin transaction
245465
+  (0.0ms) rollback transaction
245466
+  (0.0ms) begin transaction
245467
+  (0.0ms) rollback transaction
245468
+  (0.0ms) begin transaction
245469
+  (0.0ms) rollback transaction
245470
+  (0.1ms) begin transaction
245471
+  (0.0ms) rollback transaction
245472
+  (0.1ms) begin transaction
245473
+  (0.0ms) rollback transaction
245474
+  (0.0ms) begin transaction
245475
+ Processing by AnonymousController#index as HTML
245476
+ [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]
245477
+ [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.28ms)
245478
+ Completed 200 OK in 17ms (Views: 16.6ms | ActiveRecord: 0.1ms)
245479
+  (0.1ms) rollback transaction
245480
+  (0.1ms) begin transaction
245481
+ Processing by AnonymousController#index as HTML
245482
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms)
245483
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
245484
+  (0.1ms) rollback transaction
245485
+  (0.1ms) begin transaction
245486
+ Processing by AnonymousController#index as JSON_API
245487
+ Rendered text template (0.0ms)
245488
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
245489
+  (0.1ms) rollback transaction
245490
+  (0.1ms) begin transaction
245491
+ Processing by AnonymousController#index as JSON_API
245492
+ Rendered text template (0.0ms)
245493
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
245494
+  (0.1ms) rollback transaction
245495
+  (0.0ms) begin transaction
245496
+ Processing by AnonymousController#index as HTML
245497
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
245498
+ Rendered text template (0.0ms)
245499
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
245500
+  (0.1ms) rollback transaction
245501
+  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
245502
+  (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
245503
+  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer) 
245504
+  (0.1ms) begin transaction
245505
+  (0.1ms) rollback transaction
245506
+  (0.1ms) begin transaction
245507
+  (0.0ms) rollback transaction
245508
+  (0.0ms) begin transaction
245509
+  (0.0ms) rollback transaction
245510
+  (0.0ms) begin transaction
245511
+  (0.0ms) rollback transaction
245512
+  (0.0ms) begin transaction
245513
+  (0.0ms) rollback transaction
245514
+  (0.1ms) begin transaction
245515
+  (0.0ms) rollback transaction
245516
+  (0.1ms) begin transaction
245517
+  (0.0ms) rollback transaction
245518
+  (0.1ms) begin transaction
245519
+  (0.0ms) rollback transaction
245520
+  (0.0ms) begin transaction
245521
+  (0.0ms) rollback transaction
245522
+  (0.0ms) begin transaction
245523
+  (0.0ms) rollback transaction
245524
+  (0.1ms) begin transaction
245525
+ Unable to determine type for anonymous Deserializer
245526
+  (0.1ms) rollback transaction
245527
+  (0.1ms) begin transaction
245528
+ Unable to determine type for anonymous Deserializer
245529
+  (0.0ms) rollback transaction
245530
+  (0.1ms) begin transaction
245531
+ Unable to determine type for anonymous Deserializer
245532
+  (0.1ms) rollback transaction
245533
+  (0.1ms) begin transaction
245534
+ Unable to determine type for anonymous Deserializer
245535
+  (0.1ms) rollback transaction
245536
+  (0.1ms) begin transaction
245537
+ Unable to determine type for anonymous Deserializer
245538
+  (0.1ms) rollback transaction
245539
+  (0.1ms) begin transaction
245540
+ Unable to determine type for anonymous Deserializer
245541
+  (0.1ms) rollback transaction
245542
+  (0.1ms) begin transaction
245543
+ Unable to determine type for anonymous Deserializer
245544
+  (0.1ms) rollback transaction
245545
+  (0.1ms) begin transaction
245546
+ Unable to determine type for anonymous Deserializer
245547
+  (0.1ms) rollback transaction
245548
+  (0.1ms) begin transaction
245549
+ Unable to determine type for anonymous Deserializer
245550
+  (0.1ms) rollback transaction
245551
+  (0.1ms) begin transaction
245552
+ Unable to determine type for anonymous Deserializer
245553
+  (0.1ms) rollback transaction
245554
+  (0.1ms) begin transaction
245555
+ Unable to determine type for anonymous Deserializer
245556
+  (0.0ms) rollback transaction
245557
+  (0.1ms) begin transaction
245558
+ Unable to determine type for anonymous Deserializer
245559
+  (0.0ms) rollback transaction
245560
+  (0.1ms) begin transaction
245561
+ Unable to determine type for anonymous Deserializer
245562
+  (0.1ms) rollback transaction
245563
+  (0.1ms) begin transaction
245564
+  (0.0ms) rollback transaction
245565
+  (0.0ms) begin transaction
245566
+  (0.0ms) rollback transaction
245567
+  (0.2ms) begin transaction
245568
+  (0.0ms) rollback transaction
245569
+  (0.0ms) begin transaction
245570
+  (0.0ms) rollback transaction
245571
+  (0.1ms) begin transaction
245572
+  (0.0ms) rollback transaction
245573
+  (0.1ms) begin transaction
245574
+  (0.0ms) rollback transaction
245575
+  (0.0ms) begin transaction
245576
+  (0.0ms) rollback transaction
245577
+  (0.0ms) begin transaction
245578
+  (0.1ms) rollback transaction
245579
+  (0.0ms) begin transaction
245580
+ Processing by AnonymousController#index as HTML
245581
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
245582
+ Rendered text template (0.0ms)
245583
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
245584
+  (0.1ms) rollback transaction
245585
+  (0.1ms) begin transaction
245586
+ Processing by AnonymousController#index as JSON_API
245587
+ Rendered text template (0.0ms)
245588
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
245589
+  (0.1ms) rollback transaction
245590
+  (0.1ms) begin transaction
245591
+ Processing by AnonymousController#index as JSON_API
245592
+ Rendered text template (0.0ms)
245593
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
245594
+  (0.1ms) rollback transaction
245595
+  (0.1ms) begin transaction
245596
+ Processing by AnonymousController#index as HTML
245597
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms)
245598
+ Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
245599
+  (0.1ms) rollback transaction
245600
+  (0.1ms) begin transaction
245601
+ Processing by AnonymousController#index as HTML
245602
+ [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]
245603
+ [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (17.45ms)
245604
+ Completed 200 OK in 25ms (Views: 18.1ms | ActiveRecord: 0.6ms)
245605
+  (0.1ms) rollback transaction
245606
+  (0.1ms) begin transaction
245607
+  (0.0ms) rollback transaction
245608
+  (0.1ms) begin transaction
245609
+  (0.0ms) rollback transaction
245610
+  (0.0ms) begin transaction
245611
+  (0.0ms) rollback transaction
245612
+  (0.0ms) begin transaction
245613
+  (0.0ms) rollback transaction
245614
+  (0.1ms) begin transaction
245615
+  (0.0ms) rollback transaction
245616
+  (0.1ms) begin transaction
245617
+  (0.0ms) rollback transaction
245618
+  (0.1ms) begin transaction
245619
+  (0.0ms) rollback transaction
245620
+  (0.1ms) begin transaction
245621
+  (0.0ms) rollback transaction
245622
+  (0.0ms) begin transaction
245623
+  (0.0ms) rollback transaction
245624
+  (0.1ms) begin transaction
245625
+  (0.1ms) rollback transaction
245626
+  (0.1ms) begin transaction
245627
+  (0.0ms) rollback transaction
245628
+  (0.1ms) begin transaction
245629
+ Processing by AnonymousController#index as HTML
245630
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.5ms)
245631
+ Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
245632
+  (0.1ms) rollback transaction
245633
+  (0.1ms) begin transaction
245634
+ Processing by AnonymousController#index as HTML
245635
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms)
245636
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
245637
+  (0.1ms) rollback transaction
245638
+  (0.1ms) begin transaction
245639
+ Processing by AnonymousController#index as HTML
245640
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms)
245641
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
245642
+  (0.1ms) rollback transaction
245643
+  (0.1ms) begin transaction
245644
+ Processing by AnonymousController#index as HTML
245645
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms)
245646
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
245647
+  (0.1ms) rollback transaction
245648
+  (0.1ms) begin transaction
245649
+ Processing by AnonymousController#index as HTML
245650
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms)
245651
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
245652
+  (0.1ms) rollback transaction
245653
+  (0.1ms) begin transaction
245654
+ Processing by AnonymousController#index as HTML
245655
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms)
245656
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
245657
+  (0.1ms) rollback transaction
245658
+  (0.1ms) begin transaction
245659
+  (0.0ms) rollback transaction
245660
+  (0.1ms) begin transaction
245661
+ Unable to determine type for anonymous Deserializer
245662
+ Unable to determine type for anonymous Deserializer
245663
+  (0.1ms) rollback transaction
245664
+  (0.1ms) begin transaction
245665
+  (0.0ms) rollback transaction
245666
+  (0.0ms) begin transaction
245667
+ Unable to determine type for anonymous Deserializer
245668
+ Unable to determine type for anonymous Deserializer
245669
+  (0.1ms) rollback transaction
245670
+  (0.1ms) begin transaction
245671
+  (0.1ms) rollback transaction
245672
+  (0.1ms) begin transaction
245673
+  (0.0ms) rollback transaction
245674
+  (0.1ms) begin transaction
245675
+ Unable to determine type for anonymous Deserializer
245676
+  (0.1ms) rollback transaction
245677
+  (0.1ms) begin transaction
245678
+ Unable to determine type for anonymous Deserializer
245679
+  (0.1ms) rollback transaction
245680
+  (0.0ms) begin transaction
245681
+ Unable to determine type for anonymous Deserializer
245682
+  (0.0ms) rollback transaction
245683
+  (0.1ms) begin transaction
245684
+ Unable to determine type for anonymous Deserializer
245685
+  (0.1ms) rollback transaction
245686
+  (0.1ms) begin transaction
245687
+ Unable to determine type for anonymous Deserializer
245688
+  (0.1ms) rollback transaction
245689
+  (0.1ms) begin transaction
245690
+ Unable to determine type for anonymous Deserializer
245691
+  (0.1ms) rollback transaction
245692
+  (0.1ms) begin transaction
245693
+ Unable to determine type for anonymous Deserializer
245694
+  (0.1ms) rollback transaction
245695
+  (0.1ms) begin transaction
245696
+ Unable to determine type for anonymous Deserializer
245697
+  (0.1ms) rollback transaction
245698
+  (0.1ms) begin transaction
245699
+ Unable to determine type for anonymous Deserializer
245700
+  (0.1ms) rollback transaction
245701
+  (0.1ms) begin transaction
245702
+ Unable to determine type for anonymous Deserializer
245703
+  (0.1ms) rollback transaction
245704
+  (0.1ms) begin transaction
245705
+ Unable to determine type for anonymous Deserializer
245706
+  (0.1ms) rollback transaction
245707
+  (0.1ms) begin transaction
245708
+ Unable to determine type for anonymous Deserializer
245709
+  (0.1ms) rollback transaction
245710
+  (0.1ms) begin transaction
245711
+ Unable to determine type for anonymous Deserializer
245712
+  (0.1ms) rollback transaction
245713
+  (0.1ms) begin transaction
245714
+ Unable to determine type for anonymous Deserializer
245715
+  (0.0ms) rollback transaction
245716
+  (0.0ms) begin transaction
245717
+ Unable to determine type for anonymous Deserializer
245718
+  (0.0ms) rollback transaction
245719
+  (0.0ms) begin transaction
245720
+ Unable to determine type for anonymous Deserializer
245721
+  (0.1ms) rollback transaction
245722
+  (0.1ms) begin transaction
245723
+ Unable to determine type for anonymous Deserializer
245724
+  (0.1ms) rollback transaction
245725
+  (0.1ms) begin transaction
245726
+ Unable to determine type for anonymous Deserializer
245727
+  (0.1ms) rollback transaction
245728
+  (0.1ms) begin transaction
245729
+ Unable to determine type for anonymous Deserializer
245730
+  (0.1ms) rollback transaction
245731
+  (0.1ms) begin transaction
245732
+ Unable to determine type for anonymous Deserializer
245733
+  (0.1ms) rollback transaction
245734
+  (0.1ms) begin transaction
245735
+ Unable to determine type for anonymous Deserializer
245736
+  (0.1ms) rollback transaction
245737
+  (0.1ms) begin transaction
245738
+ Unable to determine type for anonymous Deserializer
245739
+  (0.1ms) rollback transaction
245740
+  (0.1ms) begin transaction
245741
+ Unable to determine type for anonymous Deserializer
245742
+  (0.1ms) rollback transaction
245743
+  (0.1ms) begin transaction
245744
+ Unable to determine type for anonymous Deserializer
245745
+  (0.0ms) rollback transaction
245746
+  (0.1ms) begin transaction
245747
+ Unable to determine type for anonymous Deserializer
245748
+  (0.1ms) rollback transaction
245749
+  (0.1ms) begin transaction
245750
+ Unable to determine type for anonymous Deserializer
245751
+  (0.1ms) rollback transaction
245752
+  (0.1ms) begin transaction
245753
+ Unable to determine type for anonymous Deserializer
245754
+  (0.1ms) rollback transaction
245755
+  (0.1ms) begin transaction
245756
+ Unable to determine type for anonymous Deserializer
245757
+  (0.1ms) rollback transaction
245758
+  (0.1ms) begin transaction
245759
+ Unable to determine type for anonymous Deserializer
245760
+  (0.1ms) rollback transaction
245761
+  (0.1ms) begin transaction
245762
+ Unable to determine type for anonymous Deserializer
245763
+  (0.1ms) rollback transaction
245764
+  (0.1ms) begin transaction
245765
+ Unable to determine type for anonymous Deserializer
245766
+  (0.1ms) rollback transaction
245767
+  (0.1ms) begin transaction
245768
+ Unable to determine type for anonymous Deserializer
245769
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245770
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245771
+  (0.1ms) rollback transaction
245772
+  (0.1ms) begin transaction
245773
+ Unable to determine type for anonymous Deserializer
245774
+  (0.1ms) rollback transaction
245775
+  (0.1ms) begin transaction
245776
+  (0.1ms) SAVEPOINT active_record_1
245777
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:29:00.862675"], ["updated_at", "2016-03-30 06:29:00.862675"]]
245778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245779
+ Unable to determine type for anonymous Deserializer
245780
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245781
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245782
+  (0.1ms) rollback transaction
245783
+  (0.1ms) begin transaction
245784
+  (0.0ms) SAVEPOINT active_record_1
245785
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:29:00.869065"], ["updated_at", "2016-03-30 06:29:00.869065"]]
245786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245787
+  (0.0ms) SAVEPOINT active_record_1
245788
+ SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-03-30 06:29:00.870470"], ["updated_at", "2016-03-30 06:29:00.870470"]]
245789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245790
+ Unable to determine type for anonymous Deserializer
245791
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245792
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245793
+  (0.1ms) rollback transaction
245794
+  (0.1ms) begin transaction
245795
+  (0.1ms) SAVEPOINT active_record_1
245796
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:29:00.877290"], ["updated_at", "2016-03-30 06:29:00.877290"]]
245797
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245798
+  (0.1ms) SAVEPOINT active_record_1
245799
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-03-30 06:29:00.879969"], ["updated_at", "2016-03-30 06:29:00.879969"]]
245800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245801
+ Unable to determine type for anonymous Deserializer
245802
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245803
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245804
+ ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
245805
+  (0.1ms) rollback transaction
245806
+  (0.1ms) begin transaction
245807
+ Unable to determine type for anonymous Deserializer
245808
+  (0.1ms) rollback transaction
245809
+  (0.1ms) begin transaction
245810
+ Unable to determine type for anonymous Deserializer
245811
+  (0.1ms) rollback transaction
245812
+  (0.1ms) begin transaction
245813
+ Unable to determine type for anonymous Deserializer
245814
+  (0.1ms) rollback transaction
245815
+  (0.1ms) begin transaction
245816
+ Unable to determine type for anonymous Deserializer
245817
+  (0.0ms) rollback transaction
245818
+  (0.0ms) begin transaction
245819
+ Unable to determine type for anonymous Deserializer
245820
+  (0.0ms) rollback transaction
245821
+  (0.0ms) begin transaction
245822
+  (0.0ms) SAVEPOINT active_record_1
245823
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:29:00.906285"], ["updated_at", "2016-03-30 06:29:00.906285"]]
245824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245825
+ Unable to determine type for anonymous Deserializer
245826
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
245827
+  (0.1ms) rollback transaction
245828
+  (0.1ms) begin transaction
245829
+ Unable to determine type for anonymous Deserializer
245830
+  (0.1ms) rollback transaction
245831
+  (0.1ms) begin transaction
245832
+ Unable to determine type for anonymous Deserializer
245833
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
245834
+  (0.1ms) rollback transaction
245835
+  (0.1ms) begin transaction
245836
+  (0.1ms) rollback transaction
245837
+  (0.1ms) begin transaction
245838
+  (0.1ms) rollback transaction
245839
+  (0.1ms) begin transaction
245840
+  (0.1ms) rollback transaction
245841
+  (0.1ms) begin transaction
245842
+  (0.1ms) rollback transaction
245843
+  (0.1ms) begin transaction
245844
+  (0.1ms) rollback transaction
245845
+  (0.1ms) begin transaction
245846
+  (0.1ms) rollback transaction
245847
+  (0.1ms) begin transaction
245848
+  (0.1ms) rollback transaction
245849
+  (0.1ms) begin transaction
245850
+  (0.0ms) SAVEPOINT active_record_1
245851
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-03-30 06:29:00.930883"], ["updated_at", "2016-03-30 06:29:00.930883"]]
245852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245853
+  (0.0ms) SAVEPOINT active_record_1
245854
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:29:00.932502"], ["updated_at", "2016-03-30 06:29:00.932502"]]
245855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245856
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]
245857
+  (0.1ms) rollback transaction
245858
+  (0.0ms) begin transaction
245859
+  (0.1ms) SAVEPOINT active_record_1
245860
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-03-30 06:29:00.935492"], ["updated_at", "2016-03-30 06:29:00.935492"]]
245861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245862
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]
245863
+  (0.0ms) rollback transaction
245864
+  (0.0ms) begin transaction
245865
+  (0.0ms) rollback transaction
245866
+  (0.0ms) begin transaction
245867
+  (0.0ms) SAVEPOINT active_record_1
245868
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-03-30 06:29:00.939395"], ["updated_at", "2016-03-30 06:29:00.939395"]]
245869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245870
+  (0.0ms) SAVEPOINT active_record_1
245871
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-03-30 06:29:00.940708"], ["updated_at", "2016-03-30 06:29:00.940708"]]
245872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245873
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."id" IN (42, 43)
245874
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" IN (42, 43)
245875
+  (0.1ms) rollback transaction
245876
+  (0.1ms) begin transaction
245877
+  (0.0ms) SAVEPOINT active_record_1
245878
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-03-30 06:29:00.944137"], ["updated_at", "2016-03-30 06:29:00.944137"]]
245879
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245880
+  (0.0ms) SAVEPOINT active_record_1
245881
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:29:00.945550"], ["updated_at", "2016-03-30 06:29:00.945550"]]
245882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245883
+  (0.0ms) SAVEPOINT active_record_1
245884
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-03-30 06:29:00.947332"], ["updated_at", "2016-03-30 06:29:00.947332"]]
245885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245886
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
245887
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
245888
+  (0.0ms) rollback transaction
245889
+  (0.1ms) begin transaction
245890
+  (0.1ms) SAVEPOINT active_record_1
245891
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:29:00.955633"], ["updated_at", "2016-03-30 06:29:00.955633"]]
245892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245893
+  (0.0ms) SAVEPOINT active_record_1
245894
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:29:00.957497"], ["updated_at", "2016-03-30 06:29:00.957497"]]
245895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245896
+  (0.0ms) SAVEPOINT active_record_1
245897
+ SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
245898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245899
+  (0.0ms) SAVEPOINT active_record_1
245900
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
245901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245902
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
245903
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
245904
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
245905
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
245906
+  (0.1ms) rollback transaction
245907
+  (0.0ms) begin transaction
245908
+  (0.0ms) SAVEPOINT active_record_1
245909
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:29:00.967070"], ["updated_at", "2016-03-30 06:29:00.967070"]]
245910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245911
+  (0.0ms) SAVEPOINT active_record_1
245912
+ SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:29:00.968509"], ["updated_at", "2016-03-30 06:29:00.968509"]]
245913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245914
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
245915
+  (0.0ms) rollback transaction
245916
+  (0.1ms) begin transaction
245917
+  (0.0ms) SAVEPOINT active_record_1
245918
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:29:00.971871"], ["updated_at", "2016-03-30 06:29:00.971871"]]
245919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245920
+  (0.1ms) SAVEPOINT active_record_1
245921
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:29:00.973414"], ["updated_at", "2016-03-30 06:29:00.973414"]]
245922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245923
+  (0.0ms) SAVEPOINT active_record_1
245924
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-03-30 06:29:00.974727"], ["updated_at", "2016-03-30 06:29:00.974727"]]
245925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245926
+  (0.0ms) SAVEPOINT active_record_1
245927
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
245928
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245929
+  (0.0ms) SAVEPOINT active_record_1
245930
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
245931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245932
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
245933
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
245934
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
245935
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]
245936
+  (0.1ms) rollback transaction
245937
+  (0.1ms) begin transaction
245938
+  (0.0ms) SAVEPOINT active_record_1
245939
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:29:00.981814"], ["updated_at", "2016-03-30 06:29:00.981814"]]
245940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245941
+  (0.0ms) SAVEPOINT active_record_1
245942
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
245943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245944
+  (0.0ms) SAVEPOINT active_record_1
245945
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
245946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245947
+  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
245948
+ ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
245949
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
245950
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
245951
+  (0.1ms) rollback transaction
245952
+  (0.1ms) begin transaction
245953
+  (0.0ms) SAVEPOINT active_record_1
245954
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:29:00.989104"], ["updated_at", "2016-03-30 06:29:00.989104"]]
245955
+  (0.2ms) RELEASE SAVEPOINT active_record_1
245956
+  (0.0ms) SAVEPOINT active_record_1
245957
+ SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:29:00.990533"], ["updated_at", "2016-03-30 06:29:00.990533"]]
245958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245959
+  (0.0ms) SAVEPOINT active_record_1
245960
+ SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]
245961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245962
+  (0.0ms) SAVEPOINT active_record_1
245963
+ SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]
245964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245965
+  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
245966
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
245967
+  (0.1ms) rollback transaction
245968
+  (0.1ms) begin transaction
245969
+  (0.0ms) rollback transaction
245970
+  (0.0ms) begin transaction
245971
+  (0.0ms) rollback transaction
245972
+  (0.0ms) begin transaction
245973
+  (0.0ms) rollback transaction
245974
+  (0.0ms) begin transaction
245975
+  (0.0ms) rollback transaction
245976
+  (0.0ms) begin transaction
245977
+  (0.0ms) rollback transaction
245978
+  (0.0ms) begin transaction
245979
+  (0.0ms) rollback transaction
245980
+  (0.0ms) begin transaction
245981
+  (0.0ms) rollback transaction
245982
+  (0.1ms) begin transaction
245983
+  (0.0ms) rollback transaction
245984
+  (0.0ms) begin transaction
245985
+  (0.0ms) rollback transaction
245986
+  (0.0ms) begin transaction
245987
+  (0.0ms) rollback transaction
245988
+  (0.0ms) begin transaction
245989
+  (0.0ms) rollback transaction
245990
+  (0.0ms) begin transaction
245991
+  (0.0ms) rollback transaction
245992
+  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
245993
+  (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
245994
+  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer) 
245995
+  (0.1ms) begin transaction
245996
+ Processing by AnonymousController#index as HTML
245997
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (2.47ms)
245998
+ Completed 422 Unprocessable Entity in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
245999
+  (0.1ms) rollback transaction
246000
+  (0.1ms) begin transaction
246001
+ Processing by AnonymousController#index as HTML
246002
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.49ms)
246003
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
246004
+  (0.1ms) rollback transaction
246005
+  (0.1ms) begin transaction
246006
+ Processing by AnonymousController#index as HTML
246007
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms)
246008
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
246009
+  (0.1ms) rollback transaction
246010
+  (0.0ms) begin transaction
246011
+ Processing by AnonymousController#index as HTML
246012
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms)
246013
+ Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
246014
+  (0.3ms) rollback transaction
246015
+  (0.3ms) begin transaction
246016
+ Processing by AnonymousController#index as HTML
246017
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms)
246018
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
246019
+  (0.1ms) rollback transaction
246020
+  (0.0ms) begin transaction
246021
+ Processing by AnonymousController#index as HTML
246022
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms)
246023
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
246024
+  (0.1ms) rollback transaction
246025
+  (0.1ms) begin transaction
246026
+  (0.1ms) rollback transaction
246027
+  (0.1ms) begin transaction
246028
+  (0.0ms) rollback transaction
246029
+  (0.0ms) begin transaction
246030
+  (0.0ms) rollback transaction
246031
+  (0.0ms) begin transaction
246032
+  (0.0ms) rollback transaction
246033
+  (0.0ms) begin transaction
246034
+  (0.1ms) rollback transaction
246035
+  (0.1ms) begin transaction
246036
+  (0.0ms) rollback transaction
246037
+  (0.1ms) begin transaction
246038
+  (0.0ms) rollback transaction
246039
+  (0.1ms) begin transaction
246040
+  (0.0ms) rollback transaction
246041
+  (0.1ms) begin transaction
246042
+ Unable to determine type for anonymous Deserializer
246043
+ Unable to determine type for anonymous Deserializer
246044
+  (0.1ms) rollback transaction
246045
+  (0.1ms) begin transaction
246046
+ Unable to determine type for anonymous Deserializer
246047
+ Unable to determine type for anonymous Deserializer
246048
+  (0.1ms) rollback transaction
246049
+  (0.1ms) begin transaction
246050
+  (0.0ms) rollback transaction
246051
+  (0.0ms) begin transaction
246052
+  (0.0ms) rollback transaction
246053
+  (0.1ms) begin transaction
246054
+  (0.0ms) rollback transaction
246055
+  (0.0ms) begin transaction
246056
+ Unable to determine type for anonymous Deserializer
246057
+  (0.0ms) rollback transaction
246058
+  (0.0ms) begin transaction
246059
+ Unable to determine type for anonymous Deserializer
246060
+  (0.1ms) rollback transaction
246061
+  (0.1ms) begin transaction
246062
+ Unable to determine type for anonymous Deserializer
246063
+  (0.1ms) rollback transaction
246064
+  (0.1ms) begin transaction
246065
+ Unable to determine type for anonymous Deserializer
246066
+  (0.1ms) rollback transaction
246067
+  (0.1ms) begin transaction
246068
+ Unable to determine type for anonymous Deserializer
246069
+  (0.1ms) rollback transaction
246070
+  (0.0ms) begin transaction
246071
+ Unable to determine type for anonymous Deserializer
246072
+  (0.0ms) rollback transaction
246073
+  (0.1ms) begin transaction
246074
+ Unable to determine type for anonymous Deserializer
246075
+  (0.1ms) rollback transaction
246076
+  (0.1ms) begin transaction
246077
+ Unable to determine type for anonymous Deserializer
246078
+  (0.1ms) rollback transaction
246079
+  (0.1ms) begin transaction
246080
+ Unable to determine type for anonymous Deserializer
246081
+  (0.1ms) rollback transaction
246082
+  (0.1ms) begin transaction
246083
+ Unable to determine type for anonymous Deserializer
246084
+  (0.1ms) rollback transaction
246085
+  (0.0ms) begin transaction
246086
+ Unable to determine type for anonymous Deserializer
246087
+  (0.1ms) rollback transaction
246088
+  (0.1ms) begin transaction
246089
+ Unable to determine type for anonymous Deserializer
246090
+  (0.1ms) rollback transaction
246091
+  (0.1ms) begin transaction
246092
+ Unable to determine type for anonymous Deserializer
246093
+  (0.1ms) rollback transaction
246094
+  (0.0ms) begin transaction
246095
+ Unable to determine type for anonymous Deserializer
246096
+  (0.1ms) rollback transaction
246097
+  (0.1ms) begin transaction
246098
+ Unable to determine type for anonymous Deserializer
246099
+  (0.1ms) rollback transaction
246100
+  (0.0ms) begin transaction
246101
+ Unable to determine type for anonymous Deserializer
246102
+  (0.0ms) rollback transaction
246103
+  (0.0ms) begin transaction
246104
+ Unable to determine type for anonymous Deserializer
246105
+  (0.1ms) rollback transaction
246106
+  (0.1ms) begin transaction
246107
+ Unable to determine type for anonymous Deserializer
246108
+  (0.1ms) rollback transaction
246109
+  (0.1ms) begin transaction
246110
+ Unable to determine type for anonymous Deserializer
246111
+  (0.0ms) rollback transaction
246112
+  (0.0ms) begin transaction
246113
+ Unable to determine type for anonymous Deserializer
246114
+  (0.1ms) rollback transaction
246115
+  (0.1ms) begin transaction
246116
+ Unable to determine type for anonymous Deserializer
246117
+  (0.1ms) rollback transaction
246118
+  (0.1ms) begin transaction
246119
+ Unable to determine type for anonymous Deserializer
246120
+  (0.1ms) rollback transaction
246121
+  (0.1ms) begin transaction
246122
+ Unable to determine type for anonymous Deserializer
246123
+  (0.1ms) rollback transaction
246124
+  (0.1ms) begin transaction
246125
+ Unable to determine type for anonymous Deserializer
246126
+  (0.1ms) rollback transaction
246127
+  (0.1ms) begin transaction
246128
+ Unable to determine type for anonymous Deserializer
246129
+  (0.1ms) rollback transaction
246130
+  (0.1ms) begin transaction
246131
+ Unable to determine type for anonymous Deserializer
246132
+  (0.1ms) rollback transaction
246133
+  (0.1ms) begin transaction
246134
+ Unable to determine type for anonymous Deserializer
246135
+  (0.1ms) rollback transaction
246136
+  (0.0ms) begin transaction
246137
+ Unable to determine type for anonymous Deserializer
246138
+  (0.0ms) rollback transaction
246139
+  (0.1ms) begin transaction
246140
+ Unable to determine type for anonymous Deserializer
246141
+  (0.1ms) rollback transaction
246142
+  (0.1ms) begin transaction
246143
+ Unable to determine type for anonymous Deserializer
246144
+  (0.1ms) rollback transaction
246145
+  (0.1ms) begin transaction
246146
+ Unable to determine type for anonymous Deserializer
246147
+  (0.0ms) rollback transaction
246148
+  (0.1ms) begin transaction
246149
+ Unable to determine type for anonymous Deserializer
246150
+  (0.1ms) rollback transaction
246151
+  (0.1ms) begin transaction
246152
+  (0.1ms) SAVEPOINT active_record_1
246153
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:29:19.305420"], ["updated_at", "2016-03-30 06:29:19.305420"]]
246154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246155
+ Unable to determine type for anonymous Deserializer
246156
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246157
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246158
+  (0.1ms) rollback transaction
246159
+  (0.1ms) begin transaction
246160
+ Unable to determine type for anonymous Deserializer
246161
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246162
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246163
+  (0.0ms) rollback transaction
246164
+  (0.1ms) begin transaction
246165
+  (0.0ms) SAVEPOINT active_record_1
246166
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:29:19.323036"], ["updated_at", "2016-03-30 06:29:19.323036"]]
246167
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246168
+  (0.0ms) SAVEPOINT active_record_1
246169
+ SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-03-30 06:29:19.324398"], ["updated_at", "2016-03-30 06:29:19.324398"]]
246170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246171
+ Unable to determine type for anonymous Deserializer
246172
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246173
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246174
+ ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246175
+  (0.1ms) rollback transaction
246176
+  (0.1ms) begin transaction
246177
+  (0.1ms) SAVEPOINT active_record_1
246178
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:29:19.336268"], ["updated_at", "2016-03-30 06:29:19.336268"]]
246179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246180
+  (0.0ms) SAVEPOINT active_record_1
246181
+ SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-03-30 06:29:19.337591"], ["updated_at", "2016-03-30 06:29:19.337591"]]
246182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246183
+ Unable to determine type for anonymous Deserializer
246184
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246185
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
246186
+  (0.1ms) rollback transaction
246187
+  (0.1ms) begin transaction
246188
+ Unable to determine type for anonymous Deserializer
246189
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
246190
+  (0.1ms) rollback transaction
246191
+  (0.1ms) begin transaction
246192
+ Unable to determine type for anonymous Deserializer
246193
+  (0.1ms) rollback transaction
246194
+  (0.1ms) begin transaction
246195
+  (0.0ms) SAVEPOINT active_record_1
246196
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-03-30 06:29:19.350637"], ["updated_at", "2016-03-30 06:29:19.350637"]]
246197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246198
+ Unable to determine type for anonymous Deserializer
246199
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
246200
+  (0.1ms) rollback transaction
246201
+  (0.1ms) begin transaction
246202
+ Unable to determine type for anonymous Deserializer
246203
+  (0.1ms) rollback transaction
246204
+  (0.1ms) begin transaction
246205
+ Unable to determine type for anonymous Deserializer
246206
+  (0.1ms) rollback transaction
246207
+  (0.1ms) begin transaction
246208
+ Unable to determine type for anonymous Deserializer
246209
+  (0.1ms) rollback transaction
246210
+  (0.1ms) begin transaction
246211
+ Unable to determine type for anonymous Deserializer
246212
+  (0.1ms) rollback transaction
246213
+  (0.1ms) begin transaction
246214
+ Unable to determine type for anonymous Deserializer
246215
+  (0.1ms) rollback transaction
246216
+  (0.1ms) begin transaction
246217
+  (0.1ms) rollback transaction
246218
+  (0.1ms) begin transaction
246219
+  (0.0ms) rollback transaction
246220
+  (0.1ms) begin transaction
246221
+  (0.0ms) rollback transaction
246222
+  (0.1ms) begin transaction
246223
+  (0.0ms) rollback transaction
246224
+  (0.1ms) begin transaction
246225
+  (0.1ms) rollback transaction
246226
+  (0.0ms) begin transaction
246227
+  (0.1ms) rollback transaction
246228
+  (0.0ms) begin transaction
246229
+  (0.0ms) rollback transaction
246230
+  (0.0ms) begin transaction
246231
+  (0.0ms) rollback transaction
246232
+  (0.0ms) begin transaction
246233
+  (0.0ms) rollback transaction
246234
+  (0.1ms) begin transaction
246235
+  (0.0ms) rollback transaction
246236
+  (0.0ms) begin transaction
246237
+  (0.0ms) rollback transaction
246238
+  (0.1ms) begin transaction
246239
+ Processing by AnonymousController#index as HTML
246240
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms)
246241
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
246242
+  (0.1ms) rollback transaction
246243
+  (0.1ms) begin transaction
246244
+ Processing by AnonymousController#index as HTML
246245
+ [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]
246246
+ [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.36ms)
246247
+ Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.3ms)
246248
+  (0.1ms) rollback transaction
246249
+  (0.1ms) begin transaction
246250
+ Processing by AnonymousController#index as HTML
246251
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
246252
+ Rendered text template (0.0ms)
246253
+ Completed 200 OK in 8ms (Views: 8.2ms | ActiveRecord: 0.0ms)
246254
+  (0.1ms) rollback transaction
246255
+  (0.1ms) begin transaction
246256
+ Processing by AnonymousController#index as JSON_API
246257
+ Rendered text template (0.0ms)
246258
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
246259
+  (0.1ms) rollback transaction
246260
+  (0.1ms) begin transaction
246261
+ Processing by AnonymousController#index as JSON_API
246262
+ Rendered text template (0.0ms)
246263
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
246264
+  (0.1ms) rollback transaction
246265
+  (0.1ms) begin transaction
246266
+  (0.0ms) rollback transaction
246267
+  (0.0ms) begin transaction
246268
+  (0.1ms) rollback transaction
246269
+  (0.1ms) begin transaction
246270
+  (0.1ms) rollback transaction
246271
+  (0.0ms) begin transaction
246272
+  (0.0ms) rollback transaction
246273
+  (0.1ms) begin transaction
246274
+  (0.1ms) rollback transaction
246275
+  (0.0ms) begin transaction
246276
+  (0.0ms) rollback transaction
246277
+  (0.0ms) begin transaction
246278
+  (0.1ms) rollback transaction
246279
+  (0.1ms) begin transaction
246280
+  (0.1ms) rollback transaction
246281
+  (0.0ms) begin transaction
246282
+  (0.0ms) rollback transaction
246283
+  (0.0ms) begin transaction
246284
+  (0.0ms) rollback transaction
246285
+  (0.0ms) begin transaction
246286
+  (0.0ms) rollback transaction
246287
+  (0.1ms) begin transaction
246288
+  (0.1ms) rollback transaction
246289
+  (0.1ms) begin transaction
246290
+ Unable to determine type for anonymous Deserializer
246291
+  (0.1ms) rollback transaction
246292
+  (0.1ms) begin transaction
246293
+ Unable to determine type for anonymous Deserializer
246294
+  (0.1ms) rollback transaction
246295
+  (0.1ms) begin transaction
246296
+ Unable to determine type for anonymous Deserializer
246297
+  (0.1ms) rollback transaction
246298
+  (0.1ms) begin transaction
246299
+ Unable to determine type for anonymous Deserializer
246300
+  (0.1ms) rollback transaction
246301
+  (0.1ms) begin transaction
246302
+ Unable to determine type for anonymous Deserializer
246303
+  (0.1ms) rollback transaction
246304
+  (0.1ms) begin transaction
246305
+ Unable to determine type for anonymous Deserializer
246306
+  (0.1ms) rollback transaction
246307
+  (0.1ms) begin transaction
246308
+ Unable to determine type for anonymous Deserializer
246309
+  (0.0ms) rollback transaction
246310
+  (0.1ms) begin transaction
246311
+ Unable to determine type for anonymous Deserializer
246312
+  (0.1ms) rollback transaction
246313
+  (0.0ms) begin transaction
246314
+ Unable to determine type for anonymous Deserializer
246315
+  (0.0ms) rollback transaction
246316
+  (0.0ms) begin transaction
246317
+ Unable to determine type for anonymous Deserializer
246318
+  (0.0ms) rollback transaction
246319
+  (0.0ms) begin transaction
246320
+ Unable to determine type for anonymous Deserializer
246321
+  (0.1ms) rollback transaction
246322
+  (0.1ms) begin transaction
246323
+ Unable to determine type for anonymous Deserializer
246324
+  (0.0ms) rollback transaction
246325
+  (0.1ms) begin transaction
246326
+ Unable to determine type for anonymous Deserializer
246327
+  (0.1ms) rollback transaction
246328
+  (0.1ms) begin transaction
246329
+  (0.1ms) rollback transaction
246330
+  (0.0ms) begin transaction
246331
+  (0.1ms) rollback transaction
246332
+  (0.1ms) begin transaction
246333
+  (0.1ms) rollback transaction
246334
+  (0.1ms) begin transaction
246335
+  (0.1ms) rollback transaction
246336
+  (0.1ms) begin transaction
246337
+  (0.0ms) rollback transaction
246338
+  (0.1ms) begin transaction
246339
+  (0.0ms) rollback transaction
246340
+  (0.0ms) begin transaction
246341
+  (0.0ms) rollback transaction
246342
+  (0.0ms) begin transaction
246343
+  (0.1ms) rollback transaction
246344
+  (0.1ms) begin transaction
246345
+  (0.0ms) rollback transaction
246346
+  (0.0ms) begin transaction
246347
+  (0.1ms) rollback transaction
246348
+  (0.1ms) begin transaction
246349
+  (0.0ms) rollback transaction
246350
+  (0.1ms) begin transaction
246351
+  (0.1ms) rollback transaction
246352
+  (0.1ms) begin transaction
246353
+  (0.0ms) rollback transaction
246354
+  (0.0ms) begin transaction
246355
+  (0.0ms) rollback transaction
246356
+  (0.0ms) begin transaction
246357
+  (0.1ms) rollback transaction
246358
+  (0.1ms) begin transaction
246359
+  (0.1ms) rollback transaction
246360
+  (0.1ms) begin transaction
246361
+  (0.1ms) rollback transaction
246362
+  (0.1ms) begin transaction
246363
+  (0.0ms) SAVEPOINT active_record_1
246364
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-03-30 06:29:19.538989"], ["updated_at", "2016-03-30 06:29:19.538989"]]
246365
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246366
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]
246367
+  (0.1ms) rollback transaction
246368
+  (0.1ms) begin transaction
246369
+  (0.0ms) SAVEPOINT active_record_1
246370
+ SQL (0.3ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-03-30 06:29:19.542812"], ["updated_at", "2016-03-30 06:29:19.542812"]]
246371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246372
+  (0.2ms) SAVEPOINT active_record_1
246373
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:29:19.545299"], ["updated_at", "2016-03-30 06:29:19.545299"]]
246374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246375
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]
246376
+  (0.0ms) rollback transaction
246377
+  (0.1ms) begin transaction
246378
+  (0.0ms) rollback transaction
246379
+  (0.0ms) begin transaction
246380
+  (0.0ms) SAVEPOINT active_record_1
246381
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-03-30 06:29:19.549541"], ["updated_at", "2016-03-30 06:29:19.549541"]]
246382
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246383
+  (0.0ms) SAVEPOINT active_record_1
246384
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:29:19.550954"], ["updated_at", "2016-03-30 06:29:19.550954"]]
246385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246386
+  (0.0ms) SAVEPOINT active_record_1
246387
+ SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-03-30 06:29:19.562659"], ["updated_at", "2016-03-30 06:29:19.562659"]]
246388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246389
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
246390
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
246391
+  (0.1ms) rollback transaction
246392
+  (0.1ms) begin transaction
246393
+  (0.0ms) SAVEPOINT active_record_1
246394
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-03-30 06:29:19.566650"], ["updated_at", "2016-03-30 06:29:19.566650"]]
246395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246396
+  (0.0ms) SAVEPOINT active_record_1
246397
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-03-30 06:29:19.567973"], ["updated_at", "2016-03-30 06:29:19.567973"]]
246398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246399
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."id" IN (42, 43)
246400
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" IN (42, 43)
246401
+  (0.0ms) rollback transaction
246402
+  (0.1ms) begin transaction
246403
+  (0.1ms) SAVEPOINT active_record_1
246404
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:29:19.574824"], ["updated_at", "2016-03-30 06:29:19.574824"]]
246405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246406
+  (0.0ms) SAVEPOINT active_record_1
246407
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-03-30 06:29:19.576515"], ["updated_at", "2016-03-30 06:29:19.576515"]]
246408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246409
+  (0.0ms) SAVEPOINT active_record_1
246410
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-03-30 06:29:19.578228"], ["updated_at", "2016-03-30 06:29:19.578228"]]
246411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246412
+  (0.1ms) SAVEPOINT active_record_1
246413
+ SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
246414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246415
+  (0.0ms) SAVEPOINT active_record_1
246416
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
246417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246418
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
246419
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
246420
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
246421
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]
246422
+  (0.0ms) rollback transaction
246423
+  (0.0ms) begin transaction
246424
+  (0.0ms) SAVEPOINT active_record_1
246425
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:29:19.589197"], ["updated_at", "2016-03-30 06:29:19.589197"]]
246426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246427
+  (0.0ms) SAVEPOINT active_record_1
246428
+ SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:29:19.590615"], ["updated_at", "2016-03-30 06:29:19.590615"]]
246429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246430
+  (0.0ms) SAVEPOINT active_record_1
246431
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
246432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246433
+  (0.0ms) SAVEPOINT active_record_1
246434
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
246435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246436
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
246437
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
246438
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
246439
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
246440
+  (0.1ms) rollback transaction
246441
+  (0.1ms) begin transaction
246442
+  (0.0ms) SAVEPOINT active_record_1
246443
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:29:19.597279"], ["updated_at", "2016-03-30 06:29:19.597279"]]
246444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246445
+  (0.0ms) SAVEPOINT active_record_1
246446
+ SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:29:19.598718"], ["updated_at", "2016-03-30 06:29:19.598718"]]
246447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246448
+  (0.0ms) SAVEPOINT active_record_1
246449
+ SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]
246450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246451
+  (0.0ms) SAVEPOINT active_record_1
246452
+ SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]
246453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246454
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
246455
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
246456
+  (0.1ms) rollback transaction
246457
+  (0.1ms) begin transaction
246458
+  (0.0ms) SAVEPOINT active_record_1
246459
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:29:19.605017"], ["updated_at", "2016-03-30 06:29:19.605017"]]
246460
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246461
+  (0.0ms) SAVEPOINT active_record_1
246462
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
246463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246464
+  (0.0ms) SAVEPOINT active_record_1
246465
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
246466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246467
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
246468
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
246469
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
246470
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
246471
+  (0.0ms) rollback transaction
246472
+  (0.0ms) begin transaction
246473
+  (0.0ms) SAVEPOINT active_record_1
246474
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-03-30 06:29:19.611150"], ["updated_at", "2016-03-30 06:29:19.611150"]]
246475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246476
+  (0.1ms) SAVEPOINT active_record_1
246477
+ SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-03-30 06:29:19.612462"], ["updated_at", "2016-03-30 06:29:19.612462"]]
246478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
246479
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
246480
+  (0.1ms) rollback transaction
246481
+  (0.0ms) begin transaction
246482
+  (0.0ms) rollback transaction