simple_recommender 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5622,3 +5622,1040 @@ SimpleRecommenderTest: test_module_exists
5622
5622
  Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
5623
5623
  Book Load (0.4ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
5624
5624
  Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
5625
+ ActiveRecord::SchemaMigration Load (34.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
5626
+ Book Load (3.3ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5627
+  (18.5ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
5628
+  (6.4ms) BEGIN
5629
+ Fixture Delete (13.5ms) DELETE FROM "books_tags"
5630
+ Fixture Delete (0.3ms) DELETE FROM "books"
5631
+ Fixture Insert (6.6ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
5632
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
5633
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
5634
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
5635
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
5636
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
5637
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
5638
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
5639
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
5640
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
5641
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
5642
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
5643
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
5644
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
5645
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
5646
+ Fixture Insert (2.6ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 266251676)
5647
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 644331355)
5648
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 508637499)
5649
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 168464791)
5650
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 572977986)
5651
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 857228561)
5652
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 436277767)
5653
+ Fixture Delete (1.2ms) DELETE FROM "likes"
5654
+ Fixture Insert (3.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 683130438, 557192574, 266251676)
5655
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 834596858, 557192574, 644331355)
5656
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 112844655, 944878372, 266251676)
5657
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 417155790, 944878372, 508637499)
5658
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 802847325, 492947529, 644331355)
5659
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 919808993, 492947529, 508637499)
5660
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 30677878, 165965450, 168464791)
5661
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 292226793, 165965450, 572977986)
5662
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 644626036, 3097974, 168464791)
5663
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 1063610316, 3097974, 572977986)
5664
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 140662621, 3097974, 857228561)
5665
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 369541888, 283047497, 168464791)
5666
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 553775723, 283047497, 572977986)
5667
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 02:47:04', '2017-02-17 02:47:04', 940090323, 283047497, 436277767)
5668
+ Fixture Delete (0.9ms) DELETE FROM "tags"
5669
+ Fixture Insert (2.9ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 794233342)
5670
+ Fixture Insert (0.3ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 405042892)
5671
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 270779907)
5672
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 32674512)
5673
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 393102864)
5674
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 223486541)
5675
+ Fixture Delete (0.9ms) DELETE FROM "users"
5676
+ Fixture Insert (1.7ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 557192574)
5677
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 944878372)
5678
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 492947529)
5679
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 165965450)
5680
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 3097974)
5681
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 02:47:04', '2017-02-17 02:47:04', 283047497)
5682
+  (0.5ms) COMMIT
5683
+  (0.7ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
5684
+  (0.1ms) BEGIN
5685
+ -----------------------------------------
5686
+ SimpleRecommenderTest: test_module_exists
5687
+ -----------------------------------------
5688
+  (0.1ms) ROLLBACK
5689
+ ActiveRecord::SchemaMigration Load (27.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5690
+  (5.1ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
5691
+  (6.4ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
5692
+ ActiveRecord::SchemaMigration Load (30.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
5693
+ Book Load (3.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5694
+  (1.3ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
5695
+  (0.2ms) BEGIN
5696
+ Fixture Delete (2.6ms) DELETE FROM "books_tags"
5697
+ Fixture Delete (0.3ms) DELETE FROM "books"
5698
+ Fixture Insert (23.5ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
5699
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
5700
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
5701
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
5702
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
5703
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
5704
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
5705
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
5706
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
5707
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
5708
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
5709
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
5710
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
5711
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
5712
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
5713
+ Fixture Insert (2.5ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 266251676)
5714
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 644331355)
5715
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 508637499)
5716
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 168464791)
5717
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 572977986)
5718
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 857228561)
5719
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 436277767)
5720
+ Fixture Delete (0.7ms) DELETE FROM "likes"
5721
+ Fixture Insert (2.8ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 683130438, 557192574, 266251676)
5722
+ Fixture Insert (0.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 834596858, 557192574, 644331355)
5723
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 112844655, 944878372, 266251676)
5724
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 417155790, 944878372, 508637499)
5725
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 802847325, 492947529, 644331355)
5726
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 919808993, 492947529, 508637499)
5727
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 30677878, 165965450, 168464791)
5728
+ Fixture Insert (0.5ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 292226793, 165965450, 572977986)
5729
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 644626036, 3097974, 168464791)
5730
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 1063610316, 3097974, 572977986)
5731
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 140662621, 3097974, 857228561)
5732
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 369541888, 283047497, 168464791)
5733
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 553775723, 283047497, 572977986)
5734
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:06:50', '2017-02-17 03:06:50', 940090323, 283047497, 436277767)
5735
+ Fixture Delete (0.8ms) DELETE FROM "tags"
5736
+ Fixture Insert (0.9ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 794233342)
5737
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 405042892)
5738
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 270779907)
5739
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 32674512)
5740
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 393102864)
5741
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 223486541)
5742
+ Fixture Delete (0.6ms) DELETE FROM "users"
5743
+ Fixture Insert (2.4ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 557192574)
5744
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 944878372)
5745
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 492947529)
5746
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 165965450)
5747
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 3097974)
5748
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:06:50', '2017-02-17 03:06:50', 283047497)
5749
+  (0.4ms) COMMIT
5750
+  (2.1ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
5751
+  (0.1ms) BEGIN
5752
+ -----------------------------------------
5753
+ SimpleRecommenderTest: test_module_exists
5754
+ -----------------------------------------
5755
+  (0.1ms) ROLLBACK
5756
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
5757
+  (1.0ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
5758
+  (0.2ms) BEGIN
5759
+ Fixture Delete (0.3ms) DELETE FROM "books_tags"
5760
+ Fixture Delete (0.3ms) DELETE FROM "books"
5761
+ Fixture Insert (0.5ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
5762
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
5763
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
5764
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
5765
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
5766
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
5767
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
5768
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
5769
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
5770
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
5771
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
5772
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
5773
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
5774
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
5775
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
5776
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 266251676)
5777
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 644331355)
5778
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 508637499)
5779
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 168464791)
5780
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 572977986)
5781
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 857228561)
5782
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 436277767)
5783
+ Fixture Delete (0.4ms) DELETE FROM "likes"
5784
+ Fixture Insert (0.3ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 683130438, 557192574, 266251676)
5785
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 834596858, 557192574, 644331355)
5786
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 112844655, 944878372, 266251676)
5787
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 417155790, 944878372, 508637499)
5788
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 802847325, 492947529, 644331355)
5789
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 919808993, 492947529, 508637499)
5790
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 30677878, 165965450, 168464791)
5791
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 292226793, 165965450, 572977986)
5792
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 644626036, 3097974, 168464791)
5793
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 1063610316, 3097974, 572977986)
5794
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 140662621, 3097974, 857228561)
5795
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 369541888, 283047497, 168464791)
5796
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 553775723, 283047497, 572977986)
5797
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:01', '2017-02-17 03:07:01', 940090323, 283047497, 436277767)
5798
+ Fixture Delete (0.3ms) DELETE FROM "tags"
5799
+ Fixture Insert (0.2ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 794233342)
5800
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 405042892)
5801
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 270779907)
5802
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 32674512)
5803
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 393102864)
5804
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 223486541)
5805
+ Fixture Delete (0.2ms) DELETE FROM "users"
5806
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 557192574)
5807
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 944878372)
5808
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 492947529)
5809
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 165965450)
5810
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 3097974)
5811
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:07:01', '2017-02-17 03:07:01', 283047497)
5812
+  (0.5ms) COMMIT
5813
+  (0.6ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
5814
+  (0.1ms) BEGIN
5815
+ -----------------------------------------
5816
+ SimpleRecommenderTest: test_module_exists
5817
+ -----------------------------------------
5818
+  (0.1ms) ROLLBACK
5819
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
5820
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
5821
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
5822
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5823
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5824
+ ActiveRecord::SchemaMigration Load (14.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5825
+  (1.4ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
5826
+  (0.2ms) BEGIN
5827
+ Fixture Delete (0.3ms) DELETE FROM "books_tags"
5828
+ Fixture Delete (0.2ms) DELETE FROM "books"
5829
+ Fixture Insert (26.4ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
5830
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
5831
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
5832
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
5833
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
5834
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
5835
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
5836
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
5837
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
5838
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
5839
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
5840
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
5841
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
5842
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
5843
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
5844
+ Fixture Insert (2.4ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 266251676)
5845
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 644331355)
5846
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 508637499)
5847
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 168464791)
5848
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 572977986)
5849
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 857228561)
5850
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 436277767)
5851
+ Fixture Delete (0.3ms) DELETE FROM "likes"
5852
+ Fixture Insert (3.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 683130438, 557192574, 266251676)
5853
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 834596858, 557192574, 644331355)
5854
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 112844655, 944878372, 266251676)
5855
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 417155790, 944878372, 508637499)
5856
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 802847325, 492947529, 644331355)
5857
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 919808993, 492947529, 508637499)
5858
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 30677878, 165965450, 168464791)
5859
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 292226793, 165965450, 572977986)
5860
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 644626036, 3097974, 168464791)
5861
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 1063610316, 3097974, 572977986)
5862
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 140662621, 3097974, 857228561)
5863
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 369541888, 283047497, 168464791)
5864
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 553775723, 283047497, 572977986)
5865
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:07:53', '2017-02-17 03:07:53', 940090323, 283047497, 436277767)
5866
+ Fixture Delete (0.7ms) DELETE FROM "tags"
5867
+ Fixture Insert (0.7ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 794233342)
5868
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 405042892)
5869
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 270779907)
5870
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 32674512)
5871
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 393102864)
5872
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 223486541)
5873
+ Fixture Delete (0.6ms) DELETE FROM "users"
5874
+ Fixture Insert (1.4ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 557192574)
5875
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 944878372)
5876
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 492947529)
5877
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 165965450)
5878
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 3097974)
5879
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:07:53', '2017-02-17 03:07:53', 283047497)
5880
+  (0.6ms) COMMIT
5881
+  (0.6ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
5882
+  (0.1ms) BEGIN
5883
+ -----------------------------------------
5884
+ SimpleRecommenderTest: test_module_exists
5885
+ -----------------------------------------
5886
+  (0.1ms) ROLLBACK
5887
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
5888
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
5889
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
5890
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5891
+ User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "likes" ON "users"."id" = "likes"."user_id" WHERE "likes"."book_id" = $1 [["book_id", 572977986]]
5892
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5893
+ User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "likes" ON "users"."id" = "likes"."user_id" WHERE "likes"."book_id" = $1 [["book_id", 572977986]]
5894
+ ActiveRecord::SchemaMigration Load (20.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
5895
+ Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
5896
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
5897
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
5898
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5899
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5900
+  (1.2ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
5901
+  (0.2ms) BEGIN
5902
+ Fixture Delete (0.3ms) DELETE FROM "books_tags"
5903
+ Fixture Delete (0.2ms) DELETE FROM "books"
5904
+ Fixture Insert (20.8ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
5905
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
5906
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
5907
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
5908
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
5909
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
5910
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
5911
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
5912
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
5913
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
5914
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
5915
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
5916
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
5917
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
5918
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
5919
+ Fixture Insert (1.9ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 266251676)
5920
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 644331355)
5921
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 508637499)
5922
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 168464791)
5923
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 572977986)
5924
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 857228561)
5925
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 436277767)
5926
+ Fixture Delete (0.3ms) DELETE FROM "likes"
5927
+ Fixture Insert (2.8ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 683130438, 557192574, 266251676)
5928
+ Fixture Insert (0.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 834596858, 557192574, 644331355)
5929
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 112844655, 944878372, 266251676)
5930
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 417155790, 944878372, 508637499)
5931
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 802847325, 492947529, 644331355)
5932
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 919808993, 492947529, 508637499)
5933
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 30677878, 165965450, 168464791)
5934
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 292226793, 165965450, 572977986)
5935
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 644626036, 3097974, 168464791)
5936
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 1063610316, 3097974, 572977986)
5937
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 140662621, 3097974, 857228561)
5938
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 369541888, 283047497, 168464791)
5939
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 553775723, 283047497, 572977986)
5940
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:09:20', '2017-02-17 03:09:20', 940090323, 283047497, 436277767)
5941
+ Fixture Delete (0.6ms) DELETE FROM "tags"
5942
+ Fixture Insert (0.7ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 794233342)
5943
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 405042892)
5944
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 270779907)
5945
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 32674512)
5946
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 393102864)
5947
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 223486541)
5948
+ Fixture Delete (0.7ms) DELETE FROM "users"
5949
+ Fixture Insert (1.6ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 557192574)
5950
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 944878372)
5951
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 492947529)
5952
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 165965450)
5953
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 3097974)
5954
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:09:20', '2017-02-17 03:09:20', 283047497)
5955
+  (0.4ms) COMMIT
5956
+  (0.6ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
5957
+  (0.1ms) BEGIN
5958
+ -----------------------------------------
5959
+ SimpleRecommenderTest: test_module_exists
5960
+ -----------------------------------------
5961
+  (0.1ms) ROLLBACK
5962
+ ActiveRecord::SchemaMigration Load (24.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
5963
+ Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5964
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
5965
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
5966
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
5967
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
5968
+  (1.2ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
5969
+  (0.2ms) BEGIN
5970
+ Fixture Delete (0.3ms) DELETE FROM "books_tags"
5971
+ Fixture Delete (0.2ms) DELETE FROM "books"
5972
+ Fixture Insert (24.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
5973
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
5974
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
5975
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
5976
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
5977
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
5978
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
5979
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
5980
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
5981
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
5982
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
5983
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
5984
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
5985
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
5986
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
5987
+ Fixture Insert (1.9ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 266251676)
5988
+ Fixture Insert (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 644331355)
5989
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 508637499)
5990
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 168464791)
5991
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 572977986)
5992
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 857228561)
5993
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 436277767)
5994
+ Fixture Delete (0.3ms) DELETE FROM "likes"
5995
+ Fixture Insert (2.9ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 683130438, 557192574, 266251676)
5996
+ Fixture Insert (0.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 834596858, 557192574, 644331355)
5997
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 112844655, 944878372, 266251676)
5998
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 417155790, 944878372, 508637499)
5999
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 802847325, 492947529, 644331355)
6000
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 919808993, 492947529, 508637499)
6001
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 30677878, 165965450, 168464791)
6002
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 292226793, 165965450, 572977986)
6003
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 644626036, 3097974, 168464791)
6004
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 1063610316, 3097974, 572977986)
6005
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 140662621, 3097974, 857228561)
6006
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 369541888, 283047497, 168464791)
6007
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 553775723, 283047497, 572977986)
6008
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:10:53', '2017-02-17 03:10:53', 940090323, 283047497, 436277767)
6009
+ Fixture Delete (0.6ms) DELETE FROM "tags"
6010
+ Fixture Insert (1.5ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 794233342)
6011
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 405042892)
6012
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 270779907)
6013
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 32674512)
6014
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 393102864)
6015
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 223486541)
6016
+ Fixture Delete (0.8ms) DELETE FROM "users"
6017
+ Fixture Insert (1.7ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 557192574)
6018
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 944878372)
6019
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 492947529)
6020
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 165965450)
6021
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 3097974)
6022
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:10:53', '2017-02-17 03:10:53', 283047497)
6023
+  (0.6ms) COMMIT
6024
+  (0.7ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
6025
+  (0.1ms) BEGIN
6026
+ -----------------------------------------
6027
+ SimpleRecommenderTest: test_module_exists
6028
+ -----------------------------------------
6029
+  (0.1ms) ROLLBACK
6030
+ ActiveRecord::SchemaMigration Load (25.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6031
+ Book Load (3.0ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
6032
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
6033
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
6034
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6035
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6036
+  (1.6ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
6037
+  (0.2ms) BEGIN
6038
+ Fixture Delete (2.1ms) DELETE FROM "books_tags"
6039
+ Fixture Delete (0.3ms) DELETE FROM "books"
6040
+ Fixture Insert (24.6ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
6041
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
6042
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
6043
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
6044
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
6045
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
6046
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
6047
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
6048
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
6049
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
6050
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
6051
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
6052
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
6053
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
6054
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
6055
+ Fixture Insert (2.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 266251676)
6056
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 644331355)
6057
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 508637499)
6058
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 168464791)
6059
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 572977986)
6060
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 857228561)
6061
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 436277767)
6062
+ Fixture Delete (0.7ms) DELETE FROM "likes"
6063
+ Fixture Insert (3.0ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 683130438, 557192574, 266251676)
6064
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 834596858, 557192574, 644331355)
6065
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 112844655, 944878372, 266251676)
6066
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 417155790, 944878372, 508637499)
6067
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 802847325, 492947529, 644331355)
6068
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 919808993, 492947529, 508637499)
6069
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 30677878, 165965450, 168464791)
6070
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 292226793, 165965450, 572977986)
6071
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 644626036, 3097974, 168464791)
6072
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 1063610316, 3097974, 572977986)
6073
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 140662621, 3097974, 857228561)
6074
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 369541888, 283047497, 168464791)
6075
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 553775723, 283047497, 572977986)
6076
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:18', '2017-02-17 03:12:18', 940090323, 283047497, 436277767)
6077
+ Fixture Delete (0.7ms) DELETE FROM "tags"
6078
+ Fixture Insert (1.7ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 794233342)
6079
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 405042892)
6080
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 270779907)
6081
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 32674512)
6082
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 393102864)
6083
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 223486541)
6084
+ Fixture Delete (0.6ms) DELETE FROM "users"
6085
+ Fixture Insert (1.6ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 557192574)
6086
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 944878372)
6087
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 492947529)
6088
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 165965450)
6089
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 3097974)
6090
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:12:18', '2017-02-17 03:12:18', 283047497)
6091
+  (0.5ms) COMMIT
6092
+  (0.7ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
6093
+  (0.1ms) BEGIN
6094
+ -----------------------------------------
6095
+ SimpleRecommenderTest: test_module_exists
6096
+ -----------------------------------------
6097
+  (0.1ms) ROLLBACK
6098
+ ActiveRecord::SchemaMigration Load (19.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
6099
+  (1.3ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
6100
+  (0.2ms) BEGIN
6101
+ Fixture Delete (0.3ms) DELETE FROM "books_tags"
6102
+ Fixture Delete (0.2ms) DELETE FROM "books"
6103
+ Fixture Insert (27.4ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
6104
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
6105
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
6106
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
6107
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
6108
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
6109
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
6110
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
6111
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
6112
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
6113
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
6114
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
6115
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
6116
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
6117
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
6118
+ Fixture Insert (1.8ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 266251676)
6119
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 644331355)
6120
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 508637499)
6121
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 168464791)
6122
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 572977986)
6123
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 857228561)
6124
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 436277767)
6125
+ Fixture Delete (0.3ms) DELETE FROM "likes"
6126
+ Fixture Insert (2.3ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 683130438, 557192574, 266251676)
6127
+ Fixture Insert (0.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 834596858, 557192574, 644331355)
6128
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 112844655, 944878372, 266251676)
6129
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 417155790, 944878372, 508637499)
6130
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 802847325, 492947529, 644331355)
6131
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 919808993, 492947529, 508637499)
6132
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 30677878, 165965450, 168464791)
6133
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 292226793, 165965450, 572977986)
6134
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 644626036, 3097974, 168464791)
6135
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 1063610316, 3097974, 572977986)
6136
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 140662621, 3097974, 857228561)
6137
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 369541888, 283047497, 168464791)
6138
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 553775723, 283047497, 572977986)
6139
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:12:40', '2017-02-17 03:12:40', 940090323, 283047497, 436277767)
6140
+ Fixture Delete (0.2ms) DELETE FROM "tags"
6141
+ Fixture Insert (1.3ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 794233342)
6142
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 405042892)
6143
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 270779907)
6144
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 32674512)
6145
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 393102864)
6146
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 223486541)
6147
+ Fixture Delete (0.2ms) DELETE FROM "users"
6148
+ Fixture Insert (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 557192574)
6149
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 944878372)
6150
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 492947529)
6151
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 165965450)
6152
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 3097974)
6153
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:12:40', '2017-02-17 03:12:40', 283047497)
6154
+  (0.5ms) COMMIT
6155
+  (0.6ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
6156
+  (0.1ms) BEGIN
6157
+ -----------------------------------------
6158
+ SimpleRecommenderTest: test_module_exists
6159
+ -----------------------------------------
6160
+  (0.1ms) ROLLBACK
6161
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
6162
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
6163
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
6164
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6165
+ Book Load (30.1ms)  WITH similar_items AS (
6166
+ SELECT
6167
+ t2.book_id,
6168
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6169
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6170
+ FROM likes AS t1, likes AS t2
6171
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6172
+ GROUP BY t2.book_id
6173
+ ORDER BY similarity DESC
6174
+ LIMIT 3
6175
+ )
6176
+ SELECT books.*, similarity
6177
+ FROM similar_items
6178
+ JOIN books ON books.id = similar_items.book_id
6179
+ ORDER BY similarity DESC;
6180
+ 
6181
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6182
+ Book Load (0.7ms)  WITH similar_items AS (
6183
+ SELECT
6184
+ t2.book_id,
6185
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6186
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6187
+ FROM likes AS t1, likes AS t2
6188
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6189
+ GROUP BY t2.book_id
6190
+ ORDER BY similarity DESC
6191
+ LIMIT 3
6192
+ )
6193
+ SELECT books.*, similarity
6194
+ FROM similar_items
6195
+ JOIN books ON books.id = similar_items.book_id
6196
+ ORDER BY similarity DESC;
6197
+ 
6198
+ ActiveRecord::SchemaMigration Load (26.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
6199
+  (5.6ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
6200
+  (0.2ms) BEGIN
6201
+ Fixture Delete (2.5ms) DELETE FROM "books_tags"
6202
+ Fixture Delete (4.6ms) DELETE FROM "books"
6203
+ Fixture Insert (27.5ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
6204
+ Fixture Insert (0.4ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
6205
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
6206
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
6207
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
6208
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
6209
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
6210
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
6211
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
6212
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
6213
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
6214
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
6215
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
6216
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
6217
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
6218
+ Fixture Insert (2.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 266251676)
6219
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 644331355)
6220
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 508637499)
6221
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 168464791)
6222
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 572977986)
6223
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 857228561)
6224
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 436277767)
6225
+ Fixture Delete (0.7ms) DELETE FROM "likes"
6226
+ Fixture Insert (3.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 683130438, 557192574, 266251676)
6227
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 834596858, 557192574, 644331355)
6228
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 112844655, 944878372, 266251676)
6229
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 417155790, 944878372, 508637499)
6230
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 802847325, 492947529, 644331355)
6231
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 919808993, 492947529, 508637499)
6232
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 30677878, 165965450, 168464791)
6233
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 292226793, 165965450, 572977986)
6234
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 644626036, 3097974, 168464791)
6235
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 1063610316, 3097974, 572977986)
6236
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 140662621, 3097974, 857228561)
6237
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 369541888, 283047497, 168464791)
6238
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 553775723, 283047497, 572977986)
6239
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:20:22', '2017-02-17 03:20:22', 940090323, 283047497, 436277767)
6240
+ Fixture Delete (0.6ms) DELETE FROM "tags"
6241
+ Fixture Insert (1.7ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 794233342)
6242
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 405042892)
6243
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 270779907)
6244
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 32674512)
6245
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 393102864)
6246
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 223486541)
6247
+ Fixture Delete (0.7ms) DELETE FROM "users"
6248
+ Fixture Insert (1.6ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 557192574)
6249
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 944878372)
6250
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 492947529)
6251
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 165965450)
6252
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 3097974)
6253
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:20:22', '2017-02-17 03:20:22', 283047497)
6254
+  (0.6ms) COMMIT
6255
+  (2.0ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
6256
+  (0.1ms) BEGIN
6257
+ -----------------------------------------
6258
+ SimpleRecommenderTest: test_module_exists
6259
+ -----------------------------------------
6260
+  (0.1ms) ROLLBACK
6261
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
6262
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
6263
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
6264
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6265
+ Book Load (21.0ms)  WITH similar_items AS (
6266
+ SELECT
6267
+ t2.book_id,
6268
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6269
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6270
+ FROM likes AS t1, likes AS t2
6271
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6272
+ GROUP BY t2.book_id
6273
+ ORDER BY similarity DESC
6274
+ LIMIT 3
6275
+ )
6276
+ SELECT books.*, similarity
6277
+ FROM similar_items
6278
+ JOIN books ON books.id = similar_items.book_id
6279
+ ORDER BY similarity DESC;
6280
+ 
6281
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6282
+ Book Load (1.1ms)  WITH similar_items AS (
6283
+ SELECT
6284
+ t2.book_id,
6285
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6286
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6287
+ FROM likes AS t1, likes AS t2
6288
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6289
+ GROUP BY t2.book_id
6290
+ ORDER BY similarity DESC
6291
+ LIMIT 3
6292
+ )
6293
+ SELECT books.*, similarity
6294
+ FROM similar_items
6295
+ JOIN books ON books.id = similar_items.book_id
6296
+ ORDER BY similarity DESC;
6297
+ 
6298
+ ActiveRecord::SchemaMigration Load (28.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
6299
+ Book Load (3.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
6300
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
6301
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
6302
+ Book Load (0.4ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6303
+ Book Load (31.2ms) WITH similar_items AS (
6304
+ SELECT
6305
+ t2.book_id,
6306
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6307
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6308
+ FROM likes AS t1, likes AS t2
6309
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6310
+ GROUP BY t2.book_id
6311
+ ORDER BY similarity DESC
6312
+ LIMIT 3
6313
+ )
6314
+ SELECT books.*, similarity
6315
+ FROM similar_items
6316
+ JOIN books ON books.id = similar_items.book_id
6317
+ ORDER BY similarity DESC;
6318
+
6319
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6320
+ Book Load (0.8ms) WITH similar_items AS (
6321
+ SELECT
6322
+ t2.book_id,
6323
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6324
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6325
+ FROM likes AS t1, likes AS t2
6326
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6327
+ GROUP BY t2.book_id
6328
+ ORDER BY similarity DESC
6329
+ LIMIT 3
6330
+ )
6331
+ SELECT books.*, similarity
6332
+ FROM similar_items
6333
+ JOIN books ON books.id = similar_items.book_id
6334
+ ORDER BY similarity DESC;
6335
+
6336
+  (3.5ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
6337
+  (0.2ms) BEGIN
6338
+ Fixture Delete (2.3ms) DELETE FROM "books_tags"
6339
+ Fixture Delete (0.3ms) DELETE FROM "books"
6340
+ Fixture Insert (19.8ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
6341
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
6342
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
6343
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
6344
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
6345
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
6346
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
6347
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
6348
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
6349
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
6350
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
6351
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
6352
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
6353
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
6354
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
6355
+ Fixture Insert (2.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 266251676)
6356
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 644331355)
6357
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 508637499)
6358
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 168464791)
6359
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 572977986)
6360
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 857228561)
6361
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 436277767)
6362
+ Fixture Delete (0.2ms) DELETE FROM "likes"
6363
+ Fixture Insert (2.8ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 683130438, 557192574, 266251676)
6364
+ Fixture Insert (0.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 834596858, 557192574, 644331355)
6365
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 112844655, 944878372, 266251676)
6366
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 417155790, 944878372, 508637499)
6367
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 802847325, 492947529, 644331355)
6368
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 919808993, 492947529, 508637499)
6369
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 30677878, 165965450, 168464791)
6370
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 292226793, 165965450, 572977986)
6371
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 644626036, 3097974, 168464791)
6372
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 1063610316, 3097974, 572977986)
6373
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 140662621, 3097974, 857228561)
6374
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 369541888, 283047497, 168464791)
6375
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 553775723, 283047497, 572977986)
6376
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:23:57', '2017-02-17 03:23:57', 940090323, 283047497, 436277767)
6377
+ Fixture Delete (0.8ms) DELETE FROM "tags"
6378
+ Fixture Insert (1.7ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 794233342)
6379
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 405042892)
6380
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 270779907)
6381
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 32674512)
6382
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 393102864)
6383
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 223486541)
6384
+ Fixture Delete (0.6ms) DELETE FROM "users"
6385
+ Fixture Insert (1.6ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 557192574)
6386
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 944878372)
6387
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 492947529)
6388
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 165965450)
6389
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 3097974)
6390
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:23:57', '2017-02-17 03:23:57', 283047497)
6391
+  (0.6ms) COMMIT
6392
+  (0.6ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
6393
+  (0.1ms) BEGIN
6394
+ -----------------------------------------
6395
+ SimpleRecommenderTest: test_module_exists
6396
+ -----------------------------------------
6397
+  (0.1ms) ROLLBACK
6398
+ ActiveRecord::SchemaMigration Load (26.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
6399
+ Book Load (2.3ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6400
+  (2.8ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
6401
+  (0.2ms) BEGIN
6402
+ Fixture Delete (2.3ms) DELETE FROM "books_tags"
6403
+ Fixture Delete (0.3ms) DELETE FROM "books"
6404
+ Fixture Insert (22.4ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
6405
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
6406
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
6407
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
6408
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
6409
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
6410
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
6411
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
6412
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
6413
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
6414
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
6415
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
6416
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
6417
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
6418
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
6419
+ Fixture Insert (2.4ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 266251676)
6420
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 644331355)
6421
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 508637499)
6422
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 168464791)
6423
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 572977986)
6424
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 857228561)
6425
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 436277767)
6426
+ Fixture Delete (0.7ms) DELETE FROM "likes"
6427
+ Fixture Insert (3.0ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 683130438, 557192574, 266251676)
6428
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 834596858, 557192574, 644331355)
6429
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 112844655, 944878372, 266251676)
6430
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 417155790, 944878372, 508637499)
6431
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 802847325, 492947529, 644331355)
6432
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 919808993, 492947529, 508637499)
6433
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 30677878, 165965450, 168464791)
6434
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 292226793, 165965450, 572977986)
6435
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 644626036, 3097974, 168464791)
6436
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 1063610316, 3097974, 572977986)
6437
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 140662621, 3097974, 857228561)
6438
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 369541888, 283047497, 168464791)
6439
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 553775723, 283047497, 572977986)
6440
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:25:20', '2017-02-17 03:25:20', 940090323, 283047497, 436277767)
6441
+ Fixture Delete (0.5ms) DELETE FROM "tags"
6442
+ Fixture Insert (1.6ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 794233342)
6443
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 405042892)
6444
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 270779907)
6445
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 32674512)
6446
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 393102864)
6447
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 223486541)
6448
+ Fixture Delete (0.6ms) DELETE FROM "users"
6449
+ Fixture Insert (1.5ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 557192574)
6450
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 944878372)
6451
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 492947529)
6452
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 165965450)
6453
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 3097974)
6454
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:25:20', '2017-02-17 03:25:20', 283047497)
6455
+  (0.4ms) COMMIT
6456
+  (0.6ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
6457
+  (0.1ms) BEGIN
6458
+ -----------------------------------------
6459
+ SimpleRecommenderTest: test_module_exists
6460
+ -----------------------------------------
6461
+  (0.1ms) ROLLBACK
6462
+ ActiveRecord::SchemaMigration Load (24.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
6463
+  (5.4ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
6464
+  (0.2ms) BEGIN
6465
+ Fixture Delete (1.9ms) DELETE FROM "books_tags"
6466
+ Fixture Delete (5.7ms) DELETE FROM "books"
6467
+ Fixture Insert (30.8ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
6468
+ Fixture Insert (0.4ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
6469
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
6470
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
6471
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
6472
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
6473
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
6474
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
6475
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
6476
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
6477
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
6478
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
6479
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
6480
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
6481
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
6482
+ Fixture Insert (2.4ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 266251676)
6483
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 644331355)
6484
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 508637499)
6485
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 168464791)
6486
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 572977986)
6487
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 857228561)
6488
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 436277767)
6489
+ Fixture Delete (0.6ms) DELETE FROM "likes"
6490
+ Fixture Insert (2.9ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 683130438, 557192574, 266251676)
6491
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 834596858, 557192574, 644331355)
6492
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 112844655, 944878372, 266251676)
6493
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 417155790, 944878372, 508637499)
6494
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 802847325, 492947529, 644331355)
6495
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 919808993, 492947529, 508637499)
6496
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 30677878, 165965450, 168464791)
6497
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 292226793, 165965450, 572977986)
6498
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 644626036, 3097974, 168464791)
6499
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 1063610316, 3097974, 572977986)
6500
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 140662621, 3097974, 857228561)
6501
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 369541888, 283047497, 168464791)
6502
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 553775723, 283047497, 572977986)
6503
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:22', '2017-02-17 03:28:22', 940090323, 283047497, 436277767)
6504
+ Fixture Delete (0.8ms) DELETE FROM "tags"
6505
+ Fixture Insert (1.8ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 794233342)
6506
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 405042892)
6507
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 270779907)
6508
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 32674512)
6509
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 393102864)
6510
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 223486541)
6511
+ Fixture Delete (1.0ms) DELETE FROM "users"
6512
+ Fixture Insert (1.8ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 557192574)
6513
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 944878372)
6514
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 492947529)
6515
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 165965450)
6516
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 3097974)
6517
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:28:22', '2017-02-17 03:28:22', 283047497)
6518
+  (0.5ms) COMMIT
6519
+  (1.6ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
6520
+  (0.1ms) BEGIN
6521
+ -----------------------------------------
6522
+ SimpleRecommenderTest: test_module_exists
6523
+ -----------------------------------------
6524
+  (0.1ms) ROLLBACK
6525
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6526
+ Book Load (22.9ms) WITH similar_items AS (
6527
+ SELECT
6528
+ t2.book_id,
6529
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6530
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6531
+ FROM likes AS t1, likes AS t2
6532
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6533
+ GROUP BY t2.book_id
6534
+ ORDER BY similarity DESC
6535
+ LIMIT 3
6536
+ )
6537
+ SELECT books.*, similarity
6538
+ FROM similar_items
6539
+ JOIN books ON books.id = similar_items.book_id
6540
+ ORDER BY similarity DESC;
6541
+
6542
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
6543
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
6544
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
6545
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6546
+ Book Load (0.6ms)  WITH similar_items AS (
6547
+ SELECT
6548
+ t2.book_id,
6549
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6550
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6551
+ FROM likes AS t1, likes AS t2
6552
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6553
+ GROUP BY t2.book_id
6554
+ ORDER BY similarity DESC
6555
+ LIMIT 3
6556
+ )
6557
+ SELECT books.*, similarity
6558
+ FROM similar_items
6559
+ JOIN books ON books.id = similar_items.book_id
6560
+ ORDER BY similarity DESC;
6561
+ 
6562
+ ActiveRecord::SchemaMigration Load (8.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
6563
+ Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Ruby"]]
6564
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning C++"]]
6565
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Playing Violin"]]
6566
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6567
+ Book Load (27.9ms) WITH similar_items AS (
6568
+ SELECT
6569
+ t2.book_id,
6570
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6571
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6572
+ FROM likes AS t1, likes AS t2
6573
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6574
+ GROUP BY t2.book_id
6575
+ ORDER BY similarity DESC
6576
+ LIMIT 3
6577
+ )
6578
+ SELECT books.*, similarity
6579
+ FROM similar_items
6580
+ JOIN books ON books.id = similar_items.book_id
6581
+ ORDER BY similarity DESC;
6582
+
6583
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."name" = $1 LIMIT 1 [["name", "Learning Python"]]
6584
+ Book Load (0.7ms) WITH similar_items AS (
6585
+ SELECT
6586
+ t2.book_id,
6587
+ (# (array_agg(DISTINCT t1.user_id) & array_agg(DISTINCT t2.user_id)))::float/
6588
+ (# (array_agg(DISTINCT t1.user_id) | array_agg(DISTINCT t2.user_id)))::float as similarity
6589
+ FROM likes AS t1, likes AS t2
6590
+ WHERE t1.book_id = 572977986 and t2.book_id != 572977986
6591
+ GROUP BY t2.book_id
6592
+ ORDER BY similarity DESC
6593
+ LIMIT 3
6594
+ )
6595
+ SELECT books.*, similarity
6596
+ FROM similar_items
6597
+ JOIN books ON books.id = similar_items.book_id
6598
+ ORDER BY similarity DESC;
6599
+
6600
+  (1.0ms) ALTER TABLE "tags" DISABLE TRIGGER ALL;ALTER TABLE "books_tags" DISABLE TRIGGER ALL;ALTER TABLE "books" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "likes" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
6601
+  (0.2ms) BEGIN
6602
+ Fixture Delete (0.3ms) DELETE FROM "books_tags"
6603
+ Fixture Delete (0.2ms) DELETE FROM "books"
6604
+ Fixture Insert (20.5ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 794233342)
6605
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (266251676, 270779907)
6606
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 794233342)
6607
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (644331355, 270779907)
6608
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (508637499, 794233342)
6609
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 405042892)
6610
+ Fixture Insert (0.3ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 32674512)
6611
+ Fixture Insert (0.4ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (168464791, 393102864)
6612
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 405042892)
6613
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 32674512)
6614
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (572977986, 393102864)
6615
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 405042892)
6616
+ Fixture Insert (0.1ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (857228561, 32674512)
6617
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 405042892)
6618
+ Fixture Insert (0.2ms) INSERT INTO "books_tags" ("book_id", "tag_id") VALUES (436277767, 223486541)
6619
+ Fixture Insert (1.0ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Harry Potter', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 266251676)
6620
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Lord of the Rings', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 644331355)
6621
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Great Expectations', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 508637499)
6622
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Ruby', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 168464791)
6623
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning Python', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 572977986)
6624
+ Fixture Insert (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Learning C++', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 857228561)
6625
+ Fixture Insert (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at", "id") VALUES ('Playing Violin', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 436277767)
6626
+ Fixture Delete (0.2ms) DELETE FROM "likes"
6627
+ Fixture Insert (1.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 683130438, 557192574, 266251676)
6628
+ Fixture Insert (0.2ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 834596858, 557192574, 644331355)
6629
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 112844655, 944878372, 266251676)
6630
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 417155790, 944878372, 508637499)
6631
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 802847325, 492947529, 644331355)
6632
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 919808993, 492947529, 508637499)
6633
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 30677878, 165965450, 168464791)
6634
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 292226793, 165965450, 572977986)
6635
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 644626036, 3097974, 168464791)
6636
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 1063610316, 3097974, 572977986)
6637
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 140662621, 3097974, 857228561)
6638
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 369541888, 283047497, 168464791)
6639
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 553775723, 283047497, 572977986)
6640
+ Fixture Insert (0.1ms) INSERT INTO "likes" ("created_at", "updated_at", "id", "user_id", "book_id") VALUES ('2017-02-17 03:28:42', '2017-02-17 03:28:42', 940090323, 283047497, 436277767)
6641
+ Fixture Delete (0.2ms) DELETE FROM "tags"
6642
+ Fixture Insert (1.4ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fiction', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 794233342)
6643
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Nonfiction', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 405042892)
6644
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('Fantasy', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 270779907)
6645
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('programming', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 32674512)
6646
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('scripting', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 393102864)
6647
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("name", "created_at", "updated_at", "id") VALUES ('music', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 223486541)
6648
+ Fixture Delete (0.2ms) DELETE FROM "users"
6649
+ Fixture Insert (1.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fred', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 557192574)
6650
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fanny', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 944878372)
6651
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Fiction Fil', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 492947529)
6652
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paulina', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 165965450)
6653
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paul', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 3097974)
6654
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Programmer Paige', '2017-02-17 03:28:42', '2017-02-17 03:28:42', 283047497)
6655
+  (0.6ms) COMMIT
6656
+  (0.6ms) ALTER TABLE "tags" ENABLE TRIGGER ALL;ALTER TABLE "books_tags" ENABLE TRIGGER ALL;ALTER TABLE "books" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "likes" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
6657
+  (0.1ms) BEGIN
6658
+ -----------------------------------------
6659
+ SimpleRecommenderTest: test_module_exists
6660
+ -----------------------------------------
6661
+  (0.1ms) ROLLBACK