attr_similar 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +5 -1
  3. data/Rakefile +8 -3
  4. data/lib/attr_similar/version.rb +1 -1
  5. data/test/attr_similar_test.rb +207 -14
  6. data/test/{dummy → dummy-rails3}/Rakefile +0 -0
  7. data/test/{dummy → dummy-rails3}/app/assets/javascripts/application.js +0 -0
  8. data/test/{dummy → dummy-rails3}/app/assets/stylesheets/application.css +0 -0
  9. data/test/{dummy → dummy-rails3}/app/controllers/application_controller.rb +0 -0
  10. data/test/{dummy → dummy-rails3}/app/helpers/application_helper.rb +0 -0
  11. data/test/{dummy → dummy-rails3}/app/models/manufacturer.rb +0 -0
  12. data/test/{dummy → dummy-rails3}/app/models/widget.rb +0 -0
  13. data/test/{dummy → dummy-rails3}/app/views/layouts/application.html.erb +0 -0
  14. data/test/{dummy → dummy-rails3}/config.ru +0 -0
  15. data/test/{dummy → dummy-rails3}/config/application.rb +0 -0
  16. data/test/{dummy → dummy-rails3}/config/boot.rb +0 -0
  17. data/test/{dummy → dummy-rails3}/config/database.yml +0 -0
  18. data/test/{dummy → dummy-rails3}/config/environment.rb +0 -0
  19. data/test/{dummy → dummy-rails3}/config/environments/development.rb +0 -0
  20. data/test/{dummy → dummy-rails3}/config/environments/production.rb +0 -0
  21. data/test/{dummy → dummy-rails3}/config/environments/test.rb +0 -0
  22. data/test/{dummy → dummy-rails3}/config/initializers/backtrace_silencers.rb +0 -0
  23. data/test/{dummy → dummy-rails3}/config/initializers/inflections.rb +0 -0
  24. data/test/{dummy → dummy-rails3}/config/initializers/mime_types.rb +0 -0
  25. data/test/{dummy → dummy-rails3}/config/initializers/secret_token.rb +0 -0
  26. data/test/{dummy → dummy-rails3}/config/initializers/session_store.rb +0 -0
  27. data/test/{dummy → dummy-rails3}/config/initializers/wrap_parameters.rb +0 -0
  28. data/test/{dummy → dummy-rails3}/config/locales/en.yml +0 -0
  29. data/test/{dummy → dummy-rails3}/config/routes.rb +0 -0
  30. data/test/{dummy → dummy-rails3}/db/migrate/20131027192625_create_manufacturers.rb +0 -0
  31. data/test/{dummy → dummy-rails3}/db/migrate/20131027192834_create_widgets.rb +0 -0
  32. data/test/{dummy → dummy-rails3}/db/schema.rb +0 -0
  33. data/test/{dummy → dummy-rails3}/db/test.sqlite3 +0 -0
  34. data/test/{dummy → dummy-rails3}/log/development.log +0 -0
  35. data/test/dummy-rails3/log/test.log +3903 -0
  36. data/test/{dummy → dummy-rails3}/public/404.html +0 -0
  37. data/test/{dummy → dummy-rails3}/public/422.html +0 -0
  38. data/test/{dummy → dummy-rails3}/public/500.html +0 -0
  39. data/test/{dummy → dummy-rails3}/public/favicon.ico +0 -0
  40. data/test/{dummy → dummy-rails3}/script/rails +0 -0
  41. data/test/{dummy → dummy-rails3}/test/factories/widgets.rb +0 -0
  42. data/test/dummy-rails4/Rakefile +6 -0
  43. data/test/dummy-rails4/app/assets/javascripts/application.js +16 -0
  44. data/test/dummy-rails4/app/assets/stylesheets/application.css +13 -0
  45. data/test/dummy-rails4/app/controllers/application_controller.rb +5 -0
  46. data/test/dummy-rails4/app/helpers/application_helper.rb +2 -0
  47. data/test/dummy-rails4/app/models/manufacturer.rb +3 -0
  48. data/test/dummy-rails4/app/models/widget.rb +21 -0
  49. data/test/dummy-rails4/app/views/layouts/application.html.erb +14 -0
  50. data/test/dummy-rails4/bin/bundle +3 -0
  51. data/test/dummy-rails4/bin/rails +4 -0
  52. data/test/dummy-rails4/bin/rake +4 -0
  53. data/test/dummy-rails4/config.ru +4 -0
  54. data/test/dummy-rails4/config/application.rb +23 -0
  55. data/test/dummy-rails4/config/boot.rb +4 -0
  56. data/test/dummy-rails4/config/database.yml +25 -0
  57. data/test/dummy-rails4/config/environment.rb +5 -0
  58. data/test/dummy-rails4/config/environments/development.rb +29 -0
  59. data/test/dummy-rails4/config/environments/production.rb +80 -0
  60. data/test/dummy-rails4/config/environments/test.rb +36 -0
  61. data/test/dummy-rails4/config/initializers/backtrace_silencers.rb +7 -0
  62. data/test/dummy-rails4/config/initializers/filter_parameter_logging.rb +4 -0
  63. data/test/dummy-rails4/config/initializers/inflections.rb +16 -0
  64. data/test/dummy-rails4/config/initializers/mime_types.rb +5 -0
  65. data/test/dummy-rails4/config/initializers/secret_token.rb +12 -0
  66. data/test/dummy-rails4/config/initializers/session_store.rb +3 -0
  67. data/test/dummy-rails4/config/initializers/wrap_parameters.rb +14 -0
  68. data/test/dummy-rails4/config/locales/en.yml +23 -0
  69. data/test/dummy-rails4/config/routes.rb +56 -0
  70. data/test/dummy-rails4/db/migrate/20131027192625_create_manufacturers.rb +9 -0
  71. data/test/dummy-rails4/db/migrate/20131027192834_create_widgets.rb +14 -0
  72. data/test/dummy-rails4/db/schema.rb +31 -0
  73. data/test/dummy-rails4/db/seeds.rb +7 -0
  74. data/test/{dummy/db/development.sqlite3 → dummy-rails4/db/test.sqlite3} +0 -0
  75. data/test/dummy-rails4/log/development.log +14 -0
  76. data/test/dummy-rails4/log/test.log +966 -0
  77. data/test/dummy-rails4/public/404.html +58 -0
  78. data/test/dummy-rails4/public/422.html +58 -0
  79. data/test/dummy-rails4/public/500.html +57 -0
  80. data/test/dummy-rails4/public/favicon.ico +0 -0
  81. data/test/dummy-rails4/public/robots.txt +5 -0
  82. data/test/dummy-rails4/test/factories/widgets.rb +10 -0
  83. data/test/dummy-rails4/test/test_helper.rb +15 -0
  84. data/test/test_helper.rb +11 -5
  85. data/test/test_utils.rb +27 -0
  86. metadata +167 -105
  87. data/test/dummy/README.rdoc +0 -261
  88. data/test/dummy/log/test.log +0 -964
@@ -0,0 +1,9 @@
1
+ class CreateManufacturers < ActiveRecord::Migration
2
+ def change
3
+ create_table :manufacturers do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
9
+
@@ -0,0 +1,14 @@
1
+ class CreateWidgets < ActiveRecord::Migration
2
+ def change
3
+ create_table :widgets do |t|
4
+ t.string :address
5
+ t.date :birthdate
6
+ t.string :first_name
7
+ t.string :last_name
8
+ t.string :preferred_name
9
+
10
+ t.timestamps
11
+ end
12
+ end
13
+ end
14
+
@@ -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 that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20131027192834) do
15
+
16
+ create_table "manufacturers", force: true do |t|
17
+ t.datetime "created_at"
18
+ t.datetime "updated_at"
19
+ end
20
+
21
+ create_table "widgets", force: true do |t|
22
+ t.string "address"
23
+ t.date "birthdate"
24
+ t.string "first_name"
25
+ t.string "last_name"
26
+ t.string "preferred_name"
27
+ t.datetime "created_at"
28
+ t.datetime "updated_at"
29
+ end
30
+
31
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
@@ -0,0 +1,14 @@
1
+  (166.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (143.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateManufacturers (20131027192625)
5
+  (0.1ms) begin transaction
6
+  (1.1ms) CREATE TABLE "manufacturers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
7
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131027192625"]]
8
+  (184.0ms) commit transaction
9
+ Migrating to CreateWidgets (20131027192834)
10
+  (0.2ms) begin transaction
11
+  (1.0ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "birthdate" date, "first_name" varchar(255), "last_name" varchar(255), "preferred_name" varchar(255), "created_at" datetime, "updated_at" datetime) 
12
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131027192834"]]
13
+  (204.6ms) commit transaction
14
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -0,0 +1,966 @@
1
+  (0.5ms) begin transaction
2
+ ----------------------------
3
+ AttrSimilarTest: test_case_0
4
+ ----------------------------
5
+  (0.2ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ ----------------------------
8
+ AttrSimilarTest: test_case_1
9
+ ----------------------------
10
+  (0.2ms) rollback transaction
11
+  (0.1ms) begin transaction
12
+ ----------------------------
13
+ AttrSimilarTest: test_case_2
14
+ ----------------------------
15
+  (0.1ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+ ----------------------------
18
+ AttrSimilarTest: test_case_3
19
+ ----------------------------
20
+  (0.2ms) rollback transaction
21
+  (0.1ms) begin transaction
22
+ -----------------------------
23
+ AttrSimilarTest: test_case_3a
24
+ -----------------------------
25
+  (0.1ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+ ----------------------------
28
+ AttrSimilarTest: test_case_4
29
+ ----------------------------
30
+  (0.1ms) rollback transaction
31
+  (0.1ms) begin transaction
32
+ ----------------------------
33
+ AttrSimilarTest: test_case_5
34
+ ----------------------------
35
+  (0.1ms) rollback transaction
36
+  (0.1ms) begin transaction
37
+ ---------------------------------------------------
38
+ AttrSimilarTest: test_find_similar_multiple_widgets
39
+ ---------------------------------------------------
40
+  (0.1ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+ ----------------------------------------------------------------
43
+ AttrSimilarTest: test_find_similar_with_five_matching_attributes
44
+ ----------------------------------------------------------------
45
+  (0.1ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+ ----------------------------------------------------------------
48
+ AttrSimilarTest: test_find_similar_with_four_matching_attributes
49
+ ----------------------------------------------------------------
50
+  (0.1ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+ --------------------------------------------------------------
53
+ AttrSimilarTest: test_find_similar_with_no_matching_attributes
54
+ --------------------------------------------------------------
55
+  (0.1ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ --------------------------------------------------------------
58
+ AttrSimilarTest: test_find_similar_with_one_matching_attribute
59
+ --------------------------------------------------------------
60
+  (0.1ms) rollback transaction
61
+  (0.0ms) begin transaction
62
+ -----------------------------------------------------------------
63
+ AttrSimilarTest: test_find_similar_with_three_matching_attributes
64
+ -----------------------------------------------------------------
65
+  (0.1ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+ ---------------------------------------------------------------
68
+ AttrSimilarTest: test_find_similar_with_two_matching_attributes
69
+ ---------------------------------------------------------------
70
+  (0.1ms) rollback transaction
71
+  (173.0ms) CREATE TABLE "manufacturers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
72
+  (165.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "birthdate" date, "first_name" varchar(255), "last_name" varchar(255), "preferred_name" varchar(255), "created_at" datetime, "updated_at" datetime)
73
+  (185.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
74
+  (177.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
75
+  (0.3ms) SELECT version FROM "schema_migrations"
76
+  (176.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192834')
77
+  (155.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192625')
78
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
79
+  (0.5ms) begin transaction
80
+ ----------------------------
81
+ AttrSimilarTest: test_case_0
82
+ ----------------------------
83
+  (0.2ms) rollback transaction
84
+  (0.1ms) begin transaction
85
+ ----------------------------
86
+ AttrSimilarTest: test_case_1
87
+ ----------------------------
88
+  (0.2ms) SAVEPOINT active_record_1
89
+ SQL (40.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Thu, 27 Dec 2012], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
90
+  (0.2ms) RELEASE SAVEPOINT active_record_1
91
+  (0.4ms) rollback transaction
92
+  (0.1ms) begin transaction
93
+ ----------------------------
94
+ AttrSimilarTest: test_case_2
95
+ ----------------------------
96
+  (0.2ms) SAVEPOINT active_record_1
97
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Fri, 16 Mar 2001], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "Not John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
98
+  (0.1ms) RELEASE SAVEPOINT active_record_1
99
+  (0.2ms) rollback transaction
100
+  (0.1ms) begin transaction
101
+ ----------------------------
102
+ AttrSimilarTest: test_case_3
103
+ ----------------------------
104
+  (0.1ms) SAVEPOINT active_record_1
105
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Fri, 17 Sep 1999], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
106
+  (0.1ms) RELEASE SAVEPOINT active_record_1
107
+  (0.2ms) rollback transaction
108
+  (0.1ms) begin transaction
109
+ -----------------------------
110
+ AttrSimilarTest: test_case_3a
111
+ -----------------------------
112
+  (0.1ms) SAVEPOINT active_record_1
113
+ SQL (0.7ms) INSERT INTO "widgets" ("created_at", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "Calvin"], ["last_name", "Hobbes"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
114
+  (0.1ms) RELEASE SAVEPOINT active_record_1
115
+  (0.3ms) rollback transaction
116
+  (0.1ms) begin transaction
117
+ ----------------------------
118
+ AttrSimilarTest: test_case_4
119
+ ----------------------------
120
+  (0.1ms) SAVEPOINT active_record_1
121
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Mon, 25 May 1992], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
123
+  (0.3ms) rollback transaction
124
+  (0.1ms) begin transaction
125
+ ----------------------------
126
+ AttrSimilarTest: test_case_5
127
+ ----------------------------
128
+  (0.1ms) SAVEPOINT active_record_1
129
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Tue, 07 Mar 1995], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
131
+  (0.3ms) rollback transaction
132
+  (0.1ms) begin transaction
133
+ ---------------------------------------------------
134
+ AttrSimilarTest: test_find_similar_multiple_widgets
135
+ ---------------------------------------------------
136
+  (0.1ms) SAVEPOINT active_record_1
137
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00001"], ["birthdate", Thu, 03 Mar 2005], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00001"], ["last_name", "last-name-00001"], ["preferred_name", "preferred-name-00001"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
139
+  (0.1ms) SAVEPOINT active_record_1
140
+ SQL (0.4ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Wed, 04 Dec 1991], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00002"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142
+  (0.1ms) SAVEPOINT active_record_1
143
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Tue, 09 Oct 1990], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00003"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145
+  (0.2ms) rollback transaction
146
+  (0.1ms) begin transaction
147
+ ----------------------------------------------------------------
148
+ AttrSimilarTest: test_find_similar_with_five_matching_attributes
149
+ ----------------------------------------------------------------
150
+  (0.1ms) SAVEPOINT active_record_1
151
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00003"], ["birthdate", Thu, 02 Apr 1992], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00003"], ["last_name", "last-name-00003"], ["preferred_name", "preferred-name-00004"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
153
+  (0.2ms) rollback transaction
154
+  (0.1ms) begin transaction
155
+ ----------------------------------------------------------------
156
+ AttrSimilarTest: test_find_similar_with_four_matching_attributes
157
+ ----------------------------------------------------------------
158
+  (0.1ms) SAVEPOINT active_record_1
159
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00004"], ["birthdate", Tue, 05 Jun 1990], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00004"], ["last_name", "last-name-00004"], ["preferred_name", "preferred-name-00005"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
161
+  (0.3ms) rollback transaction
162
+  (0.1ms) begin transaction
163
+ --------------------------------------------------------------
164
+ AttrSimilarTest: test_find_similar_with_no_matching_attributes
165
+ --------------------------------------------------------------
166
+  (0.1ms) SAVEPOINT active_record_1
167
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00005"], ["birthdate", Mon, 14 Sep 2009], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00005"], ["last_name", "last-name-00005"], ["preferred_name", "preferred-name-00006"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
169
+  (0.1ms) SAVEPOINT active_record_1
170
+ SQL (0.4ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00006"], ["birthdate", Tue, 07 Jun 1994], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00006"], ["last_name", "last-name-00006"], ["preferred_name", "preferred-name-00007"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
172
+  (0.3ms) rollback transaction
173
+  (0.1ms) begin transaction
174
+ --------------------------------------------------------------
175
+ AttrSimilarTest: test_find_similar_with_one_matching_attribute
176
+ --------------------------------------------------------------
177
+  (0.1ms) SAVEPOINT active_record_1
178
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00007"], ["birthdate", Tue, 28 Dec 2004], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00007"], ["last_name", "last-name-00007"], ["preferred_name", "preferred-name-00008"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
180
+  (0.2ms) rollback transaction
181
+  (0.1ms) begin transaction
182
+ -----------------------------------------------------------------
183
+ AttrSimilarTest: test_find_similar_with_three_matching_attributes
184
+ -----------------------------------------------------------------
185
+  (0.1ms) SAVEPOINT active_record_1
186
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00008"], ["birthdate", Tue, 13 Oct 1998], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00009"], ["last_name", "last-name-00009"], ["preferred_name", "preferred-name-00010"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
188
+  (0.2ms) rollback transaction
189
+  (0.1ms) begin transaction
190
+ ---------------------------------------------------------------
191
+ AttrSimilarTest: test_find_similar_with_two_matching_attributes
192
+ ---------------------------------------------------------------
193
+  (0.1ms) SAVEPOINT active_record_1
194
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00009"], ["birthdate", Wed, 18 Nov 1987], ["created_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00], ["first_name", "first-name-00010"], ["last_name", "last-name-00010"], ["preferred_name", "preferred-name-00012"], ["updated_at", Mon, 09 Dec 2013 04:26:12 UTC +00:00]]
195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
196
+  (0.2ms) rollback transaction
197
+  (179.9ms) CREATE TABLE "manufacturers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
198
+  (165.0ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "birthdate" date, "first_name" varchar(255), "last_name" varchar(255), "preferred_name" varchar(255), "created_at" datetime, "updated_at" datetime)
199
+  (176.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
200
+  (155.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
201
+  (0.3ms) SELECT version FROM "schema_migrations"
202
+  (210.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192834')
203
+  (177.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192625')
204
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
205
+  (0.5ms) begin transaction
206
+ ----------------------------
207
+ AttrSimilarTest: test_case_0
208
+ ----------------------------
209
+  (0.2ms) rollback transaction
210
+  (0.1ms) begin transaction
211
+ ----------------------------
212
+ AttrSimilarTest: test_case_1
213
+ ----------------------------
214
+  (0.2ms) SAVEPOINT active_record_1
215
+ SQL (4.2ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Sat, 16 Nov 2002], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
217
+  (0.3ms) rollback transaction
218
+  (0.1ms) begin transaction
219
+ ----------------------------
220
+ AttrSimilarTest: test_case_2
221
+ ----------------------------
222
+  (0.1ms) SAVEPOINT active_record_1
223
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Mon, 17 Dec 2012], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "Not John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
225
+  (0.3ms) rollback transaction
226
+  (0.1ms) begin transaction
227
+ ----------------------------
228
+ AttrSimilarTest: test_case_3
229
+ ----------------------------
230
+  (0.1ms) SAVEPOINT active_record_1
231
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Tue, 14 Jan 1992], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
233
+  (0.3ms) rollback transaction
234
+  (0.1ms) begin transaction
235
+ -----------------------------
236
+ AttrSimilarTest: test_case_3a
237
+ -----------------------------
238
+  (0.1ms) SAVEPOINT active_record_1
239
+ SQL (0.7ms) INSERT INTO "widgets" ("created_at", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "Calvin"], ["last_name", "Hobbes"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
241
+  (0.2ms) rollback transaction
242
+  (0.1ms) begin transaction
243
+ ----------------------------
244
+ AttrSimilarTest: test_case_4
245
+ ----------------------------
246
+  (0.2ms) SAVEPOINT active_record_1
247
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Wed, 02 Feb 2011], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249
+  (0.2ms) rollback transaction
250
+  (0.1ms) begin transaction
251
+ ----------------------------
252
+ AttrSimilarTest: test_case_5
253
+ ----------------------------
254
+  (0.1ms) SAVEPOINT active_record_1
255
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Wed, 22 Jun 1994], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
256
+  (0.2ms) RELEASE SAVEPOINT active_record_1
257
+  (0.2ms) rollback transaction
258
+  (0.1ms) begin transaction
259
+ ---------------------------------------------------
260
+ AttrSimilarTest: test_find_similar_multiple_widgets
261
+ ---------------------------------------------------
262
+  (0.1ms) SAVEPOINT active_record_1
263
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00001"], ["birthdate", Sun, 15 Jul 2007], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00001"], ["last_name", "last-name-00001"], ["preferred_name", "preferred-name-00001"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
265
+  (0.1ms) SAVEPOINT active_record_1
266
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Mon, 15 Jan 2001], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00002"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
268
+  (0.1ms) SAVEPOINT active_record_1
269
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Thu, 19 Jan 2012], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00003"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
271
+  (0.2ms) rollback transaction
272
+  (0.1ms) begin transaction
273
+ ----------------------------------------------------------------
274
+ AttrSimilarTest: test_find_similar_with_five_matching_attributes
275
+ ----------------------------------------------------------------
276
+  (0.1ms) SAVEPOINT active_record_1
277
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00003"], ["birthdate", Thu, 02 Feb 2012], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00003"], ["last_name", "last-name-00003"], ["preferred_name", "preferred-name-00004"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
279
+  (0.2ms) rollback transaction
280
+  (0.1ms) begin transaction
281
+ ----------------------------------------------------------------
282
+ AttrSimilarTest: test_find_similar_with_four_matching_attributes
283
+ ----------------------------------------------------------------
284
+  (0.1ms) SAVEPOINT active_record_1
285
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00004"], ["birthdate", Fri, 14 Jun 2013], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00004"], ["last_name", "last-name-00004"], ["preferred_name", "preferred-name-00005"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
287
+  (0.3ms) rollback transaction
288
+  (0.1ms) begin transaction
289
+ --------------------------------------------------------------
290
+ AttrSimilarTest: test_find_similar_with_no_matching_attributes
291
+ --------------------------------------------------------------
292
+  (0.1ms) SAVEPOINT active_record_1
293
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00005"], ["birthdate", Sat, 01 May 2010], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00005"], ["last_name", "last-name-00005"], ["preferred_name", "preferred-name-00006"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
295
+  (0.1ms) SAVEPOINT active_record_1
296
+ SQL (0.4ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00006"], ["birthdate", Sun, 14 Sep 2008], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00006"], ["last_name", "last-name-00006"], ["preferred_name", "preferred-name-00007"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
297
+  (0.1ms) RELEASE SAVEPOINT active_record_1
298
+  (0.2ms) rollback transaction
299
+  (0.1ms) begin transaction
300
+ --------------------------------------------------------------
301
+ AttrSimilarTest: test_find_similar_with_one_matching_attribute
302
+ --------------------------------------------------------------
303
+  (0.1ms) SAVEPOINT active_record_1
304
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00007"], ["birthdate", Thu, 03 Feb 2000], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00007"], ["last_name", "last-name-00007"], ["preferred_name", "preferred-name-00008"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
306
+  (0.2ms) rollback transaction
307
+  (0.1ms) begin transaction
308
+ -----------------------------------------------------------------
309
+ AttrSimilarTest: test_find_similar_with_three_matching_attributes
310
+ -----------------------------------------------------------------
311
+  (0.1ms) SAVEPOINT active_record_1
312
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00008"], ["birthdate", Sun, 30 Mar 2008], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00009"], ["last_name", "last-name-00009"], ["preferred_name", "preferred-name-00010"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
314
+  (0.2ms) rollback transaction
315
+  (0.1ms) begin transaction
316
+ ---------------------------------------------------------------
317
+ AttrSimilarTest: test_find_similar_with_two_matching_attributes
318
+ ---------------------------------------------------------------
319
+  (0.1ms) SAVEPOINT active_record_1
320
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00009"], ["birthdate", Wed, 25 Nov 1992], ["created_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00], ["first_name", "first-name-00010"], ["last_name", "last-name-00010"], ["preferred_name", "preferred-name-00012"], ["updated_at", Mon, 09 Dec 2013 04:28:18 UTC +00:00]]
321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
322
+  (0.3ms) rollback transaction
323
+  (280.5ms) CREATE TABLE "manufacturers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
324
+  (165.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "birthdate" date, "first_name" varchar(255), "last_name" varchar(255), "preferred_name" varchar(255), "created_at" datetime, "updated_at" datetime)
325
+  (187.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
326
+  (155.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
327
+  (0.3ms) SELECT version FROM "schema_migrations"
328
+  (188.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192834')
329
+  (177.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192625')
330
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
331
+  (0.5ms) begin transaction
332
+ ----------------------------
333
+ AttrSimilarTest: test_case_0
334
+ ----------------------------
335
+  (0.2ms) rollback transaction
336
+  (0.2ms) begin transaction
337
+ ----------------------------
338
+ AttrSimilarTest: test_case_1
339
+ ----------------------------
340
+  (0.2ms) SAVEPOINT active_record_1
341
+ SQL (5.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Mon, 30 Sep 2013], ["created_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00], ["first_name", "John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00]]
342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343
+  (0.3ms) rollback transaction
344
+  (0.1ms) begin transaction
345
+ ----------------------------
346
+ AttrSimilarTest: test_case_2
347
+ ----------------------------
348
+  (0.1ms) SAVEPOINT active_record_1
349
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Mon, 16 Jan 1995], ["created_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00], ["first_name", "Not John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00]]
350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
351
+  (0.2ms) rollback transaction
352
+  (0.1ms) begin transaction
353
+ ----------------------------
354
+ AttrSimilarTest: test_case_3
355
+ ----------------------------
356
+  (0.1ms) SAVEPOINT active_record_1
357
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Wed, 16 Sep 2009], ["created_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00]]
358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
359
+  (0.6ms) rollback transaction
360
+  (0.1ms) begin transaction
361
+ -----------------------------
362
+ AttrSimilarTest: test_case_3a
363
+ -----------------------------
364
+  (0.1ms) SAVEPOINT active_record_1
365
+ SQL (0.7ms) INSERT INTO "widgets" ("created_at", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00], ["first_name", "Calvin"], ["last_name", "Hobbes"], ["updated_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00]]
366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
367
+  (0.2ms) rollback transaction
368
+  (0.1ms) begin transaction
369
+ ----------------------------
370
+ AttrSimilarTest: test_case_4
371
+ ----------------------------
372
+  (0.1ms) SAVEPOINT active_record_1
373
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Sun, 06 Jan 1991], ["created_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:45 UTC +00:00]]
374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
375
+  (0.2ms) rollback transaction
376
+  (0.1ms) begin transaction
377
+ ----------------------------
378
+ AttrSimilarTest: test_case_5
379
+ ----------------------------
380
+  (0.5ms) SAVEPOINT active_record_1
381
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Wed, 10 Sep 1997], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
383
+  (0.2ms) rollback transaction
384
+  (0.1ms) begin transaction
385
+ ---------------------------------------------------
386
+ AttrSimilarTest: test_find_similar_multiple_widgets
387
+ ---------------------------------------------------
388
+  (0.1ms) SAVEPOINT active_record_1
389
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00001"], ["birthdate", Tue, 20 Sep 2005], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00001"], ["last_name", "last-name-00001"], ["preferred_name", "preferred-name-00001"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
391
+  (0.1ms) SAVEPOINT active_record_1
392
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Thu, 26 Aug 2010], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00002"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
394
+  (0.1ms) SAVEPOINT active_record_1
395
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Tue, 15 Apr 2008], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00003"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
397
+  (0.2ms) rollback transaction
398
+  (0.1ms) begin transaction
399
+ ----------------------------------------------------------------
400
+ AttrSimilarTest: test_find_similar_with_five_matching_attributes
401
+ ----------------------------------------------------------------
402
+  (0.1ms) SAVEPOINT active_record_1
403
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00003"], ["birthdate", Fri, 11 Sep 1998], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00003"], ["last_name", "last-name-00003"], ["preferred_name", "preferred-name-00004"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
405
+  (0.2ms) rollback transaction
406
+  (0.1ms) begin transaction
407
+ ----------------------------------------------------------------
408
+ AttrSimilarTest: test_find_similar_with_four_matching_attributes
409
+ ----------------------------------------------------------------
410
+  (0.1ms) SAVEPOINT active_record_1
411
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00004"], ["birthdate", Mon, 16 Feb 2009], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00004"], ["last_name", "last-name-00004"], ["preferred_name", "preferred-name-00005"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
412
+  (0.2ms) RELEASE SAVEPOINT active_record_1
413
+  (0.2ms) rollback transaction
414
+  (0.1ms) begin transaction
415
+ --------------------------------------------------------------
416
+ AttrSimilarTest: test_find_similar_with_no_matching_attributes
417
+ --------------------------------------------------------------
418
+  (0.1ms) SAVEPOINT active_record_1
419
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00005"], ["birthdate", Tue, 21 Feb 2012], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00005"], ["last_name", "last-name-00005"], ["preferred_name", "preferred-name-00006"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
421
+  (0.0ms) SAVEPOINT active_record_1
422
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00006"], ["birthdate", Thu, 13 Mar 2008], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00006"], ["last_name", "last-name-00006"], ["preferred_name", "preferred-name-00007"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
424
+  (0.2ms) rollback transaction
425
+  (0.1ms) begin transaction
426
+ --------------------------------------------------------------
427
+ AttrSimilarTest: test_find_similar_with_one_matching_attribute
428
+ --------------------------------------------------------------
429
+  (0.1ms) SAVEPOINT active_record_1
430
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00007"], ["birthdate", Thu, 20 Sep 1990], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00007"], ["last_name", "last-name-00007"], ["preferred_name", "preferred-name-00008"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
432
+  (0.2ms) rollback transaction
433
+  (0.1ms) begin transaction
434
+ -----------------------------------------------------------------
435
+ AttrSimilarTest: test_find_similar_with_three_matching_attributes
436
+ -----------------------------------------------------------------
437
+  (0.1ms) SAVEPOINT active_record_1
438
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00008"], ["birthdate", Sun, 14 Mar 1999], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00009"], ["last_name", "last-name-00009"], ["preferred_name", "preferred-name-00010"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
439
+  (0.1ms) RELEASE SAVEPOINT active_record_1
440
+  (0.2ms) rollback transaction
441
+  (0.1ms) begin transaction
442
+ ---------------------------------------------------------------
443
+ AttrSimilarTest: test_find_similar_with_two_matching_attributes
444
+ ---------------------------------------------------------------
445
+  (0.1ms) SAVEPOINT active_record_1
446
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00009"], ["birthdate", Sat, 11 Jan 1997], ["created_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00], ["first_name", "first-name-00010"], ["last_name", "last-name-00010"], ["preferred_name", "preferred-name-00012"], ["updated_at", Mon, 09 Dec 2013 04:28:46 UTC +00:00]]
447
+  (0.1ms) RELEASE SAVEPOINT active_record_1
448
+  (0.3ms) rollback transaction
449
+  (169.1ms) CREATE TABLE "manufacturers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
450
+  (176.2ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "birthdate" date, "first_name" varchar(255), "last_name" varchar(255), "preferred_name" varchar(255), "created_at" datetime, "updated_at" datetime)
451
+  (174.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
452
+  (177.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
453
+  (0.3ms) SELECT version FROM "schema_migrations"
454
+  (199.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192834')
455
+  (166.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192625')
456
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
457
+  (0.5ms) begin transaction
458
+ ----------------------------
459
+ AttrSimilarTest: test_case_0
460
+ ----------------------------
461
+  (0.2ms) rollback transaction
462
+  (0.1ms) begin transaction
463
+ ----------------------------
464
+ AttrSimilarTest: test_case_1
465
+ ----------------------------
466
+  (0.2ms) SAVEPOINT active_record_1
467
+ SQL (4.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Sat, 02 Feb 2013], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
469
+  (0.2ms) rollback transaction
470
+  (0.1ms) begin transaction
471
+ ----------------------------
472
+ AttrSimilarTest: test_case_2
473
+ ----------------------------
474
+  (0.1ms) SAVEPOINT active_record_1
475
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Mon, 17 Jun 1996], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "Not John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
477
+  (0.3ms) rollback transaction
478
+  (0.1ms) begin transaction
479
+ ----------------------------
480
+ AttrSimilarTest: test_case_3
481
+ ----------------------------
482
+  (0.1ms) SAVEPOINT active_record_1
483
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Sat, 20 Oct 2007], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
485
+  (0.3ms) rollback transaction
486
+  (0.1ms) begin transaction
487
+ -----------------------------
488
+ AttrSimilarTest: test_case_3a
489
+ -----------------------------
490
+  (0.1ms) SAVEPOINT active_record_1
491
+ SQL (0.7ms) INSERT INTO "widgets" ("created_at", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "Calvin"], ["last_name", "Hobbes"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
493
+  (0.2ms) rollback transaction
494
+  (0.1ms) begin transaction
495
+ ----------------------------
496
+ AttrSimilarTest: test_case_4
497
+ ----------------------------
498
+  (0.1ms) SAVEPOINT active_record_1
499
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Sat, 11 Apr 2009], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
501
+  (0.2ms) rollback transaction
502
+  (0.1ms) begin transaction
503
+ ----------------------------
504
+ AttrSimilarTest: test_case_5
505
+ ----------------------------
506
+  (0.1ms) SAVEPOINT active_record_1
507
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Wed, 17 Dec 1997], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
509
+  (0.2ms) rollback transaction
510
+  (0.1ms) begin transaction
511
+ ---------------------------------------------------
512
+ AttrSimilarTest: test_find_similar_multiple_widgets
513
+ ---------------------------------------------------
514
+  (0.1ms) SAVEPOINT active_record_1
515
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00001"], ["birthdate", Wed, 12 Oct 2011], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00001"], ["last_name", "last-name-00001"], ["preferred_name", "preferred-name-00001"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
517
+  (0.0ms) SAVEPOINT active_record_1
518
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Sun, 13 Mar 1988], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00002"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
520
+  (0.1ms) SAVEPOINT active_record_1
521
+ SQL (0.4ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Thu, 06 Sep 2001], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00003"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
523
+  (0.3ms) rollback transaction
524
+  (0.1ms) begin transaction
525
+ ----------------------------------------------------------------
526
+ AttrSimilarTest: test_find_similar_with_five_matching_attributes
527
+ ----------------------------------------------------------------
528
+  (0.1ms) SAVEPOINT active_record_1
529
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00003"], ["birthdate", Tue, 01 Mar 2005], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00003"], ["last_name", "last-name-00003"], ["preferred_name", "preferred-name-00004"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
531
+  (0.4ms) rollback transaction
532
+  (0.1ms) begin transaction
533
+ ----------------------------------------------------------------
534
+ AttrSimilarTest: test_find_similar_with_four_matching_attributes
535
+ ----------------------------------------------------------------
536
+  (0.1ms) SAVEPOINT active_record_1
537
+ SQL (0.9ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00004"], ["birthdate", Wed, 28 Aug 1991], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00004"], ["last_name", "last-name-00004"], ["preferred_name", "preferred-name-00005"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
539
+  (0.4ms) rollback transaction
540
+  (0.1ms) begin transaction
541
+ --------------------------------------------------------------
542
+ AttrSimilarTest: test_find_similar_with_no_matching_attributes
543
+ --------------------------------------------------------------
544
+  (0.1ms) SAVEPOINT active_record_1
545
+ SQL (1.1ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00005"], ["birthdate", Sun, 09 Nov 2008], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00005"], ["last_name", "last-name-00005"], ["preferred_name", "preferred-name-00006"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
546
+  (0.1ms) RELEASE SAVEPOINT active_record_1
547
+  (0.2ms) SAVEPOINT active_record_1
548
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00006"], ["birthdate", Wed, 28 Sep 1988], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00006"], ["last_name", "last-name-00006"], ["preferred_name", "preferred-name-00007"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
550
+  (0.3ms) rollback transaction
551
+  (0.1ms) begin transaction
552
+ --------------------------------------------------------------
553
+ AttrSimilarTest: test_find_similar_with_one_matching_attribute
554
+ --------------------------------------------------------------
555
+  (0.1ms) SAVEPOINT active_record_1
556
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00007"], ["birthdate", Mon, 24 Aug 2009], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00007"], ["last_name", "last-name-00007"], ["preferred_name", "preferred-name-00008"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
557
+  (0.1ms) RELEASE SAVEPOINT active_record_1
558
+  (0.4ms) rollback transaction
559
+  (0.1ms) begin transaction
560
+ -----------------------------------------------------------------
561
+ AttrSimilarTest: test_find_similar_with_three_matching_attributes
562
+ -----------------------------------------------------------------
563
+  (0.2ms) SAVEPOINT active_record_1
564
+ SQL (1.0ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00008"], ["birthdate", Sun, 19 Mar 1995], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00009"], ["last_name", "last-name-00009"], ["preferred_name", "preferred-name-00010"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
566
+  (0.3ms) rollback transaction
567
+  (0.1ms) begin transaction
568
+ ---------------------------------------------------------------
569
+ AttrSimilarTest: test_find_similar_with_two_matching_attributes
570
+ ---------------------------------------------------------------
571
+  (0.1ms) SAVEPOINT active_record_1
572
+ SQL (1.1ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00009"], ["birthdate", Thu, 11 Jan 1990], ["created_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00], ["first_name", "first-name-00010"], ["last_name", "last-name-00010"], ["preferred_name", "preferred-name-00012"], ["updated_at", Mon, 09 Dec 2013 04:29:26 UTC +00:00]]
573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
574
+  (0.3ms) rollback transaction
575
+  (181.9ms) CREATE TABLE "manufacturers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
576
+  (177.5ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "birthdate" date, "first_name" varchar(255), "last_name" varchar(255), "preferred_name" varchar(255), "created_at" datetime, "updated_at" datetime)
577
+  (163.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
578
+  (155.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
579
+  (0.3ms) SELECT version FROM "schema_migrations"
580
+  (177.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192834')
581
+  (166.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192625')
582
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
583
+  (0.7ms) begin transaction
584
+ ----------------------------
585
+ AttrSimilarTest: test_case_0
586
+ ----------------------------
587
+  (0.1ms) SAVEPOINT active_record_1
588
+ SQL (4.9ms) INSERT INTO "widgets" ("address", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", ""], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "Not John"], ["last_name", ""], ["preferred_name", ""], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
589
+  (0.1ms) RELEASE SAVEPOINT active_record_1
590
+  (0.3ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
591
+  (0.3ms) rollback transaction
592
+  (0.2ms) begin transaction
593
+ ----------------------------
594
+ AttrSimilarTest: test_case_1
595
+ ----------------------------
596
+  (0.2ms) SAVEPOINT active_record_1
597
+ SQL (1.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Mon, 19 Dec 1988], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
599
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
600
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'John'
601
+  (0.3ms) rollback transaction
602
+  (0.1ms) begin transaction
603
+ ----------------------------
604
+ AttrSimilarTest: test_case_2
605
+ ----------------------------
606
+  (0.1ms) SAVEPOINT active_record_1
607
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Tue, 13 Dec 2011], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "Not John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
608
+  (0.1ms) RELEASE SAVEPOINT active_record_1
609
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
610
+  (0.2ms) rollback transaction
611
+  (0.1ms) begin transaction
612
+ ----------------------------
613
+ AttrSimilarTest: test_case_3
614
+ ----------------------------
615
+  (0.1ms) SAVEPOINT active_record_1
616
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Mon, 27 Jan 1997], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
618
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
619
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'John'
620
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'Smith'
621
+  (0.3ms) rollback transaction
622
+  (0.1ms) begin transaction
623
+ -----------------------------
624
+ AttrSimilarTest: test_case_3a
625
+ -----------------------------
626
+  (0.1ms) SAVEPOINT active_record_1
627
+ SQL (0.7ms) INSERT INTO "widgets" ("created_at", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "Calvin"], ["last_name", "Hobbes"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
629
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'Homer'
630
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'Simpson'
631
+  (0.2ms) rollback transaction
632
+  (0.1ms) begin transaction
633
+ ----------------------------
634
+ AttrSimilarTest: test_case_4
635
+ ----------------------------
636
+  (0.1ms) SAVEPOINT active_record_1
637
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Thu, 11 Sep 1986], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
639
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = '123 Main St'
640
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = '123 Main St'
641
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
642
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'John'
643
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'Smith'
644
+  (0.2ms) rollback transaction
645
+  (0.1ms) begin transaction
646
+ ----------------------------
647
+ AttrSimilarTest: test_case_5
648
+ ----------------------------
649
+  (0.1ms) SAVEPOINT active_record_1
650
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Tue, 15 Feb 1994], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
652
+  (0.3ms) rollback transaction
653
+  (0.1ms) begin transaction
654
+ ---------------------------------------------------
655
+ AttrSimilarTest: test_find_similar_multiple_widgets
656
+ ---------------------------------------------------
657
+  (0.1ms) SAVEPOINT active_record_1
658
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00001"], ["birthdate", Sat, 05 Oct 2002], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00001"], ["last_name", "last-name-00001"], ["preferred_name", "preferred-name-00001"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
660
+  (0.0ms) SAVEPOINT active_record_1
661
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Tue, 01 Feb 2000], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00002"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
663
+  (0.1ms) SAVEPOINT active_record_1
664
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Mon, 30 Mar 1998], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00003"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
666
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."address" = 'address-00002'
667
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (id != 3) AND "widgets"."address" = 'address-00002'
668
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."birthdate" = '1998-03-30'
669
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."first_name" = 'first-name-00002'
670
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (id != 3) AND "widgets"."first_name" = 'first-name-00002'
671
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."last_name" = 'last-name-00002'
672
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (id != 3) AND "widgets"."last_name" = 'last-name-00002'
673
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."preferred_name" = 'preferred-name-00003'
674
+  (0.2ms) rollback transaction
675
+  (0.1ms) begin transaction
676
+ ----------------------------------------------------------------
677
+ AttrSimilarTest: test_find_similar_with_five_matching_attributes
678
+ ----------------------------------------------------------------
679
+  (0.1ms) SAVEPOINT active_record_1
680
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00003"], ["birthdate", Thu, 19 Jun 1997], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00003"], ["last_name", "last-name-00003"], ["preferred_name", "preferred-name-00004"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
682
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00003'
683
+ Widget Load (0.3ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00003'
684
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '1997-06-19'
685
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."birthdate" = '1997-06-19'
686
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00003'
687
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00003'
688
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00003'
689
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00003'
690
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00004'
691
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00004'
692
+  (0.2ms) rollback transaction
693
+  (0.1ms) begin transaction
694
+ ----------------------------------------------------------------
695
+ AttrSimilarTest: test_find_similar_with_four_matching_attributes
696
+ ----------------------------------------------------------------
697
+  (0.1ms) SAVEPOINT active_record_1
698
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00004"], ["birthdate", Tue, 22 Feb 2005], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00004"], ["last_name", "last-name-00004"], ["preferred_name", "preferred-name-00005"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
700
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00004'
701
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00004'
702
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '2004-06-08'
703
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00004'
704
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00004'
705
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00004'
706
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00004'
707
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00005'
708
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00005'
709
+  (0.2ms) rollback transaction
710
+  (0.1ms) begin transaction
711
+ --------------------------------------------------------------
712
+ AttrSimilarTest: test_find_similar_with_no_matching_attributes
713
+ --------------------------------------------------------------
714
+  (0.1ms) SAVEPOINT active_record_1
715
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00005"], ["birthdate", Sun, 05 Mar 1989], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00005"], ["last_name", "last-name-00005"], ["preferred_name", "preferred-name-00006"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
717
+  (0.1ms) SAVEPOINT active_record_1
718
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00006"], ["birthdate", Fri, 16 Apr 1999], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00006"], ["last_name", "last-name-00006"], ["preferred_name", "preferred-name-00007"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
720
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."address" = 'address-00006'
721
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."birthdate" = '1999-04-16'
722
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."first_name" = 'first-name-00006'
723
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."last_name" = 'last-name-00006'
724
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."preferred_name" = 'preferred-name-00007'
725
+  (0.2ms) rollback transaction
726
+  (0.1ms) begin transaction
727
+ --------------------------------------------------------------
728
+ AttrSimilarTest: test_find_similar_with_one_matching_attribute
729
+ --------------------------------------------------------------
730
+  (0.1ms) SAVEPOINT active_record_1
731
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00007"], ["birthdate", Fri, 18 Apr 2003], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00007"], ["last_name", "last-name-00007"], ["preferred_name", "preferred-name-00008"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
733
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00007'
734
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00007'
735
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '2003-06-09'
736
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00008'
737
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00008'
738
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00009'
739
+  (0.2ms) rollback transaction
740
+  (0.1ms) begin transaction
741
+ -----------------------------------------------------------------
742
+ AttrSimilarTest: test_find_similar_with_three_matching_attributes
743
+ -----------------------------------------------------------------
744
+  (0.1ms) SAVEPOINT active_record_1
745
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00008"], ["birthdate", Wed, 04 Sep 2002], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00009"], ["last_name", "last-name-00009"], ["preferred_name", "preferred-name-00010"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
747
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00008'
748
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00008'
749
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '2000-08-27'
750
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00009'
751
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00009'
752
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00009'
753
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00009'
754
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00011'
755
+  (0.2ms) rollback transaction
756
+  (0.1ms) begin transaction
757
+ ---------------------------------------------------------------
758
+ AttrSimilarTest: test_find_similar_with_two_matching_attributes
759
+ ---------------------------------------------------------------
760
+  (0.1ms) SAVEPOINT active_record_1
761
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00009"], ["birthdate", Mon, 27 Apr 1998], ["created_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00], ["first_name", "first-name-00010"], ["last_name", "last-name-00010"], ["preferred_name", "preferred-name-00012"], ["updated_at", Mon, 09 Dec 2013 04:31:13 UTC +00:00]]
762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
763
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00009'
764
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00009'
765
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '2000-09-10'
766
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00010'
767
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00010'
768
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00011'
769
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00013'
770
+  (0.2ms) rollback transaction
771
+  (168.0ms) CREATE TABLE "manufacturers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
772
+  (176.0ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "birthdate" date, "first_name" varchar(255), "last_name" varchar(255), "preferred_name" varchar(255), "created_at" datetime, "updated_at" datetime)
773
+  (163.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
774
+  (155.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
775
+  (0.3ms) SELECT version FROM "schema_migrations"
776
+  (199.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192834')
777
+  (155.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131027192625')
778
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
779
+  (0.5ms) begin transaction
780
+ ----------------------------
781
+ AttrSimilarTest: test_case_0
782
+ ----------------------------
783
+  (0.1ms) SAVEPOINT active_record_1
784
+ SQL (4.9ms) INSERT INTO "widgets" ("address", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", ""], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "Not John"], ["last_name", ""], ["preferred_name", ""], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
786
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
787
+  (0.2ms) rollback transaction
788
+  (0.1ms) begin transaction
789
+ ----------------------------
790
+ AttrSimilarTest: test_case_1
791
+ ----------------------------
792
+  (0.1ms) SAVEPOINT active_record_1
793
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Fri, 03 Jul 1987], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
795
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
796
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'John'
797
+  (0.3ms) rollback transaction
798
+  (0.1ms) begin transaction
799
+ ----------------------------
800
+ AttrSimilarTest: test_case_2
801
+ ----------------------------
802
+  (0.1ms) SAVEPOINT active_record_1
803
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Thu, 27 Dec 2012], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "Not John"], ["last_name", "blah"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
804
+  (0.2ms) RELEASE SAVEPOINT active_record_1
805
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
806
+  (0.2ms) rollback transaction
807
+  (0.1ms) begin transaction
808
+ ----------------------------
809
+ AttrSimilarTest: test_case_3
810
+ ----------------------------
811
+  (0.1ms) SAVEPOINT active_record_1
812
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "blah"], ["birthdate", Thu, 13 Nov 1997], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
814
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
815
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'John'
816
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'Smith'
817
+  (0.3ms) rollback transaction
818
+  (0.1ms) begin transaction
819
+ -----------------------------
820
+ AttrSimilarTest: test_case_3a
821
+ -----------------------------
822
+  (0.1ms) SAVEPOINT active_record_1
823
+ SQL (0.8ms) INSERT INTO "widgets" ("created_at", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "Calvin"], ["last_name", "Hobbes"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
825
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'Homer'
826
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'Simpson'
827
+  (0.2ms) rollback transaction
828
+  (0.1ms) begin transaction
829
+ ----------------------------
830
+ AttrSimilarTest: test_case_4
831
+ ----------------------------
832
+  (0.1ms) SAVEPOINT active_record_1
833
+ SQL (0.7ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Sat, 13 Dec 2003], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
835
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = '123 Main St'
836
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = '123 Main St'
837
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'John'
838
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'John'
839
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'Smith'
840
+  (0.2ms) rollback transaction
841
+  (0.1ms) begin transaction
842
+ ----------------------------
843
+ AttrSimilarTest: test_case_5
844
+ ----------------------------
845
+  (0.1ms) SAVEPOINT active_record_1
846
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "123 Main St"], ["birthdate", Tue, 11 Sep 1990], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "John"], ["last_name", "Doe"], ["preferred_name", "blah"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
848
+  (0.2ms) rollback transaction
849
+  (0.1ms) begin transaction
850
+ ---------------------------------------------------
851
+ AttrSimilarTest: test_find_similar_multiple_widgets
852
+ ---------------------------------------------------
853
+  (0.1ms) SAVEPOINT active_record_1
854
+ SQL (0.8ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00001"], ["birthdate", Thu, 20 Nov 2003], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00001"], ["last_name", "last-name-00001"], ["preferred_name", "preferred-name-00001"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
855
+  (0.1ms) RELEASE SAVEPOINT active_record_1
856
+  (0.1ms) SAVEPOINT active_record_1
857
+ SQL (0.5ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Mon, 03 Aug 1987], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00002"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
859
+  (0.1ms) SAVEPOINT active_record_1
860
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00002"], ["birthdate", Thu, 03 May 2007], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00002"], ["last_name", "last-name-00002"], ["preferred_name", "preferred-name-00003"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
862
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."address" = 'address-00002'
863
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (id != 3) AND "widgets"."address" = 'address-00002'
864
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."birthdate" = '2007-05-03'
865
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."first_name" = 'first-name-00002'
866
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (id != 3) AND "widgets"."first_name" = 'first-name-00002'
867
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."last_name" = 'last-name-00002'
868
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (id != 3) AND "widgets"."last_name" = 'last-name-00002'
869
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 3) AND "widgets"."preferred_name" = 'preferred-name-00003'
870
+  (0.2ms) rollback transaction
871
+  (0.1ms) begin transaction
872
+ ----------------------------------------------------------------
873
+ AttrSimilarTest: test_find_similar_with_five_matching_attributes
874
+ ----------------------------------------------------------------
875
+  (0.1ms) SAVEPOINT active_record_1
876
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00003"], ["birthdate", Fri, 25 Jun 1993], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00003"], ["last_name", "last-name-00003"], ["preferred_name", "preferred-name-00004"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
877
+  (0.1ms) RELEASE SAVEPOINT active_record_1
878
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00003'
879
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00003'
880
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '1993-06-25'
881
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."birthdate" = '1993-06-25'
882
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00003'
883
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00003'
884
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00003'
885
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00003'
886
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00004'
887
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00004'
888
+  (0.2ms) rollback transaction
889
+  (0.1ms) begin transaction
890
+ ----------------------------------------------------------------
891
+ AttrSimilarTest: test_find_similar_with_four_matching_attributes
892
+ ----------------------------------------------------------------
893
+  (0.1ms) SAVEPOINT active_record_1
894
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00004"], ["birthdate", Tue, 29 Jun 2010], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00004"], ["last_name", "last-name-00004"], ["preferred_name", "preferred-name-00005"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
895
+  (0.1ms) RELEASE SAVEPOINT active_record_1
896
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00004'
897
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00004'
898
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '1994-10-30'
899
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00004'
900
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00004'
901
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00004'
902
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00004'
903
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00005'
904
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00005'
905
+  (0.2ms) rollback transaction
906
+  (0.1ms) begin transaction
907
+ --------------------------------------------------------------
908
+ AttrSimilarTest: test_find_similar_with_no_matching_attributes
909
+ --------------------------------------------------------------
910
+  (0.1ms) SAVEPOINT active_record_1
911
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00005"], ["birthdate", Mon, 04 Apr 2011], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00005"], ["last_name", "last-name-00005"], ["preferred_name", "preferred-name-00006"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
913
+  (0.1ms) SAVEPOINT active_record_1
914
+ SQL (0.3ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00006"], ["birthdate", Tue, 11 Nov 2008], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00006"], ["last_name", "last-name-00006"], ["preferred_name", "preferred-name-00007"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
915
+  (0.1ms) RELEASE SAVEPOINT active_record_1
916
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."address" = 'address-00006'
917
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."birthdate" = '2008-11-11'
918
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."first_name" = 'first-name-00006'
919
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."last_name" = 'last-name-00006'
920
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE (id != 2) AND "widgets"."preferred_name" = 'preferred-name-00007'
921
+  (0.2ms) rollback transaction
922
+  (0.1ms) begin transaction
923
+ --------------------------------------------------------------
924
+ AttrSimilarTest: test_find_similar_with_one_matching_attribute
925
+ --------------------------------------------------------------
926
+  (0.1ms) SAVEPOINT active_record_1
927
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00007"], ["birthdate", Wed, 20 Sep 2006], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00007"], ["last_name", "last-name-00007"], ["preferred_name", "preferred-name-00008"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
928
+  (0.1ms) RELEASE SAVEPOINT active_record_1
929
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00007'
930
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00007'
931
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '1999-02-09'
932
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00008'
933
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00008'
934
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00009'
935
+  (0.2ms) rollback transaction
936
+  (0.1ms) begin transaction
937
+ -----------------------------------------------------------------
938
+ AttrSimilarTest: test_find_similar_with_three_matching_attributes
939
+ -----------------------------------------------------------------
940
+  (0.1ms) SAVEPOINT active_record_1
941
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00008"], ["birthdate", Wed, 28 Oct 1987], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00009"], ["last_name", "last-name-00009"], ["preferred_name", "preferred-name-00010"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
943
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00008'
944
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00008'
945
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '2004-02-18'
946
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00009'
947
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00009'
948
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00009'
949
+ Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00009'
950
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00011'
951
+  (0.2ms) rollback transaction
952
+  (0.1ms) begin transaction
953
+ ---------------------------------------------------------------
954
+ AttrSimilarTest: test_find_similar_with_two_matching_attributes
955
+ ---------------------------------------------------------------
956
+  (0.1ms) SAVEPOINT active_record_1
957
+ SQL (0.6ms) INSERT INTO "widgets" ("address", "birthdate", "created_at", "first_name", "last_name", "preferred_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["address", "address-00009"], ["birthdate", Fri, 09 Sep 1994], ["created_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00], ["first_name", "first-name-00010"], ["last_name", "last-name-00010"], ["preferred_name", "preferred-name-00012"], ["updated_at", Mon, 09 Dec 2013 04:32:29 UTC +00:00]]
958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
959
+  (0.2ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."address" = 'address-00009'
960
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."address" = 'address-00009'
961
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."birthdate" = '2006-12-10'
962
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00010'
963
+ Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."first_name" = 'first-name-00010'
964
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."last_name" = 'last-name-00011'
965
+  (0.1ms) SELECT COUNT(*) FROM "widgets" WHERE "widgets"."preferred_name" = 'preferred-name-00013'
966
+  (0.3ms) rollback transaction