ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (177.5ms) DROP DATABASE IF EXISTS "slugs_test"  (414.3ms) CREATE DATABASE "slugs_test" ENCODING = 'utf8'  (181.4ms) DROP DATABASE IF EXISTS "sql_views_test"  (402.8ms) CREATE DATABASE "sql_views_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.7ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "enabled" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20161017172847') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- ViewsTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("name", "enabled", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Mike"], ["enabled", "f"], ["created_at", "2016-10-17 17:41:06.573626"], ["updated_at", "2016-10-17 17:41:06.573626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (18.2ms) DROP VIEW IF EXISTS enabled_users  (6.7ms) CREATE VIEW enabled_users AS SELECT users.name FROM users WHERE users.enabled = 1  (0.1ms) ROLLBACK  (180.0ms) DROP DATABASE IF EXISTS "sql_views_test"  (361.0ms) CREATE DATABASE "sql_views_test" ENCODING = 'utf8' SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.9ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "category" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20161017172847') ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- ViewsTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:45:43.747000"], ["updated_at", "2016-10-17 17:45:43.747000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) DROP VIEW IF EXISTS guitars  (1.3ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (6.3ms) SLECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- ViewsTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:45:53.865026"], ["updated_at", "2016-10-17 17:45:53.865026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- ViewsTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:46:37.268535"], ["updated_at", "2016-10-17 17:46:37.268535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) DROP VIEW IF EXISTS guitars  (1.3ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.4ms) SELECT COUNT(*) FROM guitars ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- ViewsTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:47:39.255116"], ["updated_at", "2016-10-17 17:47:39.255116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- ViewsTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:47:49.009281"], ["updated_at", "2016-10-17 17:47:49.009281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- ViewsTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:48:15.528578"], ["updated_at", "2016-10-17 17:48:15.528578"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) DROP VIEW IF EXISTS guitars  (1.3ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.2ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.3ms) DROP VIEW IF EXISTS guitars  (1.4ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:53:00.491383"], ["updated_at", "2016-10-17 17:53:00.491383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.3ms) DROP VIEW IF EXISTS guitars  (1.6ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 17:53:15.657449"], ["updated_at", "2016-10-17 17:53:15.657449"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:10:18.631851"], ["updated_at", "2016-10-17 18:10:18.631851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.8ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:11:02.591133"], ["updated_at", "2016-10-17 18:11:02.591133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.5ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:29:35.373130"], ["updated_at", "2016-10-17 18:29:35.373130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.3ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:29:57.659021"], ["updated_at", "2016-10-17 18:29:57.659021"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (6.4ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:30:52.972337"], ["updated_at", "2016-10-17 18:30:52.972337"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (6.6ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:31:06.461286"], ["updated_at", "2016-10-17 18:31:06.461286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.6ms) SELECT COUNT(*) FROM guitars  (0.3ms) DROP VIEW IF EXISTS guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:32:11.893827"], ["updated_at", "2016-10-17 18:32:11.893827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.6ms) SELECT COUNT(*) FROM guitars  (0.3ms) DROP VIEW guitars IF EXISTS  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:32:41.708326"], ["updated_at", "2016-10-17 18:32:41.708326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.5ms) SELECT COUNT(*) FROM guitars  (0.3ms) DROP VIEW IF EXISTS guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:34:43.131098"], ["updated_at", "2016-10-17 18:34:43.131098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.4ms) SELECT COUNT(*) FROM guitars  (0.3ms) DROP VIEW IF EXISTS guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:34:55.612768"], ["updated_at", "2016-10-17 18:34:55.612768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:35:06.070640"], ["updated_at", "2016-10-17 18:35:06.070640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.3ms) DROP VIEW IF EXISTS guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:37:51.659542"], ["updated_at", "2016-10-17 18:37:51.659542"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (8.7ms) SELECT COUNT(*) FROM guitars  (0.3ms) DROP VIEW IF EXISTS guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:38:21.929877"], ["updated_at", "2016-10-17 18:38:21.929877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.5ms) SELECT COUNT(*) FROM guitars  (0.2ms) DROP VIEW IF EXISTS guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:38:30.987091"], ["updated_at", "2016-10-17 18:38:30.987091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.6ms) SELECT COUNT(*) FROM guitars  (4.6ms) DROP VIEW IF EXISTS guitars ActiveRecord::SchemaMigration Load (28.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (20.0ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:43:15.490666"], ["updated_at", "2016-10-17 18:43:15.490666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM guitars  (0.3ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:43:46.285332"], ["updated_at", "2016-10-17 18:43:46.285332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM guitars  (0.3ms) DROP VIEW IF EXISTS guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:44:12.053579"], ["updated_at", "2016-10-17 18:44:12.053579"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (6.5ms) DROP VIEW IF EXISTS guitars  (37.3ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (1.1ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:44:26.067650"], ["updated_at", "2016-10-17 18:44:26.067650"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:44:33.949592"], ["updated_at", "2016-10-17 18:44:33.949592"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:44:39.745171"], ["updated_at", "2016-10-17 18:44:39.745171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.4ms) ROLLBACK  (0.3ms) DROP VIEW IF EXISTS guitars  (11.1ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.4ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:46:09.653828"], ["updated_at", "2016-10-17 18:46:09.653828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:46:47.402398"], ["updated_at", "2016-10-17 18:46:47.402398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (8.3ms) DROP VIEW IF EXISTS guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:46:49.805594"], ["updated_at", "2016-10-17 18:46:49.805594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM guitars  (0.6ms) DROP VIEW IF EXISTS guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:46:54.825418"], ["updated_at", "2016-10-17 18:46:54.825418"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.5ms) DROP VIEW IF EXISTS guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:47:07.443561"], ["updated_at", "2016-10-17 18:47:07.443561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM guitars  (0.1ms) ROLLBACK  (4.8ms) DROP VIEW IF EXISTS guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:47:26.701795"], ["updated_at", "2016-10-17 18:47:26.701795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) DROP VIEW guitars  (0.5ms) SELECT COUNT(*) FROM guitars ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:48:27.143939"], ["updated_at", "2016-10-17 18:48:27.143939"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) DROP VIEW guitars ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:48:47.576814"], ["updated_at", "2016-10-17 18:48:47.576814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) DROP VIEW guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:49:09.000651"], ["updated_at", "2016-10-17 18:49:09.000651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) DROP VIEW guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:49:42.848770"], ["updated_at", "2016-10-17 18:49:42.848770"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) DROP VIEW guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:49:58.051280"], ["updated_at", "2016-10-17 18:49:58.051280"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) DROP VIEW guitars ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:50:53.631564"], ["updated_at", "2016-10-17 18:50:53.631564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) DROP VIEW guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:50:58.378427"], ["updated_at", "2016-10-17 18:50:58.378427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) DROP VIEW guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:51:26.622938"], ["updated_at", "2016-10-17 18:51:26.622938"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) DROP VIEW guitars  (0.4ms) SELECT COUNT(*) FROM "products" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:52:16.023473"], ["updated_at", "2016-10-17 18:52:16.023473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) DROP VIEW guitars  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:52:25.381747"], ["updated_at", "2016-10-17 18:52:25.381747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) DROP VIEW guitars  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:52:34.400014"], ["updated_at", "2016-10-17 18:52:34.400014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) DROP VIEW guitars  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:54:06.212767"], ["updated_at", "2016-10-17 18:54:06.212767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (27.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (20.5ms) 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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:54:40.175449"], ["updated_at", "2016-10-17 18:54:40.175449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:54:51.688306"], ["updated_at", "2016-10-17 18:54:51.688306"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:55:30.714589"], ["updated_at", "2016-10-17 18:55:30.714589"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:55:36.851551"], ["updated_at", "2016-10-17 18:55:36.851551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.0ms) DROP VIEW IF EXISTS guitars  (39.9ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.9ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:56:27.449562"], ["updated_at", "2016-10-17 18:56:27.449562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) DROP VIEW IF EXISTS guitars  (1.2ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.3ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:56:36.912595"], ["updated_at", "2016-10-17 18:56:36.912595"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) DROP VIEW IF EXISTS guitars  (1.2ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.2ms) SELECT COUNT(*) FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 18:56:41.162571"], ["updated_at", "2016-10-17 18:56:41.162571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) DROP VIEW IF EXISTS guitars  (1.4ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.5ms) SELECT COUNT(*) FROM guitars  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 20:02:07.722542"], ["updated_at", "2016-10-17 20:02:07.722542"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) DROP VIEW IF EXISTS guitars  (2.2ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.3ms) SELECT 1 FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 20:02:15.530310"], ["updated_at", "2016-10-17 20:02:15.530310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.7ms) SELECT 1 FROM guitars  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.3ms) DROP VIEW IF EXISTS guitars  (1.3ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.3ms) SELECT 1 FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.3ms) DROP VIEW IF EXISTS guitars  (7.7ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.4ms) SELECT 1 FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.3ms) DROP VIEW IF EXISTS guitars  (1.3ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.4ms) DROP VIEW IF EXISTS guitars  (1.2ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.4ms) SELECT 1 FROM guitars  (0.3ms) SELECT 1 FROM guitars  (0.7ms) SELECT 1 FROM guitars  (0.5ms) SELECT 1 FROM guitars  (0.6ms) SELECT 1 FROM guitars  (0.5ms) SELECT 1 FROM guitars  (0.3ms) SELECT 1 FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.3ms) DROP VIEW IF EXISTS guitars  (1.2ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.3ms) SELECT * FROM guitars  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-17 20:04:25.648742"], ["updated_at", "2016-10-17 20:04:25.648742"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) DROP VIEW IF EXISTS guitars  (1.1ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.2ms) SELECT * FROM guitars  (0.2ms) ROLLBACK  (184.8ms) DROP DATABASE IF EXISTS "views_test"  (354.8ms) CREATE DATABASE "views_test" ENCODING = 'utf8' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (3.8ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "category" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20161017172847') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------ GeneratorsTest: test_file_generation ------------------------------------ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-18 00:58:47.743798"], ["updated_at", "2016-10-18 00:58:47.743798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) DROP VIEW IF EXISTS guitars  (1.4ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.3ms) SELECT * FROM guitars  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ GeneratorsTest: test_file_generation ------------------------------------ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-18 00:58:53.326151"], ["updated_at", "2016-10-18 00:58:53.326151"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) DROP VIEW IF EXISTS guitars  (1.7ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.3ms) SELECT * FROM guitars  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ GeneratorsTest: test_file_generation ------------------------------------ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------ GeneratorsTest: test_file_generation ------------------------------------ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------------------ GeneratorsTest: test_file_generation ------------------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-18 00:59:44.745453"], ["updated_at", "2016-10-18 00:59:44.745453"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) DROP VIEW IF EXISTS guitars  (1.5ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.3ms) DROP VIEW IF EXISTS tests  (6.0ms) CREATE VIEW tests AS  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------- TasksTest: test_update ----------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "category", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "Laney"], ["category", "Amps"], ["created_at", "2016-10-18 01:01:02.816600"], ["updated_at", "2016-10-18 01:01:02.816600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) DROP VIEW IF EXISTS guitars  (1.1ms) CREATE VIEW guitars AS SELECT products.* FROM products WHERE products.category = 'Guitar'  (0.3ms) SELECT * FROM guitars  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ GeneratorsTest: test_file_generation ------------------------------------  (0.2ms) ROLLBACK