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.
- checksums.yaml +4 -4
- data/README.md +5 -38
- data/Rakefile +9 -27
- data/lib/activerecord_any_of/alternative_builder.rb +25 -9
- data/lib/activerecord_any_of/version.rb +1 -1
- data/lib/activerecord_any_of.rb +4 -4
- data/spec/activerecord_any_of_spec.rb +196 -0
- data/spec/db/database.yml +28 -0
- data/spec/db/schema.rb +33 -0
- data/{test → spec}/fixtures/authors.yml +0 -0
- data/{test → spec}/fixtures/posts.yml +0 -0
- data/spec/fixtures/users.yml +9 -0
- data/spec/spec_helper.rb +36 -0
- data/spec/support/models.rb +34 -0
- metadata +76 -203
- data/test/activerecord_any_of_test.rb +0 -114
- data/test/dummy_rails3/README.rdoc +0 -261
- data/test/dummy_rails3/Rakefile +0 -7
- data/test/dummy_rails3/app/assets/javascripts/application.js +0 -15
- data/test/dummy_rails3/app/assets/stylesheets/application.css +0 -13
- data/test/dummy_rails3/app/controllers/application_controller.rb +0 -3
- data/test/dummy_rails3/app/helpers/application_helper.rb +0 -2
- data/test/dummy_rails3/app/models/author.rb +0 -4
- data/test/dummy_rails3/app/models/post.rb +0 -4
- data/test/dummy_rails3/app/models/special_post.rb +0 -2
- data/test/dummy_rails3/app/models/sti_post.rb +0 -2
- data/test/dummy_rails3/app/views/layouts/application.html.erb +0 -14
- data/test/dummy_rails3/config/application.rb +0 -59
- data/test/dummy_rails3/config/boot.rb +0 -10
- data/test/dummy_rails3/config/database.yml +0 -25
- data/test/dummy_rails3/config/environment.rb +0 -5
- data/test/dummy_rails3/config/environments/development.rb +0 -37
- data/test/dummy_rails3/config/environments/production.rb +0 -67
- data/test/dummy_rails3/config/environments/test.rb +0 -37
- data/test/dummy_rails3/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy_rails3/config/initializers/inflections.rb +0 -15
- data/test/dummy_rails3/config/initializers/mime_types.rb +0 -5
- data/test/dummy_rails3/config/initializers/secret_token.rb +0 -7
- data/test/dummy_rails3/config/initializers/session_store.rb +0 -8
- data/test/dummy_rails3/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy_rails3/config/locales/en.yml +0 -5
- data/test/dummy_rails3/config/routes.rb +0 -58
- data/test/dummy_rails3/config.ru +0 -4
- data/test/dummy_rails3/db/development.sqlite3 +0 -0
- data/test/dummy_rails3/db/migrate/20130617172335_create_authors.rb +0 -9
- data/test/dummy_rails3/db/migrate/20130617173313_create_posts.rb +0 -12
- data/test/dummy_rails3/db/schema.rb +0 -31
- data/test/dummy_rails3/db/test.sqlite3 +0 -0
- data/test/dummy_rails3/log/development.log +0 -101
- data/test/dummy_rails3/log/test.log +0 -2875
- data/test/dummy_rails3/public/404.html +0 -26
- data/test/dummy_rails3/public/422.html +0 -26
- data/test/dummy_rails3/public/500.html +0 -25
- data/test/dummy_rails3/public/favicon.ico +0 -0
- data/test/dummy_rails3/script/rails +0 -6
- data/test/dummy_rails3/test/fixtures/authors.yml +0 -7
- data/test/dummy_rails3/test/fixtures/posts.yml +0 -13
- data/test/dummy_rails3/test/unit/author_test.rb +0 -7
- data/test/dummy_rails3/test/unit/post_test.rb +0 -7
- data/test/dummy_rails4/README.rdoc +0 -28
- data/test/dummy_rails4/Rakefile +0 -6
- data/test/dummy_rails4/app/assets/javascripts/application.js +0 -13
- data/test/dummy_rails4/app/assets/stylesheets/application.css +0 -13
- data/test/dummy_rails4/app/controllers/application_controller.rb +0 -5
- data/test/dummy_rails4/app/helpers/application_helper.rb +0 -2
- data/test/dummy_rails4/app/models/author.rb +0 -3
- data/test/dummy_rails4/app/models/post.rb +0 -3
- data/test/dummy_rails4/app/models/special_post.rb +0 -2
- data/test/dummy_rails4/app/models/sti_post.rb +0 -2
- data/test/dummy_rails4/app/views/layouts/application.html.erb +0 -14
- data/test/dummy_rails4/bin/bundle +0 -3
- data/test/dummy_rails4/bin/rails +0 -4
- data/test/dummy_rails4/bin/rake +0 -4
- data/test/dummy_rails4/config/application.rb +0 -23
- data/test/dummy_rails4/config/boot.rb +0 -5
- data/test/dummy_rails4/config/database.yml +0 -25
- data/test/dummy_rails4/config/environment.rb +0 -5
- data/test/dummy_rails4/config/environments/development.rb +0 -29
- data/test/dummy_rails4/config/environments/production.rb +0 -80
- data/test/dummy_rails4/config/environments/test.rb +0 -36
- data/test/dummy_rails4/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy_rails4/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy_rails4/config/initializers/inflections.rb +0 -16
- data/test/dummy_rails4/config/initializers/mime_types.rb +0 -5
- data/test/dummy_rails4/config/initializers/secret_token.rb +0 -12
- data/test/dummy_rails4/config/initializers/session_store.rb +0 -3
- data/test/dummy_rails4/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy_rails4/config/locales/en.yml +0 -23
- data/test/dummy_rails4/config/routes.rb +0 -56
- data/test/dummy_rails4/config.ru +0 -4
- data/test/dummy_rails4/db/development.sqlite3 +0 -0
- data/test/dummy_rails4/db/migrate/20130617172335_create_authors.rb +0 -9
- data/test/dummy_rails4/db/migrate/20130617173313_create_posts.rb +0 -12
- data/test/dummy_rails4/db/schema.rb +0 -31
- data/test/dummy_rails4/db/test.sqlite3 +0 -0
- data/test/dummy_rails4/log/development.log +0 -21
- data/test/dummy_rails4/log/test.log +0 -1527
- data/test/dummy_rails4/public/404.html +0 -58
- data/test/dummy_rails4/public/422.html +0 -58
- data/test/dummy_rails4/public/500.html +0 -57
- data/test/dummy_rails4/public/favicon.ico +0 -0
- data/test/dummy_rails4/test/fixtures/authors.yml +0 -7
- data/test/dummy_rails4/test/fixtures/posts.yml +0 -13
- data/test/dummy_rails4/test/unit/author_test.rb +0 -7
- data/test/dummy_rails4/test/unit/post_test.rb +0 -7
- data/test/test_helper.rb +0 -15
|
@@ -1,1527 +0,0 @@
|
|
|
1
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
2
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
3
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)[0m
|
|
4
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "posts"[0m
|
|
6
|
-
[1m[35mFixture Insert (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
9
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
10
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "authors"[0m
|
|
11
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)[0m
|
|
13
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
14
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
17
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
18
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
19
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)[0m
|
|
20
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "posts"[0m
|
|
22
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
25
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
26
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "authors"[0m
|
|
27
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)[0m
|
|
29
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
30
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
33
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
34
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
35
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)[0m
|
|
36
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "posts"[0m
|
|
38
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
41
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
42
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "authors"[0m
|
|
43
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)[0m
|
|
45
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
46
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
49
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
50
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
51
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 980190962)[0m
|
|
52
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "posts"[0m
|
|
54
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
57
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
58
|
-
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "authors"[0m
|
|
59
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2013-08-31 14:17:03', '2013-08-31 14:17:03', 298486374)[0m
|
|
61
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
62
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
65
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
66
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
67
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 14:22:09', '2013-08-31 14:22:09')[0m
|
|
68
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 14:22:09', '2013-08-31 14:22:09')[0m
|
|
70
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
71
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
72
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
74
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
76
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
78
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
80
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
82
|
-
[1m[35m (893.4ms)[0m commit transaction
|
|
83
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
84
|
-
------------------------------------------------------------------------
|
|
85
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
86
|
-
------------------------------------------------------------------------
|
|
87
|
-
[1m[35mAuthor Load (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
89
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
90
|
-
----------------------------------------------------------------------------
|
|
91
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
92
|
-
----------------------------------------------------------------------------
|
|
93
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
94
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
95
|
-
-----------------------------------------------------------------------------
|
|
96
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
97
|
-
-----------------------------------------------------------------------------
|
|
98
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
99
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
100
|
-
-----------------------------------------------------------------------------
|
|
101
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
102
|
-
-----------------------------------------------------------------------------
|
|
103
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "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'))[0m
|
|
104
|
-
[1m[35mSQL (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
106
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
107
|
-
-------------------------------------------------------------
|
|
108
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
109
|
-
-------------------------------------------------------------
|
|
110
|
-
[1m[36mAuthor Load (0.2ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
111
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
|
112
|
-
[1m[36mAuthor Load (0.2ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
|
113
|
-
[1m[35mAuthor Load (0.2ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
|
114
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))[0m
|
|
115
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
116
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
117
|
-
----------------------------------------------------------------------------
|
|
118
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
119
|
-
----------------------------------------------------------------------------
|
|
120
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
121
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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'))[0m [["author_id", 1]]
|
|
122
|
-
[1m[35m (16.1ms)[0m rollback transaction
|
|
123
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
124
|
-
----------------------------------------------------------------------
|
|
125
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
126
|
-
----------------------------------------------------------------------
|
|
127
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
|
128
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
129
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
130
|
-
-------------------------------------------------------------------------------------
|
|
131
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
132
|
-
-------------------------------------------------------------------------------------
|
|
133
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
134
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
136
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
137
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
138
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 14:22:18', '2013-08-31 14:22:18')[0m
|
|
139
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 14:22:18', '2013-08-31 14:22:18')[0m
|
|
141
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
142
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
143
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
145
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
147
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
149
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
151
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
153
|
-
[1m[35m (293.0ms)[0m commit transaction
|
|
154
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
155
|
-
------------------------------------------------------------------------
|
|
156
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
157
|
-
------------------------------------------------------------------------
|
|
158
|
-
[1m[35mAuthor Load (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
160
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
161
|
-
----------------------------------------------------------------------------
|
|
162
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
163
|
-
----------------------------------------------------------------------------
|
|
164
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
165
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
166
|
-
-----------------------------------------------------------------------------
|
|
167
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
168
|
-
-----------------------------------------------------------------------------
|
|
169
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
170
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
171
|
-
-----------------------------------------------------------------------------
|
|
172
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
173
|
-
-----------------------------------------------------------------------------
|
|
174
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "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'))[0m
|
|
175
|
-
[1m[35mSQL (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
177
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
178
|
-
-------------------------------------------------------------
|
|
179
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
180
|
-
-------------------------------------------------------------
|
|
181
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
182
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
|
183
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
|
184
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
|
185
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))[0m
|
|
186
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
187
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
188
|
-
----------------------------------------------------------------------------
|
|
189
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
190
|
-
----------------------------------------------------------------------------
|
|
191
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
192
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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'))[0m [["author_id", 1]]
|
|
193
|
-
[1m[35m (16.4ms)[0m rollback transaction
|
|
194
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
195
|
-
----------------------------------------------------------------------
|
|
196
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
197
|
-
----------------------------------------------------------------------
|
|
198
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
|
199
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
200
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
201
|
-
-------------------------------------------------------------------------------------
|
|
202
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
203
|
-
-------------------------------------------------------------------------------------
|
|
204
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
205
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
207
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
208
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
209
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 15:35:47', '2013-08-31 15:35:47')[0m
|
|
210
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 15:35:47', '2013-08-31 15:35:47')[0m
|
|
212
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
213
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
214
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
216
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
218
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
220
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
222
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
224
|
-
[1m[35m (421.5ms)[0m commit transaction
|
|
225
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
226
|
-
------------------------------------------------------------------------
|
|
227
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
228
|
-
------------------------------------------------------------------------
|
|
229
|
-
[1m[35mAuthor Load (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
231
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
232
|
-
----------------------------------------------------------------------------
|
|
233
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
234
|
-
----------------------------------------------------------------------------
|
|
235
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
236
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
237
|
-
-----------------------------------------------------------------------------
|
|
238
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
239
|
-
-----------------------------------------------------------------------------
|
|
240
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
241
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
242
|
-
-----------------------------------------------------------------------------
|
|
243
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
244
|
-
-----------------------------------------------------------------------------
|
|
245
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
246
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
247
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
248
|
-
-----------------------------------------------------------------------------
|
|
249
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
250
|
-
-----------------------------------------------------------------------------
|
|
251
|
-
[1m[35mAuthor Load (0.1ms)[0m 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
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "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'))[0m
|
|
253
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
254
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
255
|
-
-------------------------------------------------------------
|
|
256
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
257
|
-
-------------------------------------------------------------
|
|
258
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
|
|
259
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))[0m
|
|
260
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
|
|
261
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))[0m
|
|
262
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
|
|
263
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
264
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
265
|
-
----------------------------------------------------------------------------
|
|
266
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
267
|
-
----------------------------------------------------------------------------
|
|
268
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
269
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
271
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
272
|
-
----------------------------------------------------------------------
|
|
273
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
274
|
-
----------------------------------------------------------------------
|
|
275
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))[0m
|
|
276
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
277
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
278
|
-
-------------------------------------------------------------------------------------
|
|
279
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
280
|
-
-------------------------------------------------------------------------------------
|
|
281
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
282
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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')))[0m [["author_id", 1]]
|
|
283
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
284
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
285
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
286
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 15:36:33', '2013-08-31 15:36:33')[0m
|
|
287
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 15:36:33', '2013-08-31 15:36:33')[0m
|
|
289
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
290
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
291
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
293
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
295
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
297
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
299
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
301
|
-
[1m[35m (302.3ms)[0m commit transaction
|
|
302
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
303
|
-
------------------------------------------------------------------------
|
|
304
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
305
|
-
------------------------------------------------------------------------
|
|
306
|
-
[1m[35mAuthor Load (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
308
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
309
|
-
----------------------------------------------------------------------------
|
|
310
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
311
|
-
----------------------------------------------------------------------------
|
|
312
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
313
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
314
|
-
-----------------------------------------------------------------------------
|
|
315
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
316
|
-
-----------------------------------------------------------------------------
|
|
317
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
318
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
319
|
-
-----------------------------------------------------------------------------
|
|
320
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
321
|
-
-----------------------------------------------------------------------------
|
|
322
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
323
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
324
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
325
|
-
-----------------------------------------------------------------------------
|
|
326
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
327
|
-
-----------------------------------------------------------------------------
|
|
328
|
-
[1m[35mAuthor Load (0.1ms)[0m 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
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "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'))[0m
|
|
330
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
331
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
332
|
-
-------------------------------------------------------------
|
|
333
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
334
|
-
-------------------------------------------------------------
|
|
335
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
|
|
336
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))[0m
|
|
337
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
|
|
338
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))[0m
|
|
339
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
|
|
340
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
341
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
342
|
-
----------------------------------------------------------------------------
|
|
343
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
344
|
-
----------------------------------------------------------------------------
|
|
345
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
346
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
348
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
349
|
-
----------------------------------------------------------------------
|
|
350
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
351
|
-
----------------------------------------------------------------------
|
|
352
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))[0m
|
|
353
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
354
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
355
|
-
-------------------------------------------------------------------------------------
|
|
356
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
357
|
-
-------------------------------------------------------------------------------------
|
|
358
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
359
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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')))[0m [["author_id", 1]]
|
|
360
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
361
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
362
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
363
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 15:36:46', '2013-08-31 15:36:46')[0m
|
|
364
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 15:36:46', '2013-08-31 15:36:46')[0m
|
|
366
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
367
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
368
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
370
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
372
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
374
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
376
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
378
|
-
[1m[35m (280.7ms)[0m commit transaction
|
|
379
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
380
|
-
------------------------------------------------------------------------
|
|
381
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
382
|
-
------------------------------------------------------------------------
|
|
383
|
-
[1m[35mAuthor Load (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
385
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
386
|
-
----------------------------------------------------------------------------
|
|
387
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
388
|
-
----------------------------------------------------------------------------
|
|
389
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
390
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
391
|
-
-----------------------------------------------------------------------------
|
|
392
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
393
|
-
-----------------------------------------------------------------------------
|
|
394
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
395
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
396
|
-
-----------------------------------------------------------------------------
|
|
397
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
398
|
-
-----------------------------------------------------------------------------
|
|
399
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
400
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
401
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
402
|
-
-----------------------------------------------------------------------------
|
|
403
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
404
|
-
-----------------------------------------------------------------------------
|
|
405
|
-
[1m[35mAuthor Load (0.1ms)[0m 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
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "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'))[0m
|
|
407
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
408
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
409
|
-
-------------------------------------------------------------
|
|
410
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
411
|
-
-------------------------------------------------------------
|
|
412
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
|
|
413
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))[0m
|
|
414
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
|
|
415
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))[0m
|
|
416
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
|
|
417
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
418
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
419
|
-
----------------------------------------------------------------------------
|
|
420
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
421
|
-
----------------------------------------------------------------------------
|
|
422
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
423
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
425
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
426
|
-
----------------------------------------------------------------------
|
|
427
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
428
|
-
----------------------------------------------------------------------
|
|
429
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))[0m
|
|
430
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
431
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
432
|
-
-------------------------------------------------------------------------------------
|
|
433
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
434
|
-
-------------------------------------------------------------------------------------
|
|
435
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
436
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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')))[0m [["author_id", 1]]
|
|
437
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
438
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
439
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
440
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 10:03:32', '2013-10-19 10:03:32')[0m
|
|
441
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 10:03:32', '2013-10-19 10:03:32')[0m
|
|
443
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
444
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
445
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
447
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
449
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
451
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
453
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
455
|
-
[1m[35m (322.4ms)[0m commit transaction
|
|
456
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
457
|
-
------------------------------------------------------------------------
|
|
458
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
459
|
-
------------------------------------------------------------------------
|
|
460
|
-
[1m[35mAuthor Load (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
462
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
463
|
-
----------------------------------------------------------------------------
|
|
464
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
465
|
-
----------------------------------------------------------------------------
|
|
466
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
467
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
468
|
-
-----------------------------------------------------------------------------
|
|
469
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
470
|
-
-----------------------------------------------------------------------------
|
|
471
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
472
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
473
|
-
-----------------------------------------------------------------------------
|
|
474
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
475
|
-
-----------------------------------------------------------------------------
|
|
476
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
477
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
478
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
479
|
-
-----------------------------------------------------------------------------
|
|
480
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
481
|
-
-----------------------------------------------------------------------------
|
|
482
|
-
[1m[35mAuthor Load (0.1ms)[0m 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
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "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'))[0m
|
|
484
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
485
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
486
|
-
-------------------------------------------------------------
|
|
487
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
488
|
-
-------------------------------------------------------------
|
|
489
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
|
|
490
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))[0m
|
|
491
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
|
|
492
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))[0m
|
|
493
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
|
|
494
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
495
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
496
|
-
----------------------------------------------------------------------------
|
|
497
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
498
|
-
----------------------------------------------------------------------------
|
|
499
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
500
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
502
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
503
|
-
----------------------------------------------------------------------
|
|
504
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
505
|
-
----------------------------------------------------------------------
|
|
506
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))[0m
|
|
507
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
508
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
509
|
-
-------------------------------------------------------------------------------------
|
|
510
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
511
|
-
-------------------------------------------------------------------------------------
|
|
512
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
513
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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')))[0m [["author_id", 1]]
|
|
514
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
515
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
516
|
-
-----------------------------------------------
|
|
517
|
-
ActiverecordAnyOfTest: test_finding_with_groups
|
|
518
|
-
-----------------------------------------------
|
|
519
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
520
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
521
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
522
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 10:03:55', '2013-10-19 10:03:55')[0m
|
|
523
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 10:03:55', '2013-10-19 10:03:55')[0m
|
|
525
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
526
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
527
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
529
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
531
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
533
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
535
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
537
|
-
[1m[35m (342.9ms)[0m commit transaction
|
|
538
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
539
|
-
------------------------------------------------------------------------
|
|
540
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
541
|
-
------------------------------------------------------------------------
|
|
542
|
-
[1m[35mAuthor Load (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
544
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
545
|
-
----------------------------------------------------------------------------
|
|
546
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
547
|
-
----------------------------------------------------------------------------
|
|
548
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
549
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
550
|
-
-----------------------------------------------------------------------------
|
|
551
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
552
|
-
-----------------------------------------------------------------------------
|
|
553
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
554
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
555
|
-
-----------------------------------------------------------------------------
|
|
556
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
557
|
-
-----------------------------------------------------------------------------
|
|
558
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
559
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
560
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
561
|
-
-----------------------------------------------------------------------------
|
|
562
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
563
|
-
-----------------------------------------------------------------------------
|
|
564
|
-
[1m[35mAuthor Load (0.1ms)[0m 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
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "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'))[0m
|
|
566
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
567
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
568
|
-
-------------------------------------------------------------
|
|
569
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
570
|
-
-------------------------------------------------------------
|
|
571
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
|
|
572
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))[0m
|
|
573
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
|
|
574
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))[0m
|
|
575
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))
|
|
576
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
577
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
578
|
-
----------------------------------------------------------------------------
|
|
579
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
580
|
-
----------------------------------------------------------------------------
|
|
581
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
582
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
584
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
585
|
-
----------------------------------------------------------------------
|
|
586
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
587
|
-
----------------------------------------------------------------------
|
|
588
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))[0m
|
|
589
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
590
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
591
|
-
-------------------------------------------------------------------------------------
|
|
592
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
593
|
-
-------------------------------------------------------------------------------------
|
|
594
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
595
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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')))[0m [["author_id", 1]]
|
|
596
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
597
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
598
|
-
-----------------------------------------------
|
|
599
|
-
ActiverecordAnyOfTest: test_finding_with_groups
|
|
600
|
-
-----------------------------------------------
|
|
601
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
602
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
603
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
604
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 10:10:47', '2013-10-19 10:10:47')[0m
|
|
605
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 10:10:47', '2013-10-19 10:10:47')[0m
|
|
607
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
608
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
609
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
611
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
613
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
615
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
617
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
619
|
-
[1m[35m (318.0ms)[0m commit transaction
|
|
620
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
621
|
-
------------------------------------------------------------------------
|
|
622
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
623
|
-
------------------------------------------------------------------------
|
|
624
|
-
[1m[36mAuthor Load (0.3ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (name like '%av%') AND (("authors"."name" = 'David' AND (name like '%av%') OR "authors"."name" = 'Mary' AND (name like '%av%')))[0m
|
|
625
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
626
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
627
|
-
----------------------------------------------------------------------------
|
|
628
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
629
|
-
----------------------------------------------------------------------------
|
|
630
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
631
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
632
|
-
-----------------------------------------------------------------------------
|
|
633
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
634
|
-
-----------------------------------------------------------------------------
|
|
635
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
636
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
637
|
-
-----------------------------------------------------------------------------
|
|
638
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
639
|
-
-----------------------------------------------------------------------------
|
|
640
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
641
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
642
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
643
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 10:15:33', '2013-10-19 10:15:33')[0m
|
|
644
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 10:15:33', '2013-10-19 10:15:33')[0m
|
|
646
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
647
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
648
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
650
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
652
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
654
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
656
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
658
|
-
[1m[35m (291.8ms)[0m commit transaction
|
|
659
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
668
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
669
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
670
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 11:48:21', '2013-10-19 11:48:21')[0m
|
|
671
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 11:48:21', '2013-10-19 11:48:21')[0m
|
|
673
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
674
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
675
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
677
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
679
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
681
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
683
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
685
|
-
[1m[35m (303.4ms)[0m commit transaction
|
|
686
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
687
|
-
-----------------------------------------------------
|
|
688
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
689
|
-
-----------------------------------------------------
|
|
690
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
691
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
692
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
693
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 11:52:06', '2013-10-19 11:52:06')[0m
|
|
694
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 11:52:06', '2013-10-19 11:52:06')[0m
|
|
696
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
697
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
698
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
700
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
702
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
704
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
706
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
708
|
-
[1m[35m (286.0ms)[0m commit transaction
|
|
709
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
710
|
-
-----------------------------------------------------
|
|
711
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
712
|
-
-----------------------------------------------------
|
|
713
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
714
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
715
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
716
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 11:52:58', '2013-10-19 11:52:58')[0m
|
|
717
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 11:52:58', '2013-10-19 11:52:58')[0m
|
|
719
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
720
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
721
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
723
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
725
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
727
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
729
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
731
|
-
[1m[35m (299.2ms)[0m commit transaction
|
|
732
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
733
|
-
-----------------------------------------------------
|
|
734
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
735
|
-
-----------------------------------------------------
|
|
736
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
737
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
738
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
739
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 11:53:20', '2013-10-19 11:53:20')[0m
|
|
740
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 11:53:20', '2013-10-19 11:53:20')[0m
|
|
742
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
743
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
744
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
746
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
748
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
750
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
752
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
754
|
-
[1m[35m (287.9ms)[0m commit transaction
|
|
755
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
756
|
-
-----------------------------------------------------
|
|
757
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
758
|
-
-----------------------------------------------------
|
|
759
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
760
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
761
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
762
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:29:23', '2013-10-19 12:29:23')[0m
|
|
763
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:29:23', '2013-10-19 12:29:23')[0m
|
|
765
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
766
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
767
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
769
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
771
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
773
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
775
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
777
|
-
[1m[35m (300.0ms)[0m commit transaction
|
|
778
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
779
|
-
-----------------------------------------------------
|
|
780
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
781
|
-
-----------------------------------------------------
|
|
782
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
783
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
784
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
785
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:29:41', '2013-10-19 12:29:41')[0m
|
|
786
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:29:41', '2013-10-19 12:29:41')[0m
|
|
788
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
789
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
790
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
792
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
794
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
796
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
798
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
800
|
-
[1m[35m (295.0ms)[0m commit transaction
|
|
801
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
802
|
-
-----------------------------------------------------
|
|
803
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
804
|
-
-----------------------------------------------------
|
|
805
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
806
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
807
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
808
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:32:41', '2013-10-19 12:32:41')[0m
|
|
809
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:32:41', '2013-10-19 12:32:41')[0m
|
|
811
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
812
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
813
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
815
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
817
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
819
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
821
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
823
|
-
[1m[35m (296.6ms)[0m commit transaction
|
|
824
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
825
|
-
-----------------------------------------------------
|
|
826
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
827
|
-
-----------------------------------------------------
|
|
828
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
829
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
830
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:46:26', '2013-10-19 12:46:26')[0m
|
|
831
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:46:26', '2013-10-19 12:46:26')[0m
|
|
833
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
834
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
835
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
837
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
839
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
841
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
843
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
845
|
-
[1m[35m (317.9ms)[0m commit transaction
|
|
846
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
847
|
-
-----------------------------------------------------
|
|
848
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
849
|
-
-----------------------------------------------------
|
|
850
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
851
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
852
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:47:49', '2013-10-19 12:47:49')[0m
|
|
853
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:47:49', '2013-10-19 12:47:49')[0m
|
|
855
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
856
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
857
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
859
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
861
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
863
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
865
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
867
|
-
[1m[35m (325.8ms)[0m commit transaction
|
|
868
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
869
|
-
-----------------------------------------------------
|
|
870
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
871
|
-
-----------------------------------------------------
|
|
872
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
873
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
874
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
875
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:53:01', '2013-10-19 12:53:01')[0m
|
|
876
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:53:01', '2013-10-19 12:53:01')[0m
|
|
878
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
879
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
880
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
882
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
884
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
886
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
888
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
890
|
-
[1m[35m (356.0ms)[0m commit transaction
|
|
891
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
892
|
-
-----------------------------------------------------
|
|
893
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
894
|
-
-----------------------------------------------------
|
|
895
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
896
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
897
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
898
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:55:56', '2013-10-19 12:55:56')[0m
|
|
899
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:55:56', '2013-10-19 12:55:56')[0m
|
|
901
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
902
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
903
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
905
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
907
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
909
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
911
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
913
|
-
[1m[35m (302.8ms)[0m commit transaction
|
|
914
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
921
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
922
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
923
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 12:57:07', '2013-10-19 12:57:07')[0m
|
|
924
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 12:57:07', '2013-10-19 12:57:07')[0m
|
|
926
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
927
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
928
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
930
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
932
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
934
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
936
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
938
|
-
[1m[35m (309.8ms)[0m commit transaction
|
|
939
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
946
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
947
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
948
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:04:06', '2013-10-19 13:04:06')[0m
|
|
949
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:04:06', '2013-10-19 13:04:06')[0m
|
|
951
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
952
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
953
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
955
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
957
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
959
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
961
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
963
|
-
[1m[35m (293.0ms)[0m commit transaction
|
|
964
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
970
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
|
971
|
-
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authors"
|
|
972
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:26:08', '2013-10-19 13:26:08')[0m
|
|
973
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:26:08', '2013-10-19 13:26:08')[0m
|
|
975
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
976
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
977
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
979
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
981
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
983
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
985
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
987
|
-
[1m[35m (653.3ms)[0m commit transaction
|
|
988
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
995
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
996
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
997
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:28:16', '2013-10-19 13:28:16')[0m
|
|
998
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:28:16', '2013-10-19 13:28:16')[0m
|
|
1000
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
1001
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1002
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1004
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1006
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1008
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1010
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1012
|
-
[1m[35m (323.6ms)[0m commit transaction
|
|
1013
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1014
|
-
-----------------------------------------------------
|
|
1015
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
1016
|
-
-----------------------------------------------------
|
|
1017
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
1018
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1019
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
1020
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:29:40', '2013-10-19 13:29:40')[0m
|
|
1021
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:29:40', '2013-10-19 13:29:40')[0m
|
|
1023
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
1024
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1025
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1027
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1029
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1031
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1033
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1035
|
-
[1m[35m (280.3ms)[0m commit transaction
|
|
1036
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
1044
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1045
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
1046
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:36:49', '2013-10-19 13:36:49')[0m
|
|
1047
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:36:49', '2013-10-19 13:36:49')[0m
|
|
1049
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
1050
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1051
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1053
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1055
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1057
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1059
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1061
|
-
[1m[35m (313.8ms)[0m commit transaction
|
|
1062
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
1068
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1069
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
1070
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:40:52', '2013-10-19 13:40:52')[0m
|
|
1071
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:40:52', '2013-10-19 13:40:52')[0m
|
|
1073
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
1074
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1075
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1077
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1079
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1081
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1083
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1085
|
-
[1m[35m (271.5ms)[0m commit transaction
|
|
1086
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
1093
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1094
|
-
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authors"
|
|
1095
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:42:02', '2013-10-19 13:42:02')[0m
|
|
1096
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:42:02', '2013-10-19 13:42:02')[0m
|
|
1098
|
-
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "posts"
|
|
1099
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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')[0m
|
|
1100
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1102
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1104
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1106
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1108
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1110
|
-
[1m[35m (334.9ms)[0m commit transaction
|
|
1111
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1112
|
-
-----------------------------------------------------
|
|
1113
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
1114
|
-
-----------------------------------------------------
|
|
1115
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
1116
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1117
|
-
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authors"
|
|
1118
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:43:22', '2013-10-19 13:43:22')[0m
|
|
1119
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:43:22', '2013-10-19 13:43:22')[0m
|
|
1121
|
-
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "posts"
|
|
1122
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1123
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1125
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1127
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1129
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1131
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1133
|
-
[1m[35m (295.4ms)[0m commit transaction
|
|
1134
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
1141
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1142
|
-
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authors"
|
|
1143
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 13:52:57', '2013-10-19 13:52:57')[0m
|
|
1144
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 13:52:57', '2013-10-19 13:52:57')[0m
|
|
1146
|
-
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "posts"
|
|
1147
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1148
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1150
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1152
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1154
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1156
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1158
|
-
[1m[35m (329.3ms)[0m commit transaction
|
|
1159
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
1166
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1167
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
1168
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1169
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
1170
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 14:00:04', '2013-10-19 14:00:04')[0m
|
|
1171
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 14:00:04', '2013-10-19 14:00:04')[0m
|
|
1173
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
1174
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1175
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1177
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1179
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1181
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1183
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1185
|
-
[1m[35m (334.5ms)[0m commit transaction
|
|
1186
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1193
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1194
|
-
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "authors"
|
|
1195
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 14:00:54', '2013-10-19 14:00:54')[0m
|
|
1196
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 14:00:54', '2013-10-19 14:00:54')[0m
|
|
1198
|
-
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "posts"
|
|
1199
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1200
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1202
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1204
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1206
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1208
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1210
|
-
[1m[35m (302.5ms)[0m commit transaction
|
|
1211
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
1218
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1219
|
-
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "authors"
|
|
1220
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 14:02:39', '2013-10-19 14:02:39')[0m
|
|
1221
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 14:02:39', '2013-10-19 14:02:39')[0m
|
|
1223
|
-
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "posts"
|
|
1224
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1225
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1227
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1229
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1231
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1233
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1235
|
-
[1m[35m (299.5ms)[0m commit transaction
|
|
1236
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
1237
|
-
-----------------------------------------------------
|
|
1238
|
-
ActiverecordAnyOfTest: test_finding_with_groups_focus
|
|
1239
|
-
-----------------------------------------------------
|
|
1240
|
-
[1m[35mPost Load (0.2ms)[0m ( 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1243
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1244
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
1245
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-10-19 14:05:33', '2013-10-19 14:05:33')[0m
|
|
1246
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-10-19 14:05:33', '2013-10-19 14:05:33')[0m
|
|
1248
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
1249
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1250
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1252
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1254
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1256
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1258
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1260
|
-
[1m[35m (334.4ms)[0m commit transaction
|
|
1261
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
-
[1m[36mPost Load (0.2ms)[0m [1m( SELECT "posts".* FROM "posts" GROUP BY type UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )[0m
|
|
1277
|
-
SQLite3::SQLException: near "(": syntax error: ( SELECT "posts".* FROM "posts" GROUP BY type UNION SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 2 )
|
|
1278
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
|
1279
|
-
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
|
1280
|
-
[1m[35mFixture Delete (21.9ms)[0m DELETE FROM "authors"
|
|
1281
|
-
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-11-03 12:05:10', '2013-11-03 12:05:10')[0m
|
|
1282
|
-
[1m[35mFixture Insert (0.1ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-11-03 12:05:10', '2013-11-03 12:05:10')[0m
|
|
1284
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
1285
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1286
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1288
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1290
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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')[0m
|
|
1292
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1294
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1296
|
-
[1m[35m (278.9ms)[0m commit transaction
|
|
1297
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1298
|
-
------------------------------------------------------------------------
|
|
1299
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
1300
|
-
------------------------------------------------------------------------
|
|
1301
|
-
[1m[35mAuthor Load (0.2ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1303
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
1304
|
-
--------------------------------------------------------------------------------------
|
|
1305
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_a_single_Hash_as_parameter_expands_it
|
|
1306
|
-
--------------------------------------------------------------------------------------
|
|
1307
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ("authors"."name" = 'David' AND "authors"."id" = 2)[0m
|
|
1308
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
1309
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1310
|
-
----------------------------------------------------------------------------
|
|
1311
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
1312
|
-
----------------------------------------------------------------------------
|
|
1313
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1314
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1315
|
-
-----------------------------------------------------------------------------
|
|
1316
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
1317
|
-
-----------------------------------------------------------------------------
|
|
1318
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1319
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1320
|
-
-----------------------------------------------------------------------------
|
|
1321
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
1322
|
-
-----------------------------------------------------------------------------
|
|
1323
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
|
|
1324
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1325
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
1326
|
-
-----------------------------------------------------------------------------
|
|
1327
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
1328
|
-
-----------------------------------------------------------------------------
|
|
1329
|
-
[1m[36mAuthor Load (0.2ms)[0m [1mSELECT "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'))[0m
|
|
1330
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1332
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
1333
|
-
-------------------------------------------------------------
|
|
1334
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
1335
|
-
-------------------------------------------------------------
|
|
1336
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
1337
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
|
1338
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
|
1339
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
|
1340
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))[0m
|
|
1341
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1342
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1343
|
-
----------------------------------------------------------------------------
|
|
1344
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
1345
|
-
----------------------------------------------------------------------------
|
|
1346
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
1347
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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'))[0m [["author_id", 1]]
|
|
1348
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1349
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1350
|
-
----------------------------------------------------------------------
|
|
1351
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
1352
|
-
----------------------------------------------------------------------
|
|
1353
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
|
1354
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1355
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
1356
|
-
-------------------------------------------------------------------------------------
|
|
1357
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
1358
|
-
-------------------------------------------------------------------------------------
|
|
1359
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
1360
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1362
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1363
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
1364
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-11-03 12:08:47', '2013-11-03 12:08:47')[0m
|
|
1365
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-11-03 12:08:47', '2013-11-03 12:08:47')[0m
|
|
1367
|
-
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
|
1368
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1369
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1371
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1373
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1375
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1377
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1379
|
-
[1m[35m (288.9ms)[0m commit transaction
|
|
1380
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1381
|
-
------------------------------------------------------------------------
|
|
1382
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
1383
|
-
------------------------------------------------------------------------
|
|
1384
|
-
[1m[35mAuthor Load (0.2ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1386
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
1387
|
-
--------------------------------------------------------------------------------------
|
|
1388
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_a_single_Hash_as_parameter_expands_it
|
|
1389
|
-
--------------------------------------------------------------------------------------
|
|
1390
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."id" = 2))[0m
|
|
1391
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1392
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1393
|
-
----------------------------------------------------------------------------
|
|
1394
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
1395
|
-
----------------------------------------------------------------------------
|
|
1396
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1397
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1398
|
-
-----------------------------------------------------------------------------
|
|
1399
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
1400
|
-
-----------------------------------------------------------------------------
|
|
1401
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1402
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1403
|
-
-----------------------------------------------------------------------------
|
|
1404
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
1405
|
-
-----------------------------------------------------------------------------
|
|
1406
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
|
|
1407
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1408
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
1409
|
-
-----------------------------------------------------------------------------
|
|
1410
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
1411
|
-
-----------------------------------------------------------------------------
|
|
1412
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "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'))[0m
|
|
1413
|
-
[1m[35mSQL (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1415
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
1416
|
-
-------------------------------------------------------------
|
|
1417
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
1418
|
-
-------------------------------------------------------------
|
|
1419
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
1420
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
|
1421
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
|
1422
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
|
1423
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))[0m
|
|
1424
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1425
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1426
|
-
----------------------------------------------------------------------------
|
|
1427
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
1428
|
-
----------------------------------------------------------------------------
|
|
1429
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
1430
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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'))[0m [["author_id", 1]]
|
|
1431
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1432
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1433
|
-
----------------------------------------------------------------------
|
|
1434
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
1435
|
-
----------------------------------------------------------------------
|
|
1436
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
|
1437
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1438
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
1439
|
-
-------------------------------------------------------------------------------------
|
|
1440
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
1441
|
-
-------------------------------------------------------------------------------------
|
|
1442
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
1443
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1445
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1446
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
|
1447
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-11-03 13:05:33', '2013-11-03 13:05:33')[0m
|
|
1448
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-11-03 13:05:33', '2013-11-03 13:05:33')[0m
|
|
1450
|
-
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "posts"
|
|
1451
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1452
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1454
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1456
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1458
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1460
|
-
[1m[35mFixture Insert (0.0ms)[0m 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
|
-
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT 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')[0m
|
|
1462
|
-
[1m[35m (284.6ms)[0m commit transaction
|
|
1463
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1464
|
-
------------------------------------------------------------------------
|
|
1465
|
-
ActiverecordAnyOfTest: test_calling_#any_of_after_a_wildcard_query_works
|
|
1466
|
-
------------------------------------------------------------------------
|
|
1467
|
-
[1m[35mAuthor Load (0.2ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1469
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
1470
|
-
--------------------------------------------------------------------------------------
|
|
1471
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_a_single_Hash_as_parameter_expands_it
|
|
1472
|
-
--------------------------------------------------------------------------------------
|
|
1473
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."id" = 2))[0m
|
|
1474
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1475
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1476
|
-
----------------------------------------------------------------------------
|
|
1477
|
-
ActiverecordAnyOfTest: test_calling_#any_of_with_no_argument_raise_exception
|
|
1478
|
-
----------------------------------------------------------------------------
|
|
1479
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1480
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1481
|
-
-----------------------------------------------------------------------------
|
|
1482
|
-
ActiverecordAnyOfTest: test_calling_#none_of_with_no_argument_raise_exception
|
|
1483
|
-
-----------------------------------------------------------------------------
|
|
1484
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1485
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1486
|
-
-----------------------------------------------------------------------------
|
|
1487
|
-
ActiverecordAnyOfTest: test_calling_directly_#any_of_is_deprecated_in_rails-4
|
|
1488
|
-
-----------------------------------------------------------------------------
|
|
1489
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
|
|
1490
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1491
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
1492
|
-
-----------------------------------------------------------------------------
|
|
1493
|
-
ActiverecordAnyOfTest: test_finding_alternate_dynamically_with_joined_queries
|
|
1494
|
-
-----------------------------------------------------------------------------
|
|
1495
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "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'))[0m
|
|
1496
|
-
[1m[35mSQL (0.1ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1498
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
1499
|
-
-------------------------------------------------------------
|
|
1500
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions
|
|
1501
|
-
-------------------------------------------------------------
|
|
1502
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
|
1503
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
|
1504
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
|
1505
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
|
1506
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ("authors"."name" != 'Mary') AND (("authors"."name" = 'David' OR ("authors"."name" != 'Mary') AND (name = 'Mary')))[0m
|
|
1507
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1508
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1509
|
-
----------------------------------------------------------------------------
|
|
1510
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_conditions_on_association
|
|
1511
|
-
----------------------------------------------------------------------------
|
|
1512
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1
|
|
1513
|
-
[1m[36mPost Load (0.1ms)[0m [1mSELECT "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'))[0m [["author_id", 1]]
|
|
1514
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
1515
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1516
|
-
----------------------------------------------------------------------
|
|
1517
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions
|
|
1518
|
-
----------------------------------------------------------------------
|
|
1519
|
-
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
|
1520
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
1521
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
1522
|
-
-------------------------------------------------------------------------------------
|
|
1523
|
-
ActiverecordAnyOfTest: test_finding_with_alternate_negative_conditions_on_association
|
|
1524
|
-
-------------------------------------------------------------------------------------
|
|
1525
|
-
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' ORDER BY "authors"."id" ASC LIMIT 1[0m
|
|
1526
|
-
[1m[35mPost Load (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|