activerecord_any_of 1.2 → 1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -38
  3. data/Rakefile +9 -27
  4. data/lib/activerecord_any_of/alternative_builder.rb +25 -9
  5. data/lib/activerecord_any_of/version.rb +1 -1
  6. data/lib/activerecord_any_of.rb +4 -4
  7. data/spec/activerecord_any_of_spec.rb +196 -0
  8. data/spec/db/database.yml +28 -0
  9. data/spec/db/schema.rb +33 -0
  10. data/{test → spec}/fixtures/authors.yml +0 -0
  11. data/{test → spec}/fixtures/posts.yml +0 -0
  12. data/spec/fixtures/users.yml +9 -0
  13. data/spec/spec_helper.rb +36 -0
  14. data/spec/support/models.rb +34 -0
  15. metadata +76 -203
  16. data/test/activerecord_any_of_test.rb +0 -114
  17. data/test/dummy_rails3/README.rdoc +0 -261
  18. data/test/dummy_rails3/Rakefile +0 -7
  19. data/test/dummy_rails3/app/assets/javascripts/application.js +0 -15
  20. data/test/dummy_rails3/app/assets/stylesheets/application.css +0 -13
  21. data/test/dummy_rails3/app/controllers/application_controller.rb +0 -3
  22. data/test/dummy_rails3/app/helpers/application_helper.rb +0 -2
  23. data/test/dummy_rails3/app/models/author.rb +0 -4
  24. data/test/dummy_rails3/app/models/post.rb +0 -4
  25. data/test/dummy_rails3/app/models/special_post.rb +0 -2
  26. data/test/dummy_rails3/app/models/sti_post.rb +0 -2
  27. data/test/dummy_rails3/app/views/layouts/application.html.erb +0 -14
  28. data/test/dummy_rails3/config/application.rb +0 -59
  29. data/test/dummy_rails3/config/boot.rb +0 -10
  30. data/test/dummy_rails3/config/database.yml +0 -25
  31. data/test/dummy_rails3/config/environment.rb +0 -5
  32. data/test/dummy_rails3/config/environments/development.rb +0 -37
  33. data/test/dummy_rails3/config/environments/production.rb +0 -67
  34. data/test/dummy_rails3/config/environments/test.rb +0 -37
  35. data/test/dummy_rails3/config/initializers/backtrace_silencers.rb +0 -7
  36. data/test/dummy_rails3/config/initializers/inflections.rb +0 -15
  37. data/test/dummy_rails3/config/initializers/mime_types.rb +0 -5
  38. data/test/dummy_rails3/config/initializers/secret_token.rb +0 -7
  39. data/test/dummy_rails3/config/initializers/session_store.rb +0 -8
  40. data/test/dummy_rails3/config/initializers/wrap_parameters.rb +0 -14
  41. data/test/dummy_rails3/config/locales/en.yml +0 -5
  42. data/test/dummy_rails3/config/routes.rb +0 -58
  43. data/test/dummy_rails3/config.ru +0 -4
  44. data/test/dummy_rails3/db/development.sqlite3 +0 -0
  45. data/test/dummy_rails3/db/migrate/20130617172335_create_authors.rb +0 -9
  46. data/test/dummy_rails3/db/migrate/20130617173313_create_posts.rb +0 -12
  47. data/test/dummy_rails3/db/schema.rb +0 -31
  48. data/test/dummy_rails3/db/test.sqlite3 +0 -0
  49. data/test/dummy_rails3/log/development.log +0 -101
  50. data/test/dummy_rails3/log/test.log +0 -2875
  51. data/test/dummy_rails3/public/404.html +0 -26
  52. data/test/dummy_rails3/public/422.html +0 -26
  53. data/test/dummy_rails3/public/500.html +0 -25
  54. data/test/dummy_rails3/public/favicon.ico +0 -0
  55. data/test/dummy_rails3/script/rails +0 -6
  56. data/test/dummy_rails3/test/fixtures/authors.yml +0 -7
  57. data/test/dummy_rails3/test/fixtures/posts.yml +0 -13
  58. data/test/dummy_rails3/test/unit/author_test.rb +0 -7
  59. data/test/dummy_rails3/test/unit/post_test.rb +0 -7
  60. data/test/dummy_rails4/README.rdoc +0 -28
  61. data/test/dummy_rails4/Rakefile +0 -6
  62. data/test/dummy_rails4/app/assets/javascripts/application.js +0 -13
  63. data/test/dummy_rails4/app/assets/stylesheets/application.css +0 -13
  64. data/test/dummy_rails4/app/controllers/application_controller.rb +0 -5
  65. data/test/dummy_rails4/app/helpers/application_helper.rb +0 -2
  66. data/test/dummy_rails4/app/models/author.rb +0 -3
  67. data/test/dummy_rails4/app/models/post.rb +0 -3
  68. data/test/dummy_rails4/app/models/special_post.rb +0 -2
  69. data/test/dummy_rails4/app/models/sti_post.rb +0 -2
  70. data/test/dummy_rails4/app/views/layouts/application.html.erb +0 -14
  71. data/test/dummy_rails4/bin/bundle +0 -3
  72. data/test/dummy_rails4/bin/rails +0 -4
  73. data/test/dummy_rails4/bin/rake +0 -4
  74. data/test/dummy_rails4/config/application.rb +0 -23
  75. data/test/dummy_rails4/config/boot.rb +0 -5
  76. data/test/dummy_rails4/config/database.yml +0 -25
  77. data/test/dummy_rails4/config/environment.rb +0 -5
  78. data/test/dummy_rails4/config/environments/development.rb +0 -29
  79. data/test/dummy_rails4/config/environments/production.rb +0 -80
  80. data/test/dummy_rails4/config/environments/test.rb +0 -36
  81. data/test/dummy_rails4/config/initializers/backtrace_silencers.rb +0 -7
  82. data/test/dummy_rails4/config/initializers/filter_parameter_logging.rb +0 -4
  83. data/test/dummy_rails4/config/initializers/inflections.rb +0 -16
  84. data/test/dummy_rails4/config/initializers/mime_types.rb +0 -5
  85. data/test/dummy_rails4/config/initializers/secret_token.rb +0 -12
  86. data/test/dummy_rails4/config/initializers/session_store.rb +0 -3
  87. data/test/dummy_rails4/config/initializers/wrap_parameters.rb +0 -14
  88. data/test/dummy_rails4/config/locales/en.yml +0 -23
  89. data/test/dummy_rails4/config/routes.rb +0 -56
  90. data/test/dummy_rails4/config.ru +0 -4
  91. data/test/dummy_rails4/db/development.sqlite3 +0 -0
  92. data/test/dummy_rails4/db/migrate/20130617172335_create_authors.rb +0 -9
  93. data/test/dummy_rails4/db/migrate/20130617173313_create_posts.rb +0 -12
  94. data/test/dummy_rails4/db/schema.rb +0 -31
  95. data/test/dummy_rails4/db/test.sqlite3 +0 -0
  96. data/test/dummy_rails4/log/development.log +0 -21
  97. data/test/dummy_rails4/log/test.log +0 -1527
  98. data/test/dummy_rails4/public/404.html +0 -58
  99. data/test/dummy_rails4/public/422.html +0 -58
  100. data/test/dummy_rails4/public/500.html +0 -57
  101. data/test/dummy_rails4/public/favicon.ico +0 -0
  102. data/test/dummy_rails4/test/fixtures/authors.yml +0 -7
  103. data/test/dummy_rails4/test/fixtures/posts.yml +0 -13
  104. data/test/dummy_rails4/test/unit/author_test.rb +0 -7
  105. data/test/dummy_rails4/test/unit/post_test.rb +0 -7
  106. data/test/test_helper.rb +0 -15
@@ -1,1527 +0,0 @@
1
-  (0.3ms) begin transaction
2
- Fixture Delete (0.1ms) DELETE FROM "authors"
3
- Fixture Insert (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
4
- Fixture Insert (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)
5
- Fixture Delete (0.1ms) DELETE FROM "posts"
6
- Fixture Insert (0.2ms) INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
7
- SQLite3::SQLException: table posts has no column named user_id: INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
8
-  (0.2ms) rollback transaction
9
-  (0.1ms) begin transaction
10
- Fixture Delete (0.1ms) DELETE FROM "authors"
11
- Fixture Insert (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
12
- Fixture Insert (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)
13
- Fixture Delete (0.0ms) DELETE FROM "posts"
14
- Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
15
- SQLite3::SQLException: table posts has no column named user_id: INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
16
-  (0.1ms) rollback transaction
17
-  (0.0ms) begin transaction
18
- Fixture Delete (0.1ms) DELETE FROM "authors"
19
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
20
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)
21
- Fixture Delete (0.0ms) DELETE FROM "posts"
22
- Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
23
- SQLite3::SQLException: table posts has no column named user_id: INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
24
-  (0.1ms) rollback transaction
25
-  (0.0ms) begin transaction
26
- Fixture Delete (0.1ms) DELETE FROM "authors"
27
- Fixture Insert (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
28
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)
29
- Fixture Delete (0.0ms) DELETE FROM "posts"
30
- Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
31
- SQLite3::SQLException: table posts has no column named user_id: INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
32
-  (0.1ms) rollback transaction
33
-  (0.0ms) begin transaction
34
- Fixture Delete (0.1ms) DELETE FROM "authors"
35
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
36
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)
37
- Fixture Delete (0.0ms) DELETE FROM "posts"
38
- Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
39
- SQLite3::SQLException: table posts has no column named user_id: INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
40
-  (0.1ms) rollback transaction
41
-  (0.0ms) begin transaction
42
- Fixture Delete (0.1ms) DELETE FROM "authors"
43
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
44
- Fixture Insert (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)
45
- Fixture Delete (0.0ms) DELETE FROM "posts"
46
- Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
47
- SQLite3::SQLException: table posts has no column named user_id: INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
48
-  (0.1ms) rollback transaction
49
-  (0.0ms) begin transaction
50
- Fixture Delete (0.1ms) DELETE FROM "authors"
51
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
52
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)
53
- Fixture Delete (0.0ms) DELETE FROM "posts"
54
- Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
55
- SQLite3::SQLException: table posts has no column named user_id: INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
56
-  (0.1ms) rollback transaction
57
-  (0.0ms) begin transaction
58
- Fixture Delete (0.1ms) DELETE FROM "authors"
59
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
60
- Fixture Insert (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)
61
- Fixture Delete (0.0ms) DELETE FROM "posts"
62
- Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
63
- SQLite3::SQLException: table posts has no column named user_id: INSERT INTO "posts" ("title", "body", "user_id", "type", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', NULL, NULL, '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)
64
-  (0.1ms) rollback transaction
65
-  (0.2ms) begin transaction
66
- Fixture Delete (0.1ms) DELETE FROM "authors"
67
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
68
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
69
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
70
- Fixture Delete (0.0ms) DELETE FROM "posts"
71
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
72
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
73
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
74
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
75
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
76
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
77
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
78
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
79
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
80
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
81
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-08-31 14:22:09', '2013-08-31 14:22:09')
82
-  (893.4ms) commit transaction
83
-  (0.1ms) begin transaction
84
- ------------------------------------------------------------------------
85
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
86
- ------------------------------------------------------------------------
87
- Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
88
-  (0.0ms) rollback transaction
89
-  (0.1ms) begin transaction
90
- ----------------------------------------------------------------------------
91
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
92
- ----------------------------------------------------------------------------
93
-  (0.0ms) rollback transaction
94
-  (0.1ms) begin transaction
95
- -----------------------------------------------------------------------------
96
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
97
- -----------------------------------------------------------------------------
98
-  (0.0ms) rollback transaction
99
-  (0.0ms) begin transaction
100
- -----------------------------------------------------------------------------
101
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
102
- -----------------------------------------------------------------------------
103
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
104
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
105
-  (0.1ms) rollback transaction
106
-  (0.1ms) begin transaction
107
- -------------------------------------------------------------
108
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
109
- -------------------------------------------------------------
110
- Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
111
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
112
- Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
113
- Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
114
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
115
-  (0.0ms) rollback transaction
116
-  (0.0ms) begin transaction
117
- ----------------------------------------------------------------------------
118
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
119
- ----------------------------------------------------------------------------
120
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
121
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
122
-  (16.1ms) rollback transaction
123
-  (0.2ms) begin transaction
124
- ----------------------------------------------------------------------
125
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
126
- ----------------------------------------------------------------------
127
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
128
-  (0.0ms) rollback transaction
129
-  (0.0ms) begin transaction
130
- -------------------------------------------------------------------------------------
131
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
132
- -------------------------------------------------------------------------------------
133
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
134
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
135
-  (0.1ms) rollback transaction
136
-  (0.3ms) begin transaction
137
- Fixture Delete (0.1ms) DELETE FROM "authors"
138
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
139
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
140
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
141
- Fixture Delete (0.1ms) DELETE FROM "posts"
142
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
143
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
144
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
145
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
146
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
147
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
148
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
149
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
150
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
151
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
152
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-08-31 14:22:18', '2013-08-31 14:22:18')
153
-  (293.0ms) commit transaction
154
-  (0.1ms) begin transaction
155
- ------------------------------------------------------------------------
156
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
157
- ------------------------------------------------------------------------
158
- Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
159
-  (0.0ms) rollback transaction
160
-  (0.1ms) begin transaction
161
- ----------------------------------------------------------------------------
162
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
163
- ----------------------------------------------------------------------------
164
-  (0.0ms) rollback transaction
165
-  (0.0ms) begin transaction
166
- -----------------------------------------------------------------------------
167
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
168
- -----------------------------------------------------------------------------
169
-  (0.0ms) rollback transaction
170
-  (0.0ms) begin transaction
171
- -----------------------------------------------------------------------------
172
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
173
- -----------------------------------------------------------------------------
174
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
175
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
176
-  (0.1ms) rollback transaction
177
-  (0.1ms) begin transaction
178
- -------------------------------------------------------------
179
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
180
- -------------------------------------------------------------
181
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
182
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
183
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
184
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
185
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
186
-  (0.0ms) rollback transaction
187
-  (0.0ms) begin transaction
188
- ----------------------------------------------------------------------------
189
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
190
- ----------------------------------------------------------------------------
191
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
192
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
193
-  (16.4ms) rollback transaction
194
-  (0.3ms) begin transaction
195
- ----------------------------------------------------------------------
196
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
197
- ----------------------------------------------------------------------
198
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
199
-  (0.0ms) rollback transaction
200
-  (0.0ms) begin transaction
201
- -------------------------------------------------------------------------------------
202
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
203
- -------------------------------------------------------------------------------------
204
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
205
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
206
-  (0.0ms) rollback transaction
207
-  (0.3ms) begin transaction
208
- Fixture Delete (0.1ms) DELETE FROM "authors"
209
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
210
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
211
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
212
- Fixture Delete (0.0ms) DELETE FROM "posts"
213
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
214
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
215
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
216
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
217
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
218
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
219
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
220
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
221
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
222
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
223
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-08-31 15:35:47', '2013-08-31 15:35:47')
224
-  (421.5ms) commit transaction
225
-  (0.1ms) begin transaction
226
- ------------------------------------------------------------------------
227
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
228
- ------------------------------------------------------------------------
229
- Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
230
-  (0.0ms) rollback transaction
231
-  (0.0ms) begin transaction
232
- ----------------------------------------------------------------------------
233
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
234
- ----------------------------------------------------------------------------
235
-  (0.0ms) rollback transaction
236
-  (0.0ms) begin transaction
237
- -----------------------------------------------------------------------------
238
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
239
- -----------------------------------------------------------------------------
240
-  (0.0ms) rollback transaction
241
-  (0.0ms) begin transaction
242
- -----------------------------------------------------------------------------
243
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
244
- -----------------------------------------------------------------------------
245
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
246
-  (0.0ms) rollback transaction
247
-  (0.0ms) begin transaction
248
- -----------------------------------------------------------------------------
249
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
250
- -----------------------------------------------------------------------------
251
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
252
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
253
-  (0.1ms) rollback transaction
254
-  (0.1ms) begin transaction
255
- -------------------------------------------------------------
256
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
257
- -------------------------------------------------------------
258
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
259
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
260
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
261
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
262
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
263
-  (0.0ms) rollback transaction
264
-  (0.0ms) begin transaction
265
- ----------------------------------------------------------------------------
266
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
267
- ----------------------------------------------------------------------------
268
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
269
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
270
-  (0.1ms) rollback transaction
271
-  (0.0ms) begin transaction
272
- ----------------------------------------------------------------------
273
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
274
- ----------------------------------------------------------------------
275
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
276
-  (0.0ms) rollback transaction
277
-  (0.0ms) begin transaction
278
- -------------------------------------------------------------------------------------
279
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
280
- -------------------------------------------------------------------------------------
281
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
282
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
283
-  (0.0ms) rollback transaction
284
-  (0.3ms) begin transaction
285
- Fixture Delete (0.1ms) DELETE FROM "authors"
286
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
287
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
288
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
289
- Fixture Delete (0.0ms) DELETE FROM "posts"
290
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
291
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
292
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
293
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
294
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
295
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
296
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
297
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
298
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
299
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
300
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-08-31 15:36:33', '2013-08-31 15:36:33')
301
-  (302.3ms) commit transaction
302
-  (0.1ms) begin transaction
303
- ------------------------------------------------------------------------
304
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
305
- ------------------------------------------------------------------------
306
- Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
307
-  (0.0ms) rollback transaction
308
-  (0.1ms) begin transaction
309
- ----------------------------------------------------------------------------
310
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
311
- ----------------------------------------------------------------------------
312
-  (0.0ms) rollback transaction
313
-  (0.0ms) begin transaction
314
- -----------------------------------------------------------------------------
315
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
316
- -----------------------------------------------------------------------------
317
-  (0.0ms) rollback transaction
318
-  (0.0ms) begin transaction
319
- -----------------------------------------------------------------------------
320
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
321
- -----------------------------------------------------------------------------
322
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
323
-  (0.0ms) rollback transaction
324
-  (0.0ms) begin transaction
325
- -----------------------------------------------------------------------------
326
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
327
- -----------------------------------------------------------------------------
328
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
329
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
330
-  (0.1ms) rollback transaction
331
-  (0.1ms) begin transaction
332
- -------------------------------------------------------------
333
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
334
- -------------------------------------------------------------
335
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
336
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
337
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
338
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
339
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
340
-  (0.0ms) rollback transaction
341
-  (0.0ms) begin transaction
342
- ----------------------------------------------------------------------------
343
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
344
- ----------------------------------------------------------------------------
345
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
346
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
347
-  (0.1ms) rollback transaction
348
-  (0.0ms) begin transaction
349
- ----------------------------------------------------------------------
350
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
351
- ----------------------------------------------------------------------
352
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
353
-  (0.0ms) rollback transaction
354
-  (0.0ms) begin transaction
355
- -------------------------------------------------------------------------------------
356
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
357
- -------------------------------------------------------------------------------------
358
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
359
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
360
-  (0.0ms) rollback transaction
361
-  (0.3ms) begin transaction
362
- Fixture Delete (0.1ms) DELETE FROM "authors"
363
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
364
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
365
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
366
- Fixture Delete (0.1ms) DELETE FROM "posts"
367
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
368
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
369
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
370
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
371
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
372
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
373
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
374
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
375
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
376
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
377
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-08-31 15:36:46', '2013-08-31 15:36:46')
378
-  (280.7ms) commit transaction
379
-  (0.1ms) begin transaction
380
- ------------------------------------------------------------------------
381
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
382
- ------------------------------------------------------------------------
383
- Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
384
-  (0.0ms) rollback transaction
385
-  (0.0ms) begin transaction
386
- ----------------------------------------------------------------------------
387
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
388
- ----------------------------------------------------------------------------
389
-  (0.0ms) rollback transaction
390
-  (0.0ms) begin transaction
391
- -----------------------------------------------------------------------------
392
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
393
- -----------------------------------------------------------------------------
394
-  (0.0ms) rollback transaction
395
-  (0.0ms) begin transaction
396
- -----------------------------------------------------------------------------
397
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
398
- -----------------------------------------------------------------------------
399
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
400
-  (0.0ms) rollback transaction
401
-  (0.0ms) begin transaction
402
- -----------------------------------------------------------------------------
403
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
404
- -----------------------------------------------------------------------------
405
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
406
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
407
-  (0.1ms) rollback transaction
408
-  (0.0ms) begin transaction
409
- -------------------------------------------------------------
410
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
411
- -------------------------------------------------------------
412
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
413
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
414
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
415
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
416
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
417
-  (0.0ms) rollback transaction
418
-  (0.0ms) begin transaction
419
- ----------------------------------------------------------------------------
420
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
421
- ----------------------------------------------------------------------------
422
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
423
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
424
-  (0.1ms) rollback transaction
425
-  (0.0ms) begin transaction
426
- ----------------------------------------------------------------------
427
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
428
- ----------------------------------------------------------------------
429
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
430
-  (0.0ms) rollback transaction
431
-  (0.0ms) begin transaction
432
- -------------------------------------------------------------------------------------
433
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
434
- -------------------------------------------------------------------------------------
435
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
436
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
437
-  (0.0ms) rollback transaction
438
-  (0.3ms) begin transaction
439
- Fixture Delete (0.1ms) DELETE FROM "authors"
440
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
441
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
442
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
443
- Fixture Delete (0.0ms) DELETE FROM "posts"
444
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
445
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
446
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
447
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
448
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
449
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
450
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
451
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
452
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
453
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
454
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 10:03:32', '2013-10-19 10:03:32')
455
-  (322.4ms) commit transaction
456
-  (0.1ms) begin transaction
457
- ------------------------------------------------------------------------
458
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
459
- ------------------------------------------------------------------------
460
- Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
461
-  (0.1ms) rollback transaction
462
-  (0.1ms) begin transaction
463
- ----------------------------------------------------------------------------
464
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
465
- ----------------------------------------------------------------------------
466
-  (0.0ms) rollback transaction
467
-  (0.0ms) begin transaction
468
- -----------------------------------------------------------------------------
469
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
470
- -----------------------------------------------------------------------------
471
-  (0.0ms) rollback transaction
472
-  (0.0ms) begin transaction
473
- -----------------------------------------------------------------------------
474
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
475
- -----------------------------------------------------------------------------
476
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
477
-  (0.0ms) rollback transaction
478
-  (0.0ms) begin transaction
479
- -----------------------------------------------------------------------------
480
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
481
- -----------------------------------------------------------------------------
482
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
483
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
484
-  (0.1ms) rollback transaction
485
-  (0.0ms) begin transaction
486
- -------------------------------------------------------------
487
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
488
- -------------------------------------------------------------
489
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
490
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
491
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
492
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
493
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
494
-  (0.0ms) rollback transaction
495
-  (0.0ms) begin transaction
496
- ----------------------------------------------------------------------------
497
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
498
- ----------------------------------------------------------------------------
499
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
500
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
501
-  (0.1ms) rollback transaction
502
-  (0.1ms) begin transaction
503
- ----------------------------------------------------------------------
504
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
505
- ----------------------------------------------------------------------
506
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
507
-  (0.0ms) rollback transaction
508
-  (0.0ms) begin transaction
509
- -------------------------------------------------------------------------------------
510
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
511
- -------------------------------------------------------------------------------------
512
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
513
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
514
-  (0.0ms) rollback transaction
515
-  (0.0ms) begin transaction
516
- -----------------------------------------------
517
- ActiverecordAnyOfTest: test_finding_with_groups
518
- -----------------------------------------------
519
-  (0.0ms) rollback transaction
520
-  (0.3ms) begin transaction
521
- Fixture Delete (0.1ms) DELETE FROM "authors"
522
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
523
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
524
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
525
- Fixture Delete (0.1ms) DELETE FROM "posts"
526
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
527
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
528
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
529
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
530
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
531
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
532
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
533
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
534
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
535
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
536
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 10:03:55', '2013-10-19 10:03:55')
537
-  (342.9ms) commit transaction
538
-  (0.1ms) begin transaction
539
- ------------------------------------------------------------------------
540
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
541
- ------------------------------------------------------------------------
542
- Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
543
-  (0.0ms) rollback transaction
544
-  (0.1ms) begin transaction
545
- ----------------------------------------------------------------------------
546
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
547
- ----------------------------------------------------------------------------
548
-  (0.0ms) rollback transaction
549
-  (0.0ms) begin transaction
550
- -----------------------------------------------------------------------------
551
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
552
- -----------------------------------------------------------------------------
553
-  (0.0ms) rollback transaction
554
-  (0.0ms) begin transaction
555
- -----------------------------------------------------------------------------
556
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
557
- -----------------------------------------------------------------------------
558
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
559
-  (0.0ms) rollback transaction
560
-  (0.0ms) begin transaction
561
- -----------------------------------------------------------------------------
562
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
563
- -----------------------------------------------------------------------------
564
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
565
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
566
-  (0.1ms) rollback transaction
567
-  (0.0ms) begin transaction
568
- -------------------------------------------------------------
569
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
570
- -------------------------------------------------------------
571
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
572
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
573
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
574
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
575
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
576
-  (0.0ms) rollback transaction
577
-  (0.0ms) begin transaction
578
- ----------------------------------------------------------------------------
579
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
580
- ----------------------------------------------------------------------------
581
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
582
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
583
-  (0.0ms) rollback transaction
584
-  (0.0ms) begin transaction
585
- ----------------------------------------------------------------------
586
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
587
- ----------------------------------------------------------------------
588
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
589
-  (0.0ms) rollback transaction
590
-  (0.0ms) begin transaction
591
- -------------------------------------------------------------------------------------
592
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
593
- -------------------------------------------------------------------------------------
594
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
595
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
596
-  (0.0ms) rollback transaction
597
-  (0.0ms) begin transaction
598
- -----------------------------------------------
599
- ActiverecordAnyOfTest: test_finding_with_groups
600
- -----------------------------------------------
601
-  (0.2ms) rollback transaction
602
-  (0.3ms) begin transaction
603
- Fixture Delete (0.1ms) DELETE FROM "authors"
604
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
605
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
606
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
607
- Fixture Delete (0.1ms) DELETE FROM "posts"
608
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
609
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
610
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
611
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
612
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
613
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
614
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
615
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
616
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
617
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
618
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 10:10:47', '2013-10-19 10:10:47')
619
-  (318.0ms) commit transaction
620
-  (0.1ms) begin transaction
621
- ------------------------------------------------------------------------
622
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
623
- ------------------------------------------------------------------------
624
- Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
625
-  (0.1ms) rollback transaction
626
-  (0.1ms) begin transaction
627
- ----------------------------------------------------------------------------
628
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
629
- ----------------------------------------------------------------------------
630
-  (0.0ms) rollback transaction
631
-  (0.0ms) begin transaction
632
- -----------------------------------------------------------------------------
633
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
634
- -----------------------------------------------------------------------------
635
-  (0.0ms) rollback transaction
636
-  (0.0ms) begin transaction
637
- -----------------------------------------------------------------------------
638
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
639
- -----------------------------------------------------------------------------
640
-  (0.2ms) rollback transaction
641
-  (0.3ms) begin transaction
642
- Fixture Delete (0.1ms) DELETE FROM "authors"
643
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
644
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
645
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
646
- Fixture Delete (0.1ms) DELETE FROM "posts"
647
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
648
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
649
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
650
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
651
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
652
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
653
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
654
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
655
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
656
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
657
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 10:15:33', '2013-10-19 10:15:33')
658
-  (291.8ms) commit transaction
659
-  (0.1ms) begin transaction
660
- -----------------------------------------------------
661
- ActiverecordAnyOfTest: test_finding_with_groups_focus
662
- -----------------------------------------------------
663
- SQLite3::SQLException: only a single result allowed for a SELECT that is part of an expression: SELECT "posts".* FROM "posts" WHERE (SELECT "posts".* FROM "posts" GROUP BY type UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2)
664
- SQLite3::SQLException: only a single result allowed for a SELECT that is part of an expression: SELECT "posts".* FROM "posts" WHERE (SELECT "posts".* FROM "posts" GROUP BY type UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2)
665
- SQLite3::SQLException: near "UNION": syntax error: SELECT "posts".* FROM "posts" WHERE ((SELECT "posts".* FROM "posts" GROUP BY type) UNION (SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2))
666
- SQLite3::SQLException: near "(": syntax error: (SELECT "posts".* FROM "posts" GROUP BY type) UNION (SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2)
667
-  (0.1ms) rollback transaction
668
-  (0.3ms) begin transaction
669
- Fixture Delete (0.1ms) DELETE FROM "authors"
670
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
671
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
672
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
673
- Fixture Delete (0.0ms) DELETE FROM "posts"
674
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
675
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
676
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
677
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
678
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
679
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
680
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
681
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
682
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
683
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
684
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 11:48:21', '2013-10-19 11:48:21')
685
-  (303.4ms) commit transaction
686
-  (0.1ms) begin transaction
687
- -----------------------------------------------------
688
- ActiverecordAnyOfTest: test_finding_with_groups_focus
689
- -----------------------------------------------------
690
-  (0.2ms) rollback transaction
691
-  (0.3ms) begin transaction
692
- Fixture Delete (0.1ms) DELETE FROM "authors"
693
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
694
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
695
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
696
- Fixture Delete (0.0ms) DELETE FROM "posts"
697
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
698
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
699
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
700
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
701
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
702
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
703
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
704
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
705
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
706
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
707
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 11:52:06', '2013-10-19 11:52:06')
708
-  (286.0ms) commit transaction
709
-  (0.1ms) begin transaction
710
- -----------------------------------------------------
711
- ActiverecordAnyOfTest: test_finding_with_groups_focus
712
- -----------------------------------------------------
713
-  (0.1ms) rollback transaction
714
-  (0.3ms) begin transaction
715
- Fixture Delete (0.1ms) DELETE FROM "authors"
716
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
717
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
718
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
719
- Fixture Delete (0.1ms) DELETE FROM "posts"
720
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
721
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
722
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
723
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
724
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
725
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
726
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
727
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
728
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
729
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
730
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 11:52:58', '2013-10-19 11:52:58')
731
-  (299.2ms) commit transaction
732
-  (0.1ms) begin transaction
733
- -----------------------------------------------------
734
- ActiverecordAnyOfTest: test_finding_with_groups_focus
735
- -----------------------------------------------------
736
-  (0.1ms) rollback transaction
737
-  (0.3ms) begin transaction
738
- Fixture Delete (0.1ms) DELETE FROM "authors"
739
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
740
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
741
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
742
- Fixture Delete (0.0ms) DELETE FROM "posts"
743
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
744
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
745
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
746
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
747
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
748
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
749
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
750
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
751
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
752
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
753
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 11:53:20', '2013-10-19 11:53:20')
754
-  (287.9ms) commit transaction
755
-  (0.1ms) begin transaction
756
- -----------------------------------------------------
757
- ActiverecordAnyOfTest: test_finding_with_groups_focus
758
- -----------------------------------------------------
759
-  (0.2ms) rollback transaction
760
-  (0.3ms) begin transaction
761
- Fixture Delete (0.1ms) DELETE FROM "authors"
762
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
763
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
764
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
765
- Fixture Delete (0.1ms) DELETE FROM "posts"
766
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
767
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
768
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
769
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
770
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
771
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
772
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
773
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
774
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
775
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
776
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 12:29:23', '2013-10-19 12:29:23')
777
-  (300.0ms) commit transaction
778
-  (0.1ms) begin transaction
779
- -----------------------------------------------------
780
- ActiverecordAnyOfTest: test_finding_with_groups_focus
781
- -----------------------------------------------------
782
-  (0.1ms) rollback transaction
783
-  (0.3ms) begin transaction
784
- Fixture Delete (0.1ms) DELETE FROM "authors"
785
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
786
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
787
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
788
- Fixture Delete (0.1ms) DELETE FROM "posts"
789
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
790
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
791
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
792
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
793
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
794
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
795
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
796
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
797
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
798
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
799
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 12:29:41', '2013-10-19 12:29:41')
800
-  (295.0ms) commit transaction
801
-  (0.1ms) begin transaction
802
- -----------------------------------------------------
803
- ActiverecordAnyOfTest: test_finding_with_groups_focus
804
- -----------------------------------------------------
805
-  (0.2ms) rollback transaction
806
-  (0.3ms) begin transaction
807
- Fixture Delete (0.1ms) DELETE FROM "authors"
808
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
809
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
810
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
811
- Fixture Delete (0.0ms) DELETE FROM "posts"
812
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
813
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
814
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
815
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
816
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
817
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
818
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
819
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
820
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
821
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
822
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 12:32:41', '2013-10-19 12:32:41')
823
-  (296.6ms) commit transaction
824
-  (0.1ms) begin transaction
825
- -----------------------------------------------------
826
- ActiverecordAnyOfTest: test_finding_with_groups_focus
827
- -----------------------------------------------------
828
-  (0.3ms) begin transaction
829
- Fixture Delete (0.1ms) DELETE FROM "authors"
830
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
831
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
832
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
833
- Fixture Delete (0.0ms) DELETE FROM "posts"
834
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
835
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
836
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
837
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
838
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
839
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
840
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
841
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
842
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
843
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
844
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 12:46:26', '2013-10-19 12:46:26')
845
-  (317.9ms) commit transaction
846
-  (0.1ms) begin transaction
847
- -----------------------------------------------------
848
- ActiverecordAnyOfTest: test_finding_with_groups_focus
849
- -----------------------------------------------------
850
-  (0.3ms) begin transaction
851
- Fixture Delete (0.1ms) DELETE FROM "authors"
852
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
853
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
854
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
855
- Fixture Delete (0.0ms) DELETE FROM "posts"
856
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
857
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
858
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
859
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
860
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
861
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
862
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
863
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
864
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
865
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
866
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 12:47:49', '2013-10-19 12:47:49')
867
-  (325.8ms) commit transaction
868
-  (0.1ms) begin transaction
869
- -----------------------------------------------------
870
- ActiverecordAnyOfTest: test_finding_with_groups_focus
871
- -----------------------------------------------------
872
-  (0.2ms) rollback transaction
873
-  (0.3ms) begin transaction
874
- Fixture Delete (0.1ms) DELETE FROM "authors"
875
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
876
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
877
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
878
- Fixture Delete (0.0ms) DELETE FROM "posts"
879
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
880
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
881
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
882
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
883
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
884
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
885
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
886
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
887
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
888
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
889
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 12:53:01', '2013-10-19 12:53:01')
890
-  (356.0ms) commit transaction
891
-  (0.1ms) begin transaction
892
- -----------------------------------------------------
893
- ActiverecordAnyOfTest: test_finding_with_groups_focus
894
- -----------------------------------------------------
895
-  (0.2ms) rollback transaction
896
-  (0.3ms) begin transaction
897
- Fixture Delete (0.1ms) DELETE FROM "authors"
898
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
899
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
900
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
901
- Fixture Delete (0.0ms) DELETE FROM "posts"
902
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
903
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
904
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
905
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
906
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
907
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
908
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
909
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
910
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
911
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
912
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 12:55:56', '2013-10-19 12:55:56')
913
-  (302.8ms) commit transaction
914
-  (0.1ms) begin transaction
915
- -----------------------------------------------------
916
- ActiverecordAnyOfTest: test_finding_with_groups_focus
917
- -----------------------------------------------------
918
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x000000031c1fd0>
919
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x00000003238ce8>
920
-  (0.1ms) rollback transaction
921
-  (0.3ms) begin transaction
922
- Fixture Delete (0.1ms) DELETE FROM "authors"
923
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
924
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
925
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
926
- Fixture Delete (0.1ms) DELETE FROM "posts"
927
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
928
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
929
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
930
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
931
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
932
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
933
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
934
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
935
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
936
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
937
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 12:57:07', '2013-10-19 12:57:07')
938
-  (309.8ms) commit transaction
939
-  (0.1ms) begin transaction
940
- -----------------------------------------------------
941
- ActiverecordAnyOfTest: test_finding_with_groups_focus
942
- -----------------------------------------------------
943
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x000000036f1208>
944
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x000000037600b8>
945
-  (0.2ms) rollback transaction
946
-  (0.3ms) begin transaction
947
- Fixture Delete (0.1ms) DELETE FROM "authors"
948
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
949
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
950
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
951
- Fixture Delete (0.1ms) DELETE FROM "posts"
952
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
953
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
954
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
955
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
956
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
957
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
958
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
959
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
960
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
961
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
962
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:04:06', '2013-10-19 13:04:06')
963
-  (293.0ms) commit transaction
964
-  (0.1ms) begin transaction
965
- -----------------------------------------------------
966
- ActiverecordAnyOfTest: test_finding_with_groups_focus
967
- -----------------------------------------------------
968
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x00000003c08ae8>
969
-  (0.2ms) rollback transaction
970
-  (0.5ms) begin transaction
971
- Fixture Delete (0.2ms) DELETE FROM "authors"
972
- Fixture Insert (0.2ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
973
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
974
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
975
- Fixture Delete (0.1ms) DELETE FROM "posts"
976
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
977
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
978
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
979
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
980
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
981
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
982
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
983
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
984
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
985
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
986
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:26:08', '2013-10-19 13:26:08')
987
-  (653.3ms) commit transaction
988
-  (0.1ms) begin transaction
989
- -----------------------------------------------------
990
- ActiverecordAnyOfTest: test_finding_with_groups_focus
991
- -----------------------------------------------------
992
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x000000028d11c8>
993
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x000000048f9928>
994
-  (0.2ms) rollback transaction
995
-  (0.2ms) begin transaction
996
- Fixture Delete (0.1ms) DELETE FROM "authors"
997
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
998
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
999
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1000
- Fixture Delete (0.0ms) DELETE FROM "posts"
1001
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1002
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1003
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1004
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1005
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1006
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1007
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1008
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1009
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1010
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1011
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:28:16', '2013-10-19 13:28:16')
1012
-  (323.6ms) commit transaction
1013
-  (0.1ms) begin transaction
1014
- -----------------------------------------------------
1015
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1016
- -----------------------------------------------------
1017
-  (0.2ms) rollback transaction
1018
-  (0.3ms) begin transaction
1019
- Fixture Delete (0.1ms) DELETE FROM "authors"
1020
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1021
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1022
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1023
- Fixture Delete (0.0ms) DELETE FROM "posts"
1024
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1025
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1026
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1027
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1028
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1029
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1030
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1031
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1032
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1033
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1034
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:29:40', '2013-10-19 13:29:40')
1035
-  (280.3ms) commit transaction
1036
-  (0.1ms) begin transaction
1037
- -----------------------------------------------------
1038
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1039
- -----------------------------------------------------
1040
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x0000000245f630>
1041
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x000000024bfaa8>
1042
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x00000002540d88>
1043
-  (0.2ms) rollback transaction
1044
-  (0.3ms) begin transaction
1045
- Fixture Delete (0.1ms) DELETE FROM "authors"
1046
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1047
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1048
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1049
- Fixture Delete (0.0ms) DELETE FROM "posts"
1050
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1051
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1052
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1053
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1054
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1055
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1056
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1057
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1058
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1059
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1060
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:36:49', '2013-10-19 13:36:49')
1061
-  (313.8ms) commit transaction
1062
-  (0.0ms) begin transaction
1063
- -----------------------------------------------------
1064
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1065
- -----------------------------------------------------
1066
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x000000032dbce0>
1067
-  (0.2ms) rollback transaction
1068
-  (0.3ms) begin transaction
1069
- Fixture Delete (0.1ms) DELETE FROM "authors"
1070
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1071
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1072
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1073
- Fixture Delete (0.1ms) DELETE FROM "posts"
1074
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1075
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1076
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1077
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1078
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1079
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1080
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1081
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1082
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1083
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1084
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:40:52', '2013-10-19 13:40:52')
1085
-  (271.5ms) commit transaction
1086
-  (0.1ms) begin transaction
1087
- -----------------------------------------------------
1088
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1089
- -----------------------------------------------------
1090
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x0000000399c980>
1091
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x00000003a13418>
1092
-  (0.1ms) rollback transaction
1093
-  (0.3ms) begin transaction
1094
- Fixture Delete (0.4ms) DELETE FROM "authors"
1095
- Fixture Insert (0.2ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:42:02', '2013-10-19 13:42:02')
1096
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:42:02', '2013-10-19 13:42:02')
1097
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:42:02', '2013-10-19 13:42:02')
1098
- Fixture Delete (0.2ms) DELETE FROM "posts"
1099
- Fixture Insert (0.2ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1100
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1101
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1102
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1103
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1104
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1105
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1106
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1107
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1108
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1109
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:42:26', '2013-10-19 13:42:26')
1110
-  (334.9ms) commit transaction
1111
-  (0.1ms) begin transaction
1112
- -----------------------------------------------------
1113
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1114
- -----------------------------------------------------
1115
-  (0.1ms) rollback transaction
1116
-  (0.3ms) begin transaction
1117
- Fixture Delete (0.4ms) DELETE FROM "authors"
1118
- Fixture Insert (0.2ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:43:22', '2013-10-19 13:43:22')
1119
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:43:22', '2013-10-19 13:43:22')
1120
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:43:22', '2013-10-19 13:43:22')
1121
- Fixture Delete (0.2ms) DELETE FROM "posts"
1122
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1123
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1124
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1125
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1126
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1127
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1128
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1129
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1130
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1131
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1132
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:43:29', '2013-10-19 13:43:29')
1133
-  (295.4ms) commit transaction
1134
-  (0.1ms) begin transaction
1135
- -----------------------------------------------------
1136
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1137
- -----------------------------------------------------
1138
- Could not log "sql.active_record" event. NoMethodError: undefined method `squeeze' for #<Arel::Nodes::Union:0x000000038030d8> ["/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/log_subscriber.rb:44:in `sql'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/subscriber.rb:68:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:96:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `block in finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `each'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:25:in `ensure in instrument'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:293:in `exec_query'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:505:in `select'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:24:in `select_all'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/querying.rb:36:in `find_by_sql'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:585:in `exec_queries'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:471:in `load'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:220:in `to_a'", "/mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:84:in `block in <class:ActiverecordAnyOfTest>'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `block in _run_suite'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `block in _run_suites'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `map'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `_run_suites'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'"]
1139
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x000000038030d8>
1140
-  (0.2ms) rollback transaction
1141
-  (0.3ms) begin transaction
1142
- Fixture Delete (0.4ms) DELETE FROM "authors"
1143
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:52:57', '2013-10-19 13:52:57')
1144
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 13:52:57', '2013-10-19 13:52:57')
1145
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:52:57', '2013-10-19 13:52:57')
1146
- Fixture Delete (0.2ms) DELETE FROM "posts"
1147
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1148
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1149
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1150
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1151
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1152
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1153
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1154
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1155
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1156
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1157
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 13:53:15', '2013-10-19 13:53:15')
1158
-  (329.3ms) commit transaction
1159
-  (0.1ms) begin transaction
1160
- -----------------------------------------------------
1161
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1162
- -----------------------------------------------------
1163
- Could not log "sql.active_record" event. NoMethodError: undefined method `squeeze' for #<Arel::Nodes::Union:0x0000000312da60> ["/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/log_subscriber.rb:44:in `sql'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/subscriber.rb:68:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:96:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `block in finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `each'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:25:in `ensure in instrument'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:293:in `exec_query'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:505:in `select'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:24:in `select_all'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/querying.rb:36:in `find_by_sql'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:585:in `exec_queries'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:471:in `load'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:220:in `to_a'", "/mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:84:in `block in <class:ActiverecordAnyOfTest>'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `block in _run_suite'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `block in _run_suites'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `map'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `_run_suites'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'"]
1164
- TypeError: no implicit conversion of Arel::Nodes::Union into String: #<Arel::Nodes::Union:0x0000000312da60>
1165
-  (0.2ms) rollback transaction
1166
-  (0.3ms) begin transaction
1167
-  (0.2ms) rollback transaction
1168
-  (0.3ms) begin transaction
1169
- Fixture Delete (0.1ms) DELETE FROM "authors"
1170
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1171
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1172
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1173
- Fixture Delete (0.1ms) DELETE FROM "posts"
1174
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1175
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1176
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1177
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1178
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1179
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1180
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1181
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1182
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1183
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1184
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 14:00:04', '2013-10-19 14:00:04')
1185
-  (334.5ms) commit transaction
1186
-  (0.1ms) begin transaction
1187
- -----------------------------------------------------
1188
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1189
- -----------------------------------------------------
1190
- Could not log "sql.active_record" event. NoMethodError: undefined method `squeeze' for nil:NilClass ["/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/log_subscriber.rb:44:in `sql'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/subscriber.rb:68:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:96:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `block in finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `each'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:25:in `ensure in instrument'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:292:in `exec_query'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:504:in `select'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:24:in `select_all'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/querying.rb:36:in `find_by_sql'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:585:in `exec_queries'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:471:in `load'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:220:in `to_a'", "/mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:84:in `block in <class:ActiverecordAnyOfTest>'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `block in _run_suite'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `block in _run_suites'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `map'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `_run_suites'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'"]
1191
- TypeError: no implicit conversion of nil into String:
1192
-  (0.0ms) rollback transaction
1193
-  (0.3ms) begin transaction
1194
- Fixture Delete (0.4ms) DELETE FROM "authors"
1195
- Fixture Insert (0.2ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 14:00:54', '2013-10-19 14:00:54')
1196
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 14:00:54', '2013-10-19 14:00:54')
1197
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 14:00:54', '2013-10-19 14:00:54')
1198
- Fixture Delete (0.2ms) DELETE FROM "posts"
1199
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1200
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1201
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1202
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1203
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1204
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1205
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1206
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1207
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1208
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1209
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 14:01:09', '2013-10-19 14:01:09')
1210
-  (302.5ms) commit transaction
1211
-  (0.1ms) begin transaction
1212
- -----------------------------------------------------
1213
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1214
- -----------------------------------------------------
1215
- Could not log "sql.active_record" event. NoMethodError: undefined method `squeeze' for nil:NilClass ["/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/log_subscriber.rb:44:in `sql'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/subscriber.rb:68:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:96:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `block in finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `each'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/fanout.rb:40:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:25:in `ensure in instrument'", "/home/kik/.gem/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:293:in `exec_query'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:505:in `select'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:24:in `select_all'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/querying.rb:36:in `find_by_sql'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:585:in `exec_queries'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:471:in `load'", "/home/kik/.gem/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:220:in `to_a'", "/mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:84:in `block in <class:ActiverecordAnyOfTest>'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `block in _run_suite'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `block in _run_suites'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `map'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `_run_suites'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'", "/home/kik/.gem/ruby/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'"]
1216
- TypeError: no implicit conversion of nil into String:
1217
-  (0.1ms) rollback transaction
1218
-  (0.3ms) begin transaction
1219
- Fixture Delete (0.7ms) DELETE FROM "authors"
1220
- Fixture Insert (0.2ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 14:02:39', '2013-10-19 14:02:39')
1221
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 14:02:39', '2013-10-19 14:02:39')
1222
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 14:02:39', '2013-10-19 14:02:39')
1223
- Fixture Delete (0.2ms) DELETE FROM "posts"
1224
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1225
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1226
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1227
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1228
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1229
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1230
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1231
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1232
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1233
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1234
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 14:02:47', '2013-10-19 14:02:47')
1235
-  (299.5ms) commit transaction
1236
-  (0.2ms) begin transaction
1237
- -----------------------------------------------------
1238
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1239
- -----------------------------------------------------
1240
- Post Load (0.2ms) ( SELECT "posts".* FROM "posts" GROUP BY type UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )
1241
- SQLite3::SQLException: near "(": syntax error: ( SELECT "posts".* FROM "posts" GROUP BY type UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )
1242
-  (0.1ms) rollback transaction
1243
-  (0.3ms) begin transaction
1244
- Fixture Delete (0.1ms) DELETE FROM "authors"
1245
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1246
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1247
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1248
- Fixture Delete (0.1ms) DELETE FROM "posts"
1249
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1250
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1251
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1252
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1253
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1254
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1255
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1256
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1257
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1258
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1259
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-10-19 14:05:33', '2013-10-19 14:05:33')
1260
-  (334.4ms) commit transaction
1261
-  (0.1ms) begin transaction
1262
- -----------------------------------------------------
1263
- ActiverecordAnyOfTest: test_finding_with_groups_focus
1264
- -----------------------------------------------------
1265
- SQLite3::SQLException: near "(": syntax error: ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )
1266
- SQLite3::SQLException: no such table: posts: select posts.* from ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )
1267
- SQLite3::SQLException: near "(": syntax error: ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 ) UNION ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )
1268
- SQLite3::SQLException: near "(": syntax error: ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 limit 2 ) UNION ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 limit 1)
1269
- SQLite3::SQLException: LIMIT clause should come after UNION not before: SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 limit 2 UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 limit 1
1270
- SQLite3::SQLException: near "(": syntax error: ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 LIMIT 2 ) UNION ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 3 LIMIT 2 )
1271
- SQLite3::SQLException: near "(": syntax error: select * ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 LIMIT 2 ) UNION ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 3 LIMIT 2 )
1272
- SQLite3::SQLException: near "in": syntax error: select * in ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 LIMIT 2 ) UNION ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 3 LIMIT 2 )
1273
- SQLite3::SQLException: near "(": syntax error: select * from ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 LIMIT 2 ) UNION ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 3 LIMIT 2 )
1274
- SQLite3::SQLException: near "(": syntax error: select ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 LIMIT 2 ) UNION ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 3 LIMIT 2 )
1275
- SQLite3::SQLException: near "SELECT": syntax error: select SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 LIMIT 2 ) UNION ( SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 3 LIMIT 2 )
1276
- Post Load (0.2ms) ( SELECT "posts".* FROM "posts" GROUP BY type UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )
1277
- SQLite3::SQLException: near "(": syntax error: ( SELECT "posts".* FROM "posts" GROUP BY type UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )
1278
-  (0.2ms) rollback transaction
1279
-  (0.6ms) begin transaction
1280
- Fixture Delete (21.9ms) DELETE FROM "authors"
1281
- Fixture Insert (0.2ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1282
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1283
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1284
- Fixture Delete (0.0ms) DELETE FROM "posts"
1285
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1286
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1287
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1288
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1289
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1290
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1291
- Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1292
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1293
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1294
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1295
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-11-03 12:05:10', '2013-11-03 12:05:10')
1296
-  (278.9ms) commit transaction
1297
-  (0.1ms) begin transaction
1298
- ------------------------------------------------------------------------
1299
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
1300
- ------------------------------------------------------------------------
1301
- Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
1302
-  (0.0ms) rollback transaction
1303
-  (0.0ms) begin transaction
1304
- --------------------------------------------------------------------------------------
1305
- ActiverecordAnyOfTest: test_calling_#any_of_with_a_single_Hash_as_parameter_expands_it
1306
- --------------------------------------------------------------------------------------
1307
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" = 'David' AND "authors"."id" = 2)
1308
-  (0.1ms) rollback transaction
1309
-  (0.1ms) begin transaction
1310
- ----------------------------------------------------------------------------
1311
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
1312
- ----------------------------------------------------------------------------
1313
-  (0.0ms) rollback transaction
1314
-  (0.1ms) begin transaction
1315
- -----------------------------------------------------------------------------
1316
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
1317
- -----------------------------------------------------------------------------
1318
-  (0.0ms) rollback transaction
1319
-  (0.1ms) begin transaction
1320
- -----------------------------------------------------------------------------
1321
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
1322
- -----------------------------------------------------------------------------
1323
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
1324
-  (0.0ms) rollback transaction
1325
-  (0.1ms) begin transaction
1326
- -----------------------------------------------------------------------------
1327
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
1328
- -----------------------------------------------------------------------------
1329
- Author Load (0.2ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
1330
- SQL (0.2ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
1331
-  (0.1ms) rollback transaction
1332
-  (0.0ms) begin transaction
1333
- -------------------------------------------------------------
1334
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
1335
- -------------------------------------------------------------
1336
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
1337
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
1338
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
1339
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
1340
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
1341
-  (0.0ms) rollback transaction
1342
-  (0.0ms) begin transaction
1343
- ----------------------------------------------------------------------------
1344
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
1345
- ----------------------------------------------------------------------------
1346
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
1347
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
1348
-  (0.0ms) rollback transaction
1349
-  (0.0ms) begin transaction
1350
- ----------------------------------------------------------------------
1351
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
1352
- ----------------------------------------------------------------------
1353
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
1354
-  (0.0ms) rollback transaction
1355
-  (0.0ms) begin transaction
1356
- -------------------------------------------------------------------------------------
1357
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
1358
- -------------------------------------------------------------------------------------
1359
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
1360
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
1361
-  (0.0ms) rollback transaction
1362
-  (0.3ms) begin transaction
1363
- Fixture Delete (0.1ms) DELETE FROM "authors"
1364
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1365
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1366
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1367
- Fixture Delete (0.0ms) DELETE FROM "posts"
1368
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1369
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1370
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1371
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1372
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1373
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1374
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1375
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1376
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1377
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1378
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-11-03 12:08:47', '2013-11-03 12:08:47')
1379
-  (288.9ms) commit transaction
1380
-  (0.1ms) begin transaction
1381
- ------------------------------------------------------------------------
1382
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
1383
- ------------------------------------------------------------------------
1384
- Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
1385
-  (0.0ms) rollback transaction
1386
-  (0.0ms) begin transaction
1387
- --------------------------------------------------------------------------------------
1388
- ActiverecordAnyOfTest: test_calling_#any_of_with_a_single_Hash_as_parameter_expands_it
1389
- --------------------------------------------------------------------------------------
1390
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."id" = 2))
1391
-  (0.0ms) rollback transaction
1392
-  (0.1ms) begin transaction
1393
- ----------------------------------------------------------------------------
1394
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
1395
- ----------------------------------------------------------------------------
1396
-  (0.0ms) rollback transaction
1397
-  (0.0ms) begin transaction
1398
- -----------------------------------------------------------------------------
1399
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
1400
- -----------------------------------------------------------------------------
1401
-  (0.0ms) rollback transaction
1402
-  (0.0ms) begin transaction
1403
- -----------------------------------------------------------------------------
1404
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
1405
- -----------------------------------------------------------------------------
1406
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
1407
-  (0.0ms) rollback transaction
1408
-  (0.0ms) begin transaction
1409
- -----------------------------------------------------------------------------
1410
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
1411
- -----------------------------------------------------------------------------
1412
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
1413
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
1414
-  (0.1ms) rollback transaction
1415
-  (0.1ms) begin transaction
1416
- -------------------------------------------------------------
1417
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
1418
- -------------------------------------------------------------
1419
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
1420
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
1421
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
1422
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
1423
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
1424
-  (0.0ms) rollback transaction
1425
-  (0.0ms) begin transaction
1426
- ----------------------------------------------------------------------------
1427
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
1428
- ----------------------------------------------------------------------------
1429
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
1430
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
1431
-  (0.0ms) rollback transaction
1432
-  (0.0ms) begin transaction
1433
- ----------------------------------------------------------------------
1434
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
1435
- ----------------------------------------------------------------------
1436
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
1437
-  (0.0ms) rollback transaction
1438
-  (0.0ms) begin transaction
1439
- -------------------------------------------------------------------------------------
1440
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
1441
- -------------------------------------------------------------------------------------
1442
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
1443
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
1444
-  (0.0ms) rollback transaction
1445
-  (0.3ms) begin transaction
1446
- Fixture Delete (0.1ms) DELETE FROM "authors"
1447
- Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1448
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1449
- Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1450
- Fixture Delete (0.1ms) DELETE FROM "posts"
1451
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1452
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1453
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1454
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1455
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1456
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1457
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1458
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1459
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1460
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1461
- Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-11-03 13:05:33', '2013-11-03 13:05:33')
1462
-  (284.6ms) commit transaction
1463
-  (0.1ms) begin transaction
1464
- ------------------------------------------------------------------------
1465
- ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
1466
- ------------------------------------------------------------------------
1467
- Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))
1468
-  (0.0ms) rollback transaction
1469
-  (0.1ms) begin transaction
1470
- --------------------------------------------------------------------------------------
1471
- ActiverecordAnyOfTest: test_calling_#any_of_with_a_single_Hash_as_parameter_expands_it
1472
- --------------------------------------------------------------------------------------
1473
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."id" = 2))
1474
-  (0.0ms) rollback transaction
1475
-  (0.0ms) begin transaction
1476
- ----------------------------------------------------------------------------
1477
- ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
1478
- ----------------------------------------------------------------------------
1479
-  (0.0ms) rollback transaction
1480
-  (0.0ms) begin transaction
1481
- -----------------------------------------------------------------------------
1482
- ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
1483
- -----------------------------------------------------------------------------
1484
-  (0.0ms) rollback transaction
1485
-  (0.0ms) begin transaction
1486
- -----------------------------------------------------------------------------
1487
- ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
1488
- -----------------------------------------------------------------------------
1489
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
1490
-  (0.0ms) rollback transaction
1491
-  (0.0ms) begin transaction
1492
- -----------------------------------------------------------------------------
1493
- ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
1494
- -----------------------------------------------------------------------------
1495
- Author Load (0.1ms) SELECT "authors".* FROM "authors" INNER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
1496
- SQL (0.1ms) SELECT "authors"."id" AS t0_r0, "authors"."name" AS t0_r1, "authors"."created_at" AS t0_r2, "authors"."updated_at" AS t0_r3, "posts"."id" AS t1_r0, "posts"."title" AS t1_r1, "posts"."body" AS t1_r2, "posts"."author_id" AS t1_r3, "posts"."type" AS t1_r4, "posts"."created_at" AS t1_r5, "posts"."updated_at" AS t1_r6 FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" WHERE (("posts"."title" = 'Welcome to the weblog' OR "posts"."title" = 'eager loading with OR''d conditions'))
1497
-  (0.1ms) rollback transaction
1498
-  (0.1ms) begin transaction
1499
- -------------------------------------------------------------
1500
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions
1501
- -------------------------------------------------------------
1502
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
1503
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
1504
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
1505
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
1506
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
1507
-  (0.0ms) rollback transaction
1508
-  (0.0ms) begin transaction
1509
- ----------------------------------------------------------------------------
1510
- ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
1511
- ----------------------------------------------------------------------------
1512
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
1513
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')) [["author_id", 1]]
1514
-  (0.0ms) rollback transaction
1515
-  (0.0ms) begin transaction
1516
- ----------------------------------------------------------------------
1517
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
1518
- ----------------------------------------------------------------------
1519
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
1520
-  (0.0ms) rollback transaction
1521
-  (0.0ms) begin transaction
1522
- -------------------------------------------------------------------------------------
1523
- ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
1524
- -------------------------------------------------------------------------------------
1525
- Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
1526
- Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))) [["author_id", 1]]
1527
-  (0.0ms) rollback transaction