activerecord_any_of 1.0.2 → 1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +48 -13
- data/Rakefile +9 -0
- data/lib/activerecord_any_of/version.rb +1 -1
- data/lib/activerecord_any_of.rb +59 -36
- data/test/activerecord_any_of_test.rb +60 -17
- data/test/{dummy → dummy_rails3}/README.rdoc +0 -0
- data/test/{dummy → dummy_rails3}/Rakefile +0 -0
- data/test/{dummy → dummy_rails3}/app/assets/javascripts/application.js +0 -0
- data/test/{dummy → dummy_rails3}/app/assets/stylesheets/application.css +0 -0
- data/test/{dummy → dummy_rails3}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy → dummy_rails3}/app/helpers/application_helper.rb +0 -0
- data/test/{dummy → dummy_rails3}/app/models/author.rb +0 -0
- data/test/{dummy → dummy_rails3}/app/models/post.rb +0 -0
- data/test/{dummy → dummy_rails3}/app/models/special_post.rb +0 -0
- data/test/{dummy → dummy_rails3}/app/models/sti_post.rb +0 -0
- data/test/{dummy → dummy_rails3}/app/views/layouts/application.html.erb +0 -0
- data/test/{dummy → dummy_rails3}/config/application.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/boot.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/database.yml +0 -0
- data/test/{dummy → dummy_rails3}/config/environment.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/environments/development.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/environments/production.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/environments/test.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/initializers/backtrace_silencers.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/initializers/inflections.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/initializers/mime_types.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/initializers/secret_token.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/initializers/session_store.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/initializers/wrap_parameters.rb +0 -0
- data/test/{dummy → dummy_rails3}/config/locales/en.yml +0 -0
- data/test/{dummy → dummy_rails3}/config/routes.rb +0 -0
- data/test/{dummy → dummy_rails3}/config.ru +0 -0
- data/test/{dummy → dummy_rails3}/db/development.sqlite3 +0 -0
- data/test/{dummy → dummy_rails3}/db/migrate/20130617172335_create_authors.rb +0 -0
- data/test/{dummy → dummy_rails3}/db/migrate/20130617173313_create_posts.rb +0 -0
- data/test/{dummy → dummy_rails3}/db/schema.rb +0 -0
- data/test/dummy_rails3/db/test.sqlite3 +0 -0
- data/test/{dummy → dummy_rails3}/log/development.log +10 -0
- data/test/{dummy → dummy_rails3}/log/test.log +288 -0
- data/test/{dummy → dummy_rails3}/public/404.html +0 -0
- data/test/{dummy → dummy_rails3}/public/422.html +0 -0
- data/test/{dummy → dummy_rails3}/public/500.html +0 -0
- data/test/{dummy → dummy_rails3}/public/favicon.ico +0 -0
- data/test/{dummy → dummy_rails3}/script/rails +0 -0
- data/test/{dummy → dummy_rails3}/test/fixtures/authors.yml +0 -0
- data/test/{dummy → dummy_rails3}/test/fixtures/posts.yml +0 -0
- data/test/{dummy → dummy_rails3}/test/unit/author_test.rb +0 -0
- data/test/{dummy → dummy_rails3}/test/unit/post_test.rb +0 -0
- data/test/dummy_rails4/README.rdoc +28 -0
- data/test/dummy_rails4/Rakefile +6 -0
- data/test/dummy_rails4/app/assets/javascripts/application.js +13 -0
- data/test/dummy_rails4/app/assets/stylesheets/application.css +13 -0
- data/test/dummy_rails4/app/controllers/application_controller.rb +5 -0
- data/test/dummy_rails4/app/helpers/application_helper.rb +2 -0
- data/test/dummy_rails4/app/models/author.rb +3 -0
- data/test/dummy_rails4/app/models/post.rb +3 -0
- data/test/dummy_rails4/app/models/special_post.rb +2 -0
- data/test/dummy_rails4/app/models/sti_post.rb +2 -0
- data/test/dummy_rails4/app/views/layouts/application.html.erb +14 -0
- data/test/dummy_rails4/bin/bundle +3 -0
- data/test/dummy_rails4/bin/rails +4 -0
- data/test/dummy_rails4/bin/rake +4 -0
- data/test/dummy_rails4/config/application.rb +23 -0
- data/test/dummy_rails4/config/boot.rb +5 -0
- data/test/dummy_rails4/config/database.yml +25 -0
- data/test/dummy_rails4/config/environment.rb +5 -0
- data/test/dummy_rails4/config/environments/development.rb +29 -0
- data/test/dummy_rails4/config/environments/production.rb +80 -0
- data/test/dummy_rails4/config/environments/test.rb +36 -0
- data/test/dummy_rails4/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy_rails4/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy_rails4/config/initializers/inflections.rb +16 -0
- data/test/dummy_rails4/config/initializers/mime_types.rb +5 -0
- data/test/dummy_rails4/config/initializers/secret_token.rb +12 -0
- data/test/dummy_rails4/config/initializers/session_store.rb +3 -0
- data/test/dummy_rails4/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy_rails4/config/locales/en.yml +23 -0
- data/test/dummy_rails4/config/routes.rb +56 -0
- data/test/dummy_rails4/config.ru +4 -0
- data/test/dummy_rails4/db/development.sqlite3 +0 -0
- data/test/dummy_rails4/db/migrate/20130617172335_create_authors.rb +9 -0
- data/test/dummy_rails4/db/migrate/20130617173313_create_posts.rb +12 -0
- data/test/dummy_rails4/db/schema.rb +31 -0
- data/test/{dummy → dummy_rails4}/db/test.sqlite3 +0 -0
- data/test/dummy_rails4/log/development.log +21 -0
- data/test/dummy_rails4/log/test.log +437 -0
- data/test/dummy_rails4/public/404.html +58 -0
- data/test/dummy_rails4/public/422.html +58 -0
- data/test/dummy_rails4/public/500.html +57 -0
- data/test/dummy_rails4/public/favicon.ico +0 -0
- data/test/dummy_rails4/test/fixtures/authors.yml +7 -0
- data/test/dummy_rails4/test/fixtures/posts.yml +13 -0
- data/test/dummy_rails4/test/unit/author_test.rb +7 -0
- data/test/dummy_rails4/test/unit/post_test.rb +7 -0
- data/test/test_helper.rb +4 -4
- metadata +180 -88
@@ -2585,3 +2585,291 @@ Connecting to database specified by database.yml
|
|
2585
2585
|
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1[0m
|
2586
2586
|
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')))
|
2587
2587
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2588
|
+
Connecting to database specified by database.yml
|
2589
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
2590
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
2591
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 13:38:29', '2013-08-31 13:38:29')[0m
|
2592
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 13:38:29', '2013-08-31 13:38:29')
|
2593
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 13:38:29', '2013-08-31 13:38:29')[0m
|
2594
|
+
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
2595
|
+
[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 13:38:29', '2013-08-31 13:38:29')[0m
|
2596
|
+
[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 13:38:29', '2013-08-31 13:38:29')
|
2597
|
+
[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 13:38:29', '2013-08-31 13:38:29')[0m
|
2598
|
+
[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 13:38:29', '2013-08-31 13:38:29')
|
2599
|
+
[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 13:38:29', '2013-08-31 13:38:29')[0m
|
2600
|
+
[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 13:38:29', '2013-08-31 13:38:29')
|
2601
|
+
[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 13:38:29', '2013-08-31 13:38:29')[0m
|
2602
|
+
[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 13:38:29', '2013-08-31 13:38:29')
|
2603
|
+
[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 13:38:29', '2013-08-31 13:38:29')[0m
|
2604
|
+
[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 13:38:29', '2013-08-31 13:38:29')
|
2605
|
+
[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 13:38:29', '2013-08-31 13:38:29')[0m
|
2606
|
+
[1m[35m (274.2ms)[0m commit transaction
|
2607
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2608
|
+
[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%')))
|
2609
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2610
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2611
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2613
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2614
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2615
|
+
[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
|
2616
|
+
[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'))
|
2617
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2618
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2619
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
2620
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
2621
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
2622
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
2623
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (name IS NOT 'Mary') AND (("authors"."name" = 'David' OR (name IS NOT 'Mary') AND (name = 'Mary')))[0m
|
2624
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2625
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2626
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
|
2627
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))[0m
|
2628
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2629
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2630
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
2631
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2633
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1[0m
|
2634
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')))
|
2635
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2636
|
+
Connecting to database specified by database.yml
|
2637
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2638
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
2639
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 13:38:41', '2013-08-31 13:38:41')[0m
|
2640
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 13:38:41', '2013-08-31 13:38:41')
|
2641
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 13:38:41', '2013-08-31 13:38:41')[0m
|
2642
|
+
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
2643
|
+
[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 13:38:41', '2013-08-31 13:38:41')[0m
|
2644
|
+
[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 13:38:41', '2013-08-31 13:38:41')
|
2645
|
+
[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 13:38:41', '2013-08-31 13:38:41')[0m
|
2646
|
+
[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 13:38:41', '2013-08-31 13:38:41')
|
2647
|
+
[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 13:38:41', '2013-08-31 13:38:41')[0m
|
2648
|
+
[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 13:38:41', '2013-08-31 13:38:41')
|
2649
|
+
[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 13:38:41', '2013-08-31 13:38:41')[0m
|
2650
|
+
[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 13:38:41', '2013-08-31 13:38:41')
|
2651
|
+
[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 13:38:41', '2013-08-31 13:38:41')[0m
|
2652
|
+
[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 13:38:41', '2013-08-31 13:38:41')
|
2653
|
+
[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 13:38:41', '2013-08-31 13:38:41')[0m
|
2654
|
+
[1m[35m (307.0ms)[0m commit transaction
|
2655
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2656
|
+
[1m[35mAuthor Load (0.1ms)[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%')))
|
2657
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2658
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2659
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2661
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2662
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2663
|
+
[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
|
2664
|
+
[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'))
|
2665
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2667
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
2668
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
2669
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
2670
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
2671
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (name IS NOT 'Mary') AND (("authors"."name" = 'David' OR (name IS NOT 'Mary') AND (name = 'Mary')))[0m
|
2672
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2673
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2674
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
|
2675
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))[0m
|
2676
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2677
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2678
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
2679
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2680
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2681
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1[0m
|
2682
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')))
|
2683
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2684
|
+
Connecting to database specified by database.yml
|
2685
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2686
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
2687
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 13:52:28', '2013-08-31 13:52:28')[0m
|
2688
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 13:52:28', '2013-08-31 13:52:28')
|
2689
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 13:52:28', '2013-08-31 13:52:28')[0m
|
2690
|
+
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
2691
|
+
[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 13:52:28', '2013-08-31 13:52:28')[0m
|
2692
|
+
[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 13:52:28', '2013-08-31 13:52:28')
|
2693
|
+
[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 13:52:28', '2013-08-31 13:52:28')[0m
|
2694
|
+
[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 13:52:28', '2013-08-31 13:52:28')
|
2695
|
+
[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 13:52:28', '2013-08-31 13:52:28')[0m
|
2696
|
+
[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 13:52:28', '2013-08-31 13:52:28')
|
2697
|
+
[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 13:52:28', '2013-08-31 13:52:28')[0m
|
2698
|
+
[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 13:52:28', '2013-08-31 13:52:28')
|
2699
|
+
[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 13:52:28', '2013-08-31 13:52:28')[0m
|
2700
|
+
[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 13:52:28', '2013-08-31 13:52:28')
|
2701
|
+
[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 13:52:28', '2013-08-31 13:52:28')[0m
|
2702
|
+
[1m[35m (280.6ms)[0m commit transaction
|
2703
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2704
|
+
[1m[35mAuthor Load (0.1ms)[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%')))
|
2705
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2706
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2707
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2709
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2711
|
+
[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
|
2712
|
+
[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'))
|
2713
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2715
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
2716
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
2717
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
2718
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
2719
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (name IS NOT 'Mary') AND (("authors"."name" = 'David' OR (name IS NOT 'Mary') AND (name = 'Mary')))[0m
|
2720
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2721
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2722
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
|
2723
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))[0m
|
2724
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2726
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
2727
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2728
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2729
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1[0m
|
2730
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')))
|
2731
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2732
|
+
Connecting to database specified by database.yml
|
2733
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2734
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
2735
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 14:22:25', '2013-08-31 14:22:25')[0m
|
2736
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 14:22:25', '2013-08-31 14:22:25')
|
2737
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 14:22:25', '2013-08-31 14:22:25')[0m
|
2738
|
+
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
2739
|
+
[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:25', '2013-08-31 14:22:25')[0m
|
2740
|
+
[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 14:22:25', '2013-08-31 14:22:25')
|
2741
|
+
[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:25', '2013-08-31 14:22:25')[0m
|
2742
|
+
[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:25', '2013-08-31 14:22:25')
|
2743
|
+
[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:25', '2013-08-31 14:22:25')[0m
|
2744
|
+
[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:25', '2013-08-31 14:22:25')
|
2745
|
+
[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:25', '2013-08-31 14:22:25')[0m
|
2746
|
+
[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:25', '2013-08-31 14:22:25')
|
2747
|
+
[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:25', '2013-08-31 14:22:25')[0m
|
2748
|
+
[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:25', '2013-08-31 14:22:25')
|
2749
|
+
[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:25', '2013-08-31 14:22:25')[0m
|
2750
|
+
[1m[35m (296.3ms)[0m commit transaction
|
2751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2752
|
+
[1m[35mAuthor Load (0.1ms)[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%')))
|
2753
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2755
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2757
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2759
|
+
[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
|
2760
|
+
[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'))
|
2761
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2762
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2763
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
2764
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
2765
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
2766
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
2767
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (name IS NOT 'Mary') AND (("authors"."name" = 'David' OR (name IS NOT 'Mary') AND (name = 'Mary')))[0m
|
2768
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2770
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
|
2771
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))[0m
|
2772
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2774
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
2775
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2776
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2777
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1[0m
|
2778
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')))
|
2779
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2780
|
+
Connecting to database specified by database.yml
|
2781
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2782
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
2783
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 15:35:55', '2013-08-31 15:35:55')[0m
|
2784
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 15:35:55', '2013-08-31 15:35:55')
|
2785
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 15:35:55', '2013-08-31 15:35:55')[0m
|
2786
|
+
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
2787
|
+
[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:55', '2013-08-31 15:35:55')[0m
|
2788
|
+
[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:55', '2013-08-31 15:35:55')
|
2789
|
+
[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:55', '2013-08-31 15:35:55')[0m
|
2790
|
+
[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:55', '2013-08-31 15:35:55')
|
2791
|
+
[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:55', '2013-08-31 15:35:55')[0m
|
2792
|
+
[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:55', '2013-08-31 15:35:55')
|
2793
|
+
[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:55', '2013-08-31 15:35:55')[0m
|
2794
|
+
[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:55', '2013-08-31 15:35:55')
|
2795
|
+
[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:55', '2013-08-31 15:35:55')[0m
|
2796
|
+
[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:55', '2013-08-31 15:35:55')
|
2797
|
+
[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:55', '2013-08-31 15:35:55')[0m
|
2798
|
+
[1m[35m (354.2ms)[0m commit transaction
|
2799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2800
|
+
[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%')))
|
2801
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2802
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2803
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2804
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2805
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2806
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2807
|
+
[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
|
2808
|
+
[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'))
|
2809
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2811
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
2812
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
2813
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
2814
|
+
[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))
|
2815
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (name IS NOT 'Mary') AND (("authors"."name" = 'David' OR (name IS NOT 'Mary') AND (name = 'Mary')))[0m
|
2816
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2817
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2818
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
|
2819
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))[0m
|
2820
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2822
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
2823
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2824
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2825
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1[0m
|
2826
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')))
|
2827
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2828
|
+
Connecting to database specified by database.yml
|
2829
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2830
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "authors"
|
2831
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-08-31 15:36:52', '2013-08-31 15:36:52')[0m
|
2832
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-08-31 15:36:52', '2013-08-31 15:36:52')
|
2833
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-08-31 15:36:52', '2013-08-31 15:36:52')[0m
|
2834
|
+
[1m[35mFixture Delete (0.0ms)[0m DELETE FROM "posts"
|
2835
|
+
[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:52', '2013-08-31 15:36:52')[0m
|
2836
|
+
[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:52', '2013-08-31 15:36:52')
|
2837
|
+
[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:52', '2013-08-31 15:36:52')[0m
|
2838
|
+
[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:52', '2013-08-31 15:36:52')
|
2839
|
+
[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:52', '2013-08-31 15:36:52')[0m
|
2840
|
+
[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:52', '2013-08-31 15:36:52')
|
2841
|
+
[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:52', '2013-08-31 15:36:52')[0m
|
2842
|
+
[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:52', '2013-08-31 15:36:52')
|
2843
|
+
[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:52', '2013-08-31 15:36:52')[0m
|
2844
|
+
[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:52', '2013-08-31 15:36:52')
|
2845
|
+
[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:52', '2013-08-31 15:36:52')[0m
|
2846
|
+
[1m[35m (308.7ms)[0m commit transaction
|
2847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2848
|
+
[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%')))
|
2849
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2850
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2851
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2852
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2853
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2854
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2855
|
+
[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
|
2856
|
+
[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'))
|
2857
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2858
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2859
|
+
[1m[36mAuthor Load (0.1ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))[0m
|
2860
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
|
2861
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))[0m
|
2862
|
+
[1m[35mAuthor Load (0.0ms)[0m SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
|
2863
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE (name IS NOT 'Mary') AND (("authors"."name" = 'David' OR (name IS NOT 'Mary') AND (name = 'Mary')))[0m
|
2864
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2865
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2866
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
|
2867
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost'))[0m
|
2868
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2870
|
+
[1m[35mAuthor Load (0.1ms)[0m SELECT "authors".* FROM "authors" WHERE (NOT (("authors"."name" = 'David' OR "authors"."name" = 'Mary')))
|
2871
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2872
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2873
|
+
[1m[36mAuthor Load (0.0ms)[0m [1mSELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1[0m
|
2874
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = 1 AND (NOT (("posts"."author_id" = 1 AND "posts"."body" = 'Such a lovely day' OR "posts"."author_id" = 1 AND "posts"."type" = 'SpecialPost')))
|
2875
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,28 @@
|
|
1
|
+
== README
|
2
|
+
|
3
|
+
This README would normally document whatever steps are necessary to get the
|
4
|
+
application up and running.
|
5
|
+
|
6
|
+
Things you may want to cover:
|
7
|
+
|
8
|
+
* Ruby version
|
9
|
+
|
10
|
+
* System dependencies
|
11
|
+
|
12
|
+
* Configuration
|
13
|
+
|
14
|
+
* Database creation
|
15
|
+
|
16
|
+
* Database initialization
|
17
|
+
|
18
|
+
* How to run the test suite
|
19
|
+
|
20
|
+
* Services (job queues, cache servers, search engines, etc.)
|
21
|
+
|
22
|
+
* Deployment instructions
|
23
|
+
|
24
|
+
* ...
|
25
|
+
|
26
|
+
|
27
|
+
Please feel free to use a different markup language if you do not plan to run
|
28
|
+
<tt>rake doc:app</tt>.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require_tree .
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
6
|
+
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
require 'rails/all'
|
4
|
+
|
5
|
+
Bundler.require(*Rails.groups)
|
6
|
+
require "activerecord_any_of"
|
7
|
+
|
8
|
+
module Dummy
|
9
|
+
class Application < Rails::Application
|
10
|
+
# Settings in config/environments/* take precedence over those specified here.
|
11
|
+
# Application configuration should go into files in config/initializers
|
12
|
+
# -- all .rb files in that directory are automatically loaded.
|
13
|
+
|
14
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
+
|
18
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
+
# config.i18n.default_locale = :de
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
development:
|
7
|
+
adapter: sqlite3
|
8
|
+
database: db/development.sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
# Warning: The database defined as "test" will be erased and
|
13
|
+
# re-generated from your development database when you run "rake".
|
14
|
+
# Do not set this db to the same as development or production.
|
15
|
+
test:
|
16
|
+
adapter: sqlite3
|
17
|
+
database: db/test.sqlite3
|
18
|
+
pool: 5
|
19
|
+
timeout: 5000
|
20
|
+
|
21
|
+
production:
|
22
|
+
adapter: sqlite3
|
23
|
+
database: db/production.sqlite3
|
24
|
+
pool: 5
|
25
|
+
timeout: 5000
|
@@ -0,0 +1,29 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
11
|
+
|
12
|
+
# Show full error reports and disable caching.
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send.
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger.
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Raise an error on page load if there are pending migrations
|
23
|
+
config.active_record.migration_error = :page_load
|
24
|
+
|
25
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
+
# This option may cause significant delays in view rendering with a large
|
27
|
+
# number of complex assets.
|
28
|
+
config.assets.debug = true
|
29
|
+
end
|