built_in_data 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/built_in_data/version.rb +1 -1
- data/lib/built_in_data.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +64 -226
- data/test/dummy/log/test.log +314 -1957
- metadata +9 -15
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 88acf317a70f6d51e155221189e3b6e3a9b08ac5
|
4
|
+
data.tar.gz: 4d3977a54b7a78c6d1b6a935059d73e355d2867b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c50bb31ae6bf97cf4d8b792da9475a305fae42bdb12e9b505c780cbd6bdc641b3d84269a417270eb666dcc9cfd5336927343d2f5bd5793f0f618a2d367d6b7d6
|
7
|
+
data.tar.gz: a5e925c99312def72e79dc4d581ec42986cc97e174d313cf3f654d10d646f290a46ee5497f714d141b4a69256379de4e676bbca6025cbd8d556462797b8fd665
|
data/lib/built_in_data.rb
CHANGED
@@ -5,7 +5,7 @@ module BuiltInData
|
|
5
5
|
# all built in data objects should have a built_in_key, model objects without a key will not be modified or removed
|
6
6
|
validates_uniqueness_of :built_in_key, :allow_nil => true
|
7
7
|
|
8
|
-
scope :built_in,
|
8
|
+
scope :built_in, -> { where "#{table_name}.built_in_key IS NOT NULL" }
|
9
9
|
end
|
10
10
|
|
11
11
|
module ClassMethods
|
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,282 +1,120 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
|
3
|
-
[1m[
|
4
|
-
[1m[
|
5
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
6
|
-
[1m[35m (5.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
8
|
-
Migrating to CreateNationalParks (20121024195810)
|
9
|
-
[1m[35m (0.0ms)[0m begin transaction
|
10
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
11
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121024195810')
|
12
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
13
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
14
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("national_parks")
|
16
|
-
Connecting to database specified by database.yml
|
17
|
-
Connecting to database specified by database.yml
|
18
|
-
Connecting to database specified by database.yml
|
19
|
-
[1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
|
20
|
-
[1m[35m (20.7ms)[0m 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))
|
21
|
-
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[36m (0.9ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.2ms)[0m 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), "protected_attribute_column" varchar(255))
|
4
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
22
5
|
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
23
|
-
[1m[36m (1.
|
24
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
25
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024201818')[0m
|
26
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
|
27
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
28
|
-
Connecting to database specified by database.yml
|
29
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
30
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
31
|
-
[1m[36m (1.1ms)[0m [1mCREATE 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)) [0m
|
32
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
33
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
34
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
35
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
36
|
-
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
37
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
38
|
-
Connecting to database specified by database.yml
|
39
|
-
[1m[36m (3.6ms)[0m [1mselect sqlite_version(*)[0m
|
40
|
-
[1m[35m (1.4ms)[0m DROP TABLE "national_parks"
|
41
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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)) [0m
|
42
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
43
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
44
|
-
Connecting to database specified by database.yml
|
45
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
46
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
47
|
-
[1m[36m (1.1ms)[0m [1mCREATE 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)) [0m
|
48
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
49
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
50
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
51
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
52
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
53
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
54
|
-
Connecting to database specified by database.yml
|
55
|
-
[1m[36m (3.7ms)[0m [1mselect sqlite_version(*)[0m
|
56
|
-
[1m[35m (1.1ms)[0m DROP TABLE "national_parks"
|
57
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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)) [0m
|
58
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
59
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
60
|
-
Connecting to database specified by database.yml
|
61
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
62
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
63
|
-
[1m[36m (1.1ms)[0m [1mCREATE 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)) [0m
|
64
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
65
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
66
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
67
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
68
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
69
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
70
|
-
Connecting to database specified by database.yml
|
71
|
-
[1m[36m (3.6ms)[0m [1mselect sqlite_version(*)[0m
|
72
|
-
[1m[35m (1.4ms)[0m DROP TABLE "national_parks"
|
73
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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)) [0m
|
74
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
75
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
76
|
-
Connecting to database specified by database.yml
|
77
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
78
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
79
|
-
[1m[36m (1.1ms)[0m [1mCREATE 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)) [0m
|
80
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
81
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
82
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
83
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
84
|
-
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
85
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
86
|
-
Connecting to database specified by database.yml
|
87
|
-
[1m[36m (3.6ms)[0m [1mselect sqlite_version(*)[0m
|
88
|
-
[1m[35m (1.1ms)[0m DROP TABLE "national_parks"
|
89
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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)) [0m
|
90
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
91
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
92
|
-
Connecting to database specified by database.yml
|
93
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
94
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
95
|
-
[1m[36m (1.1ms)[0m [1mCREATE 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)) [0m
|
96
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
97
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
98
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
99
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
100
|
-
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
101
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
102
|
-
Connecting to database specified by database.yml
|
103
|
-
[1m[36m (3.6ms)[0m [1mselect sqlite_version(*)[0m
|
104
|
-
[1m[35m (1.2ms)[0m DROP TABLE "national_parks"
|
105
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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)) [0m
|
106
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
107
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
108
|
-
Connecting to database specified by database.yml
|
109
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
110
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
111
|
-
[1m[36m (1.2ms)[0m [1mCREATE 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)) [0m
|
112
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
113
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
114
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
115
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
116
|
-
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
117
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
118
|
-
Connecting to database specified by database.yml
|
119
|
-
[1m[36m (3.6ms)[0m [1mselect sqlite_version(*)[0m
|
120
|
-
[1m[35m (1.4ms)[0m DROP TABLE "national_parks"
|
121
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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)) [0m
|
122
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
123
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
124
|
-
Connecting to database specified by database.yml
|
125
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
126
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
127
|
-
[1m[36m (36.9ms)[0m [1mCREATE 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)) [0m
|
128
|
-
[1m[35m (31.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
129
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
130
|
-
[1m[35m (21.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
131
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
132
|
-
[1m[35m (23.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
133
|
-
[1m[36m (31.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
134
|
-
Connecting to database specified by database.yml
|
135
|
-
[1m[36m (3.6ms)[0m [1mselect sqlite_version(*)[0m
|
136
|
-
[1m[35m (1.1ms)[0m DROP TABLE "national_parks"
|
137
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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)) [0m
|
138
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
139
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
140
|
-
Connecting to database specified by database.yml
|
141
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
142
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
143
|
-
[1m[36m (1.1ms)[0m [1mCREATE 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)) [0m
|
144
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
145
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
146
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
147
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
148
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
149
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
150
|
-
Connecting to database specified by database.yml
|
151
|
-
[1m[36m (3.7ms)[0m [1mselect sqlite_version(*)[0m
|
152
|
-
[1m[35m (1.4ms)[0m DROP TABLE "national_parks"
|
153
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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)) [0m
|
6
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
154
7
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
155
|
-
[1m[36m (
|
8
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121101224000')[0m
|
9
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
|
10
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024201818')[0m
|
11
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
156
12
|
Connecting to database specified by database.yml
|
157
13
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
158
14
|
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
159
|
-
[1m[36m (1.
|
160
|
-
[1m[35m (1.
|
15
|
+
[1m[36m (1.3ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
16
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
161
17
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
162
|
-
[1m[35m (1.
|
163
|
-
[1m[36m (0.
|
164
|
-
[1m[35m (
|
165
|
-
[1m[36m (
|
18
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
19
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
20
|
+
[1m[35m (3.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121101224000')
|
21
|
+
[1m[36m (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
22
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
166
23
|
Connecting to database specified by database.yml
|
167
|
-
[1m[36m (
|
24
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
168
25
|
[1m[35m (1.2ms)[0m DROP TABLE "national_parks"
|
169
|
-
[1m[36m (1.
|
26
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
170
27
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
171
|
-
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
172
|
-
Connecting to database specified by database.yml
|
173
28
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
174
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
175
|
-
[1m[36m (1.1ms)[0m [1mCREATE 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)) [0m
|
176
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
177
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
178
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
179
|
-
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
180
|
-
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
181
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
182
|
-
Connecting to database specified by database.yml
|
183
|
-
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
184
|
-
[1m[35m (1.4ms)[0m DROP TABLE "national_parks"
|
185
|
-
[1m[36m (1.0ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
186
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
187
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121101224000')[0m
|
188
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
189
29
|
Connecting to database specified by database.yml
|
190
30
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
191
|
-
[1m[35m (0.
|
192
|
-
[1m[36m (1.
|
31
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
32
|
+
[1m[36m (1.4ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
193
33
|
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
194
34
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
195
|
-
[1m[35m (1.
|
35
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
196
36
|
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
197
|
-
[1m[35m (1.
|
198
|
-
[1m[36m (1.
|
199
|
-
[1m[35m (1.
|
37
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121101224000')
|
38
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
39
|
+
[1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
200
40
|
Connecting to database specified by database.yml
|
201
41
|
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
202
42
|
[1m[35m (1.2ms)[0m DROP TABLE "national_parks"
|
203
|
-
[1m[36m (1.
|
43
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
204
44
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
205
45
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
206
46
|
Connecting to database specified by database.yml
|
207
47
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
208
|
-
[1m[35m (0.
|
209
|
-
[1m[36m (1.
|
210
|
-
[1m[35m (1.
|
48
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
49
|
+
[1m[36m (1.3ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
50
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
211
51
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
212
|
-
[1m[35m (1.
|
52
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
213
53
|
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
214
|
-
[1m[35m (1.
|
215
|
-
[1m[36m (1.
|
216
|
-
[1m[35m (
|
54
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121101224000')
|
55
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
56
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
217
57
|
Connecting to database specified by database.yml
|
218
|
-
[1m[36m (
|
219
|
-
[1m[35m (1.
|
58
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
59
|
+
[1m[35m (1.6ms)[0m DROP TABLE "national_parks"
|
220
60
|
[1m[36m (1.1ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
221
|
-
[1m[35m (0.
|
61
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
222
62
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
223
63
|
Connecting to database specified by database.yml
|
224
64
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
225
|
-
[1m[35m (0.
|
65
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
226
66
|
[1m[36m (1.2ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
227
|
-
[1m[35m (1.
|
228
|
-
[1m[36m (
|
229
|
-
[1m[35m (
|
230
|
-
[1m[36m (
|
231
|
-
[1m[35m (1.
|
232
|
-
[1m[36m (1.
|
233
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
67
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
68
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
69
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
70
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121101224000')[0m
|
71
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
|
72
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024201818')[0m
|
234
73
|
Connecting to database specified by database.yml
|
235
74
|
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
236
75
|
[1m[35m (1.2ms)[0m DROP TABLE "national_parks"
|
237
|
-
[1m[36m (1.
|
76
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
238
77
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
239
78
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
240
79
|
Connecting to database specified by database.yml
|
241
80
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
242
|
-
[1m[35m (0.
|
81
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
243
82
|
[1m[36m (1.2ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
244
|
-
[1m[35m (
|
245
|
-
[1m[36m (
|
246
|
-
[1m[35m (
|
247
|
-
[1m[36m (
|
248
|
-
[1m[35m (1.
|
249
|
-
[1m[36m (1.
|
250
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024201818')
|
83
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
84
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
85
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
86
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121101224000')[0m
|
87
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
|
88
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024201818')[0m
|
251
89
|
Connecting to database specified by database.yml
|
252
|
-
[1m[36m (
|
90
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
253
91
|
[1m[35m (1.2ms)[0m DROP TABLE "national_parks"
|
254
92
|
[1m[36m (1.1ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
255
93
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
256
94
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
257
95
|
Connecting to database specified by database.yml
|
258
96
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
259
|
-
[1m[35m (0.
|
97
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
260
98
|
[1m[36m (1.2ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
261
|
-
[1m[35m (1.
|
262
|
-
[1m[36m (1.
|
99
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
100
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
263
101
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
264
|
-
[1m[36m (1.
|
265
|
-
[1m[35m (1.
|
266
|
-
[1m[36m (1.
|
102
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121101224000')[0m
|
103
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
|
104
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024201818')[0m
|
267
105
|
Connecting to database specified by database.yml
|
268
|
-
[1m[36m (0.
|
106
|
+
[1m[36m (0.6ms)[0m [1mselect sqlite_version(*)[0m
|
269
107
|
[1m[35m (1.2ms)[0m DROP TABLE "national_parks"
|
270
|
-
[1m[36m (1.
|
108
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
271
109
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
272
110
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
273
111
|
Connecting to database specified by database.yml
|
274
112
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
275
|
-
[1m[35m (0.
|
276
|
-
[1m[36m (1.
|
277
|
-
[1m[35m (1.
|
113
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
114
|
+
[1m[36m (1.2ms)[0m [1mCREATE 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), "protected_attribute_column" varchar(255)) [0m
|
115
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
278
116
|
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
279
117
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
280
|
-
[1m[36m (1.
|
281
|
-
[1m[35m (1.
|
282
|
-
[1m[36m (
|
118
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121101224000')[0m
|
119
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
|
120
|
+
[1m[36m (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024201818')[0m
|
data/test/dummy/log/test.log
CHANGED
@@ -1,1638 +1,34 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (0.
|
3
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
4
|
-
Connecting to database specified by database.yml
|
5
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
-
Connecting to database specified by database.yml
|
8
|
-
Connecting to database specified by database.yml
|
9
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
10
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
11
|
-
SQLite3::SQLException: no such table: national_parks: DELETE FROM "national_parks"
|
12
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13
|
-
[1m[35m (0.0ms)[0m begin transaction
|
14
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks"[0m
|
15
|
-
SQLite3::SQLException: no such table: national_parks: DELETE FROM "national_parks"
|
16
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
17
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
21
|
-
SQLite3::SQLException: no such table: national_parks: DELETE FROM "national_parks"
|
22
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
23
|
-
[1m[35m (0.0ms)[0m begin transaction
|
24
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
25
|
-
[1m[35m (0.0ms)[0m begin transaction
|
26
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
27
|
-
[1m[35m (0.0ms)[0m begin transaction
|
28
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
29
|
-
Connecting to database specified by database.yml
|
30
|
-
[1m[36m (22.9ms)[0m [1mselect sqlite_version(*)[0m
|
31
|
-
[1m[35m (1.2ms)[0m 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
|
-
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
33
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
34
|
-
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
35
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
36
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024195810')[0m
|
37
|
-
Connecting to database specified by database.yml
|
38
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
39
|
-
[1m[35mSQL (4.5ms)[0m DELETE FROM "national_parks"
|
40
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
41
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
42
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
44
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
45
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
46
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
48
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
50
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
51
|
-
[1m[35m (0.0ms)[0m begin transaction
|
52
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
53
|
-
[1m[35m (0.0ms)[0m begin transaction
|
54
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
55
|
-
[1m[35m (0.0ms)[0m begin transaction
|
56
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
57
|
-
Connecting to database specified by database.yml
|
58
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
59
|
-
Migrating to CreateNationalParks (20121024195810)
|
60
|
-
Migrating to AddBuiltInKeyNationalParks (20121024201526)
|
61
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
62
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121024201526')
|
64
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
65
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
66
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
67
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("national_parks")
|
68
|
-
Connecting to database specified by database.yml
|
69
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
70
|
-
[1m[35mSQL (4.2ms)[0m DELETE FROM "national_parks"
|
71
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
72
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
73
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
74
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
75
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
76
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
77
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
78
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
79
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
80
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
81
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
82
|
-
[1m[35m (0.0ms)[0m begin transaction
|
83
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
84
|
-
[1m[35m (0.0ms)[0m begin transaction
|
85
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
86
|
-
[1m[35m (0.0ms)[0m begin transaction
|
87
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
88
|
-
Connecting to database specified by database.yml
|
89
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
90
|
-
Migrating to CreateNationalParks (20121024195810)
|
91
|
-
Migrating to AddBuiltInKeyToNationalParks (20121024201818)
|
92
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
93
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
94
|
-
[1m[35m (11.1ms)[0m ALTER TABLE "national_parks" ADD "built_in_key" varchar(255)
|
95
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121024201818')[0m
|
96
|
-
[1m[35m (1.0ms)[0m commit transaction
|
97
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
98
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
99
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("national_parks")[0m
|
100
|
-
Connecting to database specified by database.yml
|
101
|
-
[1m[36m (22.8ms)[0m [1mselect sqlite_version(*)[0m
|
102
|
-
[1m[35m (1.2ms)[0m 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
|
-
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
104
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
105
|
-
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
106
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
107
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024201818')[0m
|
108
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
|
109
|
-
Connecting to database specified by database.yml
|
110
|
-
[1m[36m (3.6ms)[0m [1mselect sqlite_version(*)[0m
|
111
|
-
[1m[35m (1.3ms)[0m 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
|
-
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
113
|
-
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
114
|
-
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
115
|
-
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
116
|
-
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024201818')[0m
|
117
|
-
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024195810')
|
118
|
-
Connecting to database specified by database.yml
|
119
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
120
|
-
[1m[35mSQL (4.3ms)[0m DELETE FROM "national_parks"
|
121
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
122
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
123
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
124
|
-
[1m[35m (0.0ms)[0m begin transaction
|
125
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks"[0m
|
126
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
127
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
128
|
-
[1m[35m (0.0ms)[0m begin transaction
|
129
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
130
|
-
[1m[35m (0.0ms)[0m begin transaction
|
131
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks"[0m
|
132
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
133
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
134
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
135
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
136
|
-
[1m[35m (0.0ms)[0m begin transaction
|
137
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
138
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
139
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
141
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
142
|
-
Connecting to database specified by database.yml
|
143
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
144
|
-
[1m[35mSQL (4.4ms)[0m DELETE FROM "national_parks"
|
145
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
146
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
147
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
148
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
149
|
-
[1m[36mSQL (74.7ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
151
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
152
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
153
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
154
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
155
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
156
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "national_parks"
|
157
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
158
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
159
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
160
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
161
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
162
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
163
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
164
|
-
[1m[35m (0.0ms)[0m begin transaction
|
165
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
166
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
167
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
168
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
170
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
171
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
172
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
173
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
174
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
175
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
176
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
177
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
178
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
179
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
180
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
181
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
182
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
183
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
185
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
186
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
187
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
188
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
190
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
191
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
192
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
193
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
194
|
-
[1m[35m (0.0ms)[0m begin transaction
|
195
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
196
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
197
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
198
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
200
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
201
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
202
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
203
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
204
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
205
|
-
Connecting to database specified by database.yml
|
206
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
207
|
-
[1m[35mSQL (4.4ms)[0m DELETE FROM "national_parks"
|
208
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
209
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
210
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
211
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
212
|
-
[1m[36mSQL (21.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
214
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
215
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
216
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
217
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
218
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
219
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
220
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
221
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
222
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
223
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
224
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
226
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
227
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
228
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
229
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
231
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
232
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
233
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
234
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
235
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
236
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
237
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks"
|
238
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
239
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
240
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
241
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
243
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
244
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
245
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
246
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
248
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
249
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
250
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
251
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
252
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1[0m
|
253
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
254
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
255
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
256
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1[0m
|
257
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
258
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
259
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
260
|
-
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
261
|
-
[1m[35m (0.0ms)[0m begin transaction
|
262
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
263
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
264
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
265
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
267
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
268
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
269
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
270
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
271
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
272
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
273
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
274
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
275
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
276
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
277
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
278
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
279
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
280
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
282
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
283
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
284
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
285
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
286
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
287
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
288
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
289
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
290
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
291
|
-
[1m[35m (0.0ms)[0m begin transaction
|
292
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
293
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
295
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
298
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
299
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
300
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
301
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
302
|
-
Connecting to database specified by database.yml
|
303
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
304
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
305
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
306
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
307
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
308
|
-
[1m[35mSQL (21.6ms)[0m 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"]]
|
309
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
310
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
311
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
312
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
313
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
314
|
-
[1m[35m (0.0ms)[0m begin transaction
|
315
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
316
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
317
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
318
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
319
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
320
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
321
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
322
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
323
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
324
|
-
[1m[35mSQL (0.2ms)[0m 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"]]
|
325
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
326
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
327
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
328
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
329
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
330
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
331
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
332
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
333
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
334
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
335
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
336
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
337
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
338
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
339
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
340
|
-
[1m[35mSQL (0.2ms)[0m 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"]]
|
341
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
342
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
343
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
344
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
345
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
346
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
347
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
348
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
349
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
350
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
351
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
352
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
353
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
354
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
355
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
356
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
357
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
358
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
359
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
360
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
361
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
362
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
363
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
364
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
365
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
366
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
367
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
368
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
369
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
370
|
-
[1m[35m (0.0ms)[0m begin transaction
|
371
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
372
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
373
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
374
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
376
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
377
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
378
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
379
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
380
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
|
381
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
382
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
383
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
384
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
385
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
386
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
387
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
388
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
389
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
391
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
392
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
393
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
394
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
395
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
396
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
397
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
398
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
399
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
400
|
-
Connecting to database specified by database.yml
|
401
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
402
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
403
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
404
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
405
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
406
|
-
[1m[35mSQL (58.6ms)[0m 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"]]
|
407
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
408
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
409
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
410
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
411
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
412
|
-
[1m[35m (0.0ms)[0m begin transaction
|
413
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
414
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
415
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
416
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
417
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
418
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
419
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
420
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
421
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
422
|
-
[1m[35mSQL (0.2ms)[0m 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"]]
|
423
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
424
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
425
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
426
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
427
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
428
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
429
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
430
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
431
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
432
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
433
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
434
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
435
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
436
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
437
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
438
|
-
[1m[35mSQL (0.2ms)[0m 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"]]
|
439
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
440
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
441
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
442
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
443
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
444
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
445
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
446
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
447
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
448
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
449
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
450
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
451
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
452
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
453
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
454
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
455
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
456
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
457
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
458
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
459
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
460
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
461
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
462
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
463
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
464
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
465
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
466
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
467
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
468
|
-
[1m[35m (0.0ms)[0m begin transaction
|
469
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
470
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
472
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
473
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
474
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
475
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
476
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
478
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
479
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
480
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
481
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
482
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
483
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
484
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
485
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
486
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
487
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
488
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
489
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
490
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
491
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
492
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
493
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
494
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
495
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
496
|
-
[1m[35m (0.0ms)[0m begin transaction
|
497
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
498
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
499
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
500
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
502
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
503
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
504
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
505
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
506
|
-
[1m[35m (0.1ms)[0m 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
|
507
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
508
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
509
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
510
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
511
|
-
Connecting to database specified by database.yml
|
512
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
513
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
514
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
515
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
516
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
517
|
-
[1m[35mSQL (21.7ms)[0m 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"]]
|
518
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
519
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
520
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
521
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
522
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
523
|
-
[1m[35m (0.0ms)[0m begin transaction
|
524
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
525
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
526
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
527
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
528
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
529
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
530
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
531
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
532
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
533
|
-
[1m[35mSQL (0.2ms)[0m 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"]]
|
534
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
535
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
536
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
537
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
538
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
539
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
540
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
541
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
542
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
543
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
544
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
545
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
546
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
547
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
548
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
549
|
-
[1m[35mSQL (0.2ms)[0m 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"]]
|
550
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
551
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
552
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
553
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
554
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
555
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
556
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
557
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
558
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
559
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
560
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
561
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
562
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
563
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
564
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
565
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
566
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
567
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
568
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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"]]
|
569
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
570
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
571
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
572
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
573
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
574
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
575
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
576
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
577
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
578
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
579
|
-
[1m[35m (0.0ms)[0m begin transaction
|
580
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
581
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
583
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
584
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
585
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
586
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
587
|
-
[1m[35mSQL (0.2ms)[0m 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"]]
|
588
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
589
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
590
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
591
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1 [["id", 1]]
|
592
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
593
|
-
[1m[35m (0.0ms)[0m begin transaction
|
594
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
595
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
596
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
597
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
599
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
600
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
601
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
602
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
603
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
|
604
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
605
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
606
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
607
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
608
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
609
|
-
[1m[35mNationalPark Load (0.4ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
610
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
611
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
612
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
614
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
615
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
616
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
617
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
618
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
619
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
620
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
621
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
622
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
623
|
-
Connecting to database specified by database.yml
|
624
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
625
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
626
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
627
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
628
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
629
|
-
[1m[35mSQL (21.9ms)[0m 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 21:24:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
630
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
631
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
632
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
633
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
634
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
635
|
-
[1m[35m (0.0ms)[0m begin transaction
|
636
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
637
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
638
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
639
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
640
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
641
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
642
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
643
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
644
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
645
|
-
[1m[35mSQL (0.2ms)[0m 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 21:24:18 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
646
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
647
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
648
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
649
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
650
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
651
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
652
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
653
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
654
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
655
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
656
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
657
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
658
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
659
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
660
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
661
|
-
[1m[35mSQL (0.2ms)[0m 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 21:24:18 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
662
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
663
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
664
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
665
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
666
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
667
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
668
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
669
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
670
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
671
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
672
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
673
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
674
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
675
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
676
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
677
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
678
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
679
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
680
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
681
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
682
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
683
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
684
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
685
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
686
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
687
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
688
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
689
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
690
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
691
|
-
[1m[35m (0.0ms)[0m begin transaction
|
692
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
693
|
-
[1m[35mSQL (0.3ms)[0m 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 21:24:18 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", nil]]
|
694
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
695
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
696
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
697
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
698
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
699
|
-
[1m[35mSQL (0.2ms)[0m 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 21:24:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
700
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
701
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
702
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
703
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1 [["id", 1]]
|
704
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
705
|
-
[1m[35m (0.0ms)[0m begin transaction
|
706
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
707
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
708
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
709
|
-
[1m[35mSQL (0.4ms)[0m 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 21:24:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
710
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
711
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
712
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
713
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
714
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
715
|
-
[1m[35mSQL (0.1ms)[0m DELETE FROM "national_parks" WHERE "national_parks"."id" = ? [["id", 1]]
|
716
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
717
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
718
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
719
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
720
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
721
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
722
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
723
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
724
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Wed, 24 Oct 2012 21:24:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
725
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
726
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
727
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
728
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
729
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
730
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-10-24 21:24:18.139805' WHERE "national_parks"."id" = 1[0m
|
731
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
732
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
733
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
734
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
735
|
-
Connecting to database specified by database.yml
|
736
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
737
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
738
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
739
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
740
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
741
|
-
[1m[35mSQL (58.7ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
742
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
743
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
744
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
745
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
746
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
747
|
-
[1m[35m (0.0ms)[0m begin transaction
|
748
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
749
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
750
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
751
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
752
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
753
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
754
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
755
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
756
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
757
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
758
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
759
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
760
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
761
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
762
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
763
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
764
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
765
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
766
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
767
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
768
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
769
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
770
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
771
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
772
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
773
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
774
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
775
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
776
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
777
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
778
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
779
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
780
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
781
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
782
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
783
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
784
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
785
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
786
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
787
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
788
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", nil]]
|
789
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
790
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
791
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
792
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
793
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
794
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
795
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
796
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
797
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
798
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
799
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
800
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
801
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
802
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
803
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
804
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
805
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
806
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
807
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
808
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
809
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
810
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
811
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
812
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
813
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
814
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
815
|
-
[1m[35m (0.0ms)[0m begin transaction
|
816
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
817
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
818
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
819
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:16:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
820
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
821
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
822
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
823
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
824
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
825
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
826
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 17:16:18.616402' WHERE "national_parks"."id" = 1[0m
|
827
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
828
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
829
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
830
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
831
|
-
Connecting to database specified by database.yml
|
832
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
833
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
834
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
835
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
836
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
837
|
-
[1m[35mSQL (24.9ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
838
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
839
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
840
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
841
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
842
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
843
|
-
[1m[35m (0.0ms)[0m begin transaction
|
844
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
845
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
846
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
847
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
848
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
849
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
850
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
851
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
852
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
853
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
854
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
855
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
856
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
857
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
858
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
859
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
860
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
861
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
862
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
863
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
864
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
865
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
866
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
867
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
868
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
869
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
870
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
871
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
872
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
873
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
874
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
875
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
876
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
877
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
878
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
879
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
880
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
881
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
882
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
883
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
884
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["url", nil]]
|
885
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
886
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
887
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
888
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
889
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
890
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
891
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
892
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
893
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
894
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
895
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
896
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
897
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
898
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
899
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
900
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:20:28 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
901
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
902
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
903
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
904
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
905
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
906
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
907
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
908
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
909
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
910
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
911
|
-
[1m[35m (0.0ms)[0m begin transaction
|
912
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
913
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
914
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
915
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:20:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:20:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
916
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
917
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
918
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
919
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
920
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
921
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
922
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 17:20:29.003179' WHERE "national_parks"."id" = 1[0m
|
923
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
924
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
925
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
926
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
927
|
-
Connecting to database specified by database.yml
|
928
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
929
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
930
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
931
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
932
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
933
|
-
[1m[35mSQL (24.0ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
934
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
935
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
936
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
937
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
938
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
939
|
-
[1m[35m (0.0ms)[0m begin transaction
|
940
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
941
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
942
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
943
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
944
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
945
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
946
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
947
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
948
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
949
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
950
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
951
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
952
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
953
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
954
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
955
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
956
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
957
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
958
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
959
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
960
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
961
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
962
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
963
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
964
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
965
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
966
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
967
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
968
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
969
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
970
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
971
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
972
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
973
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
974
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
975
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
976
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
977
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
978
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
979
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
980
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", nil]]
|
981
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
982
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
983
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
984
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
986
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
987
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
988
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
989
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
990
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
991
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
992
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
993
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
994
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
995
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
996
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
997
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
998
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
999
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1000
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1001
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1002
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1003
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1004
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1005
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1006
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1007
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1008
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1009
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1010
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1011
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1012
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1013
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:24:59 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1014
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1015
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1016
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1017
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1018
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1019
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
1020
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 17:24:59.168826' WHERE "national_parks"."id" = 1[0m
|
1021
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1022
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1023
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1024
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1025
|
-
Connecting to database specified by database.yml
|
1026
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1027
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1028
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1029
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1030
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1031
|
-
[1m[35mSQL (2.1ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1032
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1033
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1034
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1035
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1036
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1037
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1038
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1039
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1040
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1041
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1042
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1043
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1044
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1045
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1046
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1047
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1048
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1049
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1050
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1051
|
-
[1m[35m (1.4ms)[0m rollback transaction
|
1052
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1053
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1054
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1055
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1056
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1057
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1058
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1059
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1060
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1061
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1062
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1063
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1064
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1065
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1066
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1067
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
1068
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1069
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1070
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1071
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
1072
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1073
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1074
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1075
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1076
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1077
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1078
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", nil]]
|
1079
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1080
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1081
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1082
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1083
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1084
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1085
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1086
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1087
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1088
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
1089
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1090
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1091
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1092
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1093
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1094
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1095
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1096
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1097
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1098
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1099
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1100
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1101
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1102
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1103
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1104
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1105
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1106
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1107
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1108
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1109
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1110
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1111
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:29:18 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1112
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1113
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1114
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1115
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1116
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1117
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
1118
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 17:29:18.910523' WHERE "national_parks"."id" = 1[0m
|
1119
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1120
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1121
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1122
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1123
|
-
Connecting to database specified by database.yml
|
1124
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1125
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1126
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1127
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1128
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1129
|
-
[1m[35mSQL (2.1ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1130
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1131
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1132
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1133
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1134
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1135
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1136
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1137
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1138
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1139
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1140
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1141
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1142
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1143
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1144
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1145
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1146
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1147
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1148
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1149
|
-
[1m[35m (1.2ms)[0m rollback transaction
|
1150
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1151
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1152
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1153
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1154
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1155
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1156
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1157
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1158
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1159
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1160
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1161
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1162
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1163
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1164
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1165
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
1166
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1167
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1168
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1169
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
1170
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1171
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1172
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1173
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1174
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1175
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1176
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", nil]]
|
1177
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1178
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1179
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1180
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1181
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1182
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1183
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1184
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1185
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1186
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
1187
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1188
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1189
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1190
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1191
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1192
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1193
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1194
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1195
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1196
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1197
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1198
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1199
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1200
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1201
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1202
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1203
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1204
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1205
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1206
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1207
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1208
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1209
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:30:33 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1210
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1211
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1212
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1213
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1214
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1215
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
1216
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 17:30:33.974360' WHERE "national_parks"."id" = 1[0m
|
1217
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1218
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1219
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1220
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1221
|
-
Connecting to database specified by database.yml
|
1222
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1223
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1224
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1225
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1226
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1227
|
-
[1m[35mSQL (2.1ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1228
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1229
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1230
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1231
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1232
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1233
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1234
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1235
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1236
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1237
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1238
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1239
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1240
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1241
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1242
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1243
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1244
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1245
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1246
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1247
|
-
[1m[35m (1.2ms)[0m rollback transaction
|
1248
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1249
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1250
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1251
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1252
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1253
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1254
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1255
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1256
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1257
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1258
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1259
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1260
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1261
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1262
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1263
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
1264
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1265
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1266
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1267
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
1268
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1269
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1270
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1271
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1272
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1273
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1274
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", nil]]
|
1275
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1276
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1277
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1278
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1279
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1280
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1281
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1282
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1283
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1284
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
1285
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1286
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1287
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1288
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1289
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1290
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1291
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1292
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1293
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1294
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1295
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1296
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1297
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1298
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1299
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1300
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1301
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1302
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1303
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1304
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1305
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1306
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1307
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:32:02 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1308
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1309
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1310
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1311
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1312
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1313
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
1314
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 17:32:02.483636' WHERE "national_parks"."id" = 1[0m
|
1315
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1316
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1317
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1318
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1319
|
-
Connecting to database specified by database.yml
|
1320
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1321
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1322
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1323
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1324
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1325
|
-
[1m[35mSQL (2.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1326
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1327
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1328
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1329
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1330
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1331
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1332
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1333
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1334
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1335
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1336
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1337
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1338
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1339
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1340
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1341
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1342
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1343
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1344
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1345
|
-
[1m[35m (1.0ms)[0m rollback transaction
|
1346
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1347
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1348
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1349
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1350
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1351
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1352
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1353
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1354
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1355
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1356
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1357
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1358
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1359
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1360
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1361
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
1362
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1363
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1364
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1365
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
1366
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1367
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1368
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1369
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1370
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1371
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1372
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", nil]]
|
1373
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1374
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1375
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1376
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1377
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1378
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1379
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1380
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1381
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1382
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
1383
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1384
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1385
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1386
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1387
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1388
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1389
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1390
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1391
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1392
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1393
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1394
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1395
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1396
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1397
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1398
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1399
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1400
|
-
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1401
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1402
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1403
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1404
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1405
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:33:51 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1406
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1407
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1408
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1409
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1410
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1411
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
1412
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 17:33:51.093406' WHERE "national_parks"."id" = 1[0m
|
1413
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1414
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1415
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1416
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1417
|
-
Connecting to database specified by database.yml
|
1418
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1419
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1420
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1421
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1422
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1423
|
-
[1m[35mSQL (2.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:36:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:36:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1424
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1425
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1426
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1427
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1428
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1429
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1430
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1431
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1432
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1433
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1434
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1435
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1436
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1437
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1438
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1439
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1440
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1441
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1442
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1443
|
-
[1m[35m (1.3ms)[0m rollback transaction
|
1444
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1445
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1446
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1447
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1448
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1449
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1450
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1451
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1452
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1453
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1454
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1455
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1456
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1457
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1458
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1459
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
1460
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1461
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1462
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1463
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
1464
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1465
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1466
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1467
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1468
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1469
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1470
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["url", nil]]
|
1471
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1472
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1473
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1474
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1475
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1476
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1477
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1478
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1479
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1480
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
1481
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1482
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1483
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1484
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1485
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1486
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1487
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1488
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1489
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1490
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1491
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1492
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1493
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1494
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1495
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1496
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1497
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1498
|
-
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
1499
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1500
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1501
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1502
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1503
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 17:36:30 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1504
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1505
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)
|
1506
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1507
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1508
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1509
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
1510
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 17:36:30.040986' WHERE "national_parks"."id" = 1[0m
|
1511
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1512
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (built_in_key IS NOT NULL)[0m
|
1513
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1514
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1515
|
-
Connecting to database specified by database.yml
|
1516
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1517
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1518
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1519
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1520
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1521
|
-
[1m[35mSQL (79.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1522
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1523
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1524
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1525
3
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1526
|
-
[1m[36m (
|
1527
|
-
[1m[
|
1528
|
-
[1m[
|
1529
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1530
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1531
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1532
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1533
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1534
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1535
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1536
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1537
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1538
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1539
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1540
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1541
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1542
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1543
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1544
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1545
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1546
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
4
|
+
[1m[36m (20.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5
|
+
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
6
|
+
[1m[36mSQL (25.8ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1547
7
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1548
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1549
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1550
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1551
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1552
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1553
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1554
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1555
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1556
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1557
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
1558
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1559
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1560
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1561
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
1562
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1563
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1564
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1565
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
1566
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1567
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1568
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", nil], ["name", "Testing"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", nil]]
|
1569
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1570
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1571
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1572
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1573
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1574
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1575
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1576
8
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1577
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1578
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
1579
9
|
[1m[35m (0.4ms)[0m rollback transaction
|
1580
10
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1581
|
-
[1m[35m (0.
|
1582
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1583
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1584
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1585
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1586
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1587
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1588
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1589
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1590
|
-
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1591
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1592
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1593
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1594
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1595
|
-
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1596
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1597
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1598
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1599
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1600
|
-
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1601
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["updated_at", Thu, 01 Nov 2012 22:53:26 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1602
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1603
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1604
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1605
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1606
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1607
|
-
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1
|
1608
|
-
[1m[36m (0.1ms)[0m [1mUPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2012-11-01 22:53:26.433874' WHERE "national_parks"."id" = 1[0m
|
1609
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1610
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1611
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1612
|
-
[1m[36m (1.8ms)[0m [1mrollback transaction[0m
|
1613
|
-
Connecting to database specified by database.yml
|
1614
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1615
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
11
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1616
12
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1617
13
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1618
14
|
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1619
|
-
[1m[35mSQL (
|
1620
|
-
[1m[36m (0.
|
15
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
16
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1621
17
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1622
18
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1623
19
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1624
|
-
[1m[36m (0.
|
20
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1625
21
|
[1m[35m (0.0ms)[0m begin transaction
|
1626
22
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1627
23
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1628
24
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1629
25
|
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1630
|
-
[1m[36mSQL (0.
|
26
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1631
27
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1632
28
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1633
29
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1634
30
|
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1635
|
-
[1m[35mSQL (0.
|
31
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1636
32
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1637
33
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1638
34
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
@@ -1641,19 +37,19 @@ Connecting to database specified by database.yml
|
|
1641
37
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1642
38
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1643
39
|
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1644
|
-
[1m[36mSQL (0.
|
40
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1645
41
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1646
42
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1647
43
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1648
44
|
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1649
|
-
[1m[35mSQL (0.
|
45
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1650
46
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1651
47
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1652
48
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1653
49
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1654
50
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1655
51
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
1656
|
-
[1m[36m (0.
|
52
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1657
53
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1658
54
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1659
55
|
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
@@ -1663,13 +59,13 @@ Connecting to database specified by database.yml
|
|
1663
59
|
[1m[35m (0.4ms)[0m rollback transaction
|
1664
60
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1665
61
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1666
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at",
|
62
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", nil], ["name", "Testing"], ["protected_attribute_column", nil], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", nil]]
|
1667
63
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1668
64
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1669
65
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1670
66
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1671
67
|
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1672
|
-
[1m[36mSQL (0.
|
68
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1673
69
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1674
70
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1675
71
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
@@ -1680,14 +76,14 @@ Connecting to database specified by database.yml
|
|
1680
76
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1681
77
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1682
78
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1683
|
-
[1m[35mNationalPark Exists (0.
|
1684
|
-
[1m[36mSQL (
|
79
|
+
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
80
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1685
81
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1686
82
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1687
83
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1688
84
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1689
|
-
[1m[35m (0.
|
1690
|
-
[1m[36mSQL (0.
|
85
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1691
87
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1692
88
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1693
89
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
@@ -1696,12 +92,12 @@ Connecting to database specified by database.yml
|
|
1696
92
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
1697
93
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1698
94
|
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
1699
|
-
[1m[35mSQL (0.
|
1700
|
-
[1m[36m (0.
|
95
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
96
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1701
97
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1702
98
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1703
99
|
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1704
|
-
[1m[36mSQL (0.
|
100
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1705
101
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1706
102
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1707
103
|
[1m[35m (0.4ms)[0m rollback transaction
|
@@ -1709,153 +105,34 @@ Connecting to database specified by database.yml
|
|
1709
105
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1710
106
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1711
107
|
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1712
|
-
[1m[36mSQL (0.
|
108
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:16 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1713
109
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1714
110
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1715
111
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1716
112
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1717
113
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1718
114
|
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
1719
|
-
[1m[35m (0.
|
115
|
+
[1m[35m (0.3ms)[0m UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2013-03-26 22:32:16.444285' WHERE "national_parks"."id" = 1
|
1720
116
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1721
|
-
[1m[35mNationalPark Load (0.
|
1722
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1723
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1724
|
-
Connecting to database specified by database.yml
|
1725
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1726
|
-
[1m[35mNationalPark Load (0.2ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1727
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1728
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1729
|
-
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1730
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1731
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1732
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1733
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1734
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
117
|
+
[1m[35mNationalPark Load (0.2ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1735
118
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1736
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1737
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1738
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1739
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1740
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1741
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1742
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1743
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1744
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1745
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1746
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1747
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1748
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1749
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1750
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1751
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1752
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1753
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1754
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1755
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1756
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1757
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1758
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1759
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1760
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1761
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1762
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1763
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1764
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1765
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1766
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1767
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1768
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1769
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1770
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1771
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1772
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1773
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1774
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
1775
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1776
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1777
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1778
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
1779
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1780
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1781
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1782
119
|
[1m[35m (0.5ms)[0m rollback transaction
|
1783
|
-
|
1784
|
-
[1m[
|
1785
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", nil], ["name", "Testing"], ["protected_attribute_column", nil], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", nil]]
|
1786
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1787
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1788
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1789
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1790
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1791
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1792
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1793
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1794
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1795
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
1796
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1797
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1798
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1799
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1800
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1801
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1802
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1803
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1804
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1805
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1806
|
-
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1807
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1808
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1809
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1810
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1811
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1812
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1813
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1814
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1815
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
1816
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1817
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
1818
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1819
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1820
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1821
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1822
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1823
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "glacier"], ["created_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:29 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1824
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1825
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1826
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
1827
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
120
|
+
Connecting to database specified by database.yml
|
121
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1828
122
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1829
123
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1830
124
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1831
|
-
[1m[36mSQL (
|
125
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1832
126
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1833
127
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1834
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1835
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1836
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1837
|
-
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
1838
|
-
[1m[35m (0.2ms)[0m UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2013-07-10 19:04:29.108303' WHERE "national_parks"."id" = 1
|
1839
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1840
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1841
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1842
128
|
[1m[35m (0.4ms)[0m rollback transaction
|
1843
|
-
Connecting to database specified by database.yml
|
1844
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1845
|
-
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1846
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1847
|
-
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1848
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Wed, 10 Jul 2013 19:04:55 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Wed, 10 Jul 2013 19:04:55 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1849
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1850
|
-
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1851
|
-
[1m[35m (0.6ms)[0m rollback transaction
|
1852
129
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1853
130
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1854
131
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1855
132
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1856
|
-
[1m[36mNationalPark Exists (0.
|
1857
|
-
[1m[35mSQL (0.
|
1858
|
-
[1m[36m (0.
|
133
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
134
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1859
136
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1860
137
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1861
138
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
@@ -1864,13 +141,13 @@ Connecting to database specified by database.yml
|
|
1864
141
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1865
142
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1866
143
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1867
|
-
[1m[35mNationalPark Exists (0.
|
1868
|
-
[1m[36mSQL (0.
|
1869
|
-
[1m[35m (0.
|
144
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
145
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
146
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1870
147
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1871
148
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1872
149
|
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1873
|
-
[1m[35mSQL (0.
|
150
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1874
151
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1875
152
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1876
153
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
@@ -1878,13 +155,13 @@ Connecting to database specified by database.yml
|
|
1878
155
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1879
156
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1880
157
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1881
|
-
[1m[35mNationalPark Exists (0.
|
1882
|
-
[1m[36mSQL (0.
|
158
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
159
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1883
160
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1884
161
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1885
162
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1886
|
-
[1m[36mNationalPark Exists (0.
|
1887
|
-
[1m[35mSQL (0.
|
163
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
164
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1888
165
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1889
166
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1890
167
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
@@ -1894,20 +171,20 @@ Connecting to database specified by database.yml
|
|
1894
171
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1895
172
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1896
173
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1897
|
-
[1m[35mNationalPark Exists (0.
|
174
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
1898
175
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1899
176
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1900
177
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1901
|
-
[1m[35m (0.
|
178
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1902
179
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1903
180
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1904
|
-
[1m[36mSQL (0.
|
1905
|
-
[1m[35m (0.
|
1906
|
-
[1m[36m (0.
|
181
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", nil], ["name", "Testing"], ["protected_attribute_column", nil], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", nil]]
|
182
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
183
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1907
184
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1908
185
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1909
|
-
[1m[35mNationalPark Exists (0.
|
1910
|
-
[1m[36mSQL (0.
|
186
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
187
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1911
188
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1912
189
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1913
190
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
@@ -1915,118 +192,118 @@ Connecting to database specified by database.yml
|
|
1915
192
|
[1m[35m (0.4ms)[0m rollback transaction
|
1916
193
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1917
194
|
[1m[35m (0.0ms)[0m rollback transaction
|
1918
|
-
[1m[36m (0.
|
195
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1919
196
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1920
197
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1921
|
-
[1m[35mNationalPark Exists (0.
|
1922
|
-
[1m[36mSQL (0.
|
198
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
199
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1923
200
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1924
201
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1925
202
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1926
203
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1927
204
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1928
|
-
[1m[36mSQL (0.
|
205
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
1929
206
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1930
207
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1931
208
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1932
209
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1933
210
|
[1m[35m (0.0ms)[0m begin transaction
|
1934
|
-
[1m[36mNationalPark Load (0.
|
211
|
+
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
1935
212
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1936
|
-
[1m[36mNationalPark Exists (0.
|
1937
|
-
[1m[35mSQL (0.
|
1938
|
-
[1m[36m (0.
|
213
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
214
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
215
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1939
216
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
1940
217
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1941
|
-
[1m[35mNationalPark Exists (0.
|
1942
|
-
[1m[36mSQL (0.
|
218
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
219
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1943
220
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1944
221
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1945
222
|
[1m[35m (0.4ms)[0m rollback transaction
|
1946
223
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1947
224
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1948
225
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1949
|
-
[1m[35mNationalPark Exists (0.
|
1950
|
-
[1m[36mSQL (0.
|
226
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
227
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
1951
228
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1952
229
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1953
230
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1954
231
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1955
232
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1956
|
-
[1m[36mNationalPark Exists (0.
|
1957
|
-
[1m[35m (0.
|
1958
|
-
[1m[36m (0.
|
233
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
234
|
+
[1m[35m (0.3ms)[0m UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2013-03-26 22:32:24.942786' WHERE "national_parks"."id" = 1
|
235
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1959
236
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1960
237
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1961
|
-
[1m[35m (0.
|
238
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1962
239
|
Connecting to database specified by database.yml
|
1963
|
-
[1m[36m (0.
|
240
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1964
241
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1965
242
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1966
243
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1967
|
-
[1m[36mSQL (
|
1968
|
-
[1m[35m (0.
|
244
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
245
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1969
246
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
1970
|
-
[1m[35m (0.
|
247
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1971
248
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1972
249
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
1973
250
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
1974
251
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1975
|
-
[1m[36mNationalPark Exists (0.
|
1976
|
-
[1m[35mSQL (0.
|
1977
|
-
[1m[36m (0.
|
252
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
253
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
254
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1978
255
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1979
256
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1980
257
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
1981
|
-
[1m[36m (0.
|
258
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1982
259
|
[1m[35m (0.0ms)[0m begin transaction
|
1983
260
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1984
261
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1985
262
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1986
|
-
[1m[35mNationalPark Exists (0.
|
1987
|
-
[1m[36mSQL (0.
|
1988
|
-
[1m[35m (0.
|
263
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
264
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
265
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1989
266
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
1990
267
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1991
|
-
[1m[36mNationalPark Exists (0.
|
1992
|
-
[1m[35mSQL (0.
|
268
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
269
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
1993
270
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1994
271
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
1995
272
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
1996
|
-
[1m[35m (0.
|
273
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1997
274
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1998
275
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
1999
276
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2000
|
-
[1m[35mNationalPark Exists (0.
|
2001
|
-
[1m[36mSQL (0.
|
2002
|
-
[1m[35m (0.
|
2003
|
-
[1m[36mNationalPark Load (0.
|
277
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
278
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
280
|
+
[1m[36mNationalPark Load (0.2ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
2004
281
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2005
282
|
[1m[36mNationalPark Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
2006
|
-
[1m[35mSQL (0.
|
283
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
2007
284
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2008
285
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2009
286
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2010
287
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2011
288
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2012
289
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
2013
|
-
[1m[36m (0.
|
290
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2014
291
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
2015
292
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2016
293
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
2017
294
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2018
295
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2019
296
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2020
|
-
[1m[35m (
|
297
|
+
[1m[35m (2.4ms)[0m rollback transaction
|
2021
298
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2022
299
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2023
|
-
[1m[36mSQL (0.
|
300
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", nil], ["name", "Testing"], ["protected_attribute_column", nil], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", nil]]
|
2024
301
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2025
|
-
[1m[36m (0.
|
302
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2026
303
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2027
304
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2028
|
-
[1m[35mNationalPark Exists (0.
|
2029
|
-
[1m[36mSQL (0.
|
305
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
306
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2030
307
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2031
308
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2032
309
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
@@ -2037,14 +314,14 @@ Connecting to database specified by database.yml
|
|
2037
314
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2038
315
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2039
316
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2040
|
-
[1m[35mNationalPark Exists (0.
|
2041
|
-
[1m[36mSQL (0.
|
317
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
318
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2042
319
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2043
320
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2044
321
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
2045
322
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2046
323
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2047
|
-
[1m[36mSQL (0.
|
324
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
2048
325
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2049
326
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2050
327
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
@@ -2052,48 +329,48 @@ Connecting to database specified by database.yml
|
|
2052
329
|
[1m[35m (0.0ms)[0m begin transaction
|
2053
330
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
2054
331
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2055
|
-
[1m[36mNationalPark Exists (0.
|
2056
|
-
[1m[35mSQL (0.
|
2057
|
-
[1m[36m (0.
|
332
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
333
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
334
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2058
335
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
2059
336
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2060
|
-
[1m[35mNationalPark Exists (0.
|
2061
|
-
[1m[36mSQL (0.
|
337
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
338
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "glacier"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
2062
339
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2063
340
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2064
|
-
[1m[35m (0.
|
341
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2065
342
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2066
343
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2067
344
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2068
345
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2069
|
-
[1m[36mSQL (0.
|
346
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 26 Mar 2013 22:32:57 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2070
347
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2071
348
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2072
349
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2073
350
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2074
351
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2075
|
-
[1m[36mNationalPark Exists (0.
|
2076
|
-
[1m[35m (0.
|
2077
|
-
[1m[36m (0.
|
352
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
353
|
+
[1m[35m (0.3ms)[0m UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2013-03-26 22:32:57.131671' WHERE "national_parks"."id" = 1
|
354
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2078
355
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2079
356
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2080
|
-
[1m[35m (0.
|
357
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2081
358
|
Connecting to database specified by database.yml
|
2082
359
|
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2083
360
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2084
|
-
[1m[36m (
|
361
|
+
[1m[36m (19.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2085
362
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2086
|
-
[1m[36mSQL (
|
2087
|
-
[1m[35m (0.
|
363
|
+
[1m[36mSQL (31.7ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
364
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2088
365
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2089
|
-
[1m[35m (0.
|
366
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2090
367
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2091
368
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
2092
369
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2093
370
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2094
|
-
[1m[36mNationalPark Exists (0.
|
2095
|
-
[1m[35mSQL (0.
|
2096
|
-
[1m[36m (0.
|
371
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
372
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
373
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2097
374
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2098
375
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2099
376
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
@@ -2102,30 +379,30 @@ Connecting to database specified by database.yml
|
|
2102
379
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2103
380
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2104
381
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2105
|
-
[1m[35mNationalPark Exists (0.
|
2106
|
-
[1m[36mSQL (0.
|
2107
|
-
[1m[35m (0.
|
382
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
383
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
384
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2108
385
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
2109
386
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2110
|
-
[1m[36mNationalPark Exists (0.
|
2111
|
-
[1m[35mSQL (0.
|
2112
|
-
[1m[36m (0.
|
387
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
388
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
389
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2113
390
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2114
|
-
[1m[36m (0.
|
2115
|
-
[1m[35m (0.
|
391
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
392
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2116
393
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2117
394
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2118
395
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2119
|
-
[1m[35mNationalPark Exists (0.
|
2120
|
-
[1m[36mSQL (0.
|
2121
|
-
[1m[35m (0.
|
2122
|
-
[1m[36mNationalPark Load (0.
|
396
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
397
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
399
|
+
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
2123
400
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2124
|
-
[1m[36mNationalPark Exists (0.
|
2125
|
-
[1m[35mSQL (0.
|
401
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
402
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
2126
403
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2127
404
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2128
|
-
[1m[36m (0.
|
405
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2129
406
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2130
407
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2131
408
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
@@ -2135,136 +412,136 @@ Connecting to database specified by database.yml
|
|
2135
412
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
2136
413
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2137
414
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2138
|
-
[1m[36m (0.
|
415
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2139
416
|
[1m[35m (0.5ms)[0m rollback transaction
|
2140
417
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2141
418
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2142
|
-
[1m[36mSQL (0.
|
2143
|
-
[1m[35m (0.
|
419
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", nil], ["name", "Testing"], ["protected_attribute_column", nil], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", nil]]
|
420
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2144
421
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2145
422
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2146
423
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2147
|
-
[1m[35mNationalPark Exists (0.
|
2148
|
-
[1m[36mSQL (0.
|
424
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
425
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2149
426
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2150
427
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2151
428
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
2152
429
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."id" = ? LIMIT 1[0m [["id", 1]]
|
2153
430
|
[1m[35m (0.4ms)[0m rollback transaction
|
2154
431
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2155
|
-
[1m[35m (0.
|
432
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2156
433
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2157
434
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2158
435
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2159
|
-
[1m[35mNationalPark Exists (0.
|
2160
|
-
[1m[36mSQL (0.
|
2161
|
-
[1m[35m (0.
|
436
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
437
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
438
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2162
439
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2163
440
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
2164
441
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2165
442
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2166
|
-
[1m[36mSQL (0.
|
2167
|
-
[1m[35m (0.
|
443
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
444
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2168
445
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2169
446
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2170
447
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2171
448
|
[1m[35m (0.0ms)[0m begin transaction
|
2172
|
-
[1m[36mNationalPark Load (0.
|
449
|
+
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
2173
450
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2174
|
-
[1m[36mNationalPark Exists (0.
|
2175
|
-
[1m[35mSQL (0.
|
2176
|
-
[1m[36m (0.
|
451
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
452
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
453
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2177
454
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
2178
455
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2179
|
-
[1m[35mNationalPark Exists (0.
|
2180
|
-
[1m[36mSQL (0.
|
456
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
457
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
2181
458
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2182
459
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2183
460
|
[1m[35m (0.4ms)[0m rollback transaction
|
2184
461
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2185
462
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2186
463
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2187
|
-
[1m[35mNationalPark Exists (0.
|
2188
|
-
[1m[36mSQL (0.
|
464
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
465
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:07:47 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2189
466
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2190
467
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2191
468
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2192
469
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2193
470
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2194
|
-
[1m[36mNationalPark Exists (0.
|
2195
|
-
[1m[35m (0.
|
2196
|
-
[1m[36m (0.
|
471
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
472
|
+
[1m[35m (0.4ms)[0m UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2013-09-17 17:07:47.751867' WHERE "national_parks"."id" = 1
|
473
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2197
474
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2198
475
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2199
|
-
[1m[35m (0.
|
476
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2200
477
|
Connecting to database specified by database.yml
|
2201
478
|
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2202
479
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2203
480
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2204
481
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2205
|
-
[1m[36mSQL (
|
2206
|
-
[1m[35m (0.
|
482
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2207
484
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2208
|
-
[1m[35m (0.
|
485
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2209
486
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2210
487
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
2211
488
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2212
489
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2213
|
-
[1m[36mNationalPark Exists (0.
|
2214
|
-
[1m[35mSQL (0.
|
2215
|
-
[1m[36m (0.
|
490
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
491
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
492
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2216
493
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2217
|
-
[1m[36m (0.
|
494
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2218
495
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2219
|
-
[1m[36m (0.
|
496
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2220
497
|
[1m[35m (0.0ms)[0m begin transaction
|
2221
498
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2222
499
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2223
500
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2224
|
-
[1m[35mNationalPark Exists (0.
|
2225
|
-
[1m[36mSQL (0.
|
501
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
502
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2226
503
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2227
504
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
2228
|
-
[1m[35m (0.
|
2229
|
-
[1m[36mNationalPark Exists (0.
|
2230
|
-
[1m[35mSQL (0.
|
2231
|
-
[1m[36m (0.
|
505
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
506
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
507
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2232
509
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2233
510
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2234
|
-
[1m[35m (0.
|
511
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2235
512
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2236
513
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2237
514
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2238
|
-
[1m[35mNationalPark Exists (0.
|
2239
|
-
[1m[36mSQL (0.
|
515
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
516
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2240
517
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2241
518
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
2242
519
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2243
|
-
[1m[36mNationalPark Exists (0.
|
2244
|
-
[1m[35mSQL (0.
|
2245
|
-
[1m[36m (0.
|
520
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
521
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
522
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2246
523
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2247
|
-
[1m[36m (0.
|
524
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2248
525
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2249
526
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2250
527
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'yellowstone' AND "national_parks"."id" != 1) LIMIT 1
|
2251
528
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2252
529
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
2253
530
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2254
|
-
[1m[35mNationalPark Exists (0.
|
531
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
2255
532
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2256
533
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2257
534
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2258
535
|
[1m[35m (0.5ms)[0m rollback transaction
|
2259
536
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2260
537
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2261
|
-
[1m[36mSQL (0.
|
538
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", nil], ["name", "Testing"], ["protected_attribute_column", nil], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", nil]]
|
2262
539
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2263
540
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2264
541
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2265
542
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2266
|
-
[1m[35mNationalPark Exists (0.
|
2267
|
-
[1m[36mSQL (0.
|
543
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
544
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2268
545
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2269
546
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2270
547
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
@@ -2275,92 +552,172 @@ Connecting to database specified by database.yml
|
|
2275
552
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2276
553
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2277
554
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2278
|
-
[1m[35mNationalPark Exists (0.
|
2279
|
-
[1m[36mSQL (0.
|
2280
|
-
[1m[35m (0.
|
555
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
556
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
557
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2281
558
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2282
559
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
2283
560
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2284
561
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2285
|
-
[1m[36mSQL (0.
|
2286
|
-
[1m[35m (0.
|
562
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2287
564
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2288
|
-
[1m[35mNationalPark Load (0.
|
565
|
+
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2289
566
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2290
567
|
[1m[35m (0.0ms)[0m begin transaction
|
2291
568
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
2292
569
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2293
|
-
[1m[36mNationalPark Exists (0.
|
2294
|
-
[1m[35mSQL (0.
|
2295
|
-
[1m[36m (0.
|
570
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
571
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2296
573
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
2297
574
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2298
|
-
[1m[35mNationalPark Exists (0.
|
2299
|
-
[1m[36mSQL (0.
|
575
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
576
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
2300
577
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2301
578
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2302
579
|
[1m[35m (0.4ms)[0m rollback transaction
|
2303
580
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2304
581
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2305
582
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2306
|
-
[1m[35mNationalPark Exists (0.
|
2307
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at",
|
2308
|
-
[1m[35m (0.
|
583
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
584
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:24 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
585
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2309
586
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2310
|
-
[1m[35mNationalPark Load (0.
|
2311
|
-
[1m[36mNationalPark Load (0.
|
587
|
+
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
588
|
+
[1m[36mNationalPark Load (0.0ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2312
589
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2313
|
-
[1m[36mNationalPark Exists (0.
|
2314
|
-
[1m[35m (0.
|
2315
|
-
[1m[36m (0.
|
590
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
591
|
+
[1m[35m (0.2ms)[0m UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2013-09-17 17:08:24.895173' WHERE "national_parks"."id" = 1
|
592
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2316
593
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2317
594
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2318
|
-
[1m[35m (0.
|
595
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2319
596
|
Connecting to database specified by database.yml
|
2320
597
|
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2321
598
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2322
|
-
[1m[36m (0.
|
599
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2323
600
|
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2324
|
-
[1m[36mSQL (
|
2325
|
-
[1m[35m (0.
|
601
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
602
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
603
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
604
|
+
[1m[35m (0.0ms)[0m begin transaction
|
605
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
606
|
+
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
608
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
609
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
610
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
611
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
613
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
614
|
+
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
615
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
616
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
617
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
618
|
+
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
619
|
+
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
620
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
621
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
622
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
623
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
624
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
625
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
626
|
+
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
627
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
628
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
629
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
630
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
631
|
+
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
632
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
633
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
634
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
635
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
636
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
637
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
638
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
639
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", nil], ["name", "Testing"], ["protected_attribute_column", nil], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", nil]]
|
640
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
641
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
642
|
+
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
643
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
644
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
645
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
646
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
647
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
648
|
+
[1m[35m (0.0ms)[0m begin transaction
|
649
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
650
|
+
[1m[35m (0.0ms)[0m begin transaction
|
651
|
+
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
653
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
654
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
655
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
656
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
657
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
658
|
+
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
659
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
660
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
661
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
663
|
+
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
664
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
665
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
666
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
667
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
668
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
669
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
670
|
+
[1m[35mNationalPark Load (2.3ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
671
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
672
|
+
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
673
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:34 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
675
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
676
|
+
Connecting to database specified by database.yml
|
677
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
678
|
+
[1m[35mNationalPark Load (0.2ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
679
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
680
|
+
[1m[35mNationalPark Exists (0.1ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
681
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
682
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2326
683
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2327
|
-
[1m[35m (0.
|
684
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2328
685
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2329
686
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "national_parks"
|
2330
687
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2331
688
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2332
|
-
[1m[36mNationalPark Exists (0.
|
2333
|
-
[1m[35mSQL (0.
|
689
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
690
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2334
691
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2335
692
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2336
|
-
[1m[36m (0.
|
693
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2337
694
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2338
|
-
[1m[36m (0.
|
695
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2339
696
|
[1m[35m (0.0ms)[0m begin transaction
|
2340
697
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2341
698
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2342
699
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2343
|
-
[1m[35mNationalPark Exists (0.
|
2344
|
-
[1m[36mSQL (0.
|
700
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
701
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2345
702
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2346
703
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
2347
704
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2348
|
-
[1m[36mNationalPark Exists (0.
|
2349
|
-
[1m[35mSQL (0.
|
2350
|
-
[1m[36m (0.
|
705
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
706
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
707
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2351
708
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2352
709
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2353
710
|
[1m[35m (0.4ms)[0m rollback transaction
|
2354
711
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2355
712
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
2356
713
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2357
|
-
[1m[35mNationalPark Exists (0.
|
2358
|
-
[1m[36mSQL (0.
|
714
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1
|
715
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2359
716
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2360
717
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
2361
718
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2362
|
-
[1m[36mNationalPark Exists (0.
|
2363
|
-
[1m[35mSQL (0.
|
719
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1[0m
|
720
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
2364
721
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2365
722
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2366
723
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
@@ -2370,20 +727,20 @@ Connecting to database specified by database.yml
|
|
2370
727
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2371
728
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
2372
729
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2373
|
-
[1m[35mNationalPark Exists (0.
|
730
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'glacier' AND "national_parks"."id" != 2) LIMIT 1
|
2374
731
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2375
732
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2376
733
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2377
734
|
[1m[35m (0.5ms)[0m rollback transaction
|
2378
735
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2379
736
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2380
|
-
[1m[36mSQL (0.
|
2381
|
-
[1m[35m (0.
|
737
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", nil], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", nil], ["name", "Testing"], ["protected_attribute_column", nil], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", nil]]
|
738
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2382
739
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2383
740
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2384
|
-
[1m[36m (0.
|
2385
|
-
[1m[35mNationalPark Exists (0.
|
2386
|
-
[1m[36mSQL (0.
|
741
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
742
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
743
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2387
744
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2388
745
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2389
746
|
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
@@ -2392,46 +749,46 @@ Connecting to database specified by database.yml
|
|
2392
749
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2393
750
|
[1m[35m (0.0ms)[0m rollback transaction
|
2394
751
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2395
|
-
[1m[35mNationalPark Load (0.
|
752
|
+
[1m[35mNationalPark Load (0.2ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2396
753
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2397
|
-
[1m[35mNationalPark Exists (0.
|
2398
|
-
[1m[36mSQL (0.
|
2399
|
-
[1m[35m (0.
|
754
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
755
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:42 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
756
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2400
757
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2401
|
-
[1m[35m (0.
|
758
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "national_parks"
|
2402
759
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2403
760
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2404
|
-
[1m[36mSQL (0.
|
761
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "national_parks" WHERE "national_parks"."id" = ?[0m [["id", 1]]
|
2405
762
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2406
763
|
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "national_parks" [0m
|
2407
|
-
[1m[35mNationalPark Load (0.
|
2408
|
-
[1m[36m (0.
|
2409
|
-
[1m[35m (0.
|
764
|
+
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
765
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
766
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2410
767
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
2411
768
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2412
|
-
[1m[36mNationalPark Exists (0.
|
2413
|
-
[1m[35mSQL (0.
|
2414
|
-
[1m[36m (0.
|
2415
|
-
[1m[35mNationalPark Load (0.
|
769
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'yellowstone' LIMIT 1[0m
|
770
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["built_in_key", "yellowstone"], ["created_at", Tue, 17 Sep 2013 17:08:43 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:43 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
771
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
772
|
+
[1m[35mNationalPark Load (0.0ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
2416
773
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2417
|
-
[1m[35mNationalPark Exists (0.
|
2418
|
-
[1m[36mSQL (0.
|
774
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'glacier' LIMIT 1
|
775
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "glacier"], ["created_at", Tue, 17 Sep 2013 17:08:43 UTC +00:00], ["established", Wed, 11 May 1910], ["name", "Glacier National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:43 UTC +00:00], ["url", "http://www.nps.gov/glac/index.htm"]]
|
2419
776
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2420
777
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2421
778
|
[1m[35m (0.4ms)[0m rollback transaction
|
2422
779
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2423
780
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2424
781
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2425
|
-
[1m[35mNationalPark Exists (0.
|
2426
|
-
[1m[36mSQL (0.
|
782
|
+
[1m[35mNationalPark Exists (0.0ms)[0m SELECT 1 AS one FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
783
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "national_parks" ("built_in_key", "created_at", "established", "name", "protected_attribute_column", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["built_in_key", "test"], ["created_at", Tue, 17 Sep 2013 17:08:43 UTC +00:00], ["established", Fri, 01 Mar 1872], ["name", "Yellowstone National Park"], ["protected_attribute_column", "protected data"], ["updated_at", Tue, 17 Sep 2013 17:08:43 UTC +00:00], ["url", "http://www.nps.gov/yell/index.htm"]]
|
2427
784
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2428
785
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)[0m
|
2429
786
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1
|
2430
787
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2431
788
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2432
|
-
[1m[36mNationalPark Exists (0.
|
2433
|
-
[1m[35m (0.
|
2434
|
-
[1m[36m (0.
|
789
|
+
[1m[36mNationalPark Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "national_parks" WHERE ("national_parks"."built_in_key" = 'test' AND "national_parks"."id" != 1) LIMIT 1[0m
|
790
|
+
[1m[35m (0.2ms)[0m UPDATE "national_parks" SET "url" = 'http://en.wikipedia.org/wiki/Yellowstone_National_Park', "updated_at" = '2013-09-17 17:08:43.013789' WHERE "national_parks"."id" = 1
|
791
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2435
792
|
[1m[35mNationalPark Load (0.1ms)[0m SELECT "national_parks".* FROM "national_parks" WHERE (national_parks.built_in_key IS NOT NULL)
|
2436
793
|
[1m[36mNationalPark Load (0.1ms)[0m [1mSELECT "national_parks".* FROM "national_parks" WHERE "national_parks"."built_in_key" = 'test' LIMIT 1[0m
|
2437
794
|
[1m[35m (0.4ms)[0m rollback transaction
|