(1.2ms) CREATE TABLE "regions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "region_id" integer, "category" varchar, "code" varchar, "name" varchar, "alpha_3_code" varchar, "numeric_code" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "index_regions_on_region_id_and_code" ON "regions" ("region_id", "code")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_regions_on_region_id_and_code' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_regions_on_region_id_and_code' AND type='index'   (0.6ms) CREATE INDEX "index_regions_on_region_id" ON "regions" ("region_id")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120193336')  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.5ms) commit transaction ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "1"], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "2"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "2"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "3"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "4"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "4"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "5"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "5"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "6"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "6"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "7"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "7"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Region Load (0.1ms) SELECT "regions".* FROM "regions" ORDER BY "regions"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "regions" ("created_at", "updated_at") VALUES (?, ?) [["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "regions" SET "code" = ?, "updated_at" = ? WHERE "regions"."id" = ? [["code", "an arbitrary value"], ["updated_at", 2016-11-20 20:30:09 UTC], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "an arbitrary value"], ["LIMIT", 1]] Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "AN ARBITRARY VALUE"], ["LIMIT", 1]] Region Load (0.1ms) SELECT "regions".* FROM "regions" Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "an arbitrary value"], ["region_id", 0], ["LIMIT", 1]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "regions" Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("category", "code", "name", "alpha_3_code", "numeric_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["category", "country"], ["code", "US"], ["name", "United States"], ["alpha_3_code", "USA"], ["numeric_code", 840], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AK"], ["name", "Alaska"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AL"], ["name", "Alabama"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AR"], ["name", "Arkansas"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "AS"], ["name", "American Samoa"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AZ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AZ"], ["name", "Arizona"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CA"], ["name", "California"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CO"], ["name", "Colorado"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CT"], ["name", "Connecticut"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "district"], ["code", "DC"], ["name", "District of Columbia"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "DE"], ["name", "Delaware"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "FL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "FL"], ["name", "Florida"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "GA"], ["name", "Georgia"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GU"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "GU"], ["name", "Guam"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "HI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "HI"], ["name", "Hawaii"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IA"], ["name", "Iowa"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ID"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ID"], ["name", "Idaho"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IL"], ["name", "Illinois"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IN"], ["name", "Indiana"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KS"], ["name", "Kansas"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KY"], ["name", "Kentucky"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "LA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "LA"], ["name", "Louisiana"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MA"], ["name", "Massachusetts"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MD"], ["name", "Maryland"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ME"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ME"], ["name", "Maine"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MI"], ["name", "Michigan"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MN"], ["name", "Minnesota"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MO"], ["name", "Missouri"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "MP"], ["name", "Northern Mariana Islands"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MS"], ["name", "Mississippi"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MT"], ["name", "Montana"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NC"], ["name", "North Carolina"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ND"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ND"], ["name", "North Dakota"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NE"], ["name", "Nebraska"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NH"], ["name", "New Hampshire"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NJ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NJ"], ["name", "New Jersey"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NM"], ["name", "New Mexico"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NV"], ["name", "Nevada"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NY"], ["name", "New York"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OH"], ["name", "Ohio"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OK"], ["name", "Oklahoma"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OR"], ["name", "Oregon"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "PA"], ["name", "Pennsylvania"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "PR"], ["name", "Puerto Rico"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "RI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "RI"], ["name", "Rhode Island"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SC"], ["name", "South Carolina"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SD"], ["name", "South Dakota"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TN"], ["name", "Tennessee"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TX"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TX"], ["name", "Texas"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "UM"], ["name", "United States Minor Outlying Islands"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "UT"], ["name", "Utah"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VA"], ["name", "Virginia"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "VI"], ["name", "Virgin Islands"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VT"], ["name", "Vermont"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WA"], ["name", "Washington"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WI"], ["name", "Wisconsin"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WV"], ["name", "West Virginia"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WY"], ["name", "Wyoming"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AA"], ["name", "Armed Forces Americas (except Canada)"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AE"], ["name", "Armed Forces Africa, Canada, Europe, Middle East"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AP"], ["name", "Armed Forces Pacific"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "regions"  (2.1ms) rollback transaction  (0.1ms) begin transaction Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "regions" ("category", "code", "name", "alpha_3_code", "numeric_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["category", "country"], ["code", "US"], ["name", "United States"], ["alpha_3_code", "USA"], ["numeric_code", 840], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AK"], ["name", "Alaska"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AL"], ["name", "Alabama"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AR"], ["name", "Arkansas"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "AS"], ["name", "American Samoa"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AZ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AZ"], ["name", "Arizona"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CA"], ["name", "California"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CO"], ["name", "Colorado"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.3ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CT"], ["name", "Connecticut"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "district"], ["code", "DC"], ["name", "District of Columbia"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "DE"], ["name", "Delaware"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "FL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "FL"], ["name", "Florida"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "GA"], ["name", "Georgia"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GU"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "GU"], ["name", "Guam"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "HI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "HI"], ["name", "Hawaii"], ["created_at", 2016-11-20 20:30:09 UTC], ["updated_at", 2016-11-20 20:30:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IA"], ["name", "Iowa"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ID"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ID"], ["name", "Idaho"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IL"], ["name", "Illinois"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IN"], ["name", "Indiana"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KS"], ["name", "Kansas"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KY"], ["name", "Kentucky"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "LA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "LA"], ["name", "Louisiana"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MA"], ["name", "Massachusetts"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MD"], ["name", "Maryland"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ME"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ME"], ["name", "Maine"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MI"], ["name", "Michigan"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MN"], ["name", "Minnesota"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MO"], ["name", "Missouri"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "MP"], ["name", "Northern Mariana Islands"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MS"], ["name", "Mississippi"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MT"], ["name", "Montana"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NC"], ["name", "North Carolina"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ND"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ND"], ["name", "North Dakota"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NE"], ["name", "Nebraska"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NH"], ["name", "New Hampshire"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NJ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NJ"], ["name", "New Jersey"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NM"], ["name", "New Mexico"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NV"], ["name", "Nevada"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NY"], ["name", "New York"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OH"], ["name", "Ohio"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OK"], ["name", "Oklahoma"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OR"], ["name", "Oregon"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "PA"], ["name", "Pennsylvania"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "PR"], ["name", "Puerto Rico"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "RI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "RI"], ["name", "Rhode Island"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SC"], ["name", "South Carolina"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SD"], ["name", "South Dakota"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TN"], ["name", "Tennessee"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TX"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TX"], ["name", "Texas"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "UM"], ["name", "United States Minor Outlying Islands"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "UT"], ["name", "Utah"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VA"], ["name", "Virginia"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "VI"], ["name", "Virgin Islands"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VT"], ["name", "Vermont"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WA"], ["name", "Washington"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WI"], ["name", "Wisconsin"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WV"], ["name", "West Virginia"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WY"], ["name", "Wyoming"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AA"], ["name", "Armed Forces Americas (except Canada)"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AE"], ["name", "Armed Forces Africa, Canada, Europe, Middle East"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AP"], ["name", "Armed Forces Pacific"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? AND "regions"."name" = ? LIMIT ? [["category", "country"], ["name", "United States"], ["LIMIT", 1]]  (2.3ms) rollback transaction  (0.1ms) begin transaction Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "regions" ("category", "code", "name", "alpha_3_code", "numeric_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["category", "country"], ["code", "US"], ["name", "United States"], ["alpha_3_code", "USA"], ["numeric_code", 840], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AK"], ["name", "Alaska"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AL"], ["name", "Alabama"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AR"], ["name", "Arkansas"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "AS"], ["name", "American Samoa"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AZ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AZ"], ["name", "Arizona"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CA"], ["name", "California"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CO"], ["name", "Colorado"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CT"], ["name", "Connecticut"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "district"], ["code", "DC"], ["name", "District of Columbia"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "DE"], ["name", "Delaware"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "FL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "FL"], ["name", "Florida"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "GA"], ["name", "Georgia"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GU"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "GU"], ["name", "Guam"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "HI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "HI"], ["name", "Hawaii"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IA"], ["name", "Iowa"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ID"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ID"], ["name", "Idaho"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IL"], ["name", "Illinois"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IN"], ["name", "Indiana"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KS"], ["name", "Kansas"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KY"], ["name", "Kentucky"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "LA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "LA"], ["name", "Louisiana"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MA"], ["name", "Massachusetts"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MD"], ["name", "Maryland"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ME"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ME"], ["name", "Maine"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MI"], ["name", "Michigan"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MN"], ["name", "Minnesota"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MO"], ["name", "Missouri"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "MP"], ["name", "Northern Mariana Islands"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MS"], ["name", "Mississippi"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MT"], ["name", "Montana"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NC"], ["name", "North Carolina"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ND"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ND"], ["name", "North Dakota"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NE"], ["name", "Nebraska"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NH"], ["name", "New Hampshire"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NJ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NJ"], ["name", "New Jersey"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NM"], ["name", "New Mexico"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NV"], ["name", "Nevada"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NY"], ["name", "New York"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OH"], ["name", "Ohio"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OK"], ["name", "Oklahoma"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OR"], ["name", "Oregon"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "PA"], ["name", "Pennsylvania"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "PR"], ["name", "Puerto Rico"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "RI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "RI"], ["name", "Rhode Island"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SC"], ["name", "South Carolina"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SD"], ["name", "South Dakota"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TN"], ["name", "Tennessee"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TX"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TX"], ["name", "Texas"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "UM"], ["name", "United States Minor Outlying Islands"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "UT"], ["name", "Utah"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VA"], ["name", "Virginia"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "VI"], ["name", "Virgin Islands"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VT"], ["name", "Vermont"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WA"], ["name", "Washington"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WI"], ["name", "Wisconsin"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WV"], ["name", "West Virginia"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WY"], ["name", "Wyoming"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AA"], ["name", "Armed Forces Americas (except Canada)"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AE"], ["name", "Armed Forces Africa, Canada, Europe, Middle East"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AP"], ["name", "Armed Forces Pacific"], ["created_at", 2016-11-20 20:30:10 UTC], ["updated_at", 2016-11-20 20:30:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? AND "regions"."name" = ? LIMIT ? [["category", "country"], ["name", "United States"], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "regions" WHERE "regions"."region_id" = ? AND "regions"."category" = ? [["region_id", 1], ["category", "state"]]  (2.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "1"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "1"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:46 UTC], ["updated_at", 2016-11-20 20:30:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "2"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:46 UTC], ["updated_at", 2016-11-20 20:30:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "3"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "3"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:46 UTC], ["updated_at", 2016-11-20 20:30:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "4"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:46 UTC], ["updated_at", 2016-11-20 20:30:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "5"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "5"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:46 UTC], ["updated_at", 2016-11-20 20:30:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "6"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:46 UTC], ["updated_at", 2016-11-20 20:30:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "1"], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "2"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "2"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "3"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "4"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "5"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "5"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "6"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "7"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "7"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (5.2ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "8"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "8"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "9"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "country"], ["code", "9"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "10"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["category", "state"], ["code", "10"], ["name", "Country Name"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Region Load (0.1ms) SELECT "regions".* FROM "regions" ORDER BY "regions"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "regions" ("created_at", "updated_at") VALUES (?, ?) [["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "regions" SET "code" = ?, "updated_at" = ? WHERE "regions"."id" = ? [["code", "an arbitrary value"], ["updated_at", 2016-11-20 20:30:55 UTC], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "an arbitrary value"], ["LIMIT", 1]] Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "AN ARBITRARY VALUE"], ["LIMIT", 1]] Region Load (0.1ms) SELECT "regions".* FROM "regions" Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "an arbitrary value"], ["region_id", 0], ["LIMIT", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "regions" Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("category", "code", "name", "alpha_3_code", "numeric_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["category", "country"], ["code", "US"], ["name", "United States"], ["alpha_3_code", "USA"], ["numeric_code", 840], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.2ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AK"], ["name", "Alaska"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AL"], ["name", "Alabama"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AR"], ["name", "Arkansas"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "AS"], ["name", "American Samoa"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AZ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AZ"], ["name", "Arizona"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CA"], ["name", "California"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CO"], ["name", "Colorado"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CT"], ["name", "Connecticut"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "district"], ["code", "DC"], ["name", "District of Columbia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "DE"], ["name", "Delaware"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "FL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "FL"], ["name", "Florida"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "GA"], ["name", "Georgia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GU"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "GU"], ["name", "Guam"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "HI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "HI"], ["name", "Hawaii"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IA"], ["name", "Iowa"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ID"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ID"], ["name", "Idaho"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IL"], ["name", "Illinois"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IN"], ["name", "Indiana"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KS"], ["name", "Kansas"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KY"], ["name", "Kentucky"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "LA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "LA"], ["name", "Louisiana"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MA"], ["name", "Massachusetts"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MD"], ["name", "Maryland"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ME"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ME"], ["name", "Maine"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MI"], ["name", "Michigan"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MN"], ["name", "Minnesota"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MO"], ["name", "Missouri"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "MP"], ["name", "Northern Mariana Islands"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MS"], ["name", "Mississippi"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MT"], ["name", "Montana"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NC"], ["name", "North Carolina"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ND"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ND"], ["name", "North Dakota"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NE"], ["name", "Nebraska"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NH"], ["name", "New Hampshire"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NJ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NJ"], ["name", "New Jersey"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NM"], ["name", "New Mexico"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NV"], ["name", "Nevada"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NY"], ["name", "New York"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OH"], ["name", "Ohio"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OK"], ["name", "Oklahoma"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OR"], ["name", "Oregon"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "PA"], ["name", "Pennsylvania"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "PR"], ["name", "Puerto Rico"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "RI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "RI"], ["name", "Rhode Island"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SC"], ["name", "South Carolina"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SD"], ["name", "South Dakota"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TN"], ["name", "Tennessee"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TX"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TX"], ["name", "Texas"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "UM"], ["name", "United States Minor Outlying Islands"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "UT"], ["name", "Utah"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VA"], ["name", "Virginia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "VI"], ["name", "Virgin Islands"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VT"], ["name", "Vermont"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WA"], ["name", "Washington"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WI"], ["name", "Wisconsin"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WV"], ["name", "West Virginia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WY"], ["name", "Wyoming"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AA"], ["name", "Armed Forces Americas (except Canada)"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AE"], ["name", "Armed Forces Africa, Canada, Europe, Middle East"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AP"], ["name", "Armed Forces Pacific"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "regions"  (2.2ms) rollback transaction  (0.2ms) begin transaction Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "regions" ("category", "code", "name", "alpha_3_code", "numeric_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["category", "country"], ["code", "US"], ["name", "United States"], ["alpha_3_code", "USA"], ["numeric_code", 840], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AK"], ["name", "Alaska"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AL"], ["name", "Alabama"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AR"], ["name", "Arkansas"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "AS"], ["name", "American Samoa"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AZ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AZ"], ["name", "Arizona"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CA"], ["name", "California"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CO"], ["name", "Colorado"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CT"], ["name", "Connecticut"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "district"], ["code", "DC"], ["name", "District of Columbia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "DE"], ["name", "Delaware"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "FL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "FL"], ["name", "Florida"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "GA"], ["name", "Georgia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GU"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "GU"], ["name", "Guam"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "HI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "HI"], ["name", "Hawaii"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IA"], ["name", "Iowa"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ID"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ID"], ["name", "Idaho"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IL"], ["name", "Illinois"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IN"], ["name", "Indiana"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KS"], ["name", "Kansas"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KY"], ["name", "Kentucky"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "LA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "LA"], ["name", "Louisiana"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MA"], ["name", "Massachusetts"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MD"], ["name", "Maryland"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ME"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ME"], ["name", "Maine"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MI"], ["name", "Michigan"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MN"], ["name", "Minnesota"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MO"], ["name", "Missouri"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "MP"], ["name", "Northern Mariana Islands"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MS"], ["name", "Mississippi"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MT"], ["name", "Montana"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NC"], ["name", "North Carolina"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ND"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ND"], ["name", "North Dakota"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NE"], ["name", "Nebraska"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NH"], ["name", "New Hampshire"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NJ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NJ"], ["name", "New Jersey"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NM"], ["name", "New Mexico"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NV"], ["name", "Nevada"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NY"], ["name", "New York"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.2ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OH"], ["name", "Ohio"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OK"], ["name", "Oklahoma"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OR"], ["name", "Oregon"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "PA"], ["name", "Pennsylvania"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "PR"], ["name", "Puerto Rico"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "RI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "RI"], ["name", "Rhode Island"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SC"], ["name", "South Carolina"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SD"], ["name", "South Dakota"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TN"], ["name", "Tennessee"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TX"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TX"], ["name", "Texas"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "UM"], ["name", "United States Minor Outlying Islands"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "UT"], ["name", "Utah"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VA"], ["name", "Virginia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "VI"], ["name", "Virgin Islands"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VT"], ["name", "Vermont"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WA"], ["name", "Washington"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WI"], ["name", "Wisconsin"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WV"], ["name", "West Virginia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WY"], ["name", "Wyoming"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AA"], ["name", "Armed Forces Americas (except Canada)"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AE"], ["name", "Armed Forces Africa, Canada, Europe, Middle East"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AP"], ["name", "Armed Forces Pacific"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.2ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? AND "regions"."name" = ? LIMIT ? [["category", "country"], ["name", "United States"], ["LIMIT", 1]]  (1.9ms) rollback transaction  (0.0ms) begin transaction Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "regions" ("category", "code", "name", "alpha_3_code", "numeric_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["category", "country"], ["code", "US"], ["name", "United States"], ["alpha_3_code", "USA"], ["numeric_code", 840], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AK"], ["name", "Alaska"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AL"], ["name", "Alabama"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AR"], ["name", "Arkansas"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "AS"], ["name", "American Samoa"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AZ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "AZ"], ["name", "Arizona"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CA"], ["name", "California"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CO"], ["name", "Colorado"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "CT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "CT"], ["name", "Connecticut"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "district"], ["code", "DC"], ["name", "District of Columbia"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "DE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "DE"], ["name", "Delaware"], ["created_at", 2016-11-20 20:30:55 UTC], ["updated_at", 2016-11-20 20:30:55 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "FL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "FL"], ["name", "Florida"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "GA"], ["name", "Georgia"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "GU"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "GU"], ["name", "Guam"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "HI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "HI"], ["name", "Hawaii"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IA"], ["name", "Iowa"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ID"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ID"], ["name", "Idaho"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IL"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IL"], ["name", "Illinois"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "IN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "IN"], ["name", "Indiana"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KS"], ["name", "Kansas"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "KY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "KY"], ["name", "Kentucky"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "LA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "LA"], ["name", "Louisiana"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MA"], ["name", "Massachusetts"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MD"], ["name", "Maryland"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ME"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ME"], ["name", "Maine"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MI"], ["name", "Michigan"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MN"], ["name", "Minnesota"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MO"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MO"], ["name", "Missouri"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "MP"], ["name", "Northern Mariana Islands"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MS"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MS"], ["name", "Mississippi"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "MT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "MT"], ["name", "Montana"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NC"], ["name", "North Carolina"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "ND"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "ND"], ["name", "North Dakota"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NE"], ["name", "Nebraska"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NH"], ["name", "New Hampshire"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NJ"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NJ"], ["name", "New Jersey"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NM"], ["name", "New Mexico"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NV"], ["name", "Nevada"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "NY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "NY"], ["name", "New York"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OH"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OH"], ["name", "Ohio"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OK"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OK"], ["name", "Oklahoma"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "OR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "OR"], ["name", "Oregon"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "PA"], ["name", "Pennsylvania"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "PR"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "PR"], ["name", "Puerto Rico"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "RI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "RI"], ["name", "Rhode Island"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SC"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SC"], ["name", "South Carolina"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "SD"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "SD"], ["name", "South Dakota"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TN"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TN"], ["name", "Tennessee"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "TX"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "TX"], ["name", "Texas"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UM"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "UM"], ["name", "United States Minor Outlying Islands"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "UT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "UT"], ["name", "Utah"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VA"], ["name", "Virginia"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "outlying area"], ["code", "VI"], ["name", "Virgin Islands"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "VT"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "VT"], ["name", "Vermont"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WA"], ["name", "Washington"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WI"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WI"], ["name", "Wisconsin"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WV"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WV"], ["name", "West Virginia"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "WY"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "state"], ["code", "WY"], ["name", "Wyoming"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AA"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AA"], ["name", "Armed Forces Americas (except Canada)"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AE"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AE"], ["name", "Armed Forces Africa, Canada, Europe, Middle East"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" = ? LIMIT ? [["code", "AP"], ["region_id", 1], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "regions" ("region_id", "category", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["region_id", 1], ["category", "apo"], ["code", "AP"], ["name", "Armed Forces Pacific"], ["created_at", 2016-11-20 20:30:56 UTC], ["updated_at", 2016-11-20 20:30:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? AND "regions"."name" = ? LIMIT ? [["category", "country"], ["name", "United States"], ["LIMIT", 1]]  (0.1ms) SELECT COUNT(*) FROM "regions" WHERE "regions"."region_id" = ? AND "regions"."category" = ? [["region_id", 1], ["category", "state"]]  (2.0ms) rollback transaction