fun_with_json_api 0.0.13 → 0.0.14

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.
@@ -581,3 +581,1169 @@ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
581
581
   (0.0ms) rollback transaction
582
582
   (0.0ms) begin transaction
583
583
   (0.0ms) rollback transaction
584
+  (0.1ms) DROP TABLE IF EXISTS "posts"
585
+  (1.6ms) SELECT sqlite_version(*)
586
+  (0.4ms) 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)
587
+  (0.1ms) CREATE INDEX "index_posts_on_author_id" ON "posts" ("author_id")
588
+  (0.0ms) DROP TABLE IF EXISTS "authors"
589
+  (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)
590
+  (0.0ms) DROP TABLE IF EXISTS "comments"
591
+  (0.1ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)
592
+  (0.1ms) CREATE INDEX "index_comments_on_author_id" ON "comments" ("author_id")
593
+  (0.1ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")
594
+  (0.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
595
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
596
+  (0.0ms) begin transaction
597
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-04-28 02:36:53.131527"], ["updated_at", "2021-04-28 02:36:53.131527"]]
598
+  (0.0ms) commit transaction
599
+  (0.1ms) begin transaction
600
+  (0.1ms) rollback transaction
601
+  (0.0ms) begin transaction
602
+  (0.0ms) rollback transaction
603
+  (0.0ms) begin transaction
604
+  (0.0ms) rollback transaction
605
+  (0.0ms) begin transaction
606
+  (0.0ms) rollback transaction
607
+  (0.0ms) begin transaction
608
+  (0.0ms) rollback transaction
609
+  (0.0ms) begin transaction
610
+  (0.0ms) rollback transaction
611
+  (0.0ms) begin transaction
612
+  (0.0ms) rollback transaction
613
+  (0.0ms) begin transaction
614
+  (0.0ms) rollback transaction
615
+  (0.0ms) begin transaction
616
+  (0.0ms) rollback transaction
617
+  (0.0ms) begin transaction
618
+  (0.0ms) rollback transaction
619
+  (0.0ms) begin transaction
620
+  (0.0ms) rollback transaction
621
+  (0.0ms) begin transaction
622
+  (0.0ms) rollback transaction
623
+  (0.0ms) begin transaction
624
+  (0.0ms) rollback transaction
625
+  (0.0ms) begin transaction
626
+  (0.0ms) rollback transaction
627
+  (0.0ms) begin transaction
628
+  (0.0ms) rollback transaction
629
+  (0.0ms) begin transaction
630
+  (0.0ms) rollback transaction
631
+  (0.0ms) begin transaction
632
+ Unable to determine type for anonymous Deserializer
633
+ Unable to determine type for anonymous Deserializer
634
+  (0.0ms) rollback transaction
635
+  (0.0ms) begin transaction
636
+ Unable to determine type for anonymous Deserializer
637
+ Unable to determine type for anonymous Deserializer
638
+  (0.0ms) rollback transaction
639
+  (0.0ms) begin transaction
640
+ Processing by AnonymousController#index as HTML
641
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (2.95ms)
642
+ Completed 403 Forbidden in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms)
643
+  (0.1ms) rollback transaction
644
+  (0.1ms) begin transaction
645
+ Processing by AnonymousController#index as HTML
646
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms)
647
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
648
+  (0.1ms) rollback transaction
649
+  (0.0ms) begin transaction
650
+ Processing by AnonymousController#index as HTML
651
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms)
652
+ Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
653
+  (0.1ms) rollback transaction
654
+  (0.0ms) begin transaction
655
+ Processing by AnonymousController#index as HTML
656
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms)
657
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
658
+  (0.0ms) rollback transaction
659
+  (0.0ms) begin transaction
660
+ Processing by AnonymousController#index as HTML
661
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms)
662
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
663
+  (0.0ms) rollback transaction
664
+  (0.0ms) begin transaction
665
+ Processing by AnonymousController#index as HTML
666
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms)
667
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
668
+  (0.0ms) rollback transaction
669
+  (0.0ms) begin transaction
670
+  (0.0ms) rollback transaction
671
+  (0.0ms) begin transaction
672
+  (0.0ms) rollback transaction
673
+  (0.0ms) begin transaction
674
+  (0.0ms) rollback transaction
675
+  (0.0ms) begin transaction
676
+  (0.0ms) rollback transaction
677
+  (0.0ms) begin transaction
678
+  (0.0ms) rollback transaction
679
+  (0.0ms) begin transaction
680
+  (0.0ms) rollback transaction
681
+  (0.0ms) begin transaction
682
+  (0.0ms) rollback transaction
683
+  (0.0ms) begin transaction
684
+  (0.0ms) rollback transaction
685
+  (0.0ms) begin transaction
686
+  (0.0ms) rollback transaction
687
+  (0.0ms) begin transaction
688
+  (0.0ms) rollback transaction
689
+  (0.1ms) begin transaction
690
+  (0.0ms) rollback transaction
691
+  (0.0ms) begin transaction
692
+  (0.0ms) rollback transaction
693
+  (0.0ms) begin transaction
694
+  (0.0ms) rollback transaction
695
+  (0.0ms) begin transaction
696
+  (0.1ms) rollback transaction
697
+  (0.0ms) begin transaction
698
+  (0.0ms) rollback transaction
699
+  (0.0ms) begin transaction
700
+  (0.0ms) rollback transaction
701
+  (0.1ms) begin transaction
702
+  (0.0ms) rollback transaction
703
+  (0.0ms) begin transaction
704
+  (0.0ms) rollback transaction
705
+  (0.0ms) begin transaction
706
+  (0.0ms) rollback transaction
707
+  (0.0ms) begin transaction
708
+  (0.0ms) rollback transaction
709
+  (0.0ms) begin transaction
710
+  (0.0ms) rollback transaction
711
+  (0.0ms) begin transaction
712
+  (0.0ms) rollback transaction
713
+  (0.0ms) begin transaction
714
+  (0.0ms) rollback transaction
715
+  (0.0ms) begin transaction
716
+  (0.0ms) rollback transaction
717
+  (0.0ms) begin transaction
718
+  (0.0ms) rollback transaction
719
+  (0.0ms) begin transaction
720
+  (0.0ms) rollback transaction
721
+  (0.0ms) begin transaction
722
+  (0.0ms) rollback transaction
723
+  (0.0ms) begin transaction
724
+  (0.0ms) rollback transaction
725
+  (0.0ms) begin transaction
726
+  (0.0ms) rollback transaction
727
+  (0.0ms) begin transaction
728
+  (0.0ms) rollback transaction
729
+  (0.0ms) begin transaction
730
+  (0.0ms) rollback transaction
731
+  (0.0ms) begin transaction
732
+  (0.0ms) rollback transaction
733
+  (0.0ms) begin transaction
734
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:36:55 +1000
735
+ Processing by ApplicationController#echo as JSON_API
736
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
737
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms)
738
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
739
+  (0.1ms) rollback transaction
740
+  (0.0ms) begin transaction
741
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:36:55 +1000
742
+ Error occurred while parsing request parameters.
743
+ Contents:
744
+
745
+ {"data":{"id":"42","type":"foobar",}}
746
+  (0.0ms) rollback transaction
747
+  (0.0ms) begin transaction
748
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:36:55 +1000
749
+ Error occurred while parsing request parameters.
750
+ Contents:
751
+
752
+ {"data":{"id":"42","type":"foobar",}}
753
+  (0.0ms) rollback transaction
754
+  (0.0ms) begin transaction
755
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:36:55 +1000
756
+ Error occurred while parsing request parameters.
757
+ Contents:
758
+
759
+ {"data":{"id":"42","type":"foobar",}}
760
+  (0.0ms) rollback transaction
761
+  (0.0ms) begin transaction
762
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:36:55 +1000
763
+ Error occurred while parsing request parameters.
764
+ Contents:
765
+
766
+ {"data":{"id":"42","type":"foobar",}}
767
+  (0.0ms) rollback transaction
768
+  (0.0ms) begin transaction
769
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:36:55 +1000
770
+ Error occurred while parsing request parameters.
771
+ Contents:
772
+
773
+ {"data":{"id":"42","type":"foobar",}}
774
+  (0.0ms) rollback transaction
775
+  (0.0ms) begin transaction
776
+  (0.0ms) rollback transaction
777
+  (0.0ms) begin transaction
778
+  (0.0ms) rollback transaction
779
+  (0.0ms) begin transaction
780
+  (0.1ms) SAVEPOINT active_record_1
781
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2021-04-28 02:36:55.103746"], ["updated_at", "2021-04-28 02:36:55.103746"]]
782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
783
+  (0.0ms) SAVEPOINT active_record_1
784
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2021-04-28 02:36:55.104836"], ["updated_at", "2021-04-28 02:36:55.104836"]]
785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
786
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "person_42"], ["code", "person_43"]]
787
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "person_42"], ["code", "person_43"]]
788
+  (0.1ms) rollback transaction
789
+  (0.0ms) begin transaction
790
+  (0.0ms) rollback transaction
791
+  (0.0ms) begin transaction
792
+  (0.0ms) SAVEPOINT active_record_1
793
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2021-04-28 02:36:55.109778"], ["updated_at", "2021-04-28 02:36:55.109778"]]
794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
795
+  (0.0ms) SAVEPOINT active_record_1
796
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2021-04-28 02:36:55.110998"], ["updated_at", "2021-04-28 02:36:55.110998"]]
797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
798
+  (0.0ms) SAVEPOINT active_record_1
799
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2021-04-28 02:36:55.111909"], ["updated_at", "2021-04-28 02:36:55.111909"]]
800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
801
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN (?, ?) [["name", "Jack"], ["code", "foo"], ["code", "bar"]]
802
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN (?, ?) [["name", "Jack"], ["code", "foo"], ["code", "bar"]]
803
+  (0.0ms) rollback transaction
804
+  (0.0ms) begin transaction
805
+  (0.0ms) SAVEPOINT active_record_1
806
+ ARModels::Post Create (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2021-04-28 02:36:55.119110"], ["updated_at", "2021-04-28 02:36:55.119110"]]
807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
808
+  (0.0ms) SAVEPOINT active_record_1
809
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2021-04-28 02:36:55.120070"], ["updated_at", "2021-04-28 02:36:55.120070"]]
810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
811
+  (0.0ms) SAVEPOINT active_record_1
812
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2021-04-28 02:36:55.120833"], ["updated_at", "2021-04-28 02:36:55.120833"]]
813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
814
+  (0.0ms) SAVEPOINT active_record_1
815
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
816
+  (0.0ms) RELEASE SAVEPOINT active_record_1
817
+  (0.0ms) SAVEPOINT active_record_1
818
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
820
+  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
821
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
822
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
823
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT ? [["code", "foo"], ["name", "John"], ["LIMIT", 1]]
824
+  (0.1ms) rollback transaction
825
+  (0.0ms) begin transaction
826
+  (0.1ms) SAVEPOINT active_record_1
827
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2021-04-28 02:36:55.148470"], ["updated_at", "2021-04-28 02:36:55.148470"]]
828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
829
+  (0.0ms) SAVEPOINT active_record_1
830
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
832
+  (0.0ms) SAVEPOINT active_record_1
833
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
835
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
836
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
837
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
838
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "person_9"], ["LIMIT", 1]]
839
+  (0.1ms) rollback transaction
840
+  (0.0ms) begin transaction
841
+  (0.0ms) SAVEPOINT active_record_1
842
+ ARModels::Post Create (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2021-04-28 02:36:55.154010"], ["updated_at", "2021-04-28 02:36:55.154010"]]
843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
844
+  (0.0ms) SAVEPOINT active_record_1
845
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2021-04-28 02:36:55.155017"], ["updated_at", "2021-04-28 02:36:55.155017"]]
846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
847
+  (0.0ms) SAVEPOINT active_record_1
848
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]
849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
850
+  (0.0ms) SAVEPOINT active_record_1
851
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]
852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
853
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
854
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
855
+  (0.0ms) rollback transaction
856
+  (0.0ms) begin transaction
857
+  (0.0ms) SAVEPOINT active_record_1
858
+ ARModels::Post Create (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2021-04-28 02:36:55.159536"], ["updated_at", "2021-04-28 02:36:55.159536"]]
859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
860
+  (0.0ms) SAVEPOINT active_record_1
861
+ ARModels::Author Create (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2021-04-28 02:36:55.160536"], ["updated_at", "2021-04-28 02:36:55.160536"]]
862
+  (0.0ms) RELEASE SAVEPOINT active_record_1
863
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "person_9"], ["LIMIT", 1]]
864
+  (0.0ms) rollback transaction
865
+  (0.0ms) begin transaction
866
+  (0.0ms) SAVEPOINT active_record_1
867
+ ARModels::Post Create (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2021-04-28 02:36:55.163580"], ["updated_at", "2021-04-28 02:36:55.163580"]]
868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
869
+  (0.0ms) SAVEPOINT active_record_1
870
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2021-04-28 02:36:55.165035"], ["updated_at", "2021-04-28 02:36:55.165035"]]
871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
872
+  (0.0ms) SAVEPOINT active_record_1
873
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
875
+  (0.0ms) SAVEPOINT active_record_1
876
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
878
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
879
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
880
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
881
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "person_9"], ["LIMIT", 1]]
882
+  (0.0ms) rollback transaction
883
+  (0.1ms) begin transaction
884
+  (0.0ms) SAVEPOINT active_record_1
885
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2021-04-28 02:36:55.169827"], ["updated_at", "2021-04-28 02:36:55.169827"]]
886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
887
+  (0.0ms) SAVEPOINT active_record_1
888
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2021-04-28 02:36:55.170648"], ["updated_at", "2021-04-28 02:36:55.170648"]]
889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
890
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT ? [["name", "Jack"], ["code", "foo"], ["LIMIT", 1]]
891
+  (0.0ms) rollback transaction
892
+  (0.0ms) begin transaction
893
+  (0.0ms) SAVEPOINT active_record_1
894
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2021-04-28 02:36:55.172603"], ["updated_at", "2021-04-28 02:36:55.172603"]]
895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
896
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "person_42"], ["LIMIT", 1]]
897
+  (0.0ms) rollback transaction
898
+  (0.0ms) begin transaction
899
+ Unable to determine type for anonymous Deserializer
900
+  (0.0ms) rollback transaction
901
+  (0.0ms) begin transaction
902
+ Unable to determine type for anonymous Deserializer
903
+  (0.0ms) rollback transaction
904
+  (0.0ms) begin transaction
905
+ Unable to determine type for anonymous Deserializer
906
+  (0.0ms) rollback transaction
907
+  (0.0ms) begin transaction
908
+ Unable to determine type for anonymous Deserializer
909
+  (0.0ms) rollback transaction
910
+  (0.0ms) begin transaction
911
+ Unable to determine type for anonymous Deserializer
912
+  (0.0ms) rollback transaction
913
+  (0.0ms) begin transaction
914
+ Unable to determine type for anonymous Deserializer
915
+  (0.0ms) rollback transaction
916
+  (0.0ms) begin transaction
917
+ Unable to determine type for anonymous Deserializer
918
+  (0.0ms) rollback transaction
919
+  (0.0ms) begin transaction
920
+ Unable to determine type for anonymous Deserializer
921
+  (0.0ms) rollback transaction
922
+  (0.0ms) begin transaction
923
+ Unable to determine type for anonymous Deserializer
924
+  (0.0ms) rollback transaction
925
+  (0.0ms) begin transaction
926
+ Unable to determine type for anonymous Deserializer
927
+  (0.0ms) rollback transaction
928
+  (0.0ms) begin transaction
929
+ Unable to determine type for anonymous Deserializer
930
+  (0.1ms) rollback transaction
931
+  (0.0ms) begin transaction
932
+ Unable to determine type for anonymous Deserializer
933
+  (0.1ms) rollback transaction
934
+  (0.0ms) begin transaction
935
+ Unable to determine type for anonymous Deserializer
936
+  (0.1ms) rollback transaction
937
+  (0.0ms) begin transaction
938
+ Processing by AnonymousController#index as HTML
939
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
940
+ Rendering text template
941
+ Rendered text template (0.0ms)
942
+ Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)
943
+  (0.1ms) rollback transaction
944
+  (0.1ms) begin transaction
945
+ Processing by AnonymousController#index as JSON_API
946
+ Rendering text template
947
+ Rendered text template (0.0ms)
948
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
949
+  (0.1ms) rollback transaction
950
+  (0.0ms) begin transaction
951
+ Processing by AnonymousController#index as JSON_API
952
+ Rendering text template
953
+ Rendered text template (0.0ms)
954
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
955
+  (0.1ms) rollback transaction
956
+  (0.0ms) begin transaction
957
+ Processing by AnonymousController#index as HTML
958
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms)
959
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
960
+  (0.0ms) rollback transaction
961
+  (0.0ms) begin transaction
962
+ Processing by AnonymousController#index as HTML
963
+ [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]
964
+ [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (17.21ms)
965
+ Completed 200 OK in 18ms (Views: 17.4ms | ActiveRecord: 0.1ms)
966
+  (0.1ms) rollback transaction
967
+  (0.0ms) begin transaction
968
+  (0.0ms) rollback transaction
969
+  (0.0ms) begin transaction
970
+  (0.0ms) rollback transaction
971
+  (0.0ms) begin transaction
972
+  (0.0ms) rollback transaction
973
+  (0.0ms) begin transaction
974
+  (0.1ms) rollback transaction
975
+  (0.0ms) begin transaction
976
+  (0.0ms) rollback transaction
977
+  (0.0ms) begin transaction
978
+  (0.0ms) rollback transaction
979
+  (0.0ms) begin transaction
980
+  (0.0ms) rollback transaction
981
+  (0.0ms) begin transaction
982
+  (0.0ms) rollback transaction
983
+  (0.0ms) begin transaction
984
+  (0.0ms) rollback transaction
985
+  (0.0ms) begin transaction
986
+  (0.0ms) rollback transaction
987
+  (0.0ms) begin transaction
988
+  (0.0ms) rollback transaction
989
+  (0.0ms) begin transaction
990
+ Unable to determine type for anonymous Deserializer
991
+  (0.0ms) rollback transaction
992
+  (0.0ms) begin transaction
993
+ Unable to determine type for anonymous Deserializer
994
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
995
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
996
+  (0.0ms) rollback transaction
997
+  (0.0ms) begin transaction
998
+  (0.0ms) SAVEPOINT active_record_1
999
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2021-04-28 02:36:55.306306"], ["updated_at", "2021-04-28 02:36:55.306306"]]
1000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1001
+ Unable to determine type for anonymous Deserializer
1002
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1003
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1004
+  (0.0ms) rollback transaction
1005
+  (0.0ms) begin transaction
1006
+  (0.1ms) SAVEPOINT active_record_1
1007
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2021-04-28 02:36:55.311102"], ["updated_at", "2021-04-28 02:36:55.311102"]]
1008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1009
+  (0.0ms) SAVEPOINT active_record_1
1010
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2021-04-28 02:36:55.312208"], ["updated_at", "2021-04-28 02:36:55.312208"]]
1011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1012
+ Unable to determine type for anonymous Deserializer
1013
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1014
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1015
+  (0.0ms) rollback transaction
1016
+  (0.0ms) begin transaction
1017
+  (0.0ms) SAVEPOINT active_record_1
1018
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2021-04-28 02:36:55.317995"], ["updated_at", "2021-04-28 02:36:55.317995"]]
1019
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1020
+  (0.0ms) SAVEPOINT active_record_1
1021
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2021-04-28 02:36:55.319049"], ["updated_at", "2021-04-28 02:36:55.319049"]]
1022
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1023
+ Unable to determine type for anonymous Deserializer
1024
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1025
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1026
+ ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1027
+  (0.0ms) rollback transaction
1028
+  (0.0ms) begin transaction
1029
+  (0.0ms) rollback transaction
1030
+  (0.0ms) begin transaction
1031
+  (0.0ms) rollback transaction
1032
+  (0.0ms) begin transaction
1033
+ Unable to determine type for anonymous Deserializer
1034
+  (0.0ms) rollback transaction
1035
+  (0.0ms) begin transaction
1036
+ Unable to determine type for anonymous Deserializer
1037
+  (0.0ms) rollback transaction
1038
+  (0.0ms) begin transaction
1039
+ Unable to determine type for anonymous Deserializer
1040
+  (0.1ms) rollback transaction
1041
+  (0.0ms) begin transaction
1042
+ Unable to determine type for anonymous Deserializer
1043
+  (0.0ms) rollback transaction
1044
+  (0.0ms) begin transaction
1045
+ Unable to determine type for anonymous Deserializer
1046
+  (0.0ms) rollback transaction
1047
+  (0.0ms) begin transaction
1048
+ Unable to determine type for anonymous Deserializer
1049
+  (0.0ms) rollback transaction
1050
+  (0.0ms) begin transaction
1051
+ Unable to determine type for anonymous Deserializer
1052
+  (0.0ms) rollback transaction
1053
+  (0.0ms) begin transaction
1054
+ Unable to determine type for anonymous Deserializer
1055
+  (0.0ms) rollback transaction
1056
+  (0.1ms) begin transaction
1057
+ Unable to determine type for anonymous Deserializer
1058
+  (0.1ms) rollback transaction
1059
+  (0.0ms) begin transaction
1060
+ Unable to determine type for anonymous Deserializer
1061
+  (0.0ms) rollback transaction
1062
+  (0.0ms) begin transaction
1063
+ Unable to determine type for anonymous Deserializer
1064
+  (0.0ms) rollback transaction
1065
+  (0.0ms) begin transaction
1066
+ Unable to determine type for anonymous Deserializer
1067
+  (0.0ms) rollback transaction
1068
+  (0.0ms) begin transaction
1069
+ Unable to determine type for anonymous Deserializer
1070
+  (0.0ms) rollback transaction
1071
+  (0.0ms) begin transaction
1072
+ Unable to determine type for anonymous Deserializer
1073
+  (0.0ms) rollback transaction
1074
+  (0.0ms) begin transaction
1075
+ Unable to determine type for anonymous Deserializer
1076
+  (0.0ms) rollback transaction
1077
+  (0.0ms) begin transaction
1078
+ Unable to determine type for anonymous Deserializer
1079
+  (0.0ms) rollback transaction
1080
+  (0.0ms) begin transaction
1081
+ Unable to determine type for anonymous Deserializer
1082
+  (0.0ms) rollback transaction
1083
+  (0.0ms) begin transaction
1084
+ Unable to determine type for anonymous Deserializer
1085
+  (0.1ms) rollback transaction
1086
+  (0.0ms) begin transaction
1087
+ Unable to determine type for anonymous Deserializer
1088
+  (0.0ms) rollback transaction
1089
+  (0.0ms) begin transaction
1090
+ Unable to determine type for anonymous Deserializer
1091
+  (0.0ms) rollback transaction
1092
+  (0.0ms) begin transaction
1093
+ Unable to determine type for anonymous Deserializer
1094
+  (0.0ms) rollback transaction
1095
+  (0.0ms) begin transaction
1096
+ Unable to determine type for anonymous Deserializer
1097
+  (0.1ms) rollback transaction
1098
+  (0.1ms) begin transaction
1099
+ Unable to determine type for anonymous Deserializer
1100
+  (0.0ms) rollback transaction
1101
+  (0.0ms) begin transaction
1102
+ Unable to determine type for anonymous Deserializer
1103
+  (0.0ms) rollback transaction
1104
+  (0.0ms) begin transaction
1105
+ Unable to determine type for anonymous Deserializer
1106
+  (0.0ms) rollback transaction
1107
+  (0.0ms) begin transaction
1108
+ Unable to determine type for anonymous Deserializer
1109
+  (0.0ms) rollback transaction
1110
+  (0.0ms) begin transaction
1111
+ Unable to determine type for anonymous Deserializer
1112
+  (0.0ms) rollback transaction
1113
+  (0.0ms) begin transaction
1114
+ Unable to determine type for anonymous Deserializer
1115
+  (0.0ms) rollback transaction
1116
+  (0.0ms) begin transaction
1117
+ Unable to determine type for anonymous Deserializer
1118
+  (0.0ms) rollback transaction
1119
+  (0.0ms) begin transaction
1120
+ Unable to determine type for anonymous Deserializer
1121
+  (0.0ms) rollback transaction
1122
+  (0.0ms) begin transaction
1123
+ Unable to determine type for anonymous Deserializer
1124
+  (0.0ms) rollback transaction
1125
+  (0.0ms) begin transaction
1126
+ Unable to determine type for anonymous Deserializer
1127
+  (0.1ms) rollback transaction
1128
+  (0.0ms) begin transaction
1129
+ Unable to determine type for anonymous Deserializer
1130
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "foobar"], ["LIMIT", 1]]
1131
+  (0.0ms) rollback transaction
1132
+  (0.0ms) begin transaction
1133
+  (0.1ms) SAVEPOINT active_record_1
1134
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2021-04-28 02:36:55.405683"], ["updated_at", "2021-04-28 02:36:55.405683"]]
1135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1136
+ Unable to determine type for anonymous Deserializer
1137
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "foobar"], ["LIMIT", 1]]
1138
+  (0.0ms) rollback transaction
1139
+  (0.1ms) begin transaction
1140
+ Unable to determine type for anonymous Deserializer
1141
+  (0.0ms) rollback transaction
1142
+  (0.0ms) begin transaction
1143
+ Unable to determine type for anonymous Deserializer
1144
+  (0.0ms) rollback transaction
1145
+  (0.0ms) begin transaction
1146
+ Unable to determine type for anonymous Deserializer
1147
+  (0.0ms) rollback transaction
1148
+  (0.0ms) begin transaction
1149
+ Unable to determine type for anonymous Deserializer
1150
+  (0.0ms) rollback transaction
1151
+  (0.0ms) begin transaction
1152
+ Unable to determine type for anonymous Deserializer
1153
+  (0.0ms) rollback transaction
1154
+  (0.0ms) begin transaction
1155
+ Unable to determine type for anonymous Deserializer
1156
+  (0.0ms) rollback transaction
1157
+  (0.0ms) begin transaction
1158
+  (0.0ms) rollback transaction
1159
+  (0.0ms) begin transaction
1160
+  (0.0ms) rollback transaction
1161
+  (0.0ms) begin transaction
1162
+  (0.0ms) rollback transaction
1163
+  (0.0ms) begin transaction
1164
+  (0.0ms) rollback transaction
1165
+  (0.0ms) begin transaction
1166
+  (0.0ms) rollback transaction
1167
+  (0.0ms) DROP TABLE IF EXISTS "posts"
1168
+  (0.9ms) SELECT sqlite_version(*)
1169
+  (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)
1170
+  (0.1ms) CREATE INDEX "index_posts_on_author_id" ON "posts" ("author_id")
1171
+  (0.1ms) DROP TABLE IF EXISTS "authors"
1172
+  (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)
1173
+  (0.1ms) DROP TABLE IF EXISTS "comments"
1174
+  (0.1ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)
1175
+  (0.1ms) CREATE INDEX "index_comments_on_author_id" ON "comments" ("author_id")
1176
+  (0.1ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")
1177
+  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1178
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1179
+  (0.0ms) begin transaction
1180
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-04-28 02:37:00.982679"], ["updated_at", "2021-04-28 02:37:00.982679"]]
1181
+  (0.0ms) commit transaction
1182
+  (0.1ms) begin transaction
1183
+  (0.1ms) rollback transaction
1184
+  (0.0ms) begin transaction
1185
+  (0.1ms) rollback transaction
1186
+  (0.0ms) begin transaction
1187
+  (0.0ms) rollback transaction
1188
+  (0.0ms) begin transaction
1189
+  (0.0ms) rollback transaction
1190
+  (0.0ms) begin transaction
1191
+  (0.0ms) rollback transaction
1192
+  (0.0ms) begin transaction
1193
+  (0.0ms) rollback transaction
1194
+  (0.0ms) begin transaction
1195
+  (0.0ms) rollback transaction
1196
+  (0.0ms) begin transaction
1197
+  (0.0ms) rollback transaction
1198
+  (0.0ms) begin transaction
1199
+  (0.0ms) rollback transaction
1200
+  (0.0ms) begin transaction
1201
+  (0.0ms) rollback transaction
1202
+  (0.0ms) begin transaction
1203
+  (0.0ms) rollback transaction
1204
+  (0.0ms) begin transaction
1205
+  (0.0ms) rollback transaction
1206
+  (0.0ms) begin transaction
1207
+  (0.0ms) rollback transaction
1208
+  (0.0ms) begin transaction
1209
+  (0.0ms) rollback transaction
1210
+  (0.0ms) begin transaction
1211
+  (0.0ms) rollback transaction
1212
+  (0.0ms) begin transaction
1213
+  (0.0ms) rollback transaction
1214
+  (0.0ms) begin transaction
1215
+ Unable to determine type for anonymous Deserializer
1216
+ Unable to determine type for anonymous Deserializer
1217
+  (0.0ms) rollback transaction
1218
+  (0.0ms) begin transaction
1219
+ Unable to determine type for anonymous Deserializer
1220
+ Unable to determine type for anonymous Deserializer
1221
+  (0.0ms) rollback transaction
1222
+  (0.0ms) begin transaction
1223
+ Processing by AnonymousController#index as HTML
1224
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
1225
+ Rendering text template
1226
+ Rendered text template (0.0ms)
1227
+ Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
1228
+  (0.0ms) rollback transaction
1229
+  (0.0ms) begin transaction
1230
+ Processing by AnonymousController#index as JSON_API
1231
+ Rendering text template
1232
+ Rendered text template (0.0ms)
1233
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1234
+  (0.1ms) rollback transaction
1235
+  (0.0ms) begin transaction
1236
+ Processing by AnonymousController#index as JSON_API
1237
+ Rendering text template
1238
+ Rendered text template (0.0ms)
1239
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1240
+  (0.1ms) rollback transaction
1241
+  (0.0ms) begin transaction
1242
+ Processing by AnonymousController#index as HTML
1243
+ [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]
1244
+ [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (11.66ms)
1245
+ Completed 200 OK in 20ms (Views: 16.0ms | ActiveRecord: 0.7ms)
1246
+  (0.0ms) rollback transaction
1247
+  (0.0ms) begin transaction
1248
+ Processing by AnonymousController#index as HTML
1249
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms)
1250
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
1251
+  (0.0ms) rollback transaction
1252
+  (0.0ms) begin transaction
1253
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:37:02 +1000
1254
+ Processing by ApplicationController#echo as JSON_API
1255
+ Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}}
1256
+ [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.06ms)
1257
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1258
+  (0.1ms) rollback transaction
1259
+  (0.0ms) begin transaction
1260
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:37:02 +1000
1261
+ Error occurred while parsing request parameters.
1262
+ Contents:
1263
+
1264
+ {"data":{"id":"42","type":"foobar",}}
1265
+  (0.0ms) rollback transaction
1266
+  (0.0ms) begin transaction
1267
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:37:02 +1000
1268
+ Error occurred while parsing request parameters.
1269
+ Contents:
1270
+
1271
+ {"data":{"id":"42","type":"foobar",}}
1272
+  (0.0ms) rollback transaction
1273
+  (0.0ms) begin transaction
1274
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:37:02 +1000
1275
+ Error occurred while parsing request parameters.
1276
+ Contents:
1277
+
1278
+ {"data":{"id":"42","type":"foobar",}}
1279
+  (0.0ms) rollback transaction
1280
+  (0.0ms) begin transaction
1281
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:37:02 +1000
1282
+ Error occurred while parsing request parameters.
1283
+ Contents:
1284
+
1285
+ {"data":{"id":"42","type":"foobar",}}
1286
+  (0.0ms) rollback transaction
1287
+  (0.0ms) begin transaction
1288
+ Started POST "/echo" for 127.0.0.1 at 2021-04-28 12:37:02 +1000
1289
+ Error occurred while parsing request parameters.
1290
+ Contents:
1291
+
1292
+ {"data":{"id":"42","type":"foobar",}}
1293
+  (0.0ms) rollback transaction
1294
+  (0.0ms) begin transaction
1295
+ Unable to determine type for anonymous Deserializer
1296
+  (0.0ms) rollback transaction
1297
+  (0.0ms) begin transaction
1298
+ Unable to determine type for anonymous Deserializer
1299
+  (0.0ms) rollback transaction
1300
+  (0.0ms) begin transaction
1301
+ Unable to determine type for anonymous Deserializer
1302
+  (0.0ms) rollback transaction
1303
+  (0.0ms) begin transaction
1304
+ Unable to determine type for anonymous Deserializer
1305
+  (0.0ms) rollback transaction
1306
+  (0.0ms) begin transaction
1307
+ Unable to determine type for anonymous Deserializer
1308
+  (0.0ms) rollback transaction
1309
+  (0.0ms) begin transaction
1310
+ Unable to determine type for anonymous Deserializer
1311
+  (0.0ms) rollback transaction
1312
+  (0.0ms) begin transaction
1313
+  (0.0ms) SAVEPOINT active_record_1
1314
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2021-04-28 02:37:02.546052"], ["updated_at", "2021-04-28 02:37:02.546052"]]
1315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1316
+ Unable to determine type for anonymous Deserializer
1317
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1318
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1319
+  (0.1ms) rollback transaction
1320
+  (0.0ms) begin transaction
1321
+ Unable to determine type for anonymous Deserializer
1322
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1323
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1324
+  (0.0ms) rollback transaction
1325
+  (0.0ms) begin transaction
1326
+  (0.0ms) SAVEPOINT active_record_1
1327
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2021-04-28 02:37:02.555569"], ["updated_at", "2021-04-28 02:37:02.555569"]]
1328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1329
+  (0.0ms) SAVEPOINT active_record_1
1330
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2021-04-28 02:37:02.556617"], ["updated_at", "2021-04-28 02:37:02.556617"]]
1331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1332
+ Unable to determine type for anonymous Deserializer
1333
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1334
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1335
+ ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1336
+  (0.0ms) rollback transaction
1337
+  (0.0ms) begin transaction
1338
+  (0.0ms) SAVEPOINT active_record_1
1339
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2021-04-28 02:37:02.561472"], ["updated_at", "2021-04-28 02:37:02.561472"]]
1340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1341
+  (0.0ms) SAVEPOINT active_record_1
1342
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2021-04-28 02:37:02.562412"], ["updated_at", "2021-04-28 02:37:02.562412"]]
1343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1344
+ Unable to determine type for anonymous Deserializer
1345
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1346
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "foobar"], ["code", "blargh"]]
1347
+  (0.0ms) rollback transaction
1348
+  (0.0ms) begin transaction
1349
+  (0.0ms) SAVEPOINT active_record_1
1350
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2021-04-28 02:37:02.567362"], ["updated_at", "2021-04-28 02:37:02.567362"]]
1351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1352
+ Unable to determine type for anonymous Deserializer
1353
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "foobar"], ["LIMIT", 1]]
1354
+  (0.0ms) rollback transaction
1355
+  (0.0ms) begin transaction
1356
+ Unable to determine type for anonymous Deserializer
1357
+  (0.0ms) rollback transaction
1358
+  (0.0ms) begin transaction
1359
+ Unable to determine type for anonymous Deserializer
1360
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "foobar"], ["LIMIT", 1]]
1361
+  (0.0ms) rollback transaction
1362
+  (0.0ms) begin transaction
1363
+ Unable to determine type for anonymous Deserializer
1364
+  (0.0ms) rollback transaction
1365
+  (0.0ms) begin transaction
1366
+  (0.0ms) rollback transaction
1367
+  (0.0ms) begin transaction
1368
+  (0.0ms) rollback transaction
1369
+  (0.0ms) begin transaction
1370
+ Unable to determine type for anonymous Deserializer
1371
+  (0.0ms) rollback transaction
1372
+  (0.1ms) begin transaction
1373
+ Unable to determine type for anonymous Deserializer
1374
+  (0.0ms) rollback transaction
1375
+  (0.0ms) begin transaction
1376
+ Unable to determine type for anonymous Deserializer
1377
+  (0.0ms) rollback transaction
1378
+  (0.0ms) begin transaction
1379
+ Unable to determine type for anonymous Deserializer
1380
+  (0.0ms) rollback transaction
1381
+  (0.0ms) begin transaction
1382
+ Unable to determine type for anonymous Deserializer
1383
+  (0.0ms) rollback transaction
1384
+  (0.0ms) begin transaction
1385
+ Unable to determine type for anonymous Deserializer
1386
+  (0.0ms) rollback transaction
1387
+  (0.0ms) begin transaction
1388
+ Unable to determine type for anonymous Deserializer
1389
+  (0.0ms) rollback transaction
1390
+  (0.0ms) begin transaction
1391
+ Unable to determine type for anonymous Deserializer
1392
+  (0.0ms) rollback transaction
1393
+  (0.0ms) begin transaction
1394
+ Unable to determine type for anonymous Deserializer
1395
+  (0.0ms) rollback transaction
1396
+  (0.0ms) begin transaction
1397
+ Unable to determine type for anonymous Deserializer
1398
+  (0.0ms) rollback transaction
1399
+  (0.0ms) begin transaction
1400
+ Unable to determine type for anonymous Deserializer
1401
+  (0.0ms) rollback transaction
1402
+  (0.0ms) begin transaction
1403
+ Unable to determine type for anonymous Deserializer
1404
+  (0.0ms) rollback transaction
1405
+  (0.0ms) begin transaction
1406
+ Unable to determine type for anonymous Deserializer
1407
+  (0.0ms) rollback transaction
1408
+  (0.0ms) begin transaction
1409
+ Unable to determine type for anonymous Deserializer
1410
+  (0.0ms) rollback transaction
1411
+  (0.0ms) begin transaction
1412
+ Unable to determine type for anonymous Deserializer
1413
+  (0.0ms) rollback transaction
1414
+  (0.0ms) begin transaction
1415
+ Unable to determine type for anonymous Deserializer
1416
+  (0.0ms) rollback transaction
1417
+  (0.0ms) begin transaction
1418
+ Unable to determine type for anonymous Deserializer
1419
+  (0.0ms) rollback transaction
1420
+  (0.0ms) begin transaction
1421
+ Unable to determine type for anonymous Deserializer
1422
+  (0.1ms) rollback transaction
1423
+  (0.0ms) begin transaction
1424
+ Unable to determine type for anonymous Deserializer
1425
+  (0.0ms) rollback transaction
1426
+  (0.0ms) begin transaction
1427
+ Unable to determine type for anonymous Deserializer
1428
+  (0.0ms) rollback transaction
1429
+  (0.0ms) begin transaction
1430
+ Unable to determine type for anonymous Deserializer
1431
+  (0.0ms) rollback transaction
1432
+  (0.0ms) begin transaction
1433
+ Unable to determine type for anonymous Deserializer
1434
+  (0.0ms) rollback transaction
1435
+  (0.0ms) begin transaction
1436
+ Unable to determine type for anonymous Deserializer
1437
+  (0.0ms) rollback transaction
1438
+  (0.0ms) begin transaction
1439
+ Unable to determine type for anonymous Deserializer
1440
+  (0.0ms) rollback transaction
1441
+  (0.0ms) begin transaction
1442
+ Unable to determine type for anonymous Deserializer
1443
+  (0.0ms) rollback transaction
1444
+  (0.0ms) begin transaction
1445
+ Unable to determine type for anonymous Deserializer
1446
+  (0.0ms) rollback transaction
1447
+  (0.0ms) begin transaction
1448
+ Unable to determine type for anonymous Deserializer
1449
+  (0.0ms) rollback transaction
1450
+  (0.0ms) begin transaction
1451
+ Unable to determine type for anonymous Deserializer
1452
+  (0.0ms) rollback transaction
1453
+  (0.0ms) begin transaction
1454
+ Unable to determine type for anonymous Deserializer
1455
+  (0.0ms) rollback transaction
1456
+  (0.0ms) begin transaction
1457
+ Unable to determine type for anonymous Deserializer
1458
+  (0.0ms) rollback transaction
1459
+  (0.0ms) begin transaction
1460
+ Unable to determine type for anonymous Deserializer
1461
+  (0.0ms) rollback transaction
1462
+  (0.0ms) begin transaction
1463
+  (0.0ms) rollback transaction
1464
+  (0.0ms) begin transaction
1465
+  (0.0ms) rollback transaction
1466
+  (0.0ms) begin transaction
1467
+  (0.0ms) rollback transaction
1468
+  (0.0ms) begin transaction
1469
+  (0.0ms) rollback transaction
1470
+  (0.0ms) begin transaction
1471
+  (0.0ms) rollback transaction
1472
+  (0.0ms) begin transaction
1473
+  (0.0ms) rollback transaction
1474
+  (0.0ms) begin transaction
1475
+  (0.0ms) rollback transaction
1476
+  (0.0ms) begin transaction
1477
+  (0.0ms) rollback transaction
1478
+  (0.0ms) begin transaction
1479
+  (0.0ms) rollback transaction
1480
+  (0.0ms) begin transaction
1481
+  (0.0ms) rollback transaction
1482
+  (0.0ms) begin transaction
1483
+  (0.0ms) rollback transaction
1484
+  (0.0ms) begin transaction
1485
+  (0.0ms) rollback transaction
1486
+  (0.0ms) begin transaction
1487
+  (0.0ms) rollback transaction
1488
+  (0.0ms) begin transaction
1489
+  (0.0ms) rollback transaction
1490
+  (0.0ms) begin transaction
1491
+  (0.0ms) rollback transaction
1492
+  (0.0ms) begin transaction
1493
+  (0.0ms) rollback transaction
1494
+  (0.0ms) begin transaction
1495
+  (0.0ms) rollback transaction
1496
+  (0.0ms) begin transaction
1497
+  (0.0ms) rollback transaction
1498
+  (0.0ms) begin transaction
1499
+  (0.0ms) rollback transaction
1500
+  (0.0ms) begin transaction
1501
+  (0.0ms) rollback transaction
1502
+  (0.0ms) begin transaction
1503
+  (0.0ms) rollback transaction
1504
+  (0.0ms) begin transaction
1505
+  (0.0ms) rollback transaction
1506
+  (0.0ms) begin transaction
1507
+  (0.0ms) rollback transaction
1508
+  (0.0ms) begin transaction
1509
+  (0.0ms) rollback transaction
1510
+  (0.0ms) begin transaction
1511
+  (0.0ms) rollback transaction
1512
+  (0.0ms) begin transaction
1513
+  (0.0ms) rollback transaction
1514
+  (0.0ms) begin transaction
1515
+  (0.0ms) rollback transaction
1516
+  (0.0ms) begin transaction
1517
+  (0.0ms) rollback transaction
1518
+  (0.0ms) begin transaction
1519
+  (0.0ms) rollback transaction
1520
+  (0.0ms) begin transaction
1521
+  (0.0ms) rollback transaction
1522
+  (0.0ms) begin transaction
1523
+  (0.0ms) rollback transaction
1524
+  (0.0ms) begin transaction
1525
+  (0.1ms) rollback transaction
1526
+  (0.0ms) begin transaction
1527
+  (0.0ms) rollback transaction
1528
+  (0.0ms) begin transaction
1529
+  (0.0ms) rollback transaction
1530
+  (0.0ms) begin transaction
1531
+  (0.0ms) rollback transaction
1532
+  (0.0ms) begin transaction
1533
+  (0.0ms) rollback transaction
1534
+  (0.0ms) begin transaction
1535
+  (0.0ms) rollback transaction
1536
+  (0.0ms) begin transaction
1537
+  (0.0ms) rollback transaction
1538
+  (0.1ms) begin transaction
1539
+  (0.0ms) rollback transaction
1540
+  (0.0ms) begin transaction
1541
+  (0.0ms) rollback transaction
1542
+  (0.0ms) begin transaction
1543
+  (0.0ms) SAVEPOINT active_record_1
1544
+ ARModels::Post Create (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2021-04-28 02:37:02.691293"], ["updated_at", "2021-04-28 02:37:02.691293"]]
1545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1546
+  (0.0ms) SAVEPOINT active_record_1
1547
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2021-04-28 02:37:02.692259"], ["updated_at", "2021-04-28 02:37:02.692259"]]
1548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1549
+  (0.0ms) SAVEPOINT active_record_1
1550
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]
1551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1552
+  (0.0ms) SAVEPOINT active_record_1
1553
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]
1554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1555
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1556
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1557
+  (0.0ms) rollback transaction
1558
+  (0.0ms) begin transaction
1559
+  (0.0ms) SAVEPOINT active_record_1
1560
+ ARModels::Post Create (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2021-04-28 02:37:02.706388"], ["updated_at", "2021-04-28 02:37:02.706388"]]
1561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1562
+  (0.0ms) SAVEPOINT active_record_1
1563
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2021-04-28 02:37:02.707231"], ["updated_at", "2021-04-28 02:37:02.707231"]]
1564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1565
+  (0.0ms) SAVEPOINT active_record_1
1566
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
1567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1568
+  (0.0ms) SAVEPOINT active_record_1
1569
+ ARModels::Comment Create (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
1570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1571
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1572
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1573
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1574
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "person_9"], ["LIMIT", 1]]
1575
+  (0.0ms) rollback transaction
1576
+  (0.0ms) begin transaction
1577
+  (0.0ms) SAVEPOINT active_record_1
1578
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2021-04-28 02:37:02.711468"], ["updated_at", "2021-04-28 02:37:02.711468"]]
1579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1580
+  (0.0ms) SAVEPOINT active_record_1
1581
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
1582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1583
+  (0.0ms) SAVEPOINT active_record_1
1584
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
1585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1586
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1587
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1588
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1589
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "person_9"], ["LIMIT", 1]]
1590
+  (0.0ms) rollback transaction
1591
+  (0.0ms) begin transaction
1592
+  (0.0ms) SAVEPOINT active_record_1
1593
+ ARModels::Post Create (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2021-04-28 02:37:02.716428"], ["updated_at", "2021-04-28 02:37:02.716428"]]
1594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1595
+  (0.0ms) SAVEPOINT active_record_1
1596
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2021-04-28 02:37:02.717286"], ["updated_at", "2021-04-28 02:37:02.717286"]]
1597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1598
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "person_9"], ["LIMIT", 1]]
1599
+  (0.0ms) rollback transaction
1600
+  (0.0ms) begin transaction
1601
+  (0.0ms) SAVEPOINT active_record_1
1602
+ ARModels::Post Create (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2021-04-28 02:37:02.719456"], ["updated_at", "2021-04-28 02:37:02.719456"]]
1603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1604
+  (0.0ms) SAVEPOINT active_record_1
1605
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2021-04-28 02:37:02.720243"], ["updated_at", "2021-04-28 02:37:02.720243"]]
1606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1607
+  (0.0ms) SAVEPOINT active_record_1
1608
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2021-04-28 02:37:02.720964"], ["updated_at", "2021-04-28 02:37:02.720964"]]
1609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1610
+  (0.0ms) SAVEPOINT active_record_1
1611
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]
1612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1613
+  (0.0ms) SAVEPOINT active_record_1
1614
+ ARModels::Comment Create (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]
1615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1616
+  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1617
+ ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1618
+ ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (?, ?) [["id", 5], ["id", 12]]
1619
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT ? [["code", "foo"], ["name", "John"], ["LIMIT", 1]]
1620
+  (0.0ms) rollback transaction
1621
+  (0.0ms) begin transaction
1622
+  (0.0ms) SAVEPOINT active_record_1
1623
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2021-04-28 02:37:02.725562"], ["updated_at", "2021-04-28 02:37:02.725562"]]
1624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1625
+ ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT ? [["code", "person_42"], ["LIMIT", 1]]
1626
+  (0.0ms) rollback transaction
1627
+  (0.0ms) begin transaction
1628
+  (0.0ms) SAVEPOINT active_record_1
1629
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2021-04-28 02:37:02.727200"], ["updated_at", "2021-04-28 02:37:02.727200"]]
1630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1631
+  (0.0ms) SAVEPOINT active_record_1
1632
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2021-04-28 02:37:02.727940"], ["updated_at", "2021-04-28 02:37:02.727940"]]
1633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1634
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT ? [["name", "Jack"], ["code", "foo"], ["LIMIT", 1]]
1635
+  (0.0ms) rollback transaction
1636
+  (0.0ms) begin transaction
1637
+  (0.0ms) SAVEPOINT active_record_1
1638
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2021-04-28 02:37:02.730151"], ["updated_at", "2021-04-28 02:37:02.730151"]]
1639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1640
+  (0.0ms) SAVEPOINT active_record_1
1641
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2021-04-28 02:37:02.731040"], ["updated_at", "2021-04-28 02:37:02.731040"]]
1642
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1643
+  (0.1ms) SAVEPOINT active_record_1
1644
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2021-04-28 02:37:02.731870"], ["updated_at", "2021-04-28 02:37:02.731870"]]
1645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1646
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN (?, ?) [["name", "Jack"], ["code", "foo"], ["code", "bar"]]
1647
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN (?, ?) [["name", "Jack"], ["code", "foo"], ["code", "bar"]]
1648
+  (0.0ms) rollback transaction
1649
+  (0.0ms) begin transaction
1650
+  (0.0ms) SAVEPOINT active_record_1
1651
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2021-04-28 02:37:02.735139"], ["updated_at", "2021-04-28 02:37:02.735139"]]
1652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1653
+  (0.0ms) SAVEPOINT active_record_1
1654
+ ARModels::Author Create (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2021-04-28 02:37:02.736324"], ["updated_at", "2021-04-28 02:37:02.736324"]]
1655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1656
+  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "person_42"], ["code", "person_43"]]
1657
+ ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN (?, ?) [["code", "person_42"], ["code", "person_43"]]
1658
+  (0.0ms) rollback transaction
1659
+  (0.0ms) begin transaction
1660
+  (0.0ms) rollback transaction
1661
+  (0.0ms) begin transaction
1662
+ Unable to determine type for anonymous Deserializer
1663
+  (0.0ms) rollback transaction
1664
+  (0.0ms) begin transaction
1665
+ Unable to determine type for anonymous Deserializer
1666
+  (0.0ms) rollback transaction
1667
+  (0.0ms) begin transaction
1668
+ Unable to determine type for anonymous Deserializer
1669
+  (0.0ms) rollback transaction
1670
+  (0.0ms) begin transaction
1671
+ Unable to determine type for anonymous Deserializer
1672
+  (0.0ms) rollback transaction
1673
+  (0.0ms) begin transaction
1674
+ Unable to determine type for anonymous Deserializer
1675
+  (0.0ms) rollback transaction
1676
+  (0.0ms) begin transaction
1677
+ Unable to determine type for anonymous Deserializer
1678
+  (0.0ms) rollback transaction
1679
+  (0.0ms) begin transaction
1680
+ Unable to determine type for anonymous Deserializer
1681
+  (0.0ms) rollback transaction
1682
+  (0.0ms) begin transaction
1683
+ Unable to determine type for anonymous Deserializer
1684
+  (0.0ms) rollback transaction
1685
+  (0.0ms) begin transaction
1686
+ Unable to determine type for anonymous Deserializer
1687
+  (0.0ms) rollback transaction
1688
+  (0.0ms) begin transaction
1689
+ Unable to determine type for anonymous Deserializer
1690
+  (0.0ms) rollback transaction
1691
+  (0.0ms) begin transaction
1692
+ Unable to determine type for anonymous Deserializer
1693
+  (0.0ms) rollback transaction
1694
+  (0.0ms) begin transaction
1695
+ Unable to determine type for anonymous Deserializer
1696
+  (0.0ms) rollback transaction
1697
+  (0.0ms) begin transaction
1698
+ Unable to determine type for anonymous Deserializer
1699
+  (0.0ms) rollback transaction
1700
+  (0.0ms) begin transaction
1701
+  (0.0ms) rollback transaction
1702
+  (0.0ms) begin transaction
1703
+  (0.0ms) rollback transaction
1704
+  (0.0ms) begin transaction
1705
+  (0.0ms) rollback transaction
1706
+  (0.0ms) begin transaction
1707
+  (0.0ms) rollback transaction
1708
+  (0.0ms) begin transaction
1709
+  (0.0ms) rollback transaction
1710
+  (0.0ms) begin transaction
1711
+  (0.0ms) rollback transaction
1712
+  (0.0ms) begin transaction
1713
+  (0.0ms) rollback transaction
1714
+  (0.0ms) begin transaction
1715
+  (0.0ms) rollback transaction
1716
+  (0.0ms) begin transaction
1717
+  (0.0ms) rollback transaction
1718
+  (0.0ms) begin transaction
1719
+  (0.0ms) rollback transaction
1720
+  (0.0ms) begin transaction
1721
+ Processing by AnonymousController#index as HTML
1722
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.56ms)
1723
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1724
+  (0.0ms) rollback transaction
1725
+  (0.0ms) begin transaction
1726
+ Processing by AnonymousController#index as HTML
1727
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms)
1728
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1729
+  (0.0ms) rollback transaction
1730
+  (0.0ms) begin transaction
1731
+ Processing by AnonymousController#index as HTML
1732
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms)
1733
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1734
+  (0.1ms) rollback transaction
1735
+  (0.0ms) begin transaction
1736
+ Processing by AnonymousController#index as HTML
1737
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms)
1738
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1739
+  (0.0ms) rollback transaction
1740
+  (0.0ms) begin transaction
1741
+ Processing by AnonymousController#index as HTML
1742
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.43ms)
1743
+ Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1744
+  (0.1ms) rollback transaction
1745
+  (0.0ms) begin transaction
1746
+ Processing by AnonymousController#index as HTML
1747
+ [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms)
1748
+ Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1749
+  (0.0ms) rollback transaction