(2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProducts (20130819155126)  (0.1ms) BEGIN  (3.3ms) CREATE TABLE "products" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130819155126"]]  (0.4ms) COMMIT Migrating to CreateProductTranslations (20161205171056)  (0.2ms) BEGIN  (2.1ms) CREATE TABLE "product_translations" ("id" serial primary key, "product_id" integer, "locale" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "index_product_translations_on_product_id_and_locale" ON "product_translations" ("product_id", "locale") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161205171056"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'product_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------------- RecordsTest: test_locale_change -------------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- RecordsTest: test_locale_change -------------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------- RecordsTest: test_locale_change -------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation ------------------------------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (6.8ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (12.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.3ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.4ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation ------------------------------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.5ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- RecordsTest: test_locale_change -------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (1.5ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.4ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------- RecordsTest: test_locale_change -------------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:23:51.483741"], ["updated_at", "2016-12-05 17:23:51.483741"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 1], ["created_at", "2016-12-05 17:23:51.485404"], ["updated_at", "2016-12-05 17:23:51.485404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 1]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:23:51.490832"], ["updated_at", "2016-12-05 17:23:51.490832"]] SQL (0.5ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 2], ["created_at", "2016-12-05 17:23:51.492193"], ["updated_at", "2016-12-05 17:23:51.492193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:23:51.496426"], ["updated_at", "2016-12-05 17:23:51.496426"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 3], ["created_at", "2016-12-05 17:23:51.497205"], ["updated_at", "2016-12-05 17:23:51.497205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.4ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" = 3 AND "product_translations"."id" != 3 AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.3ms) UPDATE "product_translations" SET "name" = $1, "updated_at" = $2 WHERE "product_translations"."id" = $3 [["name", "new name"], ["updated_at", "2016-12-05 17:23:51.500273"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- RecordsTest: test_locale_change -------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:23:51.520839"], ["updated_at", "2016-12-05 17:23:51.520839"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 4], ["created_at", "2016-12-05 17:23:51.521586"], ["updated_at", "2016-12-05 17:23:51.521586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" = 4 AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "new name"], ["product_id", 4], ["created_at", "2016-12-05 17:23:51.523897"], ["updated_at", "2016-12-05 17:23:51.523897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:24:12.521678"], ["updated_at", "2016-12-05 17:24:12.521678"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 5], ["created_at", "2016-12-05 17:24:12.523221"], ["updated_at", "2016-12-05 17:24:12.523221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 6]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 LIMIT 1 [["product_id", 5]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:24:12.536120"], ["updated_at", "2016-12-05 17:24:12.536120"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 6], ["created_at", "2016-12-05 17:24:12.536919"], ["updated_at", "2016-12-05 17:24:12.536919"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:24:12.539997"], ["updated_at", "2016-12-05 17:24:12.539997"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 7], ["created_at", "2016-12-05 17:24:12.540686"], ["updated_at", "2016-12-05 17:24:12.540686"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" = 7 AND "product_translations"."id" != 8 AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) UPDATE "product_translations" SET "name" = $1, "updated_at" = $2 WHERE "product_translations"."id" = $3 [["name", "new name"], ["updated_at", "2016-12-05 17:24:12.543341"], ["id", 8]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------- RecordsTest: test_locale_change -------------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:24:12.546707"], ["updated_at", "2016-12-05 17:24:12.546707"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "name"], ["product_id", 8], ["created_at", "2016-12-05 17:24:12.547410"], ["updated_at", "2016-12-05 17:24:12.547410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" = 8 AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "new name"], ["product_id", 8], ["created_at", "2016-12-05 17:24:12.549840"], ["updated_at", "2016-12-05 17:24:12.549840"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN --------------------------- RecordTest: test_persistent ---------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:31:33.400904"], ["updated_at", "2016-12-05 17:31:33.400904"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 9], ["created_at", "2016-12-05 17:31:33.402431"], ["updated_at", "2016-12-05 17:31:33.402431"]] SQL (4.5ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 9], ["created_at", "2016-12-05 17:31:33.403518"], ["updated_at", "2016-12-05 17:31:33.403518"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 9]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 9]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:45:59.690621"], ["updated_at", "2016-12-05 17:45:59.690621"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 10], ["created_at", "2016-12-05 17:45:59.692029"], ["updated_at", "2016-12-05 17:45:59.692029"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 10], ["created_at", "2016-12-05 17:45:59.692968"], ["updated_at", "2016-12-05 17:45:59.692968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 10]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 10]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:46:07.402557"], ["updated_at", "2016-12-05 17:46:07.402557"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 11], ["created_at", "2016-12-05 17:46:07.404073"], ["updated_at", "2016-12-05 17:46:07.404073"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 11], ["created_at", "2016-12-05 17:46:07.405122"], ["updated_at", "2016-12-05 17:46:07.405122"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 11]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 11]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (1.1ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 17:47:05.106751"], ["updated_at", "2016-12-05 17:47:05.106751"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 12], ["created_at", "2016-12-05 17:47:05.108955"], ["updated_at", "2016-12-05 17:47:05.108955"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 12], ["created_at", "2016-12-05 17:47:05.110240"], ["updated_at", "2016-12-05 17:47:05.110240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 12]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 12]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 17]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 18]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:48:43.884595"], ["updated_at", "2016-12-05 20:48:43.884595"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 13], ["created_at", "2016-12-05 20:48:43.886216"], ["updated_at", "2016-12-05 20:48:43.886216"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 13], ["created_at", "2016-12-05 20:48:43.887271"], ["updated_at", "2016-12-05 20:48:43.887271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 13]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 13]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 19]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 20]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 13]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:49:24.578261"], ["updated_at", "2016-12-05 20:49:24.578261"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 14], ["created_at", "2016-12-05 20:49:24.579804"], ["updated_at", "2016-12-05 20:49:24.579804"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 14], ["created_at", "2016-12-05 20:49:24.580854"], ["updated_at", "2016-12-05 20:49:24.580854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 14]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 14]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 21]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 22]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 14]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:49:35.962864"], ["updated_at", "2016-12-05 20:49:35.962864"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 15], ["created_at", "2016-12-05 20:49:35.964371"], ["updated_at", "2016-12-05 20:49:35.964371"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 15], ["created_at", "2016-12-05 20:49:35.965388"], ["updated_at", "2016-12-05 20:49:35.965388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 15]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 15]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 23]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 24]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (1.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:49:50.010384"], ["updated_at", "2016-12-05 20:49:50.010384"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 16], ["created_at", "2016-12-05 20:49:50.011848"], ["updated_at", "2016-12-05 20:49:50.011848"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 16], ["created_at", "2016-12-05 20:49:50.012939"], ["updated_at", "2016-12-05 20:49:50.012939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 16]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 16]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 25]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 26]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:50:18.791509"], ["updated_at", "2016-12-05 20:50:18.791509"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 17], ["created_at", "2016-12-05 20:50:18.793006"], ["updated_at", "2016-12-05 20:50:18.793006"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 17], ["created_at", "2016-12-05 20:50:18.794093"], ["updated_at", "2016-12-05 20:50:18.794093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 17]] ProductTranslation Load (0.3ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 17]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 27]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 28]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.3ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:51:16.603876"], ["updated_at", "2016-12-05 20:51:16.603876"]] SQL (1.4ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 18], ["created_at", "2016-12-05 20:51:16.605821"], ["updated_at", "2016-12-05 20:51:16.605821"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 18], ["created_at", "2016-12-05 20:51:16.608397"], ["updated_at", "2016-12-05 20:51:16.608397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 18]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 18]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 29]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 30]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.5ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:51:48.575913"], ["updated_at", "2016-12-05 20:51:48.575913"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 19], ["created_at", "2016-12-05 20:51:48.577414"], ["updated_at", "2016-12-05 20:51:48.577414"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 19], ["created_at", "2016-12-05 20:51:48.578462"], ["updated_at", "2016-12-05 20:51:48.578462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 19]] ProductTranslation Load (0.3ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 19]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 31]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 32]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.3ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:52:22.328083"], ["updated_at", "2016-12-05 20:52:22.328083"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 20], ["created_at", "2016-12-05 20:52:22.329980"], ["updated_at", "2016-12-05 20:52:22.329980"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 20], ["created_at", "2016-12-05 20:52:22.331417"], ["updated_at", "2016-12-05 20:52:22.331417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 20]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 20]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 33]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 34]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 20]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.3ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.8ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (1.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:52:43.615425"], ["updated_at", "2016-12-05 20:52:43.615425"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 21], ["created_at", "2016-12-05 20:52:43.617180"], ["updated_at", "2016-12-05 20:52:43.617180"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 21], ["created_at", "2016-12-05 20:52:43.618306"], ["updated_at", "2016-12-05 20:52:43.618306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 21]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 21]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 35]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 36]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 21]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:52:53.968776"], ["updated_at", "2016-12-05 20:52:53.968776"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 22], ["created_at", "2016-12-05 20:52:53.970275"], ["updated_at", "2016-12-05 20:52:53.970275"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 22], ["created_at", "2016-12-05 20:52:53.971314"], ["updated_at", "2016-12-05 20:52:53.971314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 22]] ProductTranslation Load (0.3ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 22]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 37]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 38]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 22]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:53:08.911379"], ["updated_at", "2016-12-05 20:53:08.911379"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 23], ["created_at", "2016-12-05 20:53:08.913127"], ["updated_at", "2016-12-05 20:53:08.913127"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 23], ["created_at", "2016-12-05 20:53:08.914255"], ["updated_at", "2016-12-05 20:53:08.914255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 23]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 23]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 39]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 40]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 23]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:53:16.968532"], ["updated_at", "2016-12-05 20:53:16.968532"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 24], ["created_at", "2016-12-05 20:53:16.970319"], ["updated_at", "2016-12-05 20:53:16.970319"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 24], ["created_at", "2016-12-05 20:53:16.971788"], ["updated_at", "2016-12-05 20:53:16.971788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 24]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 24]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 41]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 42]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:54:11.089922"], ["updated_at", "2016-12-05 20:54:11.089922"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 25], ["created_at", "2016-12-05 20:54:11.091564"], ["updated_at", "2016-12-05 20:54:11.091564"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 25], ["created_at", "2016-12-05 20:54:11.092641"], ["updated_at", "2016-12-05 20:54:11.092641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 25]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 25]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 43]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 44]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.8ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:55:03.524735"], ["updated_at", "2016-12-05 20:55:03.524735"]] SQL (0.4ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 26], ["created_at", "2016-12-05 20:55:03.526709"], ["updated_at", "2016-12-05 20:55:03.526709"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 26], ["created_at", "2016-12-05 20:55:03.529500"], ["updated_at", "2016-12-05 20:55:03.529500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 26]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 26]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 45]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 46]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 26]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:55:12.506246"], ["updated_at", "2016-12-05 20:55:12.506246"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 27], ["created_at", "2016-12-05 20:55:12.507811"], ["updated_at", "2016-12-05 20:55:12.507811"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 27], ["created_at", "2016-12-05 20:55:12.508991"], ["updated_at", "2016-12-05 20:55:12.508991"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 27]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 27]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 47]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 48]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 27]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:55:24.369251"], ["updated_at", "2016-12-05 20:55:24.369251"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 28], ["created_at", "2016-12-05 20:55:24.370934"], ["updated_at", "2016-12-05 20:55:24.370934"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 28], ["created_at", "2016-12-05 20:55:24.372177"], ["updated_at", "2016-12-05 20:55:24.372177"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 28]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 28]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 49]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 50]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 28]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:56:25.348765"], ["updated_at", "2016-12-05 20:56:25.348765"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 29], ["created_at", "2016-12-05 20:56:25.350411"], ["updated_at", "2016-12-05 20:56:25.350411"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 29], ["created_at", "2016-12-05 20:56:25.351630"], ["updated_at", "2016-12-05 20:56:25.351630"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 29]] ProductTranslation Load (0.3ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 29]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 51]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 52]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 29]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.6ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.3ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:57:50.331754"], ["updated_at", "2016-12-05 20:57:50.331754"]] SQL (0.4ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 30], ["created_at", "2016-12-05 20:57:50.337989"], ["updated_at", "2016-12-05 20:57:50.337989"]] SQL (0.4ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 30], ["created_at", "2016-12-05 20:57:50.344390"], ["updated_at", "2016-12-05 20:57:50.344390"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 30]] ProductTranslation Load (0.4ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 30]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 53]] SQL (0.3ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 54]] SQL (0.3ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 30]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:58:10.531196"], ["updated_at", "2016-12-05 20:58:10.531196"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 31], ["created_at", "2016-12-05 20:58:10.532685"], ["updated_at", "2016-12-05 20:58:10.532685"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 31], ["created_at", "2016-12-05 20:58:10.533774"], ["updated_at", "2016-12-05 20:58:10.533774"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 31]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 31]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 55]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 56]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 31]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 20:59:19.357281"], ["updated_at", "2016-12-05 20:59:19.357281"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 32], ["created_at", "2016-12-05 20:59:19.358819"], ["updated_at", "2016-12-05 20:59:19.358819"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 32], ["created_at", "2016-12-05 20:59:19.359854"], ["updated_at", "2016-12-05 20:59:19.359854"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 32]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 32]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 57]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 58]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 32]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ---------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ---------------------------- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:01:13.392406"], ["updated_at", "2016-12-05 21:01:13.392406"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 33], ["created_at", "2016-12-05 21:01:13.393920"], ["updated_at", "2016-12-05 21:01:13.393920"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 33], ["created_at", "2016-12-05 21:01:13.395075"], ["updated_at", "2016-12-05 21:01:13.395075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 33]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 33]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 59]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 60]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 33]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:01:42.483432"], ["updated_at", "2016-12-05 21:01:42.483432"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 34], ["created_at", "2016-12-05 21:01:42.484993"], ["updated_at", "2016-12-05 21:01:42.484993"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 34], ["created_at", "2016-12-05 21:01:42.486097"], ["updated_at", "2016-12-05 21:01:42.486097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 34]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 34]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 61]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 62]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 34]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:03:25.350735"], ["updated_at", "2016-12-05 21:03:25.350735"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 35], ["created_at", "2016-12-05 21:03:25.352354"], ["updated_at", "2016-12-05 21:03:25.352354"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 35], ["created_at", "2016-12-05 21:03:25.353502"], ["updated_at", "2016-12-05 21:03:25.353502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 35]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 35]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 63]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 64]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 35]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:03:41.988114"], ["updated_at", "2016-12-05 21:03:41.988114"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 36], ["created_at", "2016-12-05 21:03:41.989694"], ["updated_at", "2016-12-05 21:03:41.989694"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 36], ["created_at", "2016-12-05 21:03:41.990814"], ["updated_at", "2016-12-05 21:03:41.990814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 36]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 36]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 65]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 66]] SQL (0.3ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.9ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:03:51.258805"], ["updated_at", "2016-12-05 21:03:51.258805"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 37], ["created_at", "2016-12-05 21:03:51.260656"], ["updated_at", "2016-12-05 21:03:51.260656"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 37], ["created_at", "2016-12-05 21:03:51.262151"], ["updated_at", "2016-12-05 21:03:51.262151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 37]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 37]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 67]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 68]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 37]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.3ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:04:00.167777"], ["updated_at", "2016-12-05 21:04:00.167777"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 38], ["created_at", "2016-12-05 21:04:00.169471"], ["updated_at", "2016-12-05 21:04:00.169471"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 38], ["created_at", "2016-12-05 21:04:00.170675"], ["updated_at", "2016-12-05 21:04:00.170675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 38]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 38]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 69]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 70]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 38]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:04:10.397263"], ["updated_at", "2016-12-05 21:04:10.397263"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 39], ["created_at", "2016-12-05 21:04:10.398747"], ["updated_at", "2016-12-05 21:04:10.398747"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 39], ["created_at", "2016-12-05 21:04:10.399751"], ["updated_at", "2016-12-05 21:04:10.399751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 39]] ProductTranslation Load (0.3ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 39]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 71]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 72]] SQL (0.3ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 39]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:04:19.284772"], ["updated_at", "2016-12-05 21:04:19.284772"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 40], ["created_at", "2016-12-05 21:04:19.287326"], ["updated_at", "2016-12-05 21:04:19.287326"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 40], ["created_at", "2016-12-05 21:04:19.288533"], ["updated_at", "2016-12-05 21:04:19.288533"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 40]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 40]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 73]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 74]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 40]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (1.5ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:04.004635"], ["updated_at", "2016-12-05 21:05:04.004635"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 41], ["created_at", "2016-12-05 21:05:04.006311"], ["updated_at", "2016-12-05 21:05:04.006311"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 41], ["created_at", "2016-12-05 21:05:04.007555"], ["updated_at", "2016-12-05 21:05:04.007555"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 41]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 41]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 75]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 76]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 41]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.4ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (1.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:10.772839"], ["updated_at", "2016-12-05 21:05:10.772839"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 42], ["created_at", "2016-12-05 21:05:10.775706"], ["updated_at", "2016-12-05 21:05:10.775706"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 42], ["created_at", "2016-12-05 21:05:10.777057"], ["updated_at", "2016-12-05 21:05:10.777057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 42]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 42]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 77]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 78]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 42]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (1.5ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:17.269150"], ["updated_at", "2016-12-05 21:05:17.269150"]] SQL (0.5ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 43], ["created_at", "2016-12-05 21:05:17.271281"], ["updated_at", "2016-12-05 21:05:17.271281"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 43], ["created_at", "2016-12-05 21:05:17.273743"], ["updated_at", "2016-12-05 21:05:17.273743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 43]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 43]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 79]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 80]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 43]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:29.599345"], ["updated_at", "2016-12-05 21:05:29.599345"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 44], ["created_at", "2016-12-05 21:05:29.600815"], ["updated_at", "2016-12-05 21:05:29.600815"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 44], ["created_at", "2016-12-05 21:05:29.601938"], ["updated_at", "2016-12-05 21:05:29.601938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 44]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 44]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 81]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 82]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 44]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:39.627821"], ["updated_at", "2016-12-05 21:05:39.627821"]] SQL (0.5ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 45], ["created_at", "2016-12-05 21:05:39.629455"], ["updated_at", "2016-12-05 21:05:39.629455"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 45], ["created_at", "2016-12-05 21:05:39.631306"], ["updated_at", "2016-12-05 21:05:39.631306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 45]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 45]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 83]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 84]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 45]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.4ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:05:48.764819"], ["updated_at", "2016-12-05 21:05:48.764819"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 46], ["created_at", "2016-12-05 21:05:48.766470"], ["updated_at", "2016-12-05 21:05:48.766470"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 46], ["created_at", "2016-12-05 21:05:48.767516"], ["updated_at", "2016-12-05 21:05:48.767516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 46]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 46]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 85]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 86]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 46]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.8ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:06:01.915991"], ["updated_at", "2016-12-05 21:06:01.915991"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 47], ["created_at", "2016-12-05 21:06:01.918541"], ["updated_at", "2016-12-05 21:06:01.918541"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 47], ["created_at", "2016-12-05 21:06:01.919644"], ["updated_at", "2016-12-05 21:06:01.919644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 47]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 47]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 87]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 88]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 47]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.1ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:06:37.744032"], ["updated_at", "2016-12-05 21:06:37.744032"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 48], ["created_at", "2016-12-05 21:06:37.745574"], ["updated_at", "2016-12-05 21:06:37.745574"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 48], ["created_at", "2016-12-05 21:06:37.746688"], ["updated_at", "2016-12-05 21:06:37.746688"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 48]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 48]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 89]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 90]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 48]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:06:47.043462"], ["updated_at", "2016-12-05 21:06:47.043462"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 49], ["created_at", "2016-12-05 21:06:47.045103"], ["updated_at", "2016-12-05 21:06:47.045103"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 49], ["created_at", "2016-12-05 21:06:47.046244"], ["updated_at", "2016-12-05 21:06:47.046244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 49]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 49]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 91]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 92]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 49]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:07:48.369380"], ["updated_at", "2016-12-05 21:07:48.369380"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 50], ["created_at", "2016-12-05 21:07:48.370787"], ["updated_at", "2016-12-05 21:07:48.370787"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 50], ["created_at", "2016-12-05 21:07:48.371769"], ["updated_at", "2016-12-05 21:07:48.371769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 50]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 50]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 93]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 94]] SQL (0.8ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 50]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.6ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-05 21:09:49.410105"], ["updated_at", "2016-12-05 21:09:49.410105"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 51], ["created_at", "2016-12-05 21:09:49.411619"], ["updated_at", "2016-12-05 21:09:49.411619"]] SQL (0.3ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 51], ["created_at", "2016-12-05 21:09:49.412696"], ["updated_at", "2016-12-05 21:09:49.412696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 51]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 51]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 95]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 96]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 51]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (26.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.2ms) SAVEPOINT active_record_1 ProductTranslation Exists (24.8ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.3ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (2.0ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:29:31.078254"], ["updated_at", "2016-12-13 20:29:31.078254"]] SQL (1.9ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 52], ["created_at", "2016-12-13 20:29:31.081643"], ["updated_at", "2016-12-13 20:29:31.081643"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 52], ["created_at", "2016-12-13 20:29:31.084802"], ["updated_at", "2016-12-13 20:29:31.084802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 52]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 52]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 97]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 98]] SQL (0.1ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 52]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN ---------------------------- GeneratorsTest: test_install ----------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- ProductTest: test_persistent ----------------------------  (0.3ms) SAVEPOINT active_record_1 ProductTranslation Exists (0.7ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'en') LIMIT 1 ProductTranslation Exists (0.2ms) SELECT 1 AS one FROM "product_translations" WHERE ("product_translations"."product_id" IS NULL AND "product_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "products" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:30:16.263393"], ["updated_at", "2016-12-13 20:30:16.263393"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "en"], ["name", "phone"], ["product_id", 53], ["created_at", "2016-12-13 20:30:16.264872"], ["updated_at", "2016-12-13 20:30:16.264872"]] SQL (0.2ms) INSERT INTO "product_translations" ("locale", "name", "product_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["locale", "es"], ["name", "teléfono"], ["product_id", 53], ["created_at", "2016-12-13 20:30:16.265837"], ["updated_at", "2016-12-13 20:30:16.265837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 53]] ProductTranslation Load (0.2ms) SELECT "product_translations".* FROM "product_translations" WHERE "product_translations"."product_id" = $1 [["product_id", 53]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 99]] SQL (0.2ms) DELETE FROM "product_translations" WHERE "product_translations"."id" = $1 [["id", 100]] SQL (0.2ms) DELETE FROM "products" WHERE "products"."id" = $1 [["id", 53]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "product_translations"  (0.2ms) ROLLBACK  (19.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (16.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateProducts (20130819155126)  (0.1ms) BEGIN  (7.9ms) CREATE TABLE "products" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130819155126"]]  (6.4ms) COMMIT Migrating to CreateProductTranslations (20161205171056)  (11.7ms) BEGIN  (12.9ms) CREATE TABLE "product_translations" ("id" serial primary key, "product_id" integer, "locale" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "index_product_translations_on_product_id_and_locale" ON "product_translations" ("product_id", "locale") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161205171056"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'product_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname