fun_with_json_api 0.0.10.3 → 0.0.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cbd2e7cd7eb77ab42c01c61b7c0f9cc30d73e85
4
- data.tar.gz: 4eb860a2624ff7a914b0551b2bdd4d93d2a075be
3
+ metadata.gz: 54c93718f1cb92ae625dcd73d881f2cecbf44337
4
+ data.tar.gz: 07c36b9edb2e9c2a75f087ec50f3ff400c1afbc0
5
5
  SHA512:
6
- metadata.gz: d9a7000c4f77af589383b619af65b15a92e20955f2d8bec2faab500550fb25674f0b90db60b44401d807a9eaa731105ab8c106a4c2aa2d2fcf87e06d9f5b86af
7
- data.tar.gz: 67cbade73e38c41c46f06918a0f42fdeae60e56452a266324e2fd0e31e8082037bfb7c23ec8fa8c8f8ed4a7b65296f60af48eb7a7178682ce305508f78623ba2
6
+ metadata.gz: 037d0ef8274786cbbd68f8d7dae99bf44fed9b0e2e66e54471bb5439435dccbc9f7f893b6ce217cb08f002824d94fc58c22099d804d909bbe7b0826e64cf73a8
7
+ data.tar.gz: 732c3c878bc211b460fc5d2160e49d10af538d8848eecf70aadff0d15fcdedac1d4bda2cf308a6e645e36656de08885a64c1035c782be70f817701bb6d7c97f0
@@ -17,7 +17,7 @@ module FunWithJsonApi
17
17
  attributes = document['data'].fetch('attributes', {}).keys
18
18
 
19
19
  unknown = attributes.reject { |attribute| resource_attributes.include?(attribute) }
20
- check_attribute_names(attributes) if unknown.any?
20
+ check_attribute_names(unknown) if unknown.any?
21
21
 
22
22
  true
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module FunWithJsonApi
2
- VERSION = '0.0.10.3'.freeze
2
+ VERSION = '0.0.10.4'.freeze
3
3
  end
@@ -351724,3 +351724,1037 @@ Unable to determine type for anonymous Deserializer
351724
351724
   (0.1ms) rollback transaction
351725
351725
   (0.1ms) begin transaction
351726
351726
   (0.1ms) rollback transaction
351727
+  (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) 
351728
+  (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)
351729
+  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer) 
351730
+  (0.1ms) begin transaction
351731
+  (0.2ms) rollback transaction
351732
+  (0.1ms) begin transaction
351733
+  (0.1ms) rollback transaction
351734
+  (0.1ms) begin transaction
351735
+  (0.1ms) rollback transaction
351736
+  (0.1ms) begin transaction
351737
+  (0.2ms) rollback transaction
351738
+  (0.1ms) begin transaction
351739
+  (0.3ms) rollback transaction
351740
+  (0.1ms) begin transaction
351741
+  (0.1ms) rollback transaction
351742
+  (0.2ms) begin transaction
351743
+  (0.1ms) rollback transaction
351744
+  (0.1ms) begin transaction
351745
+ Unable to determine type for anonymous Deserializer
351746
+  (0.2ms) rollback transaction
351747
+  (0.2ms) begin transaction
351748
+ Unable to determine type for anonymous Deserializer
351749
+  (0.1ms) rollback transaction
351750
+  (0.2ms) begin transaction
351751
+ Unable to determine type for anonymous Deserializer
351752
+  (0.1ms) rollback transaction
351753
+  (0.1ms) begin transaction
351754
+ Unable to determine type for anonymous Deserializer
351755
+  (0.1ms) rollback transaction
351756
+  (0.1ms) begin transaction
351757
+ Unable to determine type for anonymous Deserializer
351758
+  (0.1ms) rollback transaction
351759
+  (0.2ms) begin transaction
351760
+ Unable to determine type for anonymous Deserializer
351761
+  (0.1ms) rollback transaction
351762
+  (0.3ms) begin transaction
351763
+ Unable to determine type for anonymous Deserializer
351764
+  (0.3ms) rollback transaction
351765
+  (0.6ms) begin transaction
351766
+ Unable to determine type for anonymous Deserializer
351767
+  (0.1ms) rollback transaction
351768
+  (0.1ms) begin transaction
351769
+ Unable to determine type for anonymous Deserializer
351770
+  (0.1ms) rollback transaction
351771
+  (0.1ms) begin transaction
351772
+ Unable to determine type for anonymous Deserializer
351773
+  (0.1ms) rollback transaction
351774
+  (0.1ms) begin transaction
351775
+ Unable to determine type for anonymous Deserializer
351776
+  (0.1ms) rollback transaction
351777
+  (0.1ms) begin transaction
351778
+ Unable to determine type for anonymous Deserializer
351779
+  (0.2ms) rollback transaction
351780
+  (0.1ms) begin transaction
351781
+ Unable to determine type for anonymous Deserializer
351782
+  (0.2ms) rollback transaction
351783
+  (0.1ms) begin transaction
351784
+ Unable to determine type for anonymous Deserializer
351785
+  (0.1ms) rollback transaction
351786
+  (0.1ms) begin transaction
351787
+ Unable to determine type for anonymous Deserializer
351788
+  (0.1ms) rollback transaction
351789
+  (0.1ms) begin transaction
351790
+ Unable to determine type for anonymous Deserializer
351791
+  (0.1ms) rollback transaction
351792
+  (0.2ms) begin transaction
351793
+ Unable to determine type for anonymous Deserializer
351794
+  (0.1ms) rollback transaction
351795
+  (0.2ms) begin transaction
351796
+ Unable to determine type for anonymous Deserializer
351797
+  (0.2ms) rollback transaction
351798
+  (0.1ms) begin transaction
351799
+ Unable to determine type for anonymous Deserializer
351800
+  (0.2ms) rollback transaction
351801
+  (0.1ms) begin transaction
351802
+  (0.2ms) SAVEPOINT active_record_1
351803
+ SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-19 05:50:34.765035"], ["updated_at", "2016-04-19 05:50:34.765035"]]
351804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351805
+ Unable to determine type for anonymous Deserializer
351806
+  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351807
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351808
+  (0.1ms) rollback transaction
351809
+  (0.1ms) begin transaction
351810
+ Unable to determine type for anonymous Deserializer
351811
+  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351812
+ ARModels::Author Load (0.6ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351813
+  (0.1ms) rollback transaction
351814
+  (0.1ms) begin transaction
351815
+  (0.2ms) SAVEPOINT active_record_1
351816
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-19 05:50:34.794989"], ["updated_at", "2016-04-19 05:50:34.794989"]]
351817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351818
+  (0.0ms) SAVEPOINT active_record_1
351819
+ SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-19 05:50:34.796651"], ["updated_at", "2016-04-19 05:50:34.796651"]]
351820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351821
+ Unable to determine type for anonymous Deserializer
351822
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351823
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351824
+  (0.1ms) rollback transaction
351825
+  (0.1ms) begin transaction
351826
+  (0.1ms) SAVEPOINT active_record_1
351827
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-19 05:50:34.803381"], ["updated_at", "2016-04-19 05:50:34.803381"]]
351828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351829
+  (0.0ms) SAVEPOINT active_record_1
351830
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-19 05:50:34.805142"], ["updated_at", "2016-04-19 05:50:34.805142"]]
351831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351832
+ Unable to determine type for anonymous Deserializer
351833
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351834
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351835
+ ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
351836
+  (0.1ms) rollback transaction
351837
+  (0.0ms) begin transaction
351838
+ Unable to determine type for anonymous Deserializer
351839
+  (0.1ms) rollback transaction
351840
+  (0.1ms) begin transaction
351841
+  (0.0ms) SAVEPOINT active_record_1
351842
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-19 05:50:34.814124"], ["updated_at", "2016-04-19 05:50:34.814124"]]
351843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351844
+ Unable to determine type for anonymous Deserializer
351845
+ ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
351846
+  (0.1ms) rollback transaction
351847
+  (0.1ms) begin transaction
351848
+ Unable to determine type for anonymous Deserializer
351849
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
351850
+  (0.1ms) rollback transaction
351851
+  (0.0ms) begin transaction
351852
+  (0.0ms) rollback transaction
351853
+  (0.1ms) begin transaction
351854
+  (0.0ms) rollback transaction
351855
+  (0.0ms) begin transaction
351856
+ Unable to determine type for anonymous Deserializer
351857
+  (0.0ms) rollback transaction
351858
+  (0.1ms) begin transaction
351859
+ Unable to determine type for anonymous Deserializer
351860
+  (0.1ms) rollback transaction
351861
+  (0.1ms) begin transaction
351862
+ Unable to determine type for anonymous Deserializer
351863
+  (0.1ms) rollback transaction
351864
+  (0.1ms) begin transaction
351865
+ Unable to determine type for anonymous Deserializer
351866
+  (0.1ms) rollback transaction
351867
+  (0.1ms) begin transaction
351868
+ Unable to determine type for anonymous Deserializer
351869
+  (0.1ms) rollback transaction
351870
+  (0.1ms) begin transaction
351871
+ Unable to determine type for anonymous Deserializer
351872
+  (0.1ms) rollback transaction
351873
+  (0.1ms) begin transaction
351874
+ Unable to determine type for anonymous Deserializer
351875
+  (0.1ms) rollback transaction
351876
+  (0.1ms) begin transaction
351877
+ Unable to determine type for anonymous Deserializer
351878
+  (0.1ms) rollback transaction
351879
+  (0.1ms) begin transaction
351880
+ Unable to determine type for anonymous Deserializer
351881
+  (0.1ms) rollback transaction
351882
+  (0.1ms) begin transaction
351883
+ Unable to determine type for anonymous Deserializer
351884
+  (0.1ms) rollback transaction
351885
+  (0.1ms) begin transaction
351886
+ Unable to determine type for anonymous Deserializer
351887
+  (0.1ms) rollback transaction
351888
+  (0.0ms) begin transaction
351889
+ Unable to determine type for anonymous Deserializer
351890
+  (0.1ms) rollback transaction
351891
+  (0.1ms) begin transaction
351892
+ Unable to determine type for anonymous Deserializer
351893
+  (0.0ms) rollback transaction
351894
+  (0.0ms) begin transaction
351895
+ Unable to determine type for anonymous Deserializer
351896
+  (0.1ms) rollback transaction
351897
+  (0.1ms) begin transaction
351898
+ Unable to determine type for anonymous Deserializer
351899
+  (0.1ms) rollback transaction
351900
+  (0.1ms) begin transaction
351901
+ Unable to determine type for anonymous Deserializer
351902
+  (0.2ms) rollback transaction
351903
+  (0.1ms) begin transaction
351904
+ Unable to determine type for anonymous Deserializer
351905
+  (0.1ms) rollback transaction
351906
+  (0.1ms) begin transaction
351907
+ Unable to determine type for anonymous Deserializer
351908
+  (0.1ms) rollback transaction
351909
+  (0.1ms) begin transaction
351910
+ Unable to determine type for anonymous Deserializer
351911
+  (0.1ms) rollback transaction
351912
+  (0.1ms) begin transaction
351913
+ Unable to determine type for anonymous Deserializer
351914
+  (0.1ms) rollback transaction
351915
+  (0.1ms) begin transaction
351916
+ Unable to determine type for anonymous Deserializer
351917
+  (0.0ms) rollback transaction
351918
+  (0.1ms) begin transaction
351919
+ Unable to determine type for anonymous Deserializer
351920
+  (0.0ms) rollback transaction
351921
+  (0.1ms) begin transaction
351922
+ Unable to determine type for anonymous Deserializer
351923
+  (0.1ms) rollback transaction
351924
+  (0.1ms) begin transaction
351925
+ Unable to determine type for anonymous Deserializer
351926
+  (0.1ms) rollback transaction
351927
+  (0.1ms) begin transaction
351928
+ Unable to determine type for anonymous Deserializer
351929
+  (0.1ms) rollback transaction
351930
+  (0.1ms) begin transaction
351931
+ Unable to determine type for anonymous Deserializer
351932
+  (0.1ms) rollback transaction
351933
+  (0.1ms) begin transaction
351934
+ Unable to determine type for anonymous Deserializer
351935
+  (0.1ms) rollback transaction
351936
+  (0.1ms) begin transaction
351937
+ Unable to determine type for anonymous Deserializer
351938
+  (0.1ms) rollback transaction
351939
+  (0.2ms) begin transaction
351940
+ Unable to determine type for anonymous Deserializer
351941
+  (0.1ms) rollback transaction
351942
+  (0.1ms) begin transaction
351943
+ Unable to determine type for anonymous Deserializer
351944
+  (0.1ms) rollback transaction
351945
+  (0.1ms) begin transaction
351946
+ Unable to determine type for anonymous Deserializer
351947
+  (0.1ms) rollback transaction
351948
+  (0.1ms) begin transaction
351949
+  (0.1ms) rollback transaction
351950
+  (0.1ms) begin transaction
351951
+  (0.1ms) rollback transaction
351952
+  (0.0ms) begin transaction
351953
+  (0.1ms) rollback transaction
351954
+  (0.1ms) begin transaction
351955
+  (0.0ms) rollback transaction
351956
+  (0.1ms) begin transaction
351957
+  (0.1ms) rollback transaction
351958
+  (0.1ms) begin transaction
351959
+  (0.0ms) rollback transaction
351960
+  (0.0ms) begin transaction
351961
+  (0.1ms) rollback transaction
351962
+  (0.1ms) begin transaction
351963
+  (0.1ms) rollback transaction
351964
+  (0.1ms) begin transaction
351965
+  (0.0ms) rollback transaction
351966
+  (0.1ms) begin transaction
351967
+  (0.0ms) rollback transaction
351968
+  (0.1ms) begin transaction
351969
+  (0.1ms) rollback transaction
351970
+  (0.1ms) begin transaction
351971
+  (0.1ms) rollback transaction
351972
+  (0.1ms) begin transaction
351973
+  (0.1ms) rollback transaction
351974
+  (0.1ms) begin transaction
351975
+  (0.1ms) SAVEPOINT active_record_1
351976
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-19 05:50:34.941606"], ["updated_at", "2016-04-19 05:50:34.941606"]]
351977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351978
+  (0.0ms) SAVEPOINT active_record_1
351979
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-19 05:50:34.943299"], ["updated_at", "2016-04-19 05:50:34.943299"]]
351980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351981
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."id" IN (42, 43)
351982
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" IN (42, 43)
351983
+  (0.1ms) rollback transaction
351984
+  (0.1ms) begin transaction
351985
+  (0.0ms) SAVEPOINT active_record_1
351986
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-19 05:50:34.947245"], ["updated_at", "2016-04-19 05:50:34.947245"]]
351987
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351988
+  (0.1ms) SAVEPOINT active_record_1
351989
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-19 05:50:34.950026"], ["updated_at", "2016-04-19 05:50:34.950026"]]
351990
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351991
+  (0.0ms) SAVEPOINT active_record_1
351992
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-19 05:50:34.951363"], ["updated_at", "2016-04-19 05:50:34.951363"]]
351993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351994
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
351995
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
351996
+  (0.1ms) rollback transaction
351997
+  (0.1ms) begin transaction
351998
+  (0.1ms) SAVEPOINT active_record_1
351999
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-19 05:50:34.959155"], ["updated_at", "2016-04-19 05:50:34.959155"]]
352000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352001
+  (0.0ms) SAVEPOINT active_record_1
352002
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-19 05:50:34.960700"], ["updated_at", "2016-04-19 05:50:34.960700"]]
352003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352004
+  (0.1ms) SAVEPOINT active_record_1
352005
+ SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]
352006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352007
+  (0.0ms) SAVEPOINT active_record_1
352008
+ SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]
352009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352010
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
352011
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
352012
+  (0.1ms) rollback transaction
352013
+  (0.1ms) begin transaction
352014
+  (0.0ms) SAVEPOINT active_record_1
352015
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-19 05:50:34.971609"], ["updated_at", "2016-04-19 05:50:34.971609"]]
352016
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352017
+  (0.2ms) SAVEPOINT active_record_1
352018
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-19 05:50:34.973784"], ["updated_at", "2016-04-19 05:50:34.973784"]]
352019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352020
+  (0.1ms) SAVEPOINT active_record_1
352021
+ SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
352022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352023
+  (0.1ms) SAVEPOINT active_record_1
352024
+ SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
352025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352026
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
352027
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
352028
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
352029
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
352030
+  (0.1ms) rollback transaction
352031
+  (0.1ms) begin transaction
352032
+  (0.0ms) SAVEPOINT active_record_1
352033
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-19 05:50:34.984964"], ["updated_at", "2016-04-19 05:50:34.984964"]]
352034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352035
+  (0.0ms) SAVEPOINT active_record_1
352036
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-19 05:50:34.986590"], ["updated_at", "2016-04-19 05:50:34.986590"]]
352037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352038
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
352039
+  (0.1ms) rollback transaction
352040
+  (0.1ms) begin transaction
352041
+  (0.0ms) SAVEPOINT active_record_1
352042
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-19 05:50:34.991302"], ["updated_at", "2016-04-19 05:50:34.991302"]]
352043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352044
+  (0.0ms) SAVEPOINT active_record_1
352045
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-19 05:50:34.992941"], ["updated_at", "2016-04-19 05:50:34.992941"]]
352046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352047
+  (0.0ms) SAVEPOINT active_record_1
352048
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-19 05:50:34.994265"], ["updated_at", "2016-04-19 05:50:34.994265"]]
352049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352050
+  (0.1ms) SAVEPOINT active_record_1
352051
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
352052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352053
+  (0.0ms) SAVEPOINT active_record_1
352054
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
352055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352056
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
352057
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
352058
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
352059
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]
352060
+  (0.1ms) rollback transaction
352061
+  (0.1ms) begin transaction
352062
+  (0.0ms) SAVEPOINT active_record_1
352063
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-19 05:50:35.001717"], ["updated_at", "2016-04-19 05:50:35.001717"]]
352064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352065
+  (0.0ms) SAVEPOINT active_record_1
352066
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
352067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352068
+  (0.0ms) SAVEPOINT active_record_1
352069
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
352070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352071
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
352072
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
352073
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
352074
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
352075
+  (0.1ms) rollback transaction
352076
+  (0.1ms) begin transaction
352077
+  (0.0ms) SAVEPOINT active_record_1
352078
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-19 05:50:35.009992"], ["updated_at", "2016-04-19 05:50:35.009992"]]
352079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352080
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]
352081
+  (0.1ms) rollback transaction
352082
+  (0.0ms) begin transaction
352083
+  (0.0ms) SAVEPOINT active_record_1
352084
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-19 05:50:35.012502"], ["updated_at", "2016-04-19 05:50:35.012502"]]
352085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352086
+  (0.0ms) SAVEPOINT active_record_1
352087
+ SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-19 05:50:35.013717"], ["updated_at", "2016-04-19 05:50:35.013717"]]
352088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352089
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]
352090
+  (0.0ms) rollback transaction
352091
+  (0.1ms) begin transaction
352092
+ Processing by AnonymousController#index as HTML
352093
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.18ms)
352094
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
352095
+  (0.1ms) rollback transaction
352096
+  (0.1ms) begin transaction
352097
+ Processing by AnonymousController#index as HTML
352098
+ [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]
352099
+ [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (24.46ms)
352100
+ Completed 200 OK in 25ms (Views: 24.8ms | ActiveRecord: 0.1ms)
352101
+  (0.1ms) rollback transaction
352102
+  (0.1ms) begin transaction
352103
+ Processing by AnonymousController#index as JSON_API
352104
+ Rendered text template (0.0ms)
352105
+ Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
352106
+  (0.1ms) rollback transaction
352107
+  (0.1ms) begin transaction
352108
+ Processing by AnonymousController#index as JSON_API
352109
+ Rendered text template (0.0ms)
352110
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
352111
+  (0.1ms) rollback transaction
352112
+  (0.1ms) begin transaction
352113
+ Processing by AnonymousController#index as HTML
352114
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
352115
+ Rendered text template (0.0ms)
352116
+ Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
352117
+  (0.1ms) rollback transaction
352118
+  (0.1ms) begin transaction
352119
+  (0.0ms) rollback transaction
352120
+  (0.1ms) begin transaction
352121
+  (0.1ms) rollback transaction
352122
+  (0.1ms) begin transaction
352123
+  (0.2ms) rollback transaction
352124
+  (0.1ms) begin transaction
352125
+  (0.1ms) rollback transaction
352126
+  (0.1ms) begin transaction
352127
+  (0.1ms) rollback transaction
352128
+  (0.1ms) begin transaction
352129
+  (0.0ms) rollback transaction
352130
+  (0.1ms) begin transaction
352131
+  (0.0ms) rollback transaction
352132
+  (0.0ms) begin transaction
352133
+  (0.1ms) rollback transaction
352134
+  (0.1ms) begin transaction
352135
+  (0.1ms) rollback transaction
352136
+  (0.1ms) begin transaction
352137
+  (0.0ms) rollback transaction
352138
+  (0.0ms) begin transaction
352139
+  (0.0ms) rollback transaction
352140
+  (0.1ms) begin transaction
352141
+  (0.0ms) rollback transaction
352142
+  (0.2ms) begin transaction
352143
+  (0.0ms) rollback transaction
352144
+  (0.1ms) begin transaction
352145
+  (0.0ms) rollback transaction
352146
+  (0.0ms) begin transaction
352147
+  (0.0ms) rollback transaction
352148
+  (0.1ms) begin transaction
352149
+  (0.0ms) rollback transaction
352150
+  (0.1ms) begin transaction
352151
+  (0.1ms) rollback transaction
352152
+  (0.1ms) begin transaction
352153
+  (0.1ms) rollback transaction
352154
+  (0.1ms) begin transaction
352155
+  (0.1ms) rollback transaction
352156
+  (0.1ms) begin transaction
352157
+  (0.0ms) rollback transaction
352158
+  (0.1ms) begin transaction
352159
+  (0.1ms) rollback transaction
352160
+  (0.1ms) begin transaction
352161
+  (0.1ms) rollback transaction
352162
+  (0.1ms) begin transaction
352163
+  (0.0ms) rollback transaction
352164
+  (0.0ms) begin transaction
352165
+  (0.0ms) rollback transaction
352166
+  (0.1ms) begin transaction
352167
+ Processing by AnonymousController#index as HTML
352168
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.73ms)
352169
+ Completed 403 Forbidden in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
352170
+  (0.1ms) rollback transaction
352171
+  (0.1ms) begin transaction
352172
+ Processing by AnonymousController#index as HTML
352173
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms)
352174
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
352175
+  (0.1ms) rollback transaction
352176
+  (0.1ms) begin transaction
352177
+ Processing by AnonymousController#index as HTML
352178
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms)
352179
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
352180
+  (0.1ms) rollback transaction
352181
+  (0.1ms) begin transaction
352182
+ Processing by AnonymousController#index as HTML
352183
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (10.44ms)
352184
+ Completed 422 Unprocessable Entity in 11ms (Views: 11.0ms | ActiveRecord: 0.0ms)
352185
+  (0.1ms) rollback transaction
352186
+  (0.1ms) begin transaction
352187
+ Processing by AnonymousController#index as HTML
352188
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms)
352189
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
352190
+  (0.1ms) rollback transaction
352191
+  (0.1ms) begin transaction
352192
+ Processing by AnonymousController#index as HTML
352193
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms)
352194
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
352195
+  (0.1ms) rollback transaction
352196
+  (0.0ms) begin transaction
352197
+  (0.0ms) rollback transaction
352198
+  (0.0ms) begin transaction
352199
+  (0.0ms) rollback transaction
352200
+  (0.0ms) begin transaction
352201
+  (0.1ms) rollback transaction
352202
+  (0.0ms) begin transaction
352203
+  (0.0ms) rollback transaction
352204
+  (0.0ms) begin transaction
352205
+  (0.0ms) rollback transaction
352206
+  (0.0ms) begin transaction
352207
+  (0.0ms) rollback transaction
352208
+  (0.0ms) begin transaction
352209
+  (0.1ms) rollback transaction
352210
+  (0.1ms) begin transaction
352211
+  (0.0ms) rollback transaction
352212
+  (0.1ms) begin transaction
352213
+  (0.0ms) rollback transaction
352214
+  (0.0ms) begin transaction
352215
+  (0.0ms) rollback transaction
352216
+  (0.0ms) begin transaction
352217
+  (0.0ms) rollback transaction
352218
+  (0.0ms) begin transaction
352219
+  (0.0ms) rollback transaction
352220
+  (0.0ms) begin transaction
352221
+  (0.1ms) rollback transaction
352222
+  (0.1ms) begin transaction
352223
+  (0.1ms) rollback transaction
352224
+  (0.0ms) begin transaction
352225
+  (0.0ms) rollback transaction
352226
+  (0.1ms) begin transaction
352227
+  (0.0ms) rollback transaction
352228
+  (0.0ms) begin transaction
352229
+  (0.1ms) rollback transaction
352230
+  (0.1ms) begin transaction
352231
+  (0.1ms) rollback transaction
352232
+  (0.1ms) begin transaction
352233
+  (0.1ms) rollback transaction
352234
+  (0.1ms) begin transaction
352235
+ Unable to determine type for anonymous Deserializer
352236
+ Unable to determine type for anonymous Deserializer
352237
+  (0.1ms) rollback transaction
352238
+  (0.1ms) begin transaction
352239
+ Unable to determine type for anonymous Deserializer
352240
+ Unable to determine type for anonymous Deserializer
352241
+  (0.1ms) rollback transaction
352242
+  (0.1ms) begin transaction
352243
+  (0.1ms) rollback transaction
352244
+  (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) 
352245
+  (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)
352246
+  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer) 
352247
+  (0.1ms) begin transaction
352248
+ Unable to determine type for anonymous Deserializer
352249
+ Unable to determine type for anonymous Deserializer
352250
+  (0.1ms) rollback transaction
352251
+  (0.1ms) begin transaction
352252
+  (0.1ms) rollback transaction
352253
+  (0.1ms) begin transaction
352254
+ Unable to determine type for anonymous Deserializer
352255
+ Unable to determine type for anonymous Deserializer
352256
+  (0.1ms) rollback transaction
352257
+  (0.1ms) begin transaction
352258
+  (0.0ms) rollback transaction
352259
+  (0.1ms) begin transaction
352260
+  (0.0ms) rollback transaction
352261
+  (0.0ms) begin transaction
352262
+ Unable to determine type for anonymous Deserializer
352263
+  (0.1ms) rollback transaction
352264
+  (0.1ms) begin transaction
352265
+ Unable to determine type for anonymous Deserializer
352266
+  (0.1ms) rollback transaction
352267
+  (0.1ms) begin transaction
352268
+ Unable to determine type for anonymous Deserializer
352269
+  (0.1ms) rollback transaction
352270
+  (0.1ms) begin transaction
352271
+ Unable to determine type for anonymous Deserializer
352272
+  (0.1ms) rollback transaction
352273
+  (0.1ms) begin transaction
352274
+ Unable to determine type for anonymous Deserializer
352275
+  (0.1ms) rollback transaction
352276
+  (0.0ms) begin transaction
352277
+ Unable to determine type for anonymous Deserializer
352278
+  (0.1ms) rollback transaction
352279
+  (0.1ms) begin transaction
352280
+ Unable to determine type for anonymous Deserializer
352281
+  (0.1ms) rollback transaction
352282
+  (0.1ms) begin transaction
352283
+ Unable to determine type for anonymous Deserializer
352284
+  (0.1ms) rollback transaction
352285
+  (0.1ms) begin transaction
352286
+ Unable to determine type for anonymous Deserializer
352287
+  (0.1ms) rollback transaction
352288
+  (0.1ms) begin transaction
352289
+ Unable to determine type for anonymous Deserializer
352290
+  (0.1ms) rollback transaction
352291
+  (0.1ms) begin transaction
352292
+ Unable to determine type for anonymous Deserializer
352293
+  (0.1ms) rollback transaction
352294
+  (0.0ms) begin transaction
352295
+ Unable to determine type for anonymous Deserializer
352296
+  (0.1ms) rollback transaction
352297
+  (0.1ms) begin transaction
352298
+ Unable to determine type for anonymous Deserializer
352299
+  (0.1ms) rollback transaction
352300
+  (0.0ms) begin transaction
352301
+ Unable to determine type for anonymous Deserializer
352302
+  (0.1ms) rollback transaction
352303
+  (0.1ms) begin transaction
352304
+ Unable to determine type for anonymous Deserializer
352305
+  (0.1ms) rollback transaction
352306
+  (0.1ms) begin transaction
352307
+ Unable to determine type for anonymous Deserializer
352308
+  (0.1ms) rollback transaction
352309
+  (0.1ms) begin transaction
352310
+ Unable to determine type for anonymous Deserializer
352311
+  (0.1ms) rollback transaction
352312
+  (0.1ms) begin transaction
352313
+ Unable to determine type for anonymous Deserializer
352314
+  (0.1ms) rollback transaction
352315
+  (0.1ms) begin transaction
352316
+ Unable to determine type for anonymous Deserializer
352317
+  (0.2ms) rollback transaction
352318
+  (0.1ms) begin transaction
352319
+ Unable to determine type for anonymous Deserializer
352320
+  (0.1ms) rollback transaction
352321
+  (0.1ms) begin transaction
352322
+ Unable to determine type for anonymous Deserializer
352323
+  (0.1ms) rollback transaction
352324
+  (0.1ms) begin transaction
352325
+ Unable to determine type for anonymous Deserializer
352326
+  (0.1ms) rollback transaction
352327
+  (0.1ms) begin transaction
352328
+ Unable to determine type for anonymous Deserializer
352329
+  (0.1ms) rollback transaction
352330
+  (0.1ms) begin transaction
352331
+ Unable to determine type for anonymous Deserializer
352332
+  (0.1ms) rollback transaction
352333
+  (0.1ms) begin transaction
352334
+ Unable to determine type for anonymous Deserializer
352335
+  (0.1ms) rollback transaction
352336
+  (0.1ms) begin transaction
352337
+ Unable to determine type for anonymous Deserializer
352338
+  (0.0ms) rollback transaction
352339
+  (0.0ms) begin transaction
352340
+ Unable to determine type for anonymous Deserializer
352341
+  (0.1ms) rollback transaction
352342
+  (0.0ms) begin transaction
352343
+ Unable to determine type for anonymous Deserializer
352344
+  (0.1ms) rollback transaction
352345
+  (0.1ms) begin transaction
352346
+ Unable to determine type for anonymous Deserializer
352347
+  (0.1ms) rollback transaction
352348
+  (0.1ms) begin transaction
352349
+ Unable to determine type for anonymous Deserializer
352350
+  (0.1ms) rollback transaction
352351
+  (0.1ms) begin transaction
352352
+ Unable to determine type for anonymous Deserializer
352353
+  (0.1ms) rollback transaction
352354
+  (0.1ms) begin transaction
352355
+ Unable to determine type for anonymous Deserializer
352356
+  (0.1ms) rollback transaction
352357
+  (0.2ms) begin transaction
352358
+ Unable to determine type for anonymous Deserializer
352359
+  (0.1ms) rollback transaction
352360
+  (0.1ms) begin transaction
352361
+ Unable to determine type for anonymous Deserializer
352362
+  (0.1ms) rollback transaction
352363
+  (0.1ms) begin transaction
352364
+ Unable to determine type for anonymous Deserializer
352365
+  (0.1ms) rollback transaction
352366
+  (0.1ms) begin transaction
352367
+ Unable to determine type for anonymous Deserializer
352368
+  (0.1ms) rollback transaction
352369
+  (0.1ms) begin transaction
352370
+ Unable to determine type for anonymous Deserializer
352371
+  (0.1ms) rollback transaction
352372
+  (0.1ms) begin transaction
352373
+  (0.1ms) SAVEPOINT active_record_1
352374
+ SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-19 05:56:51.000105"], ["updated_at", "2016-04-19 05:56:51.000105"]]
352375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352376
+ Unable to determine type for anonymous Deserializer
352377
+  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352378
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352379
+  (0.1ms) rollback transaction
352380
+  (0.1ms) begin transaction
352381
+ Unable to determine type for anonymous Deserializer
352382
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352383
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352384
+  (0.0ms) rollback transaction
352385
+  (0.1ms) begin transaction
352386
+  (0.0ms) SAVEPOINT active_record_1
352387
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-19 05:56:51.021839"], ["updated_at", "2016-04-19 05:56:51.021839"]]
352388
+  (0.2ms) RELEASE SAVEPOINT active_record_1
352389
+  (0.1ms) SAVEPOINT active_record_1
352390
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-19 05:56:51.025253"], ["updated_at", "2016-04-19 05:56:51.025253"]]
352391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352392
+ Unable to determine type for anonymous Deserializer
352393
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352394
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352395
+  (0.1ms) rollback transaction
352396
+  (0.1ms) begin transaction
352397
+  (0.0ms) SAVEPOINT active_record_1
352398
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-19 05:56:51.046258"], ["updated_at", "2016-04-19 05:56:51.046258"]]
352399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352400
+  (0.0ms) SAVEPOINT active_record_1
352401
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-19 05:56:51.047849"], ["updated_at", "2016-04-19 05:56:51.047849"]]
352402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352403
+ Unable to determine type for anonymous Deserializer
352404
+  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352405
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352406
+ ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')
352407
+  (0.1ms) rollback transaction
352408
+  (0.1ms) begin transaction
352409
+ Unable to determine type for anonymous Deserializer
352410
+ ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
352411
+  (0.1ms) rollback transaction
352412
+  (0.1ms) begin transaction
352413
+  (0.1ms) SAVEPOINT active_record_1
352414
+ SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-19 05:56:51.063309"], ["updated_at", "2016-04-19 05:56:51.063309"]]
352415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352416
+ Unable to determine type for anonymous Deserializer
352417
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]
352418
+  (0.1ms) rollback transaction
352419
+  (0.0ms) begin transaction
352420
+ Unable to determine type for anonymous Deserializer
352421
+  (0.1ms) rollback transaction
352422
+  (0.1ms) begin transaction
352423
+  (0.0ms) rollback transaction
352424
+  (0.0ms) begin transaction
352425
+  (0.0ms) rollback transaction
352426
+  (0.0ms) begin transaction
352427
+  (0.0ms) rollback transaction
352428
+  (0.0ms) begin transaction
352429
+  (0.0ms) rollback transaction
352430
+  (0.0ms) begin transaction
352431
+  (0.0ms) rollback transaction
352432
+  (0.0ms) begin transaction
352433
+  (0.0ms) rollback transaction
352434
+  (0.0ms) begin transaction
352435
+  (0.0ms) rollback transaction
352436
+  (0.1ms) begin transaction
352437
+  (0.0ms) rollback transaction
352438
+  (0.0ms) begin transaction
352439
+  (0.0ms) rollback transaction
352440
+  (0.0ms) begin transaction
352441
+  (0.0ms) rollback transaction
352442
+  (0.0ms) begin transaction
352443
+  (0.1ms) rollback transaction
352444
+  (0.1ms) begin transaction
352445
+  (0.1ms) rollback transaction
352446
+  (0.0ms) begin transaction
352447
+  (0.0ms) rollback transaction
352448
+  (0.1ms) begin transaction
352449
+  (0.0ms) rollback transaction
352450
+  (0.1ms) begin transaction
352451
+  (0.1ms) rollback transaction
352452
+  (0.3ms) begin transaction
352453
+  (0.1ms) rollback transaction
352454
+  (0.1ms) begin transaction
352455
+  (0.0ms) rollback transaction
352456
+  (0.0ms) begin transaction
352457
+  (0.0ms) rollback transaction
352458
+  (0.1ms) begin transaction
352459
+ Unable to determine type for anonymous Deserializer
352460
+  (0.1ms) rollback transaction
352461
+  (0.0ms) begin transaction
352462
+ Unable to determine type for anonymous Deserializer
352463
+  (0.1ms) rollback transaction
352464
+  (0.1ms) begin transaction
352465
+ Unable to determine type for anonymous Deserializer
352466
+  (0.1ms) rollback transaction
352467
+  (0.1ms) begin transaction
352468
+ Unable to determine type for anonymous Deserializer
352469
+  (0.1ms) rollback transaction
352470
+  (0.1ms) begin transaction
352471
+ Unable to determine type for anonymous Deserializer
352472
+  (0.1ms) rollback transaction
352473
+  (0.1ms) begin transaction
352474
+ Unable to determine type for anonymous Deserializer
352475
+  (0.1ms) rollback transaction
352476
+  (0.1ms) begin transaction
352477
+ Unable to determine type for anonymous Deserializer
352478
+  (0.1ms) rollback transaction
352479
+  (0.0ms) begin transaction
352480
+ Unable to determine type for anonymous Deserializer
352481
+  (0.1ms) rollback transaction
352482
+  (0.1ms) begin transaction
352483
+ Unable to determine type for anonymous Deserializer
352484
+  (0.1ms) rollback transaction
352485
+  (0.1ms) begin transaction
352486
+ Unable to determine type for anonymous Deserializer
352487
+  (0.1ms) rollback transaction
352488
+  (0.0ms) begin transaction
352489
+ Unable to determine type for anonymous Deserializer
352490
+  (0.1ms) rollback transaction
352491
+  (0.1ms) begin transaction
352492
+ Unable to determine type for anonymous Deserializer
352493
+  (0.1ms) rollback transaction
352494
+  (0.1ms) begin transaction
352495
+ Unable to determine type for anonymous Deserializer
352496
+  (0.1ms) rollback transaction
352497
+  (0.1ms) begin transaction
352498
+ Processing by AnonymousController#index as HTML
352499
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.17ms)
352500
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
352501
+  (0.1ms) rollback transaction
352502
+  (0.1ms) begin transaction
352503
+ Processing by AnonymousController#index as HTML
352504
+ [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]
352505
+ [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (25.53ms)
352506
+ Completed 200 OK in 28ms (Views: 25.7ms | ActiveRecord: 0.5ms)
352507
+  (0.1ms) rollback transaction
352508
+  (0.1ms) begin transaction
352509
+ Processing by AnonymousController#index as JSON_API
352510
+ Rendered text template (0.0ms)
352511
+ Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
352512
+  (0.1ms) rollback transaction
352513
+  (0.2ms) begin transaction
352514
+ Processing by AnonymousController#index as JSON_API
352515
+ Rendered text template (0.0ms)
352516
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
352517
+  (0.1ms) rollback transaction
352518
+  (0.1ms) begin transaction
352519
+ Processing by AnonymousController#index as HTML
352520
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
352521
+ Rendered text template (0.0ms)
352522
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
352523
+  (0.2ms) rollback transaction
352524
+  (0.1ms) begin transaction
352525
+  (0.1ms) rollback transaction
352526
+  (0.1ms) begin transaction
352527
+  (0.1ms) rollback transaction
352528
+  (0.1ms) begin transaction
352529
+  (0.1ms) rollback transaction
352530
+  (0.1ms) begin transaction
352531
+  (0.1ms) rollback transaction
352532
+  (0.1ms) begin transaction
352533
+  (0.1ms) rollback transaction
352534
+  (0.1ms) begin transaction
352535
+  (0.1ms) rollback transaction
352536
+  (0.1ms) begin transaction
352537
+  (0.0ms) rollback transaction
352538
+  (0.0ms) begin transaction
352539
+  (0.0ms) rollback transaction
352540
+  (0.1ms) begin transaction
352541
+  (0.0ms) rollback transaction
352542
+  (0.1ms) begin transaction
352543
+  (0.1ms) rollback transaction
352544
+  (0.1ms) begin transaction
352545
+  (0.1ms) rollback transaction
352546
+  (0.1ms) begin transaction
352547
+ Processing by AnonymousController#index as HTML
352548
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.48ms)
352549
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
352550
+  (0.1ms) rollback transaction
352551
+  (0.1ms) begin transaction
352552
+ Processing by AnonymousController#index as HTML
352553
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms)
352554
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
352555
+  (0.1ms) rollback transaction
352556
+  (0.1ms) begin transaction
352557
+ Processing by AnonymousController#index as HTML
352558
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.5ms)
352559
+ Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
352560
+  (0.1ms) rollback transaction
352561
+  (0.2ms) begin transaction
352562
+ Processing by AnonymousController#index as HTML
352563
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms)
352564
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
352565
+  (0.1ms) rollback transaction
352566
+  (0.1ms) begin transaction
352567
+ Processing by AnonymousController#index as HTML
352568
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms)
352569
+ Completed 403 Forbidden in 10ms (Views: 0.7ms | ActiveRecord: 0.0ms)
352570
+  (0.1ms) rollback transaction
352571
+  (0.1ms) begin transaction
352572
+ Processing by AnonymousController#index as HTML
352573
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms)
352574
+ Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
352575
+  (0.1ms) rollback transaction
352576
+  (0.1ms) begin transaction
352577
+  (0.0ms) rollback transaction
352578
+  (0.0ms) begin transaction
352579
+  (0.1ms) rollback transaction
352580
+  (0.1ms) begin transaction
352581
+  (0.0ms) rollback transaction
352582
+  (0.1ms) begin transaction
352583
+  (0.0ms) rollback transaction
352584
+  (0.0ms) begin transaction
352585
+  (0.0ms) rollback transaction
352586
+  (0.1ms) begin transaction
352587
+  (0.0ms) rollback transaction
352588
+  (0.1ms) begin transaction
352589
+  (0.0ms) rollback transaction
352590
+  (0.0ms) begin transaction
352591
+  (0.0ms) rollback transaction
352592
+  (0.1ms) begin transaction
352593
+  (0.0ms) rollback transaction
352594
+  (0.0ms) begin transaction
352595
+  (0.1ms) rollback transaction
352596
+  (0.1ms) begin transaction
352597
+  (0.1ms) rollback transaction
352598
+  (0.1ms) begin transaction
352599
+  (0.0ms) rollback transaction
352600
+  (0.0ms) begin transaction
352601
+  (0.0ms) rollback transaction
352602
+  (0.1ms) begin transaction
352603
+  (0.0ms) rollback transaction
352604
+  (0.1ms) begin transaction
352605
+  (0.1ms) rollback transaction
352606
+  (0.1ms) begin transaction
352607
+  (0.1ms) rollback transaction
352608
+  (0.1ms) begin transaction
352609
+  (0.1ms) rollback transaction
352610
+  (0.1ms) begin transaction
352611
+  (0.2ms) rollback transaction
352612
+  (0.1ms) begin transaction
352613
+  (0.1ms) rollback transaction
352614
+  (0.1ms) begin transaction
352615
+  (0.1ms) rollback transaction
352616
+  (0.0ms) begin transaction
352617
+  (0.0ms) rollback transaction
352618
+  (0.1ms) begin transaction
352619
+  (0.0ms) rollback transaction
352620
+  (0.0ms) begin transaction
352621
+  (0.0ms) rollback transaction
352622
+  (0.0ms) begin transaction
352623
+  (0.0ms) rollback transaction
352624
+  (0.1ms) begin transaction
352625
+  (0.0ms) rollback transaction
352626
+  (0.0ms) begin transaction
352627
+  (0.0ms) rollback transaction
352628
+  (0.1ms) begin transaction
352629
+  (0.0ms) rollback transaction
352630
+  (0.1ms) begin transaction
352631
+  (0.0ms) rollback transaction
352632
+  (0.0ms) begin transaction
352633
+  (0.0ms) rollback transaction
352634
+  (0.0ms) begin transaction
352635
+  (0.0ms) rollback transaction
352636
+  (0.1ms) begin transaction
352637
+  (0.1ms) rollback transaction
352638
+  (0.0ms) begin transaction
352639
+  (0.1ms) rollback transaction
352640
+  (0.1ms) begin transaction
352641
+  (0.0ms) SAVEPOINT active_record_1
352642
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-19 05:56:51.390822"], ["updated_at", "2016-04-19 05:56:51.390822"]]
352643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352644
+  (0.1ms) SAVEPOINT active_record_1
352645
+ SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
352646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352647
+  (0.0ms) SAVEPOINT active_record_1
352648
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
352649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352650
+  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
352651
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
352652
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
352653
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
352654
+  (0.0ms) rollback transaction
352655
+  (0.2ms) begin transaction
352656
+  (0.1ms) SAVEPOINT active_record_1
352657
+ SQL (0.3ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-19 05:56:51.406201"], ["updated_at", "2016-04-19 05:56:51.406201"]]
352658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352659
+  (0.1ms) SAVEPOINT active_record_1
352660
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-19 05:56:51.409751"], ["updated_at", "2016-04-19 05:56:51.409751"]]
352661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352662
+  (0.0ms) SAVEPOINT active_record_1
352663
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
352664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352665
+  (0.0ms) SAVEPOINT active_record_1
352666
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
352667
+  (0.2ms) RELEASE SAVEPOINT active_record_1
352668
+  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
352669
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
352670
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
352671
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
352672
+  (0.1ms) rollback transaction
352673
+  (0.1ms) begin transaction
352674
+  (0.0ms) SAVEPOINT active_record_1
352675
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-19 05:56:51.417901"], ["updated_at", "2016-04-19 05:56:51.417901"]]
352676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352677
+  (0.0ms) SAVEPOINT active_record_1
352678
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-19 05:56:51.419579"], ["updated_at", "2016-04-19 05:56:51.419579"]]
352679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352680
+  (0.0ms) SAVEPOINT active_record_1
352681
+ SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-19 05:56:51.420985"], ["updated_at", "2016-04-19 05:56:51.420985"]]
352682
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352683
+  (0.0ms) SAVEPOINT active_record_1
352684
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
352685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352686
+  (0.0ms) SAVEPOINT active_record_1
352687
+ SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
352688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352689
+  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
352690
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
352691
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12)
352692
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]
352693
+  (0.1ms) rollback transaction
352694
+  (0.1ms) begin transaction
352695
+  (0.0ms) SAVEPOINT active_record_1
352696
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-19 05:56:51.429243"], ["updated_at", "2016-04-19 05:56:51.429243"]]
352697
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352698
+  (0.0ms) SAVEPOINT active_record_1
352699
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-19 05:56:51.431216"], ["updated_at", "2016-04-19 05:56:51.431216"]]
352700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352701
+  (0.0ms) SAVEPOINT active_record_1
352702
+ SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]
352703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352704
+  (0.0ms) SAVEPOINT active_record_1
352705
+ SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]
352706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352707
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12)
352708
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)
352709
+  (0.1ms) rollback transaction
352710
+  (0.1ms) begin transaction
352711
+  (0.0ms) SAVEPOINT active_record_1
352712
+ SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-19 05:56:51.438713"], ["updated_at", "2016-04-19 05:56:51.438713"]]
352713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352714
+  (0.0ms) SAVEPOINT active_record_1
352715
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-19 05:56:51.440085"], ["updated_at", "2016-04-19 05:56:51.440085"]]
352716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352717
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]
352718
+  (0.1ms) rollback transaction
352719
+  (0.1ms) begin transaction
352720
+  (0.0ms) rollback transaction
352721
+  (0.2ms) begin transaction
352722
+  (0.0ms) SAVEPOINT active_record_1
352723
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-19 05:56:51.447394"], ["updated_at", "2016-04-19 05:56:51.447394"]]
352724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352725
+  (0.0ms) SAVEPOINT active_record_1
352726
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-19 05:56:51.449019"], ["updated_at", "2016-04-19 05:56:51.449019"]]
352727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352728
+  (0.0ms) SAVEPOINT active_record_1
352729
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-19 05:56:51.450836"], ["updated_at", "2016-04-19 05:56:51.450836"]]
352730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352731
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
352732
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]
352733
+  (0.0ms) rollback transaction
352734
+  (0.1ms) begin transaction
352735
+  (0.0ms) SAVEPOINT active_record_1
352736
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-19 05:56:51.455154"], ["updated_at", "2016-04-19 05:56:51.455154"]]
352737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352738
+  (0.0ms) SAVEPOINT active_record_1
352739
+ SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-19 05:56:51.456360"], ["updated_at", "2016-04-19 05:56:51.456360"]]
352740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352741
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."id" IN (42, 43)
352742
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" IN (42, 43)
352743
+  (0.0ms) rollback transaction
352744
+  (0.1ms) begin transaction
352745
+  (0.1ms) SAVEPOINT active_record_1
352746
+ SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-19 05:56:51.460143"], ["updated_at", "2016-04-19 05:56:51.460143"]]
352747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352748
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]
352749
+  (0.0ms) rollback transaction
352750
+  (0.1ms) begin transaction
352751
+  (0.0ms) SAVEPOINT active_record_1
352752
+ SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-19 05:56:51.463672"], ["updated_at", "2016-04-19 05:56:51.463672"]]
352753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352754
+  (0.0ms) SAVEPOINT active_record_1
352755
+ SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-19 05:56:51.465026"], ["updated_at", "2016-04-19 05:56:51.465026"]]
352756
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352757
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]
352758
+  (0.1ms) rollback transaction
352759
+  (0.0ms) begin transaction
352760
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fun_with_json_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10.3
4
+ version: 0.0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Morrall