activerecord_any_of 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +83 -0
  3. data/Rakefile +38 -0
  4. data/lib/activerecord_any_of.rb +53 -0
  5. data/lib/activerecord_any_of/version.rb +3 -0
  6. data/test/activerecord_any_of_test.rb +27 -0
  7. data/test/dummy/README.rdoc +261 -0
  8. data/test/dummy/Rakefile +7 -0
  9. data/test/dummy/app/assets/javascripts/application.js +15 -0
  10. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  11. data/test/dummy/app/controllers/application_controller.rb +3 -0
  12. data/test/dummy/app/helpers/application_helper.rb +2 -0
  13. data/test/dummy/app/models/author.rb +4 -0
  14. data/test/dummy/app/models/post.rb +4 -0
  15. data/test/dummy/app/models/special_post.rb +2 -0
  16. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  17. data/test/dummy/config.ru +4 -0
  18. data/test/dummy/config/application.rb +59 -0
  19. data/test/dummy/config/boot.rb +10 -0
  20. data/test/dummy/config/database.yml +25 -0
  21. data/test/dummy/config/environment.rb +5 -0
  22. data/test/dummy/config/environments/development.rb +37 -0
  23. data/test/dummy/config/environments/production.rb +67 -0
  24. data/test/dummy/config/environments/test.rb +37 -0
  25. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  26. data/test/dummy/config/initializers/inflections.rb +15 -0
  27. data/test/dummy/config/initializers/mime_types.rb +5 -0
  28. data/test/dummy/config/initializers/secret_token.rb +7 -0
  29. data/test/dummy/config/initializers/session_store.rb +8 -0
  30. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  31. data/test/dummy/config/locales/en.yml +5 -0
  32. data/test/dummy/config/routes.rb +58 -0
  33. data/test/dummy/db/development.sqlite3 +0 -0
  34. data/test/dummy/db/migrate/20130617172335_create_authors.rb +9 -0
  35. data/test/dummy/db/migrate/20130617173313_create_posts.rb +12 -0
  36. data/test/dummy/db/schema.rb +31 -0
  37. data/test/dummy/db/test.sqlite3 +0 -0
  38. data/test/dummy/log/development.log +90 -0
  39. data/test/dummy/log/test.log +372 -0
  40. data/test/dummy/public/404.html +26 -0
  41. data/test/dummy/public/422.html +26 -0
  42. data/test/dummy/public/500.html +25 -0
  43. data/test/dummy/public/favicon.ico +0 -0
  44. data/test/dummy/script/rails +6 -0
  45. data/test/dummy/test/fixtures/authors.yml +7 -0
  46. data/test/dummy/test/fixtures/posts.yml +13 -0
  47. data/test/dummy/test/unit/author_test.rb +7 -0
  48. data/test/dummy/test/unit/post_test.rb +7 -0
  49. data/test/fixtures/authors.yml +11 -0
  50. data/test/fixtures/posts.yml +76 -0
  51. data/test/test_helper.rb +15 -0
  52. metadata +186 -0
Binary file
@@ -0,0 +1,9 @@
1
+ class CreateAuthors < ActiveRecord::Migration
2
+ def change
3
+ create_table :authors do |t|
4
+ t.string :name
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,12 @@
1
+ class CreatePosts < ActiveRecord::Migration
2
+ def change
3
+ create_table :posts do |t|
4
+ t.string :title
5
+ t.text :body
6
+ t.integer :author_id
7
+ t.string :type
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,31 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20130617173313) do
15
+
16
+ create_table "authors", :force => true do |t|
17
+ t.string "name"
18
+ t.datetime "created_at", :null => false
19
+ t.datetime "updated_at", :null => false
20
+ end
21
+
22
+ create_table "posts", :force => true do |t|
23
+ t.string "title"
24
+ t.text "body"
25
+ t.integer "author_id"
26
+ t.string "type"
27
+ t.datetime "created_at", :null => false
28
+ t.datetime "updated_at", :null => false
29
+ end
30
+
31
+ end
Binary file
@@ -0,0 +1,90 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+  (0.1ms) select sqlite_version(*)
5
+  (292.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
6
+  (278.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
8
+ Migrating to CreateAuthors (20130617172335)
9
+  (0.0ms) begin transaction
10
+  (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130617172335')
12
+  (295.9ms) commit transaction
13
+ Migrating to CreatePosts (20130617173313)
14
+  (0.1ms) begin transaction
15
+  (0.1ms) rollback transaction
16
+ Connecting to database specified by database.yml
17
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
18
+ Migrating to CreateAuthors (20130617172335)
19
+ Migrating to CreatePosts (20130617173313)
20
+  (0.0ms) select sqlite_version(*)
21
+  (0.0ms) begin transaction
22
+  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id_id" integer, "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130617173313')
24
+  (316.7ms) commit transaction
25
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
26
+ Connecting to database specified by database.yml
27
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
28
+  (0.2ms) select sqlite_version(*)
29
+  (286.8ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
30
+  (276.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id_id" integer, "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
31
+  (288.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
32
+  (289.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33
+  (0.1ms) SELECT version FROM "schema_migrations"
34
+  (277.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130617173313')
35
+  (278.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130617172335')
36
+ Connecting to database specified by database.yml
37
+  (0.1ms) select sqlite_version(*)
38
+  (272.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
39
+  (266.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
40
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
41
+ Connecting to database specified by database.yml
42
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
43
+ Migrating to CreateAuthors (20130617172335)
44
+  (0.0ms) select sqlite_version(*)
45
+  (0.0ms) begin transaction
46
+  (0.3ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
47
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130617172335')
48
+  (276.6ms) commit transaction
49
+ Migrating to CreatePosts (20130617173313)
50
+  (0.1ms) begin transaction
51
+  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author_id_id" integer, "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
52
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130617173313')
53
+  (275.4ms) commit transaction
54
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
55
+ Connecting to database specified by database.yml
56
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
57
+  (0.1ms) select sqlite_version(*)
58
+  (335.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
59
+  (232.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author_id_id" integer, "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
60
+  (277.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
61
+  (278.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
62
+  (0.0ms) SELECT version FROM "schema_migrations"
63
+  (277.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130617173313')
64
+  (278.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130617172335')
65
+ Connecting to database specified by database.yml
66
+  (0.1ms) select sqlite_version(*)
67
+  (298.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
68
+  (279.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
69
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
70
+ Migrating to CreateAuthors (20130617172335)
71
+  (0.1ms) begin transaction
72
+  (0.4ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
73
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130617172335')
74
+  (305.8ms) commit transaction
75
+ Migrating to CreatePosts (20130617173313)
76
+  (0.1ms) begin transaction
77
+  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author_id" integer, "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
78
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130617173313')
79
+  (275.6ms) commit transaction
80
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
81
+ Connecting to database specified by database.yml
82
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
83
+  (0.1ms) select sqlite_version(*)
84
+  (284.4ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
85
+  (277.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "author_id" integer, "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
86
+  (299.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
87
+  (289.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
88
+  (0.1ms) SELECT version FROM "schema_migrations"
89
+  (288.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130617173313')
90
+  (289.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130617172335')
@@ -0,0 +1,372 @@
1
+ Connecting to database specified by database.yml
2
+ Unable to load author, underlying cause No such file to load -- author
3
+
4
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
5
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
6
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
7
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
8
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
9
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
10
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
11
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
12
+ /mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:4:in `<class:ActiverecordAnyOfTest>'
13
+ /mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:3:in `<top (required)>'
14
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
15
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
16
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
17
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
18
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
19
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
20
+ Unable to load post, underlying cause No such file to load -- post
21
+
22
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
23
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
24
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
25
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
26
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
27
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
28
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
29
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
30
+ /mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:4:in `<class:ActiverecordAnyOfTest>'
31
+ /mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:3:in `<top (required)>'
32
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
33
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
34
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
35
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
36
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
37
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
38
+ Connecting to database specified by database.yml
39
+ Unable to load author, underlying cause No such file to load -- author
40
+
41
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
42
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
43
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
44
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
45
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
46
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
47
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
48
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
49
+ /mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:4:in `<class:ActiverecordAnyOfTest>'
50
+ /mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:3:in `<top (required)>'
51
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
52
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
53
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
54
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
55
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
56
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
57
+ Unable to load post, underlying cause No such file to load -- post
58
+
59
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
60
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
61
+ /home/kik/.gem/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
62
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
63
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
64
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
65
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
66
+ /home/kik/.gem/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
67
+ /mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:4:in `<class:ActiverecordAnyOfTest>'
68
+ /mnt/data/home/kik/code/rails/activerecord_any_of/test/activerecord_any_of_test.rb:3:in `<top (required)>'
69
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
70
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
71
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
72
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
73
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
74
+ /home/kik/.gem/ruby/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
75
+  (1.4ms) begin transaction
76
+ Fixture Delete (0.1ms) DELETE FROM "authors"
77
+ SQLite3::SQLException: no such table: authors: DELETE FROM "authors"
78
+  (0.0ms) rollback transaction
79
+  (0.0ms) begin transaction
80
+ Fixture Delete (0.1ms) DELETE FROM "authors"
81
+ SQLite3::SQLException: no such table: authors: DELETE FROM "authors"
82
+  (0.0ms) rollback transaction
83
+ Connecting to database specified by database.yml
84
+  (0.2ms) begin transaction
85
+  (0.1ms) rollback transaction
86
+  (0.0ms) begin transaction
87
+  (0.0ms) rollback transaction
88
+ Connecting to database specified by database.yml
89
+  (0.2ms) begin transaction
90
+ Fixture Delete (0.1ms) DELETE FROM "authors"
91
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "author_address_id", "author_address_extra_id", "organization_id", "owned_essay_id", "created_at", "updated_at") VALUES (1, 'David', 1, 2, 'No Such Agency', 'A Modest Proposal', '2013-06-17 17:38:18', '2013-06-17 17:38:18')
92
+ SQLite3::SQLException: table authors has no column named author_address_id: INSERT INTO "authors" ("id", "name", "author_address_id", "author_address_extra_id", "organization_id", "owned_essay_id", "created_at", "updated_at") VALUES (1, 'David', 1, 2, 'No Such Agency', 'A Modest Proposal', '2013-06-17 17:38:18', '2013-06-17 17:38:18')
93
+  (0.1ms) rollback transaction
94
+  (0.0ms) begin transaction
95
+ Fixture Delete (0.0ms) DELETE FROM "authors"
96
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "author_address_id", "author_address_extra_id", "organization_id", "owned_essay_id", "created_at", "updated_at") VALUES (1, 'David', 1, 2, 'No Such Agency', 'A Modest Proposal', '2013-06-17 17:38:18', '2013-06-17 17:38:18')
97
+ SQLite3::SQLException: table authors has no column named author_address_id: INSERT INTO "authors" ("id", "name", "author_address_id", "author_address_extra_id", "organization_id", "owned_essay_id", "created_at", "updated_at") VALUES (1, 'David', 1, 2, 'No Such Agency', 'A Modest Proposal', '2013-06-17 17:38:18', '2013-06-17 17:38:18')
98
+  (0.0ms) rollback transaction
99
+ Connecting to database specified by database.yml
100
+  (0.2ms) begin transaction
101
+ Fixture Delete (0.1ms) DELETE FROM "authors"
102
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
103
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
104
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
105
+ Fixture Delete (0.0ms) DELETE FROM "posts"
106
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
107
+ SQLite3::SQLException: table posts has no column named author_id: INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
108
+  (0.1ms) rollback transaction
109
+  (0.0ms) begin transaction
110
+ Fixture Delete (0.0ms) DELETE FROM "authors"
111
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
112
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
113
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
114
+ Fixture Delete (0.0ms) DELETE FROM "posts"
115
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
116
+ SQLite3::SQLException: table posts has no column named author_id: INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:39:54', '2013-06-17 17:39:54')
117
+  (0.1ms) rollback transaction
118
+ Connecting to database specified by database.yml
119
+  (0.3ms) begin transaction
120
+ Fixture Delete (0.1ms) DELETE FROM "authors"
121
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
122
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
123
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
124
+ Fixture Delete (0.0ms) DELETE FROM "posts"
125
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
126
+ SQLite3::SQLException: table posts has no column named author_id: INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
127
+  (0.1ms) rollback transaction
128
+  (0.0ms) begin transaction
129
+ Fixture Delete (0.0ms) DELETE FROM "authors"
130
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
131
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
132
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
133
+ Fixture Delete (0.0ms) DELETE FROM "posts"
134
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
135
+ SQLite3::SQLException: table posts has no column named author_id: INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:41:12', '2013-06-17 17:41:12')
136
+  (0.0ms) rollback transaction
137
+ Connecting to database specified by database.yml
138
+  (0.2ms) begin transaction
139
+ Fixture Delete (0.1ms) DELETE FROM "authors"
140
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
141
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
142
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
143
+ Fixture Delete (0.0ms) DELETE FROM "posts"
144
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
145
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
146
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
147
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
148
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
149
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
150
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
151
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
152
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
153
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
154
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-17 17:42:45', '2013-06-17 17:42:45')
155
+  (293.6ms) commit transaction
156
+  (0.1ms) begin transaction
157
+  (0.1ms) rollback transaction
158
+  (0.1ms) begin transaction
159
+ Author Load (0.6ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
160
+ Post Load (0.1ms) SELECT "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'))
161
+  (0.0ms) rollback transaction
162
+ Connecting to database specified by database.yml
163
+  (0.2ms) begin transaction
164
+ Fixture Delete (0.1ms) DELETE FROM "authors"
165
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
166
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
167
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
168
+ Fixture Delete (0.0ms) DELETE FROM "posts"
169
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
170
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
171
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
172
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
173
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
174
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
175
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
176
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
177
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
178
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
179
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-17 17:47:36', '2013-06-17 17:47:36')
180
+  (266.4ms) commit transaction
181
+  (0.1ms) begin transaction
182
+  (0.1ms) rollback transaction
183
+  (0.1ms) begin transaction
184
+ Author Load (0.7ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
185
+ Post Load (0.1ms) SELECT "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'))
186
+  (0.0ms) rollback transaction
187
+ Connecting to database specified by database.yml
188
+  (0.2ms) begin transaction
189
+ Fixture Delete (0.1ms) DELETE FROM "authors"
190
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
191
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
192
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
193
+ Fixture Delete (0.0ms) DELETE FROM "posts"
194
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
195
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
196
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
197
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
198
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
199
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
200
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
201
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
202
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
203
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
204
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-17 17:48:52', '2013-06-17 17:48:52')
205
+  (268.9ms) commit transaction
206
+  (0.1ms) begin transaction
207
+  (0.1ms) rollback transaction
208
+  (0.1ms) begin transaction
209
+ Author Load (0.7ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
210
+ Post Load (0.1ms) SELECT "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'))
211
+  (0.0ms) rollback transaction
212
+ Connecting to database specified by database.yml
213
+  (0.2ms) begin transaction
214
+ Fixture Delete (0.2ms) DELETE FROM "authors"
215
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
216
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
217
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
218
+ Fixture Delete (0.0ms) DELETE FROM "posts"
219
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
220
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
221
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
222
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
223
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
224
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
225
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
226
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
227
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
228
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
229
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-18 07:20:26', '2013-06-18 07:20:26')
230
+  (271.9ms) commit transaction
231
+  (0.1ms) begin transaction
232
+  (0.1ms) rollback transaction
233
+  (0.1ms) begin transaction
234
+ Author Load (3.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
235
+ Post Load (0.1ms) SELECT "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'))
236
+  (0.0ms) rollback transaction
237
+ Connecting to database specified by database.yml
238
+  (0.2ms) begin transaction
239
+ Fixture Delete (0.1ms) DELETE FROM "authors"
240
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
241
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
242
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
243
+ Fixture Delete (0.0ms) DELETE FROM "posts"
244
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
245
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
246
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
247
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
248
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
249
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
250
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
251
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
252
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
253
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
254
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-18 07:20:37', '2013-06-18 07:20:37')
255
+  (259.9ms) commit transaction
256
+  (0.1ms) begin transaction
257
+  (0.1ms) rollback transaction
258
+  (0.1ms) begin transaction
259
+ Author Load (0.8ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
260
+ Post Load (0.1ms) SELECT "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'))
261
+  (0.0ms) rollback transaction
262
+ Connecting to database specified by database.yml
263
+  (0.3ms) begin transaction
264
+ Fixture Delete (0.1ms) DELETE FROM "authors"
265
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
266
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
267
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
268
+ Fixture Delete (0.0ms) DELETE FROM "posts"
269
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
270
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
271
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
272
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
273
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
274
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
275
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
276
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
277
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
278
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
279
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-18 07:20:53', '2013-06-18 07:20:53')
280
+  (245.6ms) commit transaction
281
+  (0.0ms) begin transaction
282
+  (0.1ms) rollback transaction
283
+  (0.1ms) begin transaction
284
+ Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
285
+ Post Load (0.2ms) SELECT "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'))
286
+  (0.0ms) rollback transaction
287
+ Connecting to database specified by database.yml
288
+  (0.2ms) begin transaction
289
+ Fixture Delete (0.1ms) DELETE FROM "authors"
290
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
291
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
292
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
293
+ Fixture Delete (0.0ms) DELETE FROM "posts"
294
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
295
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
296
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
297
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
298
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
299
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
300
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
301
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
302
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
303
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
304
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-18 07:23:38', '2013-06-18 07:23:38')
305
+  (281.8ms) commit transaction
306
+  (0.1ms) begin transaction
307
+ Author Load (0.2ms) SELECT "authors".* FROM "authors"
308
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" 
309
+  (0.1ms) rollback transaction
310
+  (0.1ms) begin transaction
311
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
312
+ Post Load (0.1ms) SELECT "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'))
313
+  (0.0ms) rollback transaction
314
+ Connecting to database specified by database.yml
315
+  (0.2ms) begin transaction
316
+ Fixture Delete (0.1ms) DELETE FROM "authors"
317
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
318
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
319
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
320
+ Fixture Delete (0.0ms) DELETE FROM "posts"
321
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
322
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
323
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
324
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
325
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
326
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
327
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
328
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
329
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
330
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
331
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-18 07:26:32', '2013-06-18 07:26:32')
332
+  (304.6ms) commit transaction
333
+  (0.1ms) begin transaction
334
+ Author Load (0.8ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
335
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
336
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
337
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
338
+  (0.0ms) rollback transaction
339
+  (0.0ms) begin transaction
340
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
341
+ Post Load (0.1ms) SELECT "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'))
342
+  (0.0ms) rollback transaction
343
+ Connecting to database specified by database.yml
344
+  (0.3ms) begin transaction
345
+ Fixture Delete (0.1ms) DELETE FROM "authors"
346
+ Fixture Insert (0.1ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (1, 'David', '2013-06-18 07:28:05', '2013-06-18 07:28:05')
347
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (2, 'Mary', '2013-06-18 07:28:05', '2013-06-18 07:28:05')
348
+ Fixture Insert (0.0ms) INSERT INTO "authors" ("id", "name", "created_at", "updated_at") VALUES (3, 'Bob', '2013-06-18 07:28:05', '2013-06-18 07:28:05')
349
+ Fixture Delete (0.0ms) DELETE FROM "posts"
350
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (1, 1, 'Welcome to the weblog', 'Such a lovely day', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
351
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (2, 1, 'So I was thinking', 'Like I hopefully always am', 'SpecialPost', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
352
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (3, 0, 'I don''t have any comments', 'I just don''t want to', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
353
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (4, 1, 'sti comments', 'hello', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
354
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (5, 1, 'sti me', 'hello', 'StiPost', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
355
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (6, 1, 'habtm sti test', 'hello', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
356
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (7, 2, 'eager loading with OR''d conditions', 'hello', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
357
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (8, 3, 'misc post by bob', 'hello', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
358
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (9, 2, 'misc post by mary', 'hello', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
359
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (10, 3, 'other post by bob', 'hello', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
360
+ Fixture Insert (0.0ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "type", "created_at", "updated_at") VALUES (11, 2, 'other post by mary', 'hello', 'Post', '2013-06-18 07:28:06', '2013-06-18 07:28:06')
361
+  (278.2ms) commit transaction
362
+  (0.1ms) begin transaction
363
+ Author Load (0.8ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR "authors"."name" = 'Mary'))
364
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE (("authors"."name" = 'David' OR (name = 'Mary')))
365
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob'))
366
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE ((("authors"."name" = 'David' OR (name = 'Mary')) OR "authors"."name" = 'Bob' AND "authors"."id" = 3))
367
+ Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE (name IS NOT 'Mary') AND (("authors"."name" = 'David' OR (name IS NOT 'Mary') AND (name = 'Mary')))
368
+  (0.0ms) rollback transaction
369
+  (0.0ms) begin transaction
370
+ Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = 'David' LIMIT 1
371
+ Post Load (0.1ms) SELECT "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'))
372
+  (0.0ms) rollback transaction