built_in_data 0.0.2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,622 +1,314 @@
1
- Connecting to database specified by database.yml
2
-  (0.2ms) begin transaction
3
-  (0.0ms) rollback transaction
4
- Connecting to database specified by database.yml
5
-  (0.2ms) begin transaction
6
-  (0.0ms) rollback transaction
7
- Connecting to database specified by database.yml
8
- Connecting to database specified by database.yml
9
-  (0.2ms) begin transaction
10
- SQL (0.1ms) DELETE FROM "national_parks"
11
- SQLite3::SQLException: no such table: national_parks: DELETE FROM "national_parks"
12
-  (0.0ms) rollback transaction
13
-  (0.0ms) begin transaction
14
- SQL (0.1ms) DELETE FROM "national_parks"
15
- SQLite3::SQLException: no such table: national_parks: DELETE FROM "national_parks"
16
-  (0.0ms) rollback transaction
17
-  (0.0ms) begin transaction
18
-  (0.0ms) rollback transaction
19
-  (0.0ms) begin transaction
20
- SQL (0.1ms) DELETE FROM "national_parks"
21
- SQLite3::SQLException: no such table: national_parks: DELETE FROM "national_parks"
22
-  (0.0ms) rollback transaction
23
-  (0.0ms) begin transaction
24
-  (0.0ms) rollback transaction
25
-  (0.0ms) begin transaction
26
-  (0.0ms) rollback transaction
27
-  (0.0ms) begin transaction
28
-  (0.0ms) rollback transaction
29
- Connecting to database specified by database.yml
30
-  (22.9ms) select sqlite_version(*)
31
-  (1.2ms) CREATE TABLE "national_parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "established" date, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
32
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
33
-  (0.0ms) PRAGMA index_list("schema_migrations")
34
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
35
-  (0.0ms) SELECT version FROM "schema_migrations"
36
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
37
1
  Connecting to database specified by database.yml
38
2
   (0.3ms) begin transaction
39
- SQL (4.5ms) DELETE FROM "national_parks"
40
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
41
-  (0.4ms) rollback transaction
42
-  (0.0ms) begin transaction
43
- SQL (0.1ms) DELETE FROM "national_parks"
44
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
45
-  (0.3ms) rollback transaction
3
+  (0.1ms) rollback transaction
46
4
   (0.0ms) begin transaction
47
5
   (0.0ms) rollback transaction
48
6
   (0.0ms) begin transaction
49
- SQL (0.1ms) DELETE FROM "national_parks"
50
-  (0.3ms) rollback transaction
51
-  (0.0ms) begin transaction
52
-  (0.0ms) rollback transaction
53
-  (0.0ms) begin transaction
54
-  (0.0ms) rollback transaction
55
-  (0.0ms) begin transaction
56
-  (0.0ms) rollback transaction
57
- Connecting to database specified by database.yml
58
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
59
- Migrating to CreateNationalParks (20121024195810)
60
- Migrating to AddBuiltInKeyNationalParks (20121024201526)
61
-  (0.0ms) select sqlite_version(*)
62
-  (0.0ms) begin transaction
63
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024201526')
64
-  (1.0ms) commit transaction
65
-  (0.2ms) select sqlite_version(*)
66
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
67
-  (0.0ms) PRAGMA index_list("national_parks")
68
- Connecting to database specified by database.yml
69
-  (0.3ms) begin transaction
70
- SQL (4.2ms) DELETE FROM "national_parks"
71
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
72
-  (0.4ms) rollback transaction
73
-  (0.0ms) begin transaction
74
- SQL (0.1ms) DELETE FROM "national_parks"
75
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
76
-  (0.3ms) rollback transaction
77
-  (0.0ms) begin transaction
78
7
   (0.0ms) rollback transaction
79
8
   (0.0ms) begin transaction
80
- SQL (0.1ms) DELETE FROM "national_parks"
81
-  (0.3ms) rollback transaction
82
-  (0.0ms) begin transaction
83
-  (0.0ms) rollback transaction
84
-  (0.0ms) begin transaction
85
-  (0.0ms) rollback transaction
86
-  (0.0ms) begin transaction
87
-  (0.0ms) rollback transaction
88
- Connecting to database specified by database.yml
89
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
90
- Migrating to CreateNationalParks (20121024195810)
91
- Migrating to AddBuiltInKeyToNationalParks (20121024201818)
92
-  (0.0ms) select sqlite_version(*)
93
-  (0.0ms) begin transaction
94
-  (11.1ms) ALTER TABLE "national_parks" ADD "built_in_key" varchar(255)
95
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121024201818')
96
-  (1.0ms) commit transaction
97
-  (0.2ms) select sqlite_version(*)
98
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
99
-  (0.0ms) PRAGMA index_list("national_parks")
100
- Connecting to database specified by database.yml
101
-  (22.8ms) select sqlite_version(*)
102
-  (1.2ms) CREATE TABLE "national_parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "established" date, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "built_in_key" varchar(255))
103
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
104
-  (0.0ms) PRAGMA index_list("schema_migrations")
105
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
106
-  (0.0ms) SELECT version FROM "schema_migrations"
107
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
108
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
109
- Connecting to database specified by database.yml
110
-  (3.6ms) select sqlite_version(*)
111
-  (1.3ms) CREATE TABLE "national_parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "established" date, "url" varchar(255), "built_in_key" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
112
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
113
-  (0.0ms) PRAGMA index_list("schema_migrations")
114
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
115
-  (0.0ms) SELECT version FROM "schema_migrations"
116
-  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
117
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
118
- Connecting to database specified by database.yml
119
-  (0.2ms) begin transaction
120
- SQL (4.3ms) DELETE FROM "national_parks"
121
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
122
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
123
-  (0.4ms) rollback transaction
124
-  (0.0ms) begin transaction
125
- SQL (0.1ms) DELETE FROM "national_parks"
126
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
127
-  (0.3ms) rollback transaction
128
-  (0.0ms) begin transaction
129
-  (0.0ms) rollback transaction
130
-  (0.0ms) begin transaction
131
- SQL (0.1ms) DELETE FROM "national_parks"
132
-  (0.3ms) rollback transaction
133
-  (0.0ms) begin transaction
134
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
135
-  (0.0ms) rollback transaction
136
-  (0.0ms) begin transaction
137
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
138
9
   (0.0ms) rollback transaction
139
10
   (0.0ms) begin transaction
140
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
141
-  (0.0ms) rollback transaction
142
- Connecting to database specified by database.yml
143
-  (0.3ms) begin transaction
144
- SQL (4.4ms) DELETE FROM "national_parks"
145
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
146
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
147
-  (0.0ms) SAVEPOINT active_record_1
148
- NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
149
- SQL (74.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:21:17 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone"], ["updated_at", Wed, 24 Oct 2012 20:21:17 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
150
-  (0.1ms) RELEASE SAVEPOINT active_record_1
151
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
152
-  (0.1ms) SELECT COUNT(*) FROM "national_parks"
153
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
154
-  (0.5ms) rollback transaction
155
-  (0.0ms) begin transaction
156
- SQL (0.2ms) DELETE FROM "national_parks"
157
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
158
-  (0.4ms) rollback transaction
159
-  (0.0ms) begin transaction
160
11
   (0.0ms) rollback transaction
161
12
   (0.0ms) begin transaction
162
- SQL (0.1ms) DELETE FROM "national_parks"
163
-  (0.3ms) rollback transaction
164
-  (0.0ms) begin transaction
165
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
166
-  (0.0ms) SAVEPOINT active_record_1
167
- NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
168
- SQL (0.5ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:21:17 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone"], ["updated_at", Wed, 24 Oct 2012 20:21:17 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
169
-  (0.1ms) RELEASE SAVEPOINT active_record_1
170
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
171
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
172
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
173
-  (0.0ms) SAVEPOINT active_record_1
174
- NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
175
-  (0.0ms) RELEASE SAVEPOINT active_record_1
176
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
177
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
178
-  (0.5ms) rollback transaction
179
-  (0.0ms) begin transaction
180
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
181
-  (0.0ms) SAVEPOINT active_record_1
182
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
183
- SQL (0.5ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:21:17 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone"], ["updated_at", Wed, 24 Oct 2012 20:21:17 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
184
-  (0.0ms) RELEASE SAVEPOINT active_record_1
185
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
186
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
187
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
188
-  (0.0ms) SAVEPOINT active_record_1
189
- SQL (0.1ms) DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
190
-  (0.0ms) RELEASE SAVEPOINT active_record_1
191
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
192
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
193
-  (0.4ms) rollback transaction
194
-  (0.0ms) begin transaction
195
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
196
-  (0.0ms) SAVEPOINT active_record_1
197
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
198
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:21:17 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone"], ["updated_at", Wed, 24 Oct 2012 20:21:17 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
199
-  (0.0ms) RELEASE SAVEPOINT active_record_1
200
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
201
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
202
-  (0.0ms) SAVEPOINT active_record_1
203
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
204
-  (0.4ms) rollback transaction
205
- Connecting to database specified by database.yml
206
-  (0.3ms) begin transaction
207
- SQL (4.4ms) DELETE FROM "national_parks"
208
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
209
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
210
-  (0.0ms) SAVEPOINT active_record_1
211
- NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
212
- SQL (21.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
213
-  (0.1ms) RELEASE SAVEPOINT active_record_1
214
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
215
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
216
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
217
-  (0.5ms) rollback transaction
218
-  (0.0ms) begin transaction
219
- SQL (0.1ms) DELETE FROM "national_parks"
220
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
221
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
222
-  (0.0ms) SAVEPOINT active_record_1
223
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
224
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
225
-  (0.0ms) RELEASE SAVEPOINT active_record_1
226
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
227
-  (0.0ms) SAVEPOINT active_record_1
228
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
229
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
230
-  (0.0ms) RELEASE SAVEPOINT active_record_1
231
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
232
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
233
-  (0.4ms) rollback transaction
234
-  (0.0ms) begin transaction
235
13
   (0.0ms) rollback transaction
236
-  (0.0ms) begin transaction
237
- SQL (0.1ms) DELETE FROM "national_parks"
238
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
239
-  (0.0ms) SAVEPOINT active_record_1
240
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
241
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
242
-  (0.0ms) RELEASE SAVEPOINT active_record_1
243
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
244
-  (0.0ms) SAVEPOINT active_record_1
245
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
246
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
247
-  (0.0ms) RELEASE SAVEPOINT active_record_1
248
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
249
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
250
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
251
-  (0.0ms) SAVEPOINT active_record_1
252
- NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
253
-  (0.0ms) RELEASE SAVEPOINT active_record_1
254
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
255
-  (0.0ms) SAVEPOINT active_record_1
256
- NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
257
-  (0.0ms) RELEASE SAVEPOINT active_record_1
258
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
259
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
260
-  (0.8ms) rollback transaction
261
-  (0.0ms) begin transaction
262
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
263
-  (0.0ms) SAVEPOINT active_record_1
264
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
265
- SQL (0.5ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
266
-  (0.0ms) RELEASE SAVEPOINT active_record_1
267
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
268
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
269
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
270
-  (0.0ms) SAVEPOINT active_record_1
271
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
272
-  (0.0ms) RELEASE SAVEPOINT active_record_1
273
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
274
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
275
-  (0.4ms) rollback transaction
276
-  (0.0ms) begin transaction
277
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
278
-  (0.0ms) SAVEPOINT active_record_1
279
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
280
- SQL (0.5ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
281
-  (0.0ms) RELEASE SAVEPOINT active_record_1
282
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
283
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
284
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
285
-  (0.0ms) SAVEPOINT active_record_1
286
- SQL (0.1ms) DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
287
-  (0.0ms) RELEASE SAVEPOINT active_record_1
288
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
289
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
290
-  (0.4ms) rollback transaction
291
-  (0.0ms) begin transaction
292
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
293
-  (0.0ms) SAVEPOINT active_record_1
294
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
295
- SQL (0.5ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:26:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
296
-  (0.0ms) RELEASE SAVEPOINT active_record_1
297
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
298
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
299
-  (0.0ms) SAVEPOINT active_record_1
300
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
301
-  (0.4ms) rollback transaction
302
14
  Connecting to database specified by database.yml
303
-  (0.3ms) begin transaction
304
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
15
+  (0.4ms) begin transaction
16
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
305
17
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
306
-  (0.0ms) SAVEPOINT active_record_1
18
+  (0.1ms) SAVEPOINT active_record_1
307
19
  NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
308
- SQL (21.6ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
20
+ SQL (1.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
309
21
   (0.1ms) RELEASE SAVEPOINT active_record_1
310
22
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
311
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
23
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
312
24
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
313
-  (0.5ms) rollback transaction
25
+  (0.1ms) rollback transaction
314
26
   (0.0ms) begin transaction
315
27
   (0.1ms) SELECT COUNT(*) FROM "national_parks" 
316
28
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
317
29
   (0.0ms) SAVEPOINT active_record_1
318
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
319
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
30
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
31
+ SQL (0.8ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
320
32
   (0.0ms) RELEASE SAVEPOINT active_record_1
321
33
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
322
34
   (0.0ms) SAVEPOINT active_record_1
323
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
324
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
35
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
36
+ SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
325
37
   (0.0ms) RELEASE SAVEPOINT active_record_1
326
38
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
327
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
328
-  (0.7ms) rollback transaction
329
-  (0.0ms) begin transaction
330
-  (0.0ms) rollback transaction
39
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
40
+  (0.1ms) rollback transaction
331
41
   (0.0ms) begin transaction
332
42
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
333
43
   (0.0ms) SAVEPOINT active_record_1
334
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
335
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
44
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
45
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
336
46
   (0.0ms) RELEASE SAVEPOINT active_record_1
337
47
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
338
48
   (0.0ms) SAVEPOINT active_record_1
339
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
340
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
49
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
50
+ SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
341
51
   (0.0ms) RELEASE SAVEPOINT active_record_1
342
52
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
343
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
53
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
344
54
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
345
55
   (0.0ms) SAVEPOINT active_record_1
346
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
347
-  (0.0ms) RELEASE SAVEPOINT active_record_1
56
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
57
+  (0.1ms) RELEASE SAVEPOINT active_record_1
348
58
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
349
59
   (0.0ms) SAVEPOINT active_record_1
350
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
60
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
351
61
   (0.0ms) RELEASE SAVEPOINT active_record_1
352
62
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
353
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
354
-  (0.5ms) rollback transaction
63
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
64
+  (0.1ms) rollback transaction
355
65
   (0.0ms) begin transaction
66
+  (0.0ms) SAVEPOINT active_record_1
67
+ SQL (0.8ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", nil], ["created_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["url", nil]]
68
+  (0.0ms) RELEASE SAVEPOINT active_record_1
69
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
356
70
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
357
71
   (0.0ms) SAVEPOINT active_record_1
358
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
359
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
72
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
73
+ SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
360
74
   (0.0ms) RELEASE SAVEPOINT active_record_1
361
75
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
362
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
363
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
76
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
77
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1 [["id", 1]]
78
+  (0.1ms) rollback transaction
79
+  (0.0ms) begin transaction
80
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
81
+  (0.0ms) SAVEPOINT active_record_1
82
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
83
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:52:48 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:48 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
84
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
86
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
87
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
364
88
   (0.0ms) SAVEPOINT active_record_1
365
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
89
+ SQL (0.2ms) DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
366
90
   (0.0ms) RELEASE SAVEPOINT active_record_1
367
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
368
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
369
-  (0.4ms) rollback transaction
91
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
92
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
93
+  (0.1ms) rollback transaction
370
94
   (0.0ms) begin transaction
371
95
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
372
96
   (0.0ms) SAVEPOINT active_record_1
373
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
374
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
375
-  (0.0ms) RELEASE SAVEPOINT active_record_1
376
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
377
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
378
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
379
-  (0.0ms) SAVEPOINT active_record_1
380
- SQL (0.1ms) DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
97
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
98
+ SQL (0.8ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:52:48 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:48 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
381
99
   (0.0ms) RELEASE SAVEPOINT active_record_1
382
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
383
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
384
-  (0.4ms) rollback transaction
385
-  (0.0ms) begin transaction
386
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
387
-  (0.0ms) SAVEPOINT active_record_1
388
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
389
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:30:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
390
-  (0.0ms) RELEASE SAVEPOINT active_record_1
391
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
100
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
101
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
392
102
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
393
103
   (0.0ms) SAVEPOINT active_record_1
394
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
395
-  (0.1ms) UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-10-24 20:30:51.806084' WHERE "national_parks"."id" = 1
396
-  (0.0ms) RELEASE SAVEPOINT active_record_1
104
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
105
+  (0.2ms) UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-10-31 19:52:48.016607' WHERE "national_parks"."id" = 1
106
+  (0.1ms) RELEASE SAVEPOINT active_record_1
397
107
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
398
108
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
399
-  (0.4ms) rollback transaction
109
+  (0.1ms) rollback transaction
400
110
  Connecting to database specified by database.yml
401
-  (0.3ms) begin transaction
402
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
403
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
404
-  (0.0ms) SAVEPOINT active_record_1
111
+  (0.4ms) begin transaction
112
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
113
+ NationalPark Load (0.2ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
114
+  (0.1ms) SAVEPOINT active_record_1
405
115
  NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
406
- SQL (58.6ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
116
+ SQL (1.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
407
117
   (0.1ms) RELEASE SAVEPOINT active_record_1
408
118
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
409
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
119
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
410
120
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
411
-  (0.5ms) rollback transaction
412
-  (0.0ms) begin transaction
121
+  (0.1ms) rollback transaction
122
+  (0.1ms) begin transaction
413
123
   (0.1ms) SELECT COUNT(*) FROM "national_parks" 
414
124
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
415
125
   (0.0ms) SAVEPOINT active_record_1
416
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
417
- SQL (0.5ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
126
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
127
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
418
128
   (0.0ms) RELEASE SAVEPOINT active_record_1
419
129
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
420
130
   (0.0ms) SAVEPOINT active_record_1
421
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
422
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
131
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
132
+ SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
423
133
   (0.0ms) RELEASE SAVEPOINT active_record_1
424
134
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
425
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
426
-  (0.4ms) rollback transaction
427
-  (0.0ms) begin transaction
428
-  (0.0ms) rollback transaction
135
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
136
+  (0.1ms) rollback transaction
429
137
   (0.0ms) begin transaction
430
138
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
431
139
   (0.0ms) SAVEPOINT active_record_1
432
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
433
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
140
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
141
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
434
142
   (0.0ms) RELEASE SAVEPOINT active_record_1
435
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
143
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
436
144
   (0.0ms) SAVEPOINT active_record_1
437
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
438
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
145
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
146
+ SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
439
147
   (0.0ms) RELEASE SAVEPOINT active_record_1
440
148
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
441
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
149
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
442
150
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
443
151
   (0.0ms) SAVEPOINT active_record_1
444
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
445
-  (0.0ms) RELEASE SAVEPOINT active_record_1
152
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
446
154
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
447
155
   (0.0ms) SAVEPOINT active_record_1
448
156
  NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
449
-  (0.0ms) RELEASE SAVEPOINT active_record_1
157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
450
158
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
451
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
452
-  (0.5ms) rollback transaction
159
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
160
+  (0.1ms) rollback transaction
453
161
   (0.0ms) begin transaction
162
+  (0.0ms) SAVEPOINT active_record_1
163
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", nil], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", nil]]
164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
165
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
454
166
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
455
167
   (0.0ms) SAVEPOINT active_record_1
456
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
457
- SQL (0.5ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
168
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
169
+ SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
458
170
   (0.0ms) RELEASE SAVEPOINT active_record_1
459
171
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
460
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
461
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
462
-  (0.0ms) SAVEPOINT active_record_1
463
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
464
-  (0.0ms) RELEASE SAVEPOINT active_record_1
465
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
466
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
467
-  (0.4ms) rollback transaction
468
-  (0.0ms) begin transaction
469
-  (0.0ms) SAVEPOINT active_record_1
470
- SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", nil], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", nil]]
471
-  (0.0ms) RELEASE SAVEPOINT active_record_1
472
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
473
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
474
-  (0.0ms) SAVEPOINT active_record_1
475
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
476
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
477
-  (0.0ms) RELEASE SAVEPOINT active_record_1
478
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
479
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
480
-  (0.5ms) rollback transaction
172
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
173
+ NationalPark Load (0.2ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1 [["id", 1]]
174
+  (0.1ms) rollback transaction
481
175
   (0.0ms) begin transaction
482
176
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
483
177
   (0.0ms) SAVEPOINT active_record_1
484
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
485
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
178
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
179
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
486
180
   (0.0ms) RELEASE SAVEPOINT active_record_1
487
181
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
488
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
489
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
182
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
183
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
490
184
   (0.0ms) SAVEPOINT active_record_1
491
- SQL (0.1ms) DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
185
+ SQL (0.2ms) DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
492
186
   (0.0ms) RELEASE SAVEPOINT active_record_1
493
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
187
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
494
188
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
495
-  (0.4ms) rollback transaction
189
+  (0.1ms) rollback transaction
496
190
   (0.0ms) begin transaction
497
191
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
498
-  (0.0ms) SAVEPOINT active_record_1
499
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
500
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:39 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
501
-  (0.0ms) RELEASE SAVEPOINT active_record_1
502
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
503
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
504
-  (0.0ms) SAVEPOINT active_record_1
505
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
506
-  (0.1ms) UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-10-24 20:34:39.462936' WHERE "national_parks"."id" = 1
192
+  (0.1ms) SAVEPOINT active_record_1
193
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
194
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:52:58 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
507
195
   (0.0ms) RELEASE SAVEPOINT active_record_1
508
196
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
509
197
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
510
-  (0.4ms) rollback transaction
198
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
199
+  (0.0ms) SAVEPOINT active_record_1
200
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
201
+  (0.2ms) UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-10-31 19:52:58.614627' WHERE "national_parks"."id" = 1
202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
203
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
204
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
205
+  (0.1ms) rollback transaction
511
206
  Connecting to database specified by database.yml
512
207
   (0.3ms) begin transaction
513
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
514
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
515
-  (0.0ms) SAVEPOINT active_record_1
208
+  (0.1ms) rollback transaction
209
+  (0.0ms) begin transaction
210
+  (0.0ms) rollback transaction
211
+  (0.0ms) begin transaction
212
+  (0.0ms) rollback transaction
213
+  (0.0ms) begin transaction
214
+  (0.0ms) rollback transaction
215
+  (0.0ms) begin transaction
216
+  (0.0ms) rollback transaction
217
+  (0.0ms) begin transaction
218
+  (0.0ms) rollback transaction
219
+ Connecting to database specified by database.yml
220
+  (0.4ms) begin transaction
221
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
222
+ NationalPark Load (0.2ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
223
+  (0.1ms) SAVEPOINT active_record_1
516
224
  NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
517
- SQL (21.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
225
+ SQL (1.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
518
226
   (0.1ms) RELEASE SAVEPOINT active_record_1
519
227
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
520
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
228
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
521
229
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
522
-  (0.5ms) rollback transaction
230
+  (0.1ms) rollback transaction
523
231
   (0.0ms) begin transaction
524
232
   (0.1ms) SELECT COUNT(*) FROM "national_parks" 
525
233
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
526
234
   (0.0ms) SAVEPOINT active_record_1
527
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
528
- SQL (0.5ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
235
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
236
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
529
237
   (0.0ms) RELEASE SAVEPOINT active_record_1
530
238
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
531
239
   (0.0ms) SAVEPOINT active_record_1
532
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
533
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
240
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
241
+ SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
534
242
   (0.0ms) RELEASE SAVEPOINT active_record_1
535
243
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
536
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
537
-  (0.4ms) rollback transaction
538
-  (0.0ms) begin transaction
539
-  (0.0ms) rollback transaction
244
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
245
+  (0.1ms) rollback transaction
540
246
   (0.0ms) begin transaction
541
247
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
542
248
   (0.0ms) SAVEPOINT active_record_1
543
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
544
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
249
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
250
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
545
251
   (0.0ms) RELEASE SAVEPOINT active_record_1
546
252
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
547
253
   (0.0ms) SAVEPOINT active_record_1
548
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
549
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
254
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
255
+ SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
550
256
   (0.0ms) RELEASE SAVEPOINT active_record_1
551
257
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
552
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
258
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
553
259
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
554
260
   (0.0ms) SAVEPOINT active_record_1
555
261
  NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
556
-  (0.0ms) RELEASE SAVEPOINT active_record_1
262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
557
263
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
558
264
   (0.0ms) SAVEPOINT active_record_1
559
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
265
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
560
266
   (0.0ms) RELEASE SAVEPOINT active_record_1
561
267
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
562
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
563
-  (0.4ms) rollback transaction
268
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
269
+  (0.1ms) rollback transaction
564
270
   (0.0ms) begin transaction
271
+  (0.0ms) SAVEPOINT active_record_1
272
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", nil], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", nil]]
273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
274
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
565
275
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
566
276
   (0.0ms) SAVEPOINT active_record_1
567
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
568
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
277
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
278
+ SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
569
279
   (0.0ms) RELEASE SAVEPOINT active_record_1
570
280
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
571
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
572
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
281
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
282
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1 [["id", 1]]
283
+  (0.1ms) rollback transaction
284
+  (0.0ms) begin transaction
285
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
286
+  (0.0ms) SAVEPOINT active_record_1
287
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
288
+ SQL (0.7ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
290
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
291
+  (0.1ms) SELECT COUNT(*) FROM "national_parks"
292
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
573
293
   (0.0ms) SAVEPOINT active_record_1
574
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
294
+ SQL (0.2ms) DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
575
295
   (0.0ms) RELEASE SAVEPOINT active_record_1
576
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
577
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
578
-  (0.4ms) rollback transaction
296
+  (0.1ms) SELECT COUNT(*) FROM "national_parks" 
297
+ NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
298
+  (0.1ms) rollback transaction
579
299
   (0.0ms) begin transaction
580
-  (0.0ms) SAVEPOINT active_record_1
581
- SQL (0.3ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", nil], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", nil]]
582
-  (0.0ms) RELEASE SAVEPOINT active_record_1
583
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
584
300
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
585
301
   (0.0ms) SAVEPOINT active_record_1
586
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
587
- SQL (0.2ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
302
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
303
+ SQL (0.8ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 31 Oct 2012 19:54:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
588
304
   (0.0ms) RELEASE SAVEPOINT active_record_1
589
305
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
590
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
591
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1 [["id", 1]]
592
-  (0.4ms) rollback transaction
593
-  (0.0ms) begin transaction
594
306
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
595
-  (0.0ms) SAVEPOINT active_record_1
596
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
597
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
598
-  (0.0ms) RELEASE SAVEPOINT active_record_1
599
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
600
-  (0.0ms) SELECT COUNT(*) FROM "national_parks" 
601
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
602
-  (0.0ms) SAVEPOINT active_record_1
603
- SQL (0.1ms) DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
604
-  (0.0ms) RELEASE SAVEPOINT active_record_1
605
-  (0.0ms) SELECT COUNT(*) FROM "national_parks"
606
- NationalPark Load (0.0ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
607
-  (0.4ms) rollback transaction
608
-  (0.0ms) begin transaction
609
- NationalPark Load (0.4ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
610
-  (0.0ms) SAVEPOINT active_record_1
611
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
612
- SQL (0.4ms) INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 20:34:56 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
613
-  (0.0ms) RELEASE SAVEPOINT active_record_1
614
- NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
615
307
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
616
308
   (0.0ms) SAVEPOINT active_record_1
617
- NationalPark Exists (0.0ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
618
-  (0.1ms) UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-10-24 20:34:56.084571' WHERE "national_parks"."id" = 1
309
+ NationalPark Exists (0.1ms) SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
310
+  (0.2ms) UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-10-31 19:54:59.913446' WHERE "national_parks"."id" = 1
619
311
   (0.0ms) RELEASE SAVEPOINT active_record_1
620
312
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
621
313
  NationalPark Load (0.1ms) SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
622
-  (0.4ms) rollback transaction
314
+  (0.1ms) rollback transaction