views 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +37 -0
- data/lib/generators/views/templates/view.sql +0 -0
- data/lib/generators/views/view_generator.rb +15 -0
- data/lib/tasks/views.rake +7 -0
- data/lib/views/version.rb +3 -0
- data/lib/views.rb +52 -0
- data/test/dummy/Rakefile +5 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/product.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +12 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +25 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +10 -0
- data/test/dummy/config/database.yml.travis +12 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/migrate/20161017172847_create_products.rb +10 -0
- data/test/dummy/db/schema.rb +26 -0
- data/test/dummy/db/views/guitars.sql +7 -0
- data/test/dummy/log/development.log +68 -0
- data/test/dummy/log/test.log +1138 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/generators_test.rb +19 -0
- data/test/tasks_test.rb +28 -0
- data/test/test_helper.rb +14 -0
- metadata +185 -0
@@ -0,0 +1,1138 @@
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
[1m[36m (177.5ms)[0m [1mDROP DATABASE IF EXISTS "slugs_test"[0m
|
3
|
+
[1m[35m (414.3ms)[0m CREATE DATABASE "slugs_test" ENCODING = 'utf8'
|
4
|
+
[1m[36m (181.4ms)[0m [1mDROP DATABASE IF EXISTS "sql_views_test"[0m
|
5
|
+
[1m[35m (402.8ms)[0m CREATE DATABASE "sql_views_test" ENCODING = 'utf8'
|
6
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
7
|
+
[1m[35m (3.7ms)[0m CREATE TABLE "users" ("id" serial primary key, "name" character varying, "enabled" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
8
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
9
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
10
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20161017172847')
|
12
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
13
|
+
[1m[35m (0.3ms)[0m BEGIN
|
14
|
+
----------------------
|
15
|
+
ViewsTest: test_update
|
16
|
+
----------------------
|
17
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
18
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "enabled", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["enabled", "t"], ["created_at", "2016-10-17 17:41:06.569048"], ["updated_at", "2016-10-17 17:41:06.569048"]]
|
19
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
21
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "enabled", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Mike"], ["enabled", "f"], ["created_at", "2016-10-17 17:41:06.573626"], ["updated_at", "2016-10-17 17:41:06.573626"]]
|
22
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23
|
+
[1m[36m (18.2ms)[0m [1mDROP VIEW IF EXISTS enabled_users[0m
|
24
|
+
[1m[35m (6.7ms)[0m CREATE VIEW enabled_users AS
|
25
|
+
|
26
|
+
SELECT
|
27
|
+
users.name
|
28
|
+
FROM
|
29
|
+
users
|
30
|
+
WHERE
|
31
|
+
users.enabled = 1
|
32
|
+
|
33
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
34
|
+
[1m[36m (180.0ms)[0m [1mDROP DATABASE IF EXISTS "sql_views_test"[0m
|
35
|
+
[1m[35m (361.0ms)[0m CREATE DATABASE "sql_views_test" ENCODING = 'utf8'
|
36
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
37
|
+
[1m[35m (3.9ms)[0m CREATE TABLE "products" ("id" serial primary key, "name" character varying, "category" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
38
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
39
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
40
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
41
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20161017172847')
|
42
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
43
|
+
[1m[35m (0.2ms)[0m BEGIN
|
44
|
+
----------------------
|
45
|
+
ViewsTest: test_update
|
46
|
+
----------------------
|
47
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
48
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 17:45:43.742379"], ["updated_at", "2016-10-17 17:45:43.742379"]]
|
49
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
51
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:45:43.747000"], ["updated_at", "2016-10-17 17:45:43.747000"]]
|
52
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
53
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
54
|
+
[1m[35m (1.3ms)[0m CREATE VIEW guitars AS
|
55
|
+
|
56
|
+
SELECT
|
57
|
+
products.*
|
58
|
+
FROM
|
59
|
+
products
|
60
|
+
WHERE
|
61
|
+
products.category = 'Guitar'
|
62
|
+
|
63
|
+
[1m[36m (6.3ms)[0m [1mSLECT COUNT(*) FROM guitars[0m
|
64
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
65
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
66
|
+
[1m[35m (0.2ms)[0m BEGIN
|
67
|
+
----------------------
|
68
|
+
ViewsTest: test_update
|
69
|
+
----------------------
|
70
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
71
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 17:45:53.861858"], ["updated_at", "2016-10-17 17:45:53.861858"]]
|
72
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
73
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
74
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:45:53.865026"], ["updated_at", "2016-10-17 17:45:53.865026"]]
|
75
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
77
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
78
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
79
|
+
[1m[35m (0.2ms)[0m BEGIN
|
80
|
+
----------------------
|
81
|
+
ViewsTest: test_update
|
82
|
+
----------------------
|
83
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
84
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 17:46:37.264949"], ["updated_at", "2016-10-17 17:46:37.264949"]]
|
85
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:46:37.268535"], ["updated_at", "2016-10-17 17:46:37.268535"]]
|
88
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
89
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
90
|
+
[1m[35m (1.3ms)[0m CREATE VIEW guitars AS
|
91
|
+
|
92
|
+
SELECT
|
93
|
+
products.*
|
94
|
+
FROM
|
95
|
+
products
|
96
|
+
WHERE
|
97
|
+
products.category = 'Guitar'
|
98
|
+
|
99
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
100
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
101
|
+
[1m[35m (0.2ms)[0m BEGIN
|
102
|
+
----------------------
|
103
|
+
ViewsTest: test_update
|
104
|
+
----------------------
|
105
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
106
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 17:47:39.252052"], ["updated_at", "2016-10-17 17:47:39.252052"]]
|
107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
108
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
109
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:47:39.255116"], ["updated_at", "2016-10-17 17:47:39.255116"]]
|
110
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
111
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
112
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
113
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
114
|
+
[1m[35m (0.2ms)[0m BEGIN
|
115
|
+
----------------------
|
116
|
+
ViewsTest: test_update
|
117
|
+
----------------------
|
118
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
119
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 17:47:49.005223"], ["updated_at", "2016-10-17 17:47:49.005223"]]
|
120
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
122
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:47:49.009281"], ["updated_at", "2016-10-17 17:47:49.009281"]]
|
123
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
124
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
125
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
126
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
127
|
+
[1m[35m (0.2ms)[0m BEGIN
|
128
|
+
----------------------
|
129
|
+
ViewsTest: test_update
|
130
|
+
----------------------
|
131
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
132
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 17:48:15.525408"], ["updated_at", "2016-10-17 17:48:15.525408"]]
|
133
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
134
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
135
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:48:15.528578"], ["updated_at", "2016-10-17 17:48:15.528578"]]
|
136
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
137
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
138
|
+
[1m[35m (1.3ms)[0m CREATE VIEW guitars AS
|
139
|
+
|
140
|
+
SELECT
|
141
|
+
products.*
|
142
|
+
FROM
|
143
|
+
products
|
144
|
+
WHERE
|
145
|
+
products.category = 'Guitar'
|
146
|
+
|
147
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
148
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
149
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
150
|
+
[1m[35m (0.2ms)[0m BEGIN
|
151
|
+
----------------------
|
152
|
+
TasksTest: test_update
|
153
|
+
----------------------
|
154
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
155
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
156
|
+
[1m[35m (0.2ms)[0m BEGIN
|
157
|
+
----------------------
|
158
|
+
TasksTest: test_update
|
159
|
+
----------------------
|
160
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
161
|
+
[1m[35m (1.4ms)[0m CREATE VIEW guitars AS
|
162
|
+
|
163
|
+
SELECT
|
164
|
+
products.*
|
165
|
+
FROM
|
166
|
+
products
|
167
|
+
WHERE
|
168
|
+
products.category = 'Guitar'
|
169
|
+
|
170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
171
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 17:53:00.487088"], ["updated_at", "2016-10-17 17:53:00.487088"]]
|
172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
173
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
174
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:53:00.491383"], ["updated_at", "2016-10-17 17:53:00.491383"]]
|
175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
176
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
177
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
178
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
179
|
+
[1m[35m (0.4ms)[0m BEGIN
|
180
|
+
----------------------
|
181
|
+
TasksTest: test_update
|
182
|
+
----------------------
|
183
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
184
|
+
[1m[35m (1.6ms)[0m CREATE VIEW guitars AS
|
185
|
+
|
186
|
+
SELECT
|
187
|
+
products.*
|
188
|
+
FROM
|
189
|
+
products
|
190
|
+
WHERE
|
191
|
+
products.category = 'Guitar'
|
192
|
+
|
193
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
194
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 17:53:15.653556"], ["updated_at", "2016-10-17 17:53:15.653556"]]
|
195
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
196
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
197
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:53:15.657449"], ["updated_at", "2016-10-17 17:53:15.657449"]]
|
198
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
199
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
200
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
201
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
202
|
+
[1m[35m (0.2ms)[0m BEGIN
|
203
|
+
----------------------
|
204
|
+
TasksTest: test_update
|
205
|
+
----------------------
|
206
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
207
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:10:18.627497"], ["updated_at", "2016-10-17 18:10:18.627497"]]
|
208
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
209
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
210
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:10:18.631851"], ["updated_at", "2016-10-17 18:10:18.631851"]]
|
211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
212
|
+
[1m[36m (6.8ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
213
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
214
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
215
|
+
[1m[35m (0.2ms)[0m BEGIN
|
216
|
+
----------------------
|
217
|
+
TasksTest: test_update
|
218
|
+
----------------------
|
219
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
220
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:11:02.587072"], ["updated_at", "2016-10-17 18:11:02.587072"]]
|
221
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
222
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
223
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:11:02.591133"], ["updated_at", "2016-10-17 18:11:02.591133"]]
|
224
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
225
|
+
[1m[36m (6.5ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
226
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
227
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
228
|
+
[1m[35m (0.2ms)[0m BEGIN
|
229
|
+
----------------------
|
230
|
+
TasksTest: test_update
|
231
|
+
----------------------
|
232
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
233
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:29:35.368846"], ["updated_at", "2016-10-17 18:29:35.368846"]]
|
234
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
235
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
236
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:29:35.373130"], ["updated_at", "2016-10-17 18:29:35.373130"]]
|
237
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
238
|
+
[1m[36m (6.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
239
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
240
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
241
|
+
[1m[35m (0.2ms)[0m BEGIN
|
242
|
+
----------------------
|
243
|
+
TasksTest: test_update
|
244
|
+
----------------------
|
245
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
246
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:29:57.654568"], ["updated_at", "2016-10-17 18:29:57.654568"]]
|
247
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
248
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
249
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:29:57.659021"], ["updated_at", "2016-10-17 18:29:57.659021"]]
|
250
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
251
|
+
[1m[36m (6.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
252
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
253
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
254
|
+
[1m[35m (0.2ms)[0m BEGIN
|
255
|
+
----------------------
|
256
|
+
TasksTest: test_update
|
257
|
+
----------------------
|
258
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
259
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:30:52.968188"], ["updated_at", "2016-10-17 18:30:52.968188"]]
|
260
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
262
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:30:52.972337"], ["updated_at", "2016-10-17 18:30:52.972337"]]
|
263
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
264
|
+
[1m[36m (6.6ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
265
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
266
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
267
|
+
[1m[35m (0.2ms)[0m BEGIN
|
268
|
+
----------------------
|
269
|
+
TasksTest: test_update
|
270
|
+
----------------------
|
271
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
272
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:31:06.457128"], ["updated_at", "2016-10-17 18:31:06.457128"]]
|
273
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
274
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
275
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:31:06.461286"], ["updated_at", "2016-10-17 18:31:06.461286"]]
|
276
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
277
|
+
[1m[36m (6.6ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
278
|
+
[1m[35m (0.3ms)[0m DROP VIEW IF EXISTS guitars
|
279
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
280
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
281
|
+
[1m[35m (0.2ms)[0m BEGIN
|
282
|
+
----------------------
|
283
|
+
TasksTest: test_update
|
284
|
+
----------------------
|
285
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
286
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:32:11.889772"], ["updated_at", "2016-10-17 18:32:11.889772"]]
|
287
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
288
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
289
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:32:11.893827"], ["updated_at", "2016-10-17 18:32:11.893827"]]
|
290
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
291
|
+
[1m[36m (6.6ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
292
|
+
[1m[35m (0.3ms)[0m DROP VIEW guitars IF EXISTS
|
293
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
294
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
295
|
+
[1m[35m (0.2ms)[0m BEGIN
|
296
|
+
----------------------
|
297
|
+
TasksTest: test_update
|
298
|
+
----------------------
|
299
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
300
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:32:41.704051"], ["updated_at", "2016-10-17 18:32:41.704051"]]
|
301
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
302
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
303
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:32:41.708326"], ["updated_at", "2016-10-17 18:32:41.708326"]]
|
304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
305
|
+
[1m[36m (6.5ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
306
|
+
[1m[35m (0.3ms)[0m DROP VIEW IF EXISTS guitars
|
307
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
308
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
309
|
+
[1m[35m (0.2ms)[0m BEGIN
|
310
|
+
----------------------
|
311
|
+
TasksTest: test_update
|
312
|
+
----------------------
|
313
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
314
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:34:43.126856"], ["updated_at", "2016-10-17 18:34:43.126856"]]
|
315
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
317
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:34:43.131098"], ["updated_at", "2016-10-17 18:34:43.131098"]]
|
318
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
319
|
+
[1m[36m (6.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
320
|
+
[1m[35m (0.3ms)[0m DROP VIEW IF EXISTS guitars
|
321
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
322
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
323
|
+
[1m[35m (0.2ms)[0m BEGIN
|
324
|
+
----------------------
|
325
|
+
TasksTest: test_update
|
326
|
+
----------------------
|
327
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
328
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:34:55.609565"], ["updated_at", "2016-10-17 18:34:55.609565"]]
|
329
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
330
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
331
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:34:55.612768"], ["updated_at", "2016-10-17 18:34:55.612768"]]
|
332
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
333
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
334
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
335
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
336
|
+
[1m[35m (0.3ms)[0m BEGIN
|
337
|
+
----------------------
|
338
|
+
TasksTest: test_update
|
339
|
+
----------------------
|
340
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
341
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:35:06.067217"], ["updated_at", "2016-10-17 18:35:06.067217"]]
|
342
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
343
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
344
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:35:06.070640"], ["updated_at", "2016-10-17 18:35:06.070640"]]
|
345
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
346
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
347
|
+
[1m[35m (0.3ms)[0m DROP VIEW IF EXISTS guitars
|
348
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
349
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
350
|
+
[1m[35m (0.4ms)[0m BEGIN
|
351
|
+
----------------------
|
352
|
+
TasksTest: test_update
|
353
|
+
----------------------
|
354
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
355
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:37:51.655249"], ["updated_at", "2016-10-17 18:37:51.655249"]]
|
356
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
357
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
358
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:37:51.659542"], ["updated_at", "2016-10-17 18:37:51.659542"]]
|
359
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
360
|
+
[1m[36m (8.7ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
361
|
+
[1m[35m (0.3ms)[0m DROP VIEW IF EXISTS guitars
|
362
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
363
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
364
|
+
[1m[35m (0.2ms)[0m BEGIN
|
365
|
+
----------------------
|
366
|
+
TasksTest: test_update
|
367
|
+
----------------------
|
368
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
369
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:38:21.925906"], ["updated_at", "2016-10-17 18:38:21.925906"]]
|
370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
371
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
372
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:38:21.929877"], ["updated_at", "2016-10-17 18:38:21.929877"]]
|
373
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
374
|
+
[1m[36m (6.5ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
375
|
+
[1m[35m (0.2ms)[0m DROP VIEW IF EXISTS guitars
|
376
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
377
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
378
|
+
[1m[35m (0.2ms)[0m BEGIN
|
379
|
+
----------------------
|
380
|
+
TasksTest: test_update
|
381
|
+
----------------------
|
382
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
383
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:38:30.982831"], ["updated_at", "2016-10-17 18:38:30.982831"]]
|
384
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
385
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
386
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:38:30.987091"], ["updated_at", "2016-10-17 18:38:30.987091"]]
|
387
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
388
|
+
[1m[36m (6.6ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
389
|
+
[1m[35m (4.6ms)[0m DROP VIEW IF EXISTS guitars
|
390
|
+
[1m[36mActiveRecord::SchemaMigration Load (28.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
391
|
+
[1m[35m (0.2ms)[0m BEGIN
|
392
|
+
----------------------
|
393
|
+
TasksTest: test_update
|
394
|
+
----------------------
|
395
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
396
|
+
[1m[35mSQL (20.0ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:43:15.466944"], ["updated_at", "2016-10-17 18:43:15.466944"]]
|
397
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
398
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
399
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:43:15.490666"], ["updated_at", "2016-10-17 18:43:15.490666"]]
|
400
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
401
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
402
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM guitars
|
403
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
404
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
405
|
+
[1m[35m (0.2ms)[0m BEGIN
|
406
|
+
----------------------
|
407
|
+
TasksTest: test_update
|
408
|
+
----------------------
|
409
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
410
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:43:46.281907"], ["updated_at", "2016-10-17 18:43:46.281907"]]
|
411
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
412
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
413
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:43:46.285332"], ["updated_at", "2016-10-17 18:43:46.285332"]]
|
414
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
415
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
416
|
+
[1m[35m (0.3ms)[0m DROP VIEW IF EXISTS guitars
|
417
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
418
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
419
|
+
[1m[35m (0.2ms)[0m BEGIN
|
420
|
+
----------------------
|
421
|
+
TasksTest: test_update
|
422
|
+
----------------------
|
423
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
424
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:44:12.050055"], ["updated_at", "2016-10-17 18:44:12.050055"]]
|
425
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
426
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
427
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:44:12.053579"], ["updated_at", "2016-10-17 18:44:12.053579"]]
|
428
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
429
|
+
[1m[36m (6.5ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
430
|
+
[1m[35m (37.3ms)[0m CREATE VIEW guitars AS
|
431
|
+
|
432
|
+
SELECT
|
433
|
+
products.*
|
434
|
+
FROM
|
435
|
+
products
|
436
|
+
WHERE
|
437
|
+
products.category = 'Guitar'
|
438
|
+
|
439
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
440
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
441
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
442
|
+
[1m[35m (0.3ms)[0m BEGIN
|
443
|
+
----------------------
|
444
|
+
TasksTest: test_update
|
445
|
+
----------------------
|
446
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
447
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:44:26.063973"], ["updated_at", "2016-10-17 18:44:26.063973"]]
|
448
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
449
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
450
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:44:26.067650"], ["updated_at", "2016-10-17 18:44:26.067650"]]
|
451
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
452
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
453
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
454
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
455
|
+
[1m[35m (0.2ms)[0m BEGIN
|
456
|
+
----------------------
|
457
|
+
TasksTest: test_update
|
458
|
+
----------------------
|
459
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
460
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:44:33.946308"], ["updated_at", "2016-10-17 18:44:33.946308"]]
|
461
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
462
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
463
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:44:33.949592"], ["updated_at", "2016-10-17 18:44:33.949592"]]
|
464
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
465
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
466
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
467
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
468
|
+
[1m[35m (0.3ms)[0m BEGIN
|
469
|
+
----------------------
|
470
|
+
TasksTest: test_update
|
471
|
+
----------------------
|
472
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
473
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:44:39.741873"], ["updated_at", "2016-10-17 18:44:39.741873"]]
|
474
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
475
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
476
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:44:39.745171"], ["updated_at", "2016-10-17 18:44:39.745171"]]
|
477
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
478
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
479
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
480
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
481
|
+
[1m[35m (11.1ms)[0m CREATE VIEW guitars AS
|
482
|
+
|
483
|
+
SELECT
|
484
|
+
products.*
|
485
|
+
FROM
|
486
|
+
products
|
487
|
+
WHERE
|
488
|
+
products.category = 'Guitar'
|
489
|
+
|
490
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
491
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
492
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
493
|
+
[1m[35m (0.2ms)[0m BEGIN
|
494
|
+
----------------------
|
495
|
+
TasksTest: test_update
|
496
|
+
----------------------
|
497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
498
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:46:09.650503"], ["updated_at", "2016-10-17 18:46:09.650503"]]
|
499
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
500
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
501
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:46:09.653828"], ["updated_at", "2016-10-17 18:46:09.653828"]]
|
502
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
503
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
504
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
505
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
506
|
+
[1m[35m (0.2ms)[0m BEGIN
|
507
|
+
----------------------
|
508
|
+
TasksTest: test_update
|
509
|
+
----------------------
|
510
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
511
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:46:47.399246"], ["updated_at", "2016-10-17 18:46:47.399246"]]
|
512
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
513
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
514
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:46:47.402398"], ["updated_at", "2016-10-17 18:46:47.402398"]]
|
515
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
516
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
517
|
+
[1m[35m (8.3ms)[0m DROP VIEW IF EXISTS guitars
|
518
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
519
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
520
|
+
[1m[35m (0.3ms)[0m BEGIN
|
521
|
+
----------------------
|
522
|
+
TasksTest: test_update
|
523
|
+
----------------------
|
524
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
525
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:46:49.802296"], ["updated_at", "2016-10-17 18:46:49.802296"]]
|
526
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
527
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
528
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:46:49.805594"], ["updated_at", "2016-10-17 18:46:49.805594"]]
|
529
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
530
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
531
|
+
[1m[35m (0.6ms)[0m DROP VIEW IF EXISTS guitars
|
532
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
533
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
534
|
+
[1m[35m (0.2ms)[0m BEGIN
|
535
|
+
----------------------
|
536
|
+
TasksTest: test_update
|
537
|
+
----------------------
|
538
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
539
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:46:54.821916"], ["updated_at", "2016-10-17 18:46:54.821916"]]
|
540
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
541
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
542
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:46:54.825418"], ["updated_at", "2016-10-17 18:46:54.825418"]]
|
543
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
544
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
545
|
+
[1m[35m (0.5ms)[0m DROP VIEW IF EXISTS guitars
|
546
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
547
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
548
|
+
[1m[35m (0.2ms)[0m BEGIN
|
549
|
+
----------------------
|
550
|
+
TasksTest: test_update
|
551
|
+
----------------------
|
552
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
553
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:47:07.440374"], ["updated_at", "2016-10-17 18:47:07.440374"]]
|
554
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
555
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
556
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:47:07.443561"], ["updated_at", "2016-10-17 18:47:07.443561"]]
|
557
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
558
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
559
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
560
|
+
[1m[36m (4.8ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
561
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
562
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
563
|
+
[1m[35m (0.3ms)[0m BEGIN
|
564
|
+
----------------------
|
565
|
+
TasksTest: test_update
|
566
|
+
----------------------
|
567
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
568
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:47:26.698502"], ["updated_at", "2016-10-17 18:47:26.698502"]]
|
569
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
570
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
571
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:47:26.701795"], ["updated_at", "2016-10-17 18:47:26.701795"]]
|
572
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
573
|
+
[1m[36m (0.6ms)[0m [1mDROP VIEW guitars[0m
|
574
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM guitars
|
575
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
576
|
+
[1m[35m (0.2ms)[0m BEGIN
|
577
|
+
----------------------
|
578
|
+
TasksTest: test_update
|
579
|
+
----------------------
|
580
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
581
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:48:27.140736"], ["updated_at", "2016-10-17 18:48:27.140736"]]
|
582
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
583
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
584
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:48:27.143939"], ["updated_at", "2016-10-17 18:48:27.143939"]]
|
585
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
586
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW guitars[0m
|
587
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
588
|
+
[1m[35m (0.3ms)[0m BEGIN
|
589
|
+
----------------------
|
590
|
+
TasksTest: test_update
|
591
|
+
----------------------
|
592
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
593
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:48:47.573425"], ["updated_at", "2016-10-17 18:48:47.573425"]]
|
594
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
595
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
596
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:48:47.576814"], ["updated_at", "2016-10-17 18:48:47.576814"]]
|
597
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
598
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW guitars[0m
|
599
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
600
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
601
|
+
[1m[35m (0.2ms)[0m BEGIN
|
602
|
+
----------------------
|
603
|
+
TasksTest: test_update
|
604
|
+
----------------------
|
605
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
606
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:49:08.997442"], ["updated_at", "2016-10-17 18:49:08.997442"]]
|
607
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
608
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
609
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:49:09.000651"], ["updated_at", "2016-10-17 18:49:09.000651"]]
|
610
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
611
|
+
[1m[36m (0.4ms)[0m [1mDROP VIEW guitars[0m
|
612
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
613
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
614
|
+
[1m[35m (0.2ms)[0m BEGIN
|
615
|
+
----------------------
|
616
|
+
TasksTest: test_update
|
617
|
+
----------------------
|
618
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
619
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:49:42.845540"], ["updated_at", "2016-10-17 18:49:42.845540"]]
|
620
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
621
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
622
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:49:42.848770"], ["updated_at", "2016-10-17 18:49:42.848770"]]
|
623
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
624
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW guitars[0m
|
625
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
626
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
627
|
+
[1m[35m (0.2ms)[0m BEGIN
|
628
|
+
----------------------
|
629
|
+
TasksTest: test_update
|
630
|
+
----------------------
|
631
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
632
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:49:58.048008"], ["updated_at", "2016-10-17 18:49:58.048008"]]
|
633
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
634
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
635
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:49:58.051280"], ["updated_at", "2016-10-17 18:49:58.051280"]]
|
636
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
637
|
+
[1m[36m (0.4ms)[0m [1mDROP VIEW guitars[0m
|
638
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
639
|
+
[1m[35m (0.2ms)[0m BEGIN
|
640
|
+
----------------------
|
641
|
+
TasksTest: test_update
|
642
|
+
----------------------
|
643
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
644
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:50:53.628433"], ["updated_at", "2016-10-17 18:50:53.628433"]]
|
645
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
646
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
647
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:50:53.631564"], ["updated_at", "2016-10-17 18:50:53.631564"]]
|
648
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
649
|
+
[1m[36m (0.4ms)[0m [1mDROP VIEW guitars[0m
|
650
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
651
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
652
|
+
[1m[35m (0.3ms)[0m BEGIN
|
653
|
+
----------------------
|
654
|
+
TasksTest: test_update
|
655
|
+
----------------------
|
656
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
657
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:50:58.375081"], ["updated_at", "2016-10-17 18:50:58.375081"]]
|
658
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
659
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
660
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:50:58.378427"], ["updated_at", "2016-10-17 18:50:58.378427"]]
|
661
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
662
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW guitars[0m
|
663
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
664
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
665
|
+
[1m[35m (0.2ms)[0m BEGIN
|
666
|
+
----------------------
|
667
|
+
TasksTest: test_update
|
668
|
+
----------------------
|
669
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
670
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:51:26.619707"], ["updated_at", "2016-10-17 18:51:26.619707"]]
|
671
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
672
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
673
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:51:26.622938"], ["updated_at", "2016-10-17 18:51:26.622938"]]
|
674
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
675
|
+
[1m[36m (0.4ms)[0m [1mDROP VIEW guitars[0m
|
676
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "products"
|
677
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
678
|
+
[1m[35m (0.2ms)[0m BEGIN
|
679
|
+
----------------------
|
680
|
+
TasksTest: test_update
|
681
|
+
----------------------
|
682
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
683
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:52:16.020181"], ["updated_at", "2016-10-17 18:52:16.020181"]]
|
684
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
685
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
686
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:52:16.023473"], ["updated_at", "2016-10-17 18:52:16.023473"]]
|
687
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
688
|
+
[1m[36m (0.4ms)[0m [1mDROP VIEW guitars[0m
|
689
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
690
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
691
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
692
|
+
[1m[35m (0.3ms)[0m BEGIN
|
693
|
+
----------------------
|
694
|
+
TasksTest: test_update
|
695
|
+
----------------------
|
696
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
697
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:52:25.378397"], ["updated_at", "2016-10-17 18:52:25.378397"]]
|
698
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
699
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
700
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:52:25.381747"], ["updated_at", "2016-10-17 18:52:25.381747"]]
|
701
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
702
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW guitars[0m
|
703
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
704
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
705
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
706
|
+
[1m[35m (0.2ms)[0m BEGIN
|
707
|
+
----------------------
|
708
|
+
TasksTest: test_update
|
709
|
+
----------------------
|
710
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
711
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:52:34.396206"], ["updated_at", "2016-10-17 18:52:34.396206"]]
|
712
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
713
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
714
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:52:34.400014"], ["updated_at", "2016-10-17 18:52:34.400014"]]
|
715
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
716
|
+
[1m[36m (0.4ms)[0m [1mDROP VIEW guitars[0m
|
717
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
718
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
719
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
720
|
+
[1m[35m (0.2ms)[0m BEGIN
|
721
|
+
----------------------
|
722
|
+
TasksTest: test_update
|
723
|
+
----------------------
|
724
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
725
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:54:06.207860"], ["updated_at", "2016-10-17 18:54:06.207860"]]
|
726
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
727
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
728
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:54:06.212767"], ["updated_at", "2016-10-17 18:54:06.212767"]]
|
729
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
730
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
731
|
+
[1m[36mActiveRecord::SchemaMigration Load (27.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
732
|
+
[1m[35m (0.3ms)[0m BEGIN
|
733
|
+
----------------------
|
734
|
+
TasksTest: test_update
|
735
|
+
----------------------
|
736
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
737
|
+
[1m[35mSQL (20.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:54:40.149586"], ["updated_at", "2016-10-17 18:54:40.149586"]]
|
738
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
739
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
740
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:54:40.175449"], ["updated_at", "2016-10-17 18:54:40.175449"]]
|
741
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
742
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
743
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
744
|
+
[1m[35m (0.3ms)[0m BEGIN
|
745
|
+
----------------------
|
746
|
+
TasksTest: test_update
|
747
|
+
----------------------
|
748
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
749
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:54:51.683967"], ["updated_at", "2016-10-17 18:54:51.683967"]]
|
750
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
751
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
752
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:54:51.688306"], ["updated_at", "2016-10-17 18:54:51.688306"]]
|
753
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
754
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
755
|
+
[1m[35m (0.3ms)[0m BEGIN
|
756
|
+
----------------------
|
757
|
+
TasksTest: test_update
|
758
|
+
----------------------
|
759
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
760
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:55:30.709837"], ["updated_at", "2016-10-17 18:55:30.709837"]]
|
761
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
762
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
763
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:55:30.714589"], ["updated_at", "2016-10-17 18:55:30.714589"]]
|
764
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
765
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
766
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
767
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
768
|
+
[1m[35m (0.2ms)[0m BEGIN
|
769
|
+
----------------------
|
770
|
+
TasksTest: test_update
|
771
|
+
----------------------
|
772
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
773
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:55:36.846494"], ["updated_at", "2016-10-17 18:55:36.846494"]]
|
774
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
775
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
776
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:55:36.851551"], ["updated_at", "2016-10-17 18:55:36.851551"]]
|
777
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
778
|
+
[1m[36m (2.0ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
779
|
+
[1m[35m (39.9ms)[0m CREATE VIEW guitars AS
|
780
|
+
|
781
|
+
SELECT
|
782
|
+
products.*
|
783
|
+
FROM
|
784
|
+
products
|
785
|
+
WHERE
|
786
|
+
products.category = 'Guitar'
|
787
|
+
|
788
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
789
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
790
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
791
|
+
[1m[35m (0.2ms)[0m BEGIN
|
792
|
+
----------------------
|
793
|
+
TasksTest: test_update
|
794
|
+
----------------------
|
795
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
796
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:56:27.445312"], ["updated_at", "2016-10-17 18:56:27.445312"]]
|
797
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
798
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
799
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:56:27.449562"], ["updated_at", "2016-10-17 18:56:27.449562"]]
|
800
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
801
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
802
|
+
[1m[35m (1.2ms)[0m CREATE VIEW guitars AS
|
803
|
+
|
804
|
+
SELECT
|
805
|
+
products.*
|
806
|
+
FROM
|
807
|
+
products
|
808
|
+
WHERE
|
809
|
+
products.category = 'Guitar'
|
810
|
+
|
811
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
812
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
813
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
814
|
+
[1m[35m (0.3ms)[0m BEGIN
|
815
|
+
----------------------
|
816
|
+
TasksTest: test_update
|
817
|
+
----------------------
|
818
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
819
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:56:36.909002"], ["updated_at", "2016-10-17 18:56:36.909002"]]
|
820
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
821
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
822
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:56:36.912595"], ["updated_at", "2016-10-17 18:56:36.912595"]]
|
823
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
824
|
+
[1m[36m (0.4ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
825
|
+
[1m[35m (1.2ms)[0m CREATE VIEW guitars AS
|
826
|
+
|
827
|
+
SELECT
|
828
|
+
products.*
|
829
|
+
FROM
|
830
|
+
products
|
831
|
+
WHERE
|
832
|
+
products.category = 'Guitar'
|
833
|
+
|
834
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
835
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
836
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
837
|
+
[1m[35m (0.2ms)[0m BEGIN
|
838
|
+
----------------------
|
839
|
+
TasksTest: test_update
|
840
|
+
----------------------
|
841
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
842
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 18:56:41.159087"], ["updated_at", "2016-10-17 18:56:41.159087"]]
|
843
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
844
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
845
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:56:41.162571"], ["updated_at", "2016-10-17 18:56:41.162571"]]
|
846
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
847
|
+
[1m[36m (0.5ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
848
|
+
[1m[35m (1.4ms)[0m CREATE VIEW guitars AS
|
849
|
+
|
850
|
+
SELECT
|
851
|
+
products.*
|
852
|
+
FROM
|
853
|
+
products
|
854
|
+
WHERE
|
855
|
+
products.category = 'Guitar'
|
856
|
+
|
857
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM guitars[0m
|
858
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
859
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
860
|
+
[1m[35m (0.2ms)[0m BEGIN
|
861
|
+
----------------------
|
862
|
+
TasksTest: test_update
|
863
|
+
----------------------
|
864
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
865
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 20:02:07.717407"], ["updated_at", "2016-10-17 20:02:07.717407"]]
|
866
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
867
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
868
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 20:02:07.722542"], ["updated_at", "2016-10-17 20:02:07.722542"]]
|
869
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
870
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
871
|
+
[1m[35m (2.2ms)[0m CREATE VIEW guitars AS
|
872
|
+
|
873
|
+
SELECT
|
874
|
+
products.*
|
875
|
+
FROM
|
876
|
+
products
|
877
|
+
WHERE
|
878
|
+
products.category = 'Guitar'
|
879
|
+
|
880
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM guitars[0m
|
881
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
882
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
883
|
+
[1m[35m (0.2ms)[0m BEGIN
|
884
|
+
----------------------
|
885
|
+
TasksTest: test_update
|
886
|
+
----------------------
|
887
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
888
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 20:02:15.526046"], ["updated_at", "2016-10-17 20:02:15.526046"]]
|
889
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
890
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
891
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 20:02:15.530310"], ["updated_at", "2016-10-17 20:02:15.530310"]]
|
892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
893
|
+
[1m[36m (6.7ms)[0m [1mSELECT 1 FROM guitars[0m
|
894
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
895
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
896
|
+
[1m[35m (0.3ms)[0m BEGIN
|
897
|
+
----------------------
|
898
|
+
TasksTest: test_update
|
899
|
+
----------------------
|
900
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
901
|
+
[1m[35m (1.3ms)[0m CREATE VIEW guitars AS
|
902
|
+
|
903
|
+
SELECT
|
904
|
+
products.*
|
905
|
+
FROM
|
906
|
+
products
|
907
|
+
WHERE
|
908
|
+
products.category = 'Guitar'
|
909
|
+
|
910
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM guitars[0m
|
911
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
912
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
913
|
+
[1m[35m (0.2ms)[0m BEGIN
|
914
|
+
----------------------
|
915
|
+
TasksTest: test_update
|
916
|
+
----------------------
|
917
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
918
|
+
[1m[35m (7.7ms)[0m CREATE VIEW guitars AS
|
919
|
+
|
920
|
+
SELECT
|
921
|
+
products.*
|
922
|
+
FROM
|
923
|
+
products
|
924
|
+
WHERE
|
925
|
+
products.category = 'Guitar'
|
926
|
+
|
927
|
+
[1m[36m (0.4ms)[0m [1mSELECT 1 FROM guitars[0m
|
928
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
929
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
930
|
+
[1m[35m (0.2ms)[0m BEGIN
|
931
|
+
----------------------
|
932
|
+
TasksTest: test_update
|
933
|
+
----------------------
|
934
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
935
|
+
[1m[35m (1.3ms)[0m CREATE VIEW guitars AS
|
936
|
+
|
937
|
+
SELECT
|
938
|
+
products.*
|
939
|
+
FROM
|
940
|
+
products
|
941
|
+
WHERE
|
942
|
+
products.category = 'Guitar'
|
943
|
+
|
944
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
945
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
946
|
+
[1m[35m (0.3ms)[0m BEGIN
|
947
|
+
----------------------
|
948
|
+
TasksTest: test_update
|
949
|
+
----------------------
|
950
|
+
[1m[36m (0.4ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
951
|
+
[1m[35m (1.2ms)[0m CREATE VIEW guitars AS
|
952
|
+
|
953
|
+
SELECT
|
954
|
+
products.*
|
955
|
+
FROM
|
956
|
+
products
|
957
|
+
WHERE
|
958
|
+
products.category = 'Guitar'
|
959
|
+
|
960
|
+
[1m[36m (0.4ms)[0m [1mSELECT 1 FROM guitars[0m
|
961
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM guitars
|
962
|
+
[1m[36m (0.7ms)[0m [1mSELECT 1 FROM guitars[0m
|
963
|
+
[1m[35m (0.5ms)[0m SELECT 1 FROM guitars
|
964
|
+
[1m[36m (0.6ms)[0m [1mSELECT 1 FROM guitars[0m
|
965
|
+
[1m[35m (0.5ms)[0m SELECT 1 FROM guitars
|
966
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM guitars[0m
|
967
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
968
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
969
|
+
[1m[35m (0.3ms)[0m BEGIN
|
970
|
+
----------------------
|
971
|
+
TasksTest: test_update
|
972
|
+
----------------------
|
973
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
974
|
+
[1m[35m (1.2ms)[0m CREATE VIEW guitars AS
|
975
|
+
|
976
|
+
SELECT
|
977
|
+
products.*
|
978
|
+
FROM
|
979
|
+
products
|
980
|
+
WHERE
|
981
|
+
products.category = 'Guitar'
|
982
|
+
|
983
|
+
[1m[36m (0.3ms)[0m [1mSELECT * FROM guitars[0m
|
984
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
985
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
986
|
+
[1m[35m (0.2ms)[0m BEGIN
|
987
|
+
----------------------
|
988
|
+
TasksTest: test_update
|
989
|
+
----------------------
|
990
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
991
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-17 20:04:25.644481"], ["updated_at", "2016-10-17 20:04:25.644481"]]
|
992
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
993
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
994
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 20:04:25.648742"], ["updated_at", "2016-10-17 20:04:25.648742"]]
|
995
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
996
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
997
|
+
[1m[35m (1.1ms)[0m CREATE VIEW guitars AS
|
998
|
+
|
999
|
+
SELECT
|
1000
|
+
products.*
|
1001
|
+
FROM
|
1002
|
+
products
|
1003
|
+
WHERE
|
1004
|
+
products.category = 'Guitar'
|
1005
|
+
|
1006
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM guitars[0m
|
1007
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1008
|
+
[1m[36m (184.8ms)[0m [1mDROP DATABASE IF EXISTS "views_test"[0m
|
1009
|
+
[1m[35m (354.8ms)[0m CREATE DATABASE "views_test" ENCODING = 'utf8'
|
1010
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1011
|
+
[1m[35m (3.8ms)[0m CREATE TABLE "products" ("id" serial primary key, "name" character varying, "category" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
1012
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1013
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1014
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1015
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20161017172847')
|
1016
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1017
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1018
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1019
|
+
------------------------------------
|
1020
|
+
GeneratorsTest: test_file_generation
|
1021
|
+
------------------------------------
|
1022
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1023
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1024
|
+
----------------------
|
1025
|
+
TasksTest: test_update
|
1026
|
+
----------------------
|
1027
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1028
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-18 00:58:47.739724"], ["updated_at", "2016-10-18 00:58:47.739724"]]
|
1029
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1030
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1031
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-18 00:58:47.743798"], ["updated_at", "2016-10-18 00:58:47.743798"]]
|
1032
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1033
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
1034
|
+
[1m[35m (1.4ms)[0m CREATE VIEW guitars AS
|
1035
|
+
|
1036
|
+
SELECT
|
1037
|
+
products.*
|
1038
|
+
FROM
|
1039
|
+
products
|
1040
|
+
WHERE
|
1041
|
+
products.category = 'Guitar'
|
1042
|
+
|
1043
|
+
[1m[36m (0.3ms)[0m [1mSELECT * FROM guitars[0m
|
1044
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1045
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1046
|
+
------------------------------------
|
1047
|
+
GeneratorsTest: test_file_generation
|
1048
|
+
------------------------------------
|
1049
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1050
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1051
|
+
----------------------
|
1052
|
+
TasksTest: test_update
|
1053
|
+
----------------------
|
1054
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1055
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-18 00:58:53.320941"], ["updated_at", "2016-10-18 00:58:53.320941"]]
|
1056
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1058
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-18 00:58:53.326151"], ["updated_at", "2016-10-18 00:58:53.326151"]]
|
1059
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
1060
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
1061
|
+
[1m[35m (1.7ms)[0m CREATE VIEW guitars AS
|
1062
|
+
|
1063
|
+
SELECT
|
1064
|
+
products.*
|
1065
|
+
FROM
|
1066
|
+
products
|
1067
|
+
WHERE
|
1068
|
+
products.category = 'Guitar'
|
1069
|
+
|
1070
|
+
[1m[36m (0.3ms)[0m [1mSELECT * FROM guitars[0m
|
1071
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1072
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1073
|
+
------------------------------------
|
1074
|
+
GeneratorsTest: test_file_generation
|
1075
|
+
------------------------------------
|
1076
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1077
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1078
|
+
------------------------------------
|
1079
|
+
GeneratorsTest: test_file_generation
|
1080
|
+
------------------------------------
|
1081
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1082
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1083
|
+
------------------------------------
|
1084
|
+
GeneratorsTest: test_file_generation
|
1085
|
+
------------------------------------
|
1086
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1087
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1088
|
+
----------------------
|
1089
|
+
TasksTest: test_update
|
1090
|
+
----------------------
|
1091
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1092
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-18 00:59:44.742494"], ["updated_at", "2016-10-18 00:59:44.742494"]]
|
1093
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1094
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1095
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-18 00:59:44.745453"], ["updated_at", "2016-10-18 00:59:44.745453"]]
|
1096
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1097
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
1098
|
+
[1m[35m (1.5ms)[0m CREATE VIEW guitars AS
|
1099
|
+
|
1100
|
+
SELECT
|
1101
|
+
products.*
|
1102
|
+
FROM
|
1103
|
+
products
|
1104
|
+
WHERE
|
1105
|
+
products.category = 'Guitar'
|
1106
|
+
|
1107
|
+
[1m[36m (0.3ms)[0m [1mDROP VIEW IF EXISTS tests[0m
|
1108
|
+
[1m[35m (6.0ms)[0m CREATE VIEW tests AS
|
1109
|
+
|
1110
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1111
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1112
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1113
|
+
----------------------
|
1114
|
+
TasksTest: test_update
|
1115
|
+
----------------------
|
1116
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1117
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Les Paul"], ["category", "Guitar"], ["created_at", "2016-10-18 01:01:02.810985"], ["updated_at", "2016-10-18 01:01:02.810985"]]
|
1118
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1120
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-18 01:01:02.816600"], ["updated_at", "2016-10-18 01:01:02.816600"]]
|
1121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1122
|
+
[1m[36m (0.2ms)[0m [1mDROP VIEW IF EXISTS guitars[0m
|
1123
|
+
[1m[35m (1.1ms)[0m CREATE VIEW guitars AS
|
1124
|
+
|
1125
|
+
SELECT
|
1126
|
+
products.*
|
1127
|
+
FROM
|
1128
|
+
products
|
1129
|
+
WHERE
|
1130
|
+
products.category = 'Guitar'
|
1131
|
+
|
1132
|
+
[1m[36m (0.3ms)[0m [1mSELECT * FROM guitars[0m
|
1133
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1134
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1135
|
+
------------------------------------
|
1136
|
+
GeneratorsTest: test_file_generation
|
1137
|
+
------------------------------------
|
1138
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|