regions 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +26 -0
  4. data/app/assets/stylesheets/regions/application.css +15 -0
  5. data/app/controllers/regions/application_controller.rb +4 -0
  6. data/app/helpers/regions/application_helper.rb +4 -0
  7. data/app/models/application_record.rb +3 -0
  8. data/app/models/region.rb +10 -0
  9. data/app/services/scrape_carmen.rb +28 -0
  10. data/app/views/layouts/regions/application.html.erb +14 -0
  11. data/config/routes.rb +2 -0
  12. data/db/migrate/20161120193336_create_regions.rb +16 -0
  13. data/lib/regions.rb +6 -0
  14. data/lib/regions/engine.rb +26 -0
  15. data/lib/regions/version.rb +3 -0
  16. data/lib/tasks/regions_tasks.rake +8 -0
  17. data/spec/dummy/README.rdoc +28 -0
  18. data/spec/dummy/Rakefile +6 -0
  19. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  20. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  21. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  22. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  23. data/spec/dummy/app/views/layouts/application.html.erb +13 -0
  24. data/spec/dummy/bin/bundle +3 -0
  25. data/spec/dummy/bin/rails +4 -0
  26. data/spec/dummy/bin/rake +4 -0
  27. data/spec/dummy/bin/setup +29 -0
  28. data/spec/dummy/config.ru +4 -0
  29. data/spec/dummy/config/application.rb +26 -0
  30. data/spec/dummy/config/boot.rb +5 -0
  31. data/spec/dummy/config/database.yml +25 -0
  32. data/spec/dummy/config/environment.rb +5 -0
  33. data/spec/dummy/config/environments/development.rb +41 -0
  34. data/spec/dummy/config/environments/production.rb +79 -0
  35. data/spec/dummy/config/environments/test.rb +42 -0
  36. data/spec/dummy/config/initializers/assets.rb +11 -0
  37. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  38. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  39. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  40. data/spec/dummy/config/initializers/inflections.rb +16 -0
  41. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  42. data/spec/dummy/config/initializers/session_store.rb +3 -0
  43. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  44. data/spec/dummy/config/locales/en.yml +23 -0
  45. data/spec/dummy/config/routes.rb +4 -0
  46. data/spec/dummy/config/secrets.yml +22 -0
  47. data/spec/dummy/db/development.sqlite3 +0 -0
  48. data/spec/dummy/db/schema.rb +28 -0
  49. data/spec/dummy/db/test.sqlite3 +0 -0
  50. data/spec/dummy/log/development.log +45949 -0
  51. data/spec/dummy/log/test.log +2047 -0
  52. data/spec/dummy/public/404.html +67 -0
  53. data/spec/dummy/public/422.html +67 -0
  54. data/spec/dummy/public/500.html +66 -0
  55. data/spec/dummy/public/favicon.ico +0 -0
  56. data/spec/factories/regions.rb +7 -0
  57. data/spec/models/region_spec.rb +32 -0
  58. data/spec/rails_helper.rb +47 -0
  59. data/spec/services/scrape_carmen_spec.rb +27 -0
  60. data/spec/spec_helper.rb +85 -0
  61. data/spec/support/factory_girl.rb +8 -0
  62. data/spec/support/shoulda_matchers.rb +8 -0
  63. metadata +241 -0
@@ -0,0 +1,2047 @@
1
+  (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)
2
+  (0.1ms) select sqlite_version(*)
3
+  (0.7ms) CREATE UNIQUE INDEX "index_regions_on_region_id_and_code" ON "regions" ("region_id", "code")
4
+  (0.3ms)  SELECT sql
5
+ FROM sqlite_master
6
+ WHERE name='index_regions_on_region_id_and_code' AND type='index'
7
+ UNION ALL
8
+ SELECT sql
9
+ FROM sqlite_temp_master
10
+ WHERE name='index_regions_on_region_id_and_code' AND type='index'
11
+ 
12
+  (0.6ms) CREATE INDEX "index_regions_on_region_id" ON "regions" ("region_id")
13
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
14
+  (0.1ms) SELECT version FROM "schema_migrations"
15
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120193336')
16
+  (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)
17
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
18
+  (0.0ms) begin transaction
19
+ 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]]
20
+  (0.5ms) commit transaction
21
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
22
+  (0.1ms) begin transaction
23
+  (0.0ms) commit transaction
24
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25
+  (0.1ms) begin transaction
26
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "1"], ["LIMIT", 1]]
27
+  (0.0ms) rollback transaction
28
+  (0.0ms) begin transaction
29
+  (0.0ms) SAVEPOINT active_record_1
30
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "2"], ["LIMIT", 1]]
31
+ 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]]
32
+  (0.0ms) RELEASE SAVEPOINT active_record_1
33
+  (0.0ms) SAVEPOINT active_record_1
34
+ Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "3"], ["LIMIT", 1]]
35
+ 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]]
36
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
38
+  (0.4ms) rollback transaction
39
+  (0.1ms) begin transaction
40
+  (0.0ms) SAVEPOINT active_record_1
41
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "4"], ["LIMIT", 1]]
42
+ 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]]
43
+  (0.0ms) RELEASE SAVEPOINT active_record_1
44
+  (0.0ms) SAVEPOINT active_record_1
45
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "5"], ["LIMIT", 1]]
46
+ 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]]
47
+  (0.0ms) RELEASE SAVEPOINT active_record_1
48
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
49
+  (0.4ms) rollback transaction
50
+  (0.0ms) begin transaction
51
+  (0.0ms) SAVEPOINT active_record_1
52
+ Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "6"], ["LIMIT", 1]]
53
+ 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]]
54
+  (0.0ms) RELEASE SAVEPOINT active_record_1
55
+  (0.0ms) SAVEPOINT active_record_1
56
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "7"], ["LIMIT", 1]]
57
+ 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]]
58
+  (0.0ms) RELEASE SAVEPOINT active_record_1
59
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
60
+  (0.3ms) rollback transaction
61
+  (0.0ms) begin transaction
62
+  (0.0ms) rollback transaction
63
+  (0.0ms) begin transaction
64
+  (0.0ms) rollback transaction
65
+  (0.0ms) begin transaction
66
+ Region Exists (0.2ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]
67
+  (0.1ms) rollback transaction
68
+  (0.1ms) begin transaction
69
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]
70
+  (0.1ms) rollback transaction
71
+  (0.0ms) begin transaction
72
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]
73
+  (0.0ms) rollback transaction
74
+  (0.0ms) begin transaction
75
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" ORDER BY "regions"."id" ASC LIMIT ? [["LIMIT", 1]]
76
+  (0.0ms) SAVEPOINT active_record_1
77
+ 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]]
78
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79
+  (0.0ms) SAVEPOINT active_record_1
80
+ 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]]
81
+  (0.0ms) RELEASE SAVEPOINT active_record_1
82
+ 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]]
83
+ 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]]
84
+ Region Load (0.1ms) SELECT "regions".* FROM "regions"
85
+ 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]]
86
+  (0.4ms) rollback transaction
87
+  (0.0ms) begin transaction
88
+  (0.1ms) SELECT COUNT(*) FROM "regions"
89
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]
90
+  (0.0ms) SAVEPOINT active_record_1
91
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]]
92
+ 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]]
93
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]
95
+  (0.0ms) SAVEPOINT active_record_1
96
+ 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]]
97
+ 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]]
98
+  (0.0ms) RELEASE SAVEPOINT active_record_1
99
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]
100
+  (0.0ms) SAVEPOINT active_record_1
101
+ 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]]
102
+ 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]]
103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
104
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]
105
+  (0.0ms) SAVEPOINT active_record_1
106
+ 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]]
107
+ 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]]
108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
109
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]
110
+  (0.0ms) SAVEPOINT active_record_1
111
+ 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]]
112
+ 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]]
113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
114
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]
115
+  (0.0ms) SAVEPOINT active_record_1
116
+ 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]]
117
+ 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]]
118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
119
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]
120
+  (0.0ms) SAVEPOINT active_record_1
121
+ 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]]
122
+ 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]]
123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
124
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]
125
+  (0.0ms) SAVEPOINT active_record_1
126
+ 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]]
127
+ 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]]
128
+  (0.0ms) RELEASE SAVEPOINT active_record_1
129
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]
130
+  (0.0ms) SAVEPOINT active_record_1
131
+ 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]]
132
+ 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]]
133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
134
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]
135
+  (0.0ms) SAVEPOINT active_record_1
136
+ 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]]
137
+ 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]]
138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
139
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]
140
+  (0.0ms) SAVEPOINT active_record_1
141
+ 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]]
142
+ 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]]
143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
144
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]
145
+  (0.0ms) SAVEPOINT active_record_1
146
+ 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]]
147
+ 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]]
148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]
150
+  (0.0ms) SAVEPOINT active_record_1
151
+ 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]]
152
+ 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]]
153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
154
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]
155
+  (0.0ms) SAVEPOINT active_record_1
156
+ 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]]
157
+ 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]]
158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
159
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]
160
+  (0.0ms) SAVEPOINT active_record_1
161
+ 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]]
162
+ 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]]
163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
164
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]
165
+  (0.0ms) SAVEPOINT active_record_1
166
+ 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]]
167
+ 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]]
168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
169
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]
170
+  (0.0ms) SAVEPOINT active_record_1
171
+ 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]]
172
+ 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]]
173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
174
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]
175
+  (0.0ms) SAVEPOINT active_record_1
176
+ 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]]
177
+ 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]]
178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
179
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]
180
+  (0.0ms) SAVEPOINT active_record_1
181
+ 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]]
182
+ 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]]
183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
184
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]
185
+  (0.0ms) SAVEPOINT active_record_1
186
+ 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]]
187
+ 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]]
188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
189
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]
190
+  (0.0ms) SAVEPOINT active_record_1
191
+ 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]]
192
+ 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]]
193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
194
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]
195
+  (0.0ms) SAVEPOINT active_record_1
196
+ 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]]
197
+ 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]]
198
+  (0.0ms) RELEASE SAVEPOINT active_record_1
199
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]
200
+  (0.0ms) SAVEPOINT active_record_1
201
+ 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]]
202
+ 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]]
203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
204
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]
205
+  (0.0ms) SAVEPOINT active_record_1
206
+ 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]]
207
+ 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]]
208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
209
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]
210
+  (0.0ms) SAVEPOINT active_record_1
211
+ 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]]
212
+ 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]]
213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
214
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]
215
+  (0.0ms) SAVEPOINT active_record_1
216
+ 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]]
217
+ 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]]
218
+  (0.0ms) RELEASE SAVEPOINT active_record_1
219
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]
220
+  (0.0ms) SAVEPOINT active_record_1
221
+ 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]]
222
+ 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]]
223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
224
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]
225
+  (0.0ms) SAVEPOINT active_record_1
226
+ 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]]
227
+ 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]]
228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
229
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]
230
+  (0.0ms) SAVEPOINT active_record_1
231
+ 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]]
232
+ 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]]
233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
234
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]
235
+  (0.0ms) SAVEPOINT active_record_1
236
+ 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]]
237
+ 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]]
238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
239
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]
240
+  (0.1ms) SAVEPOINT active_record_1
241
+ 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]]
242
+ 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]]
243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
244
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]
245
+  (0.0ms) SAVEPOINT active_record_1
246
+ 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]]
247
+ 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]]
248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
249
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]
250
+  (0.0ms) SAVEPOINT active_record_1
251
+ 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]]
252
+ 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]]
253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
254
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]
255
+  (0.0ms) SAVEPOINT active_record_1
256
+ 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]]
257
+ 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]]
258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
259
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]
260
+  (0.0ms) SAVEPOINT active_record_1
261
+ 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]]
262
+ 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]]
263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
264
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]
265
+  (0.0ms) SAVEPOINT active_record_1
266
+ 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]]
267
+ 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]]
268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
269
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]
270
+  (0.0ms) SAVEPOINT active_record_1
271
+ 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]]
272
+ 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]]
273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
274
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]
275
+  (0.0ms) SAVEPOINT active_record_1
276
+ 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]]
277
+ 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]]
278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
279
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]
280
+  (0.0ms) SAVEPOINT active_record_1
281
+ 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]]
282
+ 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]]
283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
284
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]
285
+  (0.0ms) SAVEPOINT active_record_1
286
+ 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]]
287
+ 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]]
288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
289
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]
290
+  (0.0ms) SAVEPOINT active_record_1
291
+ 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]]
292
+ 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]]
293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
294
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]
295
+  (0.0ms) SAVEPOINT active_record_1
296
+ 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]]
297
+ 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]]
298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
299
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]
300
+  (0.0ms) SAVEPOINT active_record_1
301
+ 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]]
302
+ 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]]
303
+  (0.0ms) RELEASE SAVEPOINT active_record_1
304
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]
305
+  (0.0ms) SAVEPOINT active_record_1
306
+ 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]]
307
+ 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]]
308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
309
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]
310
+  (0.0ms) SAVEPOINT active_record_1
311
+ 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]]
312
+ 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]]
313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
314
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]
315
+  (0.0ms) SAVEPOINT active_record_1
316
+ 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]]
317
+ 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]]
318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
319
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]
320
+  (0.0ms) SAVEPOINT active_record_1
321
+ 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]]
322
+ 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]]
323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
324
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]
325
+  (0.0ms) SAVEPOINT active_record_1
326
+ 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]]
327
+ 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]]
328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
329
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]
330
+  (0.0ms) SAVEPOINT active_record_1
331
+ 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]]
332
+ 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]]
333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
334
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]
335
+  (0.0ms) SAVEPOINT active_record_1
336
+ 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]]
337
+ 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]]
338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
339
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]
340
+  (0.0ms) SAVEPOINT active_record_1
341
+ 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]]
342
+ 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]]
343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
344
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]
345
+  (0.0ms) SAVEPOINT active_record_1
346
+ 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]]
347
+ 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]]
348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]
350
+  (0.0ms) SAVEPOINT active_record_1
351
+ 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]]
352
+ 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]]
353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
354
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]
355
+  (0.0ms) SAVEPOINT active_record_1
356
+ 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]]
357
+ 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]]
358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
359
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]
360
+  (0.0ms) SAVEPOINT active_record_1
361
+ 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]]
362
+ 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]]
363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
364
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]
365
+  (0.0ms) SAVEPOINT active_record_1
366
+ 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]]
367
+ 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]]
368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
369
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]
370
+  (0.0ms) SAVEPOINT active_record_1
371
+ 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]]
372
+ 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]]
373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
374
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]
375
+  (0.0ms) SAVEPOINT active_record_1
376
+ 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]]
377
+ 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]]
378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
379
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]
380
+  (0.0ms) SAVEPOINT active_record_1
381
+ 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]]
382
+ 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]]
383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
384
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]
385
+  (0.0ms) SAVEPOINT active_record_1
386
+ 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]]
387
+ 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]]
388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
389
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]
390
+  (0.0ms) SAVEPOINT active_record_1
391
+ 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]]
392
+ 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]]
393
+  (0.0ms) RELEASE SAVEPOINT active_record_1
394
+  (0.0ms) SELECT COUNT(*) FROM "regions"
395
+  (2.1ms) rollback transaction
396
+  (0.1ms) begin transaction
397
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]
398
+  (0.0ms) SAVEPOINT active_record_1
399
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]]
400
+ 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]]
401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
402
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]
403
+  (0.0ms) SAVEPOINT active_record_1
404
+ 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]]
405
+ 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]]
406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
407
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]
408
+  (0.0ms) SAVEPOINT active_record_1
409
+ 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]]
410
+ 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]]
411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
412
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]
413
+  (0.0ms) SAVEPOINT active_record_1
414
+ 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]]
415
+ 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]]
416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
417
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]
418
+  (0.0ms) SAVEPOINT active_record_1
419
+ 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]]
420
+ 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]]
421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
422
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]
423
+  (0.0ms) SAVEPOINT active_record_1
424
+ 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]]
425
+ 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]]
426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
427
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]
428
+  (0.1ms) SAVEPOINT active_record_1
429
+ 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]]
430
+ 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]]
431
+  (0.0ms) RELEASE SAVEPOINT active_record_1
432
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]
433
+  (0.0ms) SAVEPOINT active_record_1
434
+ 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]]
435
+ 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]]
436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
437
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]
438
+  (0.0ms) SAVEPOINT active_record_1
439
+ 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]]
440
+ 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]]
441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
442
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]
443
+  (0.0ms) SAVEPOINT active_record_1
444
+ 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]]
445
+ 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]]
446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
447
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]
448
+  (0.0ms) SAVEPOINT active_record_1
449
+ 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]]
450
+ 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]]
451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
452
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]
453
+  (0.0ms) SAVEPOINT active_record_1
454
+ 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]]
455
+ 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]]
456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
457
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]
458
+  (0.0ms) SAVEPOINT active_record_1
459
+ 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]]
460
+ 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]]
461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
462
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]
463
+  (0.0ms) SAVEPOINT active_record_1
464
+ 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]]
465
+ 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]]
466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
467
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]
468
+  (0.0ms) SAVEPOINT active_record_1
469
+ 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]]
470
+ 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]]
471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
472
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]
473
+  (0.0ms) SAVEPOINT active_record_1
474
+ 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]]
475
+ 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]]
476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
477
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]
478
+  (0.0ms) SAVEPOINT active_record_1
479
+ 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]]
480
+ 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]]
481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
482
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]
483
+  (0.0ms) SAVEPOINT active_record_1
484
+ 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]]
485
+ 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]]
486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
487
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]
488
+  (0.0ms) SAVEPOINT active_record_1
489
+ 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]]
490
+ 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]]
491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
492
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]
493
+  (0.0ms) SAVEPOINT active_record_1
494
+ 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]]
495
+ 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]]
496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
497
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]
498
+  (0.0ms) SAVEPOINT active_record_1
499
+ 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]]
500
+ 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]]
501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
502
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]
503
+  (0.0ms) SAVEPOINT active_record_1
504
+ 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]]
505
+ 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]]
506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
507
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]
508
+  (0.0ms) SAVEPOINT active_record_1
509
+ 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]]
510
+ 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]]
511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
512
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]
513
+  (0.0ms) SAVEPOINT active_record_1
514
+ 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]]
515
+ 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]]
516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
517
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]
518
+  (0.1ms) SAVEPOINT active_record_1
519
+ 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]]
520
+ 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]]
521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
522
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]
523
+  (0.0ms) SAVEPOINT active_record_1
524
+ 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]]
525
+ 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]]
526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
527
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]
528
+  (0.0ms) SAVEPOINT active_record_1
529
+ 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]]
530
+ 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]]
531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
532
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]
533
+  (0.0ms) SAVEPOINT active_record_1
534
+ 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]]
535
+ 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]]
536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
537
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]
538
+  (0.0ms) SAVEPOINT active_record_1
539
+ 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]]
540
+ 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]]
541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
542
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]
543
+  (0.0ms) SAVEPOINT active_record_1
544
+ 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]]
545
+ 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]]
546
+  (0.0ms) RELEASE SAVEPOINT active_record_1
547
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]
548
+  (0.0ms) SAVEPOINT active_record_1
549
+ 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]]
550
+ 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]]
551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
552
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]
553
+  (0.0ms) SAVEPOINT active_record_1
554
+ 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]]
555
+ 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]]
556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
557
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]
558
+  (0.0ms) SAVEPOINT active_record_1
559
+ 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]]
560
+ 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]]
561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
562
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]
563
+  (0.0ms) SAVEPOINT active_record_1
564
+ 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]]
565
+ 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]]
566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
567
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]
568
+  (0.0ms) SAVEPOINT active_record_1
569
+ 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]]
570
+ 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]]
571
+  (0.0ms) RELEASE SAVEPOINT active_record_1
572
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]
573
+  (0.0ms) SAVEPOINT active_record_1
574
+ 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]]
575
+ 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]]
576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
577
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]
578
+  (0.0ms) SAVEPOINT active_record_1
579
+ 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]]
580
+ 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]]
581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
582
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]
583
+  (0.0ms) SAVEPOINT active_record_1
584
+ 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]]
585
+ 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]]
586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
587
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]
588
+  (0.0ms) SAVEPOINT active_record_1
589
+ 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]]
590
+ 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]]
591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
592
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]
593
+  (0.0ms) SAVEPOINT active_record_1
594
+ 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]]
595
+ 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]]
596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
597
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]
598
+  (0.0ms) SAVEPOINT active_record_1
599
+ 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]]
600
+ 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]]
601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
602
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]
603
+  (0.0ms) SAVEPOINT active_record_1
604
+ 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]]
605
+ 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]]
606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
607
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]
608
+  (0.0ms) SAVEPOINT active_record_1
609
+ 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]]
610
+ 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]]
611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
612
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]
613
+  (0.0ms) SAVEPOINT active_record_1
614
+ 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]]
615
+ 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]]
616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
617
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]
618
+  (0.0ms) SAVEPOINT active_record_1
619
+ 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]]
620
+ 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]]
621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
622
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]
623
+  (0.0ms) SAVEPOINT active_record_1
624
+ 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]]
625
+ 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]]
626
+  (0.0ms) RELEASE SAVEPOINT active_record_1
627
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]
628
+  (0.0ms) SAVEPOINT active_record_1
629
+ 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]]
630
+ 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]]
631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
632
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]
633
+  (0.0ms) SAVEPOINT active_record_1
634
+ 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]]
635
+ 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]]
636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
637
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]
638
+  (0.0ms) SAVEPOINT active_record_1
639
+ 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]]
640
+ 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]]
641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
642
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]
643
+  (0.0ms) SAVEPOINT active_record_1
644
+ 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]]
645
+ 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]]
646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
647
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]
648
+  (0.0ms) SAVEPOINT active_record_1
649
+ 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]]
650
+ 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]]
651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
652
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]
653
+  (0.0ms) SAVEPOINT active_record_1
654
+ 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]]
655
+ 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]]
656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
657
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]
658
+  (0.0ms) SAVEPOINT active_record_1
659
+ 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]]
660
+ 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]]
661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
662
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]
663
+  (0.0ms) SAVEPOINT active_record_1
664
+ 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]]
665
+ 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]]
666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
667
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]
668
+  (0.0ms) SAVEPOINT active_record_1
669
+ 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]]
670
+ 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]]
671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
672
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]
673
+  (0.0ms) SAVEPOINT active_record_1
674
+ 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]]
675
+ 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]]
676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
677
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]
678
+  (0.0ms) SAVEPOINT active_record_1
679
+ 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]]
680
+ 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]]
681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
682
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]
683
+  (0.0ms) SAVEPOINT active_record_1
684
+ 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]]
685
+ 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]]
686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
687
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]
688
+  (0.0ms) SAVEPOINT active_record_1
689
+ 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]]
690
+ 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]]
691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
692
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]
693
+  (0.0ms) SAVEPOINT active_record_1
694
+ 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]]
695
+ 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]]
696
+  (0.0ms) RELEASE SAVEPOINT active_record_1
697
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]
698
+  (0.0ms) SAVEPOINT active_record_1
699
+ 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]]
700
+ 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]]
701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
702
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? AND "regions"."name" = ? LIMIT ? [["category", "country"], ["name", "United States"], ["LIMIT", 1]]
703
+  (2.3ms) rollback transaction
704
+  (0.1ms) begin transaction
705
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]
706
+  (0.0ms) SAVEPOINT active_record_1
707
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]]
708
+ 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]]
709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
710
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]
711
+  (0.0ms) SAVEPOINT active_record_1
712
+ 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]]
713
+ 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]]
714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
715
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]
716
+  (0.0ms) SAVEPOINT active_record_1
717
+ 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]]
718
+ 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]]
719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
720
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]
721
+  (0.0ms) SAVEPOINT active_record_1
722
+ 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]]
723
+ 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]]
724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
725
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]
726
+  (0.0ms) SAVEPOINT active_record_1
727
+ 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]]
728
+ 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]]
729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
730
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]
731
+  (0.0ms) SAVEPOINT active_record_1
732
+ 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]]
733
+ 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]]
734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
735
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]
736
+  (0.0ms) SAVEPOINT active_record_1
737
+ 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]]
738
+ 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]]
739
+  (0.0ms) RELEASE SAVEPOINT active_record_1
740
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]
741
+  (0.0ms) SAVEPOINT active_record_1
742
+ 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]]
743
+ 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]]
744
+  (0.0ms) RELEASE SAVEPOINT active_record_1
745
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]
746
+  (0.0ms) SAVEPOINT active_record_1
747
+ 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]]
748
+ 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]]
749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
750
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]
751
+  (0.0ms) SAVEPOINT active_record_1
752
+ 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]]
753
+ 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]]
754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
755
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]
756
+  (0.0ms) SAVEPOINT active_record_1
757
+ 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]]
758
+ 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]]
759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
760
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]
761
+  (0.0ms) SAVEPOINT active_record_1
762
+ 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]]
763
+ 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]]
764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
765
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]
766
+  (0.0ms) SAVEPOINT active_record_1
767
+ 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]]
768
+ 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]]
769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
770
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]
771
+  (0.0ms) SAVEPOINT active_record_1
772
+ 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]]
773
+ 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]]
774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
775
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]
776
+  (0.0ms) SAVEPOINT active_record_1
777
+ 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]]
778
+ 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]]
779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
780
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]
781
+  (0.1ms) SAVEPOINT active_record_1
782
+ 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]]
783
+ 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]]
784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
785
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]
786
+  (0.0ms) SAVEPOINT active_record_1
787
+ 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]]
788
+ 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]]
789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
790
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]
791
+  (0.0ms) SAVEPOINT active_record_1
792
+ 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]]
793
+ 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]]
794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
795
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]
796
+  (0.1ms) SAVEPOINT active_record_1
797
+ 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]]
798
+ 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]]
799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
800
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]
801
+  (0.0ms) SAVEPOINT active_record_1
802
+ 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]]
803
+ 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]]
804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
805
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]
806
+  (0.0ms) SAVEPOINT active_record_1
807
+ 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]]
808
+ 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]]
809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
810
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]
811
+  (0.0ms) SAVEPOINT active_record_1
812
+ 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]]
813
+ 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]]
814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
815
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]
816
+  (0.0ms) SAVEPOINT active_record_1
817
+ 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]]
818
+ 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]]
819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
820
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]
821
+  (0.0ms) SAVEPOINT active_record_1
822
+ 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]]
823
+ 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]]
824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
825
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]
826
+  (0.0ms) SAVEPOINT active_record_1
827
+ 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]]
828
+ 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]]
829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
830
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]
831
+  (0.0ms) SAVEPOINT active_record_1
832
+ 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]]
833
+ 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]]
834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
835
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]
836
+  (0.0ms) SAVEPOINT active_record_1
837
+ 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]]
838
+ 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]]
839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
840
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]
841
+  (0.0ms) SAVEPOINT active_record_1
842
+ 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]]
843
+ 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]]
844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
845
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]
846
+  (0.1ms) SAVEPOINT active_record_1
847
+ 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]]
848
+ 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]]
849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
850
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]
851
+  (0.0ms) SAVEPOINT active_record_1
852
+ 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]]
853
+ 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]]
854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
855
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]
856
+  (0.0ms) SAVEPOINT active_record_1
857
+ 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]]
858
+ 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]]
859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
860
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]
861
+  (0.0ms) SAVEPOINT active_record_1
862
+ 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]]
863
+ 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]]
864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
865
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]
866
+  (0.0ms) SAVEPOINT active_record_1
867
+ 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]]
868
+ 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]]
869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
870
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]
871
+  (0.0ms) SAVEPOINT active_record_1
872
+ 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]]
873
+ 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]]
874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
875
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]
876
+  (0.0ms) SAVEPOINT active_record_1
877
+ 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]]
878
+ 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]]
879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
880
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]
881
+  (0.0ms) SAVEPOINT active_record_1
882
+ 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]]
883
+ 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]]
884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
885
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]
886
+  (0.0ms) SAVEPOINT active_record_1
887
+ 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]]
888
+ 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]]
889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
890
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]
891
+  (0.1ms) SAVEPOINT active_record_1
892
+ 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]]
893
+ 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]]
894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
895
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]
896
+  (0.0ms) SAVEPOINT active_record_1
897
+ 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]]
898
+ 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]]
899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
900
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]
901
+  (0.0ms) SAVEPOINT active_record_1
902
+ 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]]
903
+ 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]]
904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
905
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]
906
+  (0.0ms) SAVEPOINT active_record_1
907
+ 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]]
908
+ 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]]
909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
910
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]
911
+  (0.0ms) SAVEPOINT active_record_1
912
+ 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]]
913
+ 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]]
914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
915
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]
916
+  (0.0ms) SAVEPOINT active_record_1
917
+ 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]]
918
+ 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]]
919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
920
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]
921
+  (0.0ms) SAVEPOINT active_record_1
922
+ 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]]
923
+ 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]]
924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
925
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]
926
+  (0.0ms) SAVEPOINT active_record_1
927
+ 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]]
928
+ 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]]
929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
930
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]
931
+  (0.0ms) SAVEPOINT active_record_1
932
+ 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]]
933
+ 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]]
934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
935
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]
936
+  (0.0ms) SAVEPOINT active_record_1
937
+ 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]]
938
+ 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]]
939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
940
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]
941
+  (0.0ms) SAVEPOINT active_record_1
942
+ 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]]
943
+ 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]]
944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
945
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]
946
+  (0.0ms) SAVEPOINT active_record_1
947
+ 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]]
948
+ 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]]
949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
950
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]
951
+  (0.0ms) SAVEPOINT active_record_1
952
+ 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]]
953
+ 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]]
954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
955
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]
956
+  (0.0ms) SAVEPOINT active_record_1
957
+ 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]]
958
+ 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]]
959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
960
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]
961
+  (0.1ms) SAVEPOINT active_record_1
962
+ 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]]
963
+ 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]]
964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
965
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]
966
+  (0.0ms) SAVEPOINT active_record_1
967
+ 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]]
968
+ 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]]
969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
970
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]
971
+  (0.0ms) SAVEPOINT active_record_1
972
+ 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]]
973
+ 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]]
974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
975
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]
976
+  (0.0ms) SAVEPOINT active_record_1
977
+ 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]]
978
+ 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]]
979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
980
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]
981
+  (0.0ms) SAVEPOINT active_record_1
982
+ 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]]
983
+ 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]]
984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
985
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]
986
+  (0.0ms) SAVEPOINT active_record_1
987
+ 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]]
988
+ 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]]
989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
990
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]
991
+  (0.0ms) SAVEPOINT active_record_1
992
+ 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]]
993
+ 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]]
994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
995
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]
996
+  (0.0ms) SAVEPOINT active_record_1
997
+ 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]]
998
+ 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]]
999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1000
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]
1001
+  (0.0ms) SAVEPOINT active_record_1
1002
+ 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]]
1003
+ 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]]
1004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1005
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]
1006
+  (0.0ms) SAVEPOINT active_record_1
1007
+ 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]]
1008
+ 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]]
1009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1010
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? AND "regions"."name" = ? LIMIT ? [["category", "country"], ["name", "United States"], ["LIMIT", 1]]
1011
+  (0.1ms) SELECT COUNT(*) FROM "regions" WHERE "regions"."region_id" = ? AND "regions"."category" = ? [["region_id", 1], ["category", "state"]]
1012
+  (2.0ms) rollback transaction
1013
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1014
+  (0.1ms) begin transaction
1015
+  (0.1ms) SAVEPOINT active_record_1
1016
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "1"], ["LIMIT", 1]]
1017
+ 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]]
1018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1019
+  (0.0ms) SAVEPOINT active_record_1
1020
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "2"], ["LIMIT", 1]]
1021
+ 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]]
1022
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1023
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
1024
+  (0.4ms) rollback transaction
1025
+  (0.0ms) begin transaction
1026
+  (0.0ms) SAVEPOINT active_record_1
1027
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "3"], ["LIMIT", 1]]
1028
+ 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]]
1029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1030
+  (0.0ms) SAVEPOINT active_record_1
1031
+ Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "4"], ["LIMIT", 1]]
1032
+ 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]]
1033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1034
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
1035
+  (0.3ms) rollback transaction
1036
+  (0.0ms) begin transaction
1037
+  (0.0ms) SAVEPOINT active_record_1
1038
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "5"], ["LIMIT", 1]]
1039
+ 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]]
1040
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1041
+  (0.0ms) SAVEPOINT active_record_1
1042
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "6"], ["LIMIT", 1]]
1043
+ 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]]
1044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1045
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
1046
+  (0.4ms) rollback transaction
1047
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1048
+  (0.0ms) begin transaction
1049
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "1"], ["LIMIT", 1]]
1050
+  (0.0ms) rollback transaction
1051
+  (0.0ms) begin transaction
1052
+  (0.0ms) SAVEPOINT active_record_1
1053
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "2"], ["LIMIT", 1]]
1054
+ 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]]
1055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1056
+  (0.0ms) SAVEPOINT active_record_1
1057
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "3"], ["LIMIT", 1]]
1058
+ 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]]
1059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1060
+  (0.0ms) SAVEPOINT active_record_1
1061
+ Region Exists (0.0ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "4"], ["LIMIT", 1]]
1062
+ 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]]
1063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1064
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
1065
+  (2.0ms) rollback transaction
1066
+  (0.1ms) begin transaction
1067
+  (0.0ms) SAVEPOINT active_record_1
1068
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "5"], ["LIMIT", 1]]
1069
+ 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]]
1070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1071
+  (0.0ms) SAVEPOINT active_record_1
1072
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "6"], ["LIMIT", 1]]
1073
+ 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]]
1074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1075
+  (0.0ms) SAVEPOINT active_record_1
1076
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "7"], ["LIMIT", 1]]
1077
+ 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]]
1078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1079
+ Region Load (5.2ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
1080
+  (0.3ms) rollback transaction
1081
+  (0.0ms) begin transaction
1082
+  (0.0ms) SAVEPOINT active_record_1
1083
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "8"], ["LIMIT", 1]]
1084
+ 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]]
1085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1086
+  (0.0ms) SAVEPOINT active_record_1
1087
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "9"], ["LIMIT", 1]]
1088
+ 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]]
1089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1090
+  (0.0ms) SAVEPOINT active_record_1
1091
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "10"], ["LIMIT", 1]]
1092
+ 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]]
1093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1094
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? [["category", "country"]]
1095
+  (0.3ms) rollback transaction
1096
+  (0.0ms) begin transaction
1097
+  (0.0ms) rollback transaction
1098
+  (0.0ms) begin transaction
1099
+  (0.0ms) rollback transaction
1100
+  (0.0ms) begin transaction
1101
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]
1102
+  (0.1ms) rollback transaction
1103
+  (0.0ms) begin transaction
1104
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]
1105
+  (0.0ms) rollback transaction
1106
+  (0.0ms) begin transaction
1107
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" IS NULL AND "regions"."region_id" IS NULL LIMIT ? [["LIMIT", 1]]
1108
+  (0.0ms) rollback transaction
1109
+  (0.0ms) begin transaction
1110
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" ORDER BY "regions"."id" ASC LIMIT ? [["LIMIT", 1]]
1111
+  (0.0ms) SAVEPOINT active_record_1
1112
+ 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]]
1113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1114
+  (0.0ms) SAVEPOINT active_record_1
1115
+ 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]]
1116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1117
+ 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]]
1118
+ 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]]
1119
+ Region Load (0.1ms) SELECT "regions".* FROM "regions"
1120
+ 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]]
1121
+  (0.3ms) rollback transaction
1122
+  (0.0ms) begin transaction
1123
+  (0.1ms) SELECT COUNT(*) FROM "regions"
1124
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]
1125
+  (0.0ms) SAVEPOINT active_record_1
1126
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]]
1127
+ 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]]
1128
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1129
+ Region Load (0.2ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]
1130
+  (0.1ms) SAVEPOINT active_record_1
1131
+ 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]]
1132
+ 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]]
1133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1134
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]
1135
+  (0.0ms) SAVEPOINT active_record_1
1136
+ 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]]
1137
+ 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]]
1138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1139
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]
1140
+  (0.0ms) SAVEPOINT active_record_1
1141
+ 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]]
1142
+ 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]]
1143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1144
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]
1145
+  (0.0ms) SAVEPOINT active_record_1
1146
+ 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]]
1147
+ 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]]
1148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1149
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]
1150
+  (0.0ms) SAVEPOINT active_record_1
1151
+ 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]]
1152
+ 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]]
1153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1154
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]
1155
+  (0.0ms) SAVEPOINT active_record_1
1156
+ 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]]
1157
+ 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]]
1158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1159
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]
1160
+  (0.0ms) SAVEPOINT active_record_1
1161
+ 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]]
1162
+ 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]]
1163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1164
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]
1165
+  (0.0ms) SAVEPOINT active_record_1
1166
+ 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]]
1167
+ 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]]
1168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1169
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]
1170
+  (0.0ms) SAVEPOINT active_record_1
1171
+ 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]]
1172
+ 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]]
1173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1174
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]
1175
+  (0.0ms) SAVEPOINT active_record_1
1176
+ 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]]
1177
+ 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]]
1178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1179
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]
1180
+  (0.0ms) SAVEPOINT active_record_1
1181
+ 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]]
1182
+ 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]]
1183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1184
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]
1185
+  (0.0ms) SAVEPOINT active_record_1
1186
+ 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]]
1187
+ 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]]
1188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1189
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]
1190
+  (0.0ms) SAVEPOINT active_record_1
1191
+ 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]]
1192
+ 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]]
1193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1194
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]
1195
+  (0.0ms) SAVEPOINT active_record_1
1196
+ 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]]
1197
+ 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]]
1198
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1199
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]
1200
+  (0.0ms) SAVEPOINT active_record_1
1201
+ 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]]
1202
+ 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]]
1203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1204
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]
1205
+  (0.0ms) SAVEPOINT active_record_1
1206
+ 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]]
1207
+ 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]]
1208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1209
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]
1210
+  (0.0ms) SAVEPOINT active_record_1
1211
+ 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]]
1212
+ 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]]
1213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1214
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]
1215
+  (0.0ms) SAVEPOINT active_record_1
1216
+ 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]]
1217
+ 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]]
1218
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1219
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]
1220
+  (0.0ms) SAVEPOINT active_record_1
1221
+ 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]]
1222
+ 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]]
1223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1224
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]
1225
+  (0.0ms) SAVEPOINT active_record_1
1226
+ 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]]
1227
+ 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]]
1228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1229
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]
1230
+  (0.0ms) SAVEPOINT active_record_1
1231
+ 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]]
1232
+ 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]]
1233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1234
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]
1235
+  (0.0ms) SAVEPOINT active_record_1
1236
+ 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]]
1237
+ 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]]
1238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1239
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]
1240
+  (0.0ms) SAVEPOINT active_record_1
1241
+ 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]]
1242
+ 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]]
1243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1244
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]
1245
+  (0.0ms) SAVEPOINT active_record_1
1246
+ 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]]
1247
+ 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]]
1248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1249
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]
1250
+  (0.0ms) SAVEPOINT active_record_1
1251
+ 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]]
1252
+ 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]]
1253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1254
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]
1255
+  (0.0ms) SAVEPOINT active_record_1
1256
+ 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]]
1257
+ 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]]
1258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1259
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]
1260
+  (0.0ms) SAVEPOINT active_record_1
1261
+ 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]]
1262
+ 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]]
1263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1264
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]
1265
+  (0.0ms) SAVEPOINT active_record_1
1266
+ 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]]
1267
+ 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]]
1268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1269
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]
1270
+  (0.0ms) SAVEPOINT active_record_1
1271
+ 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]]
1272
+ 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]]
1273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1274
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]
1275
+  (0.0ms) SAVEPOINT active_record_1
1276
+ 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]]
1277
+ 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]]
1278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1279
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]
1280
+  (0.0ms) SAVEPOINT active_record_1
1281
+ 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]]
1282
+ 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]]
1283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1284
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]
1285
+  (0.0ms) SAVEPOINT active_record_1
1286
+ 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]]
1287
+ 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]]
1288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1289
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]
1290
+  (0.0ms) SAVEPOINT active_record_1
1291
+ 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]]
1292
+ 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]]
1293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1294
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]
1295
+  (0.0ms) SAVEPOINT active_record_1
1296
+ 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]]
1297
+ 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]]
1298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1299
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]
1300
+  (0.0ms) SAVEPOINT active_record_1
1301
+ 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]]
1302
+ 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]]
1303
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1304
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]
1305
+  (0.0ms) SAVEPOINT active_record_1
1306
+ 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]]
1307
+ 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]]
1308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1309
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]
1310
+  (0.0ms) SAVEPOINT active_record_1
1311
+ 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]]
1312
+ 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]]
1313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1314
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]
1315
+  (0.0ms) SAVEPOINT active_record_1
1316
+ 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]]
1317
+ 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]]
1318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1319
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]
1320
+  (0.0ms) SAVEPOINT active_record_1
1321
+ 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]]
1322
+ 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]]
1323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1324
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]
1325
+  (0.0ms) SAVEPOINT active_record_1
1326
+ 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]]
1327
+ 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]]
1328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1329
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]
1330
+  (0.0ms) SAVEPOINT active_record_1
1331
+ 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]]
1332
+ 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]]
1333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1334
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]
1335
+  (0.0ms) SAVEPOINT active_record_1
1336
+ 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]]
1337
+ 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]]
1338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1339
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]
1340
+  (0.0ms) SAVEPOINT active_record_1
1341
+ 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]]
1342
+ 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]]
1343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1344
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]
1345
+  (0.0ms) SAVEPOINT active_record_1
1346
+ 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]]
1347
+ 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]]
1348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1349
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]
1350
+  (0.0ms) SAVEPOINT active_record_1
1351
+ 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]]
1352
+ 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]]
1353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1354
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]
1355
+  (0.0ms) SAVEPOINT active_record_1
1356
+ 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]]
1357
+ 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]]
1358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1359
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]
1360
+  (0.0ms) SAVEPOINT active_record_1
1361
+ 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]]
1362
+ 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]]
1363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1364
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]
1365
+  (0.0ms) SAVEPOINT active_record_1
1366
+ 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]]
1367
+ 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]]
1368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1369
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]
1370
+  (0.0ms) SAVEPOINT active_record_1
1371
+ 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]]
1372
+ 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]]
1373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1374
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]
1375
+  (0.0ms) SAVEPOINT active_record_1
1376
+ 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]]
1377
+ 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]]
1378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1379
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]
1380
+  (0.0ms) SAVEPOINT active_record_1
1381
+ 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]]
1382
+ 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]]
1383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1384
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]
1385
+  (0.0ms) SAVEPOINT active_record_1
1386
+ 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]]
1387
+ 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]]
1388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1389
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]
1390
+  (0.0ms) SAVEPOINT active_record_1
1391
+ 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]]
1392
+ 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]]
1393
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1394
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]
1395
+  (0.0ms) SAVEPOINT active_record_1
1396
+ 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]]
1397
+ 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]]
1398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1399
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]
1400
+  (0.0ms) SAVEPOINT active_record_1
1401
+ 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]]
1402
+ 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]]
1403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1404
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]
1405
+  (0.0ms) SAVEPOINT active_record_1
1406
+ 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]]
1407
+ 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]]
1408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1409
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]
1410
+  (0.0ms) SAVEPOINT active_record_1
1411
+ 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]]
1412
+ 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]]
1413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1414
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]
1415
+  (0.0ms) SAVEPOINT active_record_1
1416
+ 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]]
1417
+ 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]]
1418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1419
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]
1420
+  (0.0ms) SAVEPOINT active_record_1
1421
+ 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]]
1422
+ 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]]
1423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1424
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]
1425
+  (0.0ms) SAVEPOINT active_record_1
1426
+ 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]]
1427
+ 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]]
1428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1429
+  (0.0ms) SELECT COUNT(*) FROM "regions"
1430
+  (2.2ms) rollback transaction
1431
+  (0.2ms) begin transaction
1432
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]
1433
+  (0.1ms) SAVEPOINT active_record_1
1434
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]]
1435
+ 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]]
1436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1437
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]
1438
+  (0.0ms) SAVEPOINT active_record_1
1439
+ 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]]
1440
+ 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]]
1441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1442
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]
1443
+  (0.1ms) SAVEPOINT active_record_1
1444
+ 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]]
1445
+ 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]]
1446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1447
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]
1448
+  (0.0ms) SAVEPOINT active_record_1
1449
+ 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]]
1450
+ 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]]
1451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1452
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]
1453
+  (0.0ms) SAVEPOINT active_record_1
1454
+ 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]]
1455
+ 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]]
1456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1457
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]
1458
+  (0.0ms) SAVEPOINT active_record_1
1459
+ 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]]
1460
+ 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]]
1461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1462
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]
1463
+  (0.0ms) SAVEPOINT active_record_1
1464
+ 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]]
1465
+ 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]]
1466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1467
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]
1468
+  (0.0ms) SAVEPOINT active_record_1
1469
+ 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]]
1470
+ 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]]
1471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1472
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]
1473
+  (0.0ms) SAVEPOINT active_record_1
1474
+ 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]]
1475
+ 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]]
1476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1477
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]
1478
+  (0.0ms) SAVEPOINT active_record_1
1479
+ 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]]
1480
+ 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]]
1481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1482
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]
1483
+  (0.0ms) SAVEPOINT active_record_1
1484
+ 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]]
1485
+ 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]]
1486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1487
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]
1488
+  (0.0ms) SAVEPOINT active_record_1
1489
+ 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]]
1490
+ 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]]
1491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1492
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]
1493
+  (0.0ms) SAVEPOINT active_record_1
1494
+ 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]]
1495
+ 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]]
1496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1497
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]
1498
+  (0.0ms) SAVEPOINT active_record_1
1499
+ 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]]
1500
+ 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]]
1501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1502
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]
1503
+  (0.0ms) SAVEPOINT active_record_1
1504
+ 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]]
1505
+ 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]]
1506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1507
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]
1508
+  (0.0ms) SAVEPOINT active_record_1
1509
+ 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]]
1510
+ 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]]
1511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1512
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]
1513
+  (0.0ms) SAVEPOINT active_record_1
1514
+ 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]]
1515
+ 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]]
1516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1517
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]
1518
+  (0.0ms) SAVEPOINT active_record_1
1519
+ 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]]
1520
+ 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]]
1521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1522
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]
1523
+  (0.0ms) SAVEPOINT active_record_1
1524
+ 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]]
1525
+ 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]]
1526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1527
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]
1528
+  (0.0ms) SAVEPOINT active_record_1
1529
+ 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]]
1530
+ 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]]
1531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1532
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]
1533
+  (0.0ms) SAVEPOINT active_record_1
1534
+ 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]]
1535
+ 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]]
1536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1537
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]
1538
+  (0.0ms) SAVEPOINT active_record_1
1539
+ 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]]
1540
+ 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]]
1541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1542
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]
1543
+  (0.0ms) SAVEPOINT active_record_1
1544
+ 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]]
1545
+ 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]]
1546
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1547
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]
1548
+  (0.0ms) SAVEPOINT active_record_1
1549
+ 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]]
1550
+ 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]]
1551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1552
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]
1553
+  (0.0ms) SAVEPOINT active_record_1
1554
+ 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]]
1555
+ 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]]
1556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1557
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]
1558
+  (0.0ms) SAVEPOINT active_record_1
1559
+ 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]]
1560
+ 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]]
1561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1562
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]
1563
+  (0.0ms) SAVEPOINT active_record_1
1564
+ 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]]
1565
+ 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]]
1566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1567
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]
1568
+  (0.0ms) SAVEPOINT active_record_1
1569
+ 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]]
1570
+ 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]]
1571
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1572
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]
1573
+  (0.0ms) SAVEPOINT active_record_1
1574
+ 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]]
1575
+ 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]]
1576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1577
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]
1578
+  (0.0ms) SAVEPOINT active_record_1
1579
+ 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]]
1580
+ 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]]
1581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1582
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]
1583
+  (0.0ms) SAVEPOINT active_record_1
1584
+ 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]]
1585
+ 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]]
1586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1587
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]
1588
+  (0.0ms) SAVEPOINT active_record_1
1589
+ 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]]
1590
+ 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]]
1591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1592
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]
1593
+  (0.0ms) SAVEPOINT active_record_1
1594
+ 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]]
1595
+ 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]]
1596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1597
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]
1598
+  (0.0ms) SAVEPOINT active_record_1
1599
+ 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]]
1600
+ 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]]
1601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1602
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]
1603
+  (0.0ms) SAVEPOINT active_record_1
1604
+ 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]]
1605
+ 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]]
1606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1607
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]
1608
+  (0.0ms) SAVEPOINT active_record_1
1609
+ 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]]
1610
+ 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]]
1611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1612
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]
1613
+  (0.0ms) SAVEPOINT active_record_1
1614
+ 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]]
1615
+ 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]]
1616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1617
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]
1618
+  (0.0ms) SAVEPOINT active_record_1
1619
+ 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]]
1620
+ 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]]
1621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1622
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]
1623
+  (0.0ms) SAVEPOINT active_record_1
1624
+ 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]]
1625
+ 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]]
1626
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1627
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]
1628
+  (0.0ms) SAVEPOINT active_record_1
1629
+ 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]]
1630
+ 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]]
1631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1632
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]
1633
+  (0.0ms) SAVEPOINT active_record_1
1634
+ 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]]
1635
+ 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]]
1636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1637
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]
1638
+  (0.0ms) SAVEPOINT active_record_1
1639
+ 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]]
1640
+ 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]]
1641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1642
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]
1643
+  (0.0ms) SAVEPOINT active_record_1
1644
+ 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]]
1645
+ 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]]
1646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1647
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]
1648
+  (0.0ms) SAVEPOINT active_record_1
1649
+ 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]]
1650
+ 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]]
1651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1652
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]
1653
+  (0.0ms) SAVEPOINT active_record_1
1654
+ 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]]
1655
+ 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]]
1656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1657
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]
1658
+  (0.0ms) SAVEPOINT active_record_1
1659
+ 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]]
1660
+ 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]]
1661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1662
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]
1663
+  (0.0ms) SAVEPOINT active_record_1
1664
+ 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]]
1665
+ 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]]
1666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1667
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]
1668
+  (0.0ms) SAVEPOINT active_record_1
1669
+ 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]]
1670
+ 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]]
1671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1672
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]
1673
+  (0.0ms) SAVEPOINT active_record_1
1674
+ 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]]
1675
+ 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]]
1676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1677
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]
1678
+  (0.0ms) SAVEPOINT active_record_1
1679
+ 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]]
1680
+ 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]]
1681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1682
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]
1683
+  (0.0ms) SAVEPOINT active_record_1
1684
+ 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]]
1685
+ 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]]
1686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1687
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]
1688
+  (0.0ms) SAVEPOINT active_record_1
1689
+ 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]]
1690
+ 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]]
1691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1692
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]
1693
+  (0.0ms) SAVEPOINT active_record_1
1694
+ 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]]
1695
+ 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]]
1696
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1697
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]
1698
+  (0.0ms) SAVEPOINT active_record_1
1699
+ 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]]
1700
+ 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]]
1701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1702
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]
1703
+  (0.1ms) SAVEPOINT active_record_1
1704
+ 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]]
1705
+ 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]]
1706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1707
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]
1708
+  (0.0ms) SAVEPOINT active_record_1
1709
+ 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]]
1710
+ 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]]
1711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1712
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]
1713
+  (0.1ms) SAVEPOINT active_record_1
1714
+ 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]]
1715
+ 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]]
1716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1717
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]
1718
+  (0.0ms) SAVEPOINT active_record_1
1719
+ 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]]
1720
+ 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]]
1721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1722
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]
1723
+  (0.0ms) SAVEPOINT active_record_1
1724
+ 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]]
1725
+ 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]]
1726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1727
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]
1728
+  (0.0ms) SAVEPOINT active_record_1
1729
+ 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]]
1730
+ 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]]
1731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1732
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]
1733
+  (0.0ms) SAVEPOINT active_record_1
1734
+ 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]]
1735
+ 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]]
1736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1737
+ Region Load (0.2ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? AND "regions"."name" = ? LIMIT ? [["category", "country"], ["name", "United States"], ["LIMIT", 1]]
1738
+  (1.9ms) rollback transaction
1739
+  (0.0ms) begin transaction
1740
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" IS NULL AND "regions"."code" = ? LIMIT ? [["code", "US"], ["LIMIT", 1]]
1741
+  (0.0ms) SAVEPOINT active_record_1
1742
+ Region Exists (0.1ms) SELECT 1 AS one FROM "regions" WHERE "regions"."code" = ? AND "regions"."region_id" IS NULL LIMIT ? [["code", "US"], ["LIMIT", 1]]
1743
+ 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]]
1744
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1745
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AK"], ["LIMIT", 1]]
1746
+  (0.0ms) SAVEPOINT active_record_1
1747
+ 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]]
1748
+ 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]]
1749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1750
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AL"], ["LIMIT", 1]]
1751
+  (0.0ms) SAVEPOINT active_record_1
1752
+ 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]]
1753
+ 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]]
1754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1755
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AR"], ["LIMIT", 1]]
1756
+  (0.0ms) SAVEPOINT active_record_1
1757
+ 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]]
1758
+ 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]]
1759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1760
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AS"], ["LIMIT", 1]]
1761
+  (0.1ms) SAVEPOINT active_record_1
1762
+ 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]]
1763
+ 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]]
1764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1765
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AZ"], ["LIMIT", 1]]
1766
+  (0.0ms) SAVEPOINT active_record_1
1767
+ 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]]
1768
+ 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]]
1769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1770
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CA"], ["LIMIT", 1]]
1771
+  (0.0ms) SAVEPOINT active_record_1
1772
+ 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]]
1773
+ 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]]
1774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1775
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CO"], ["LIMIT", 1]]
1776
+  (0.0ms) SAVEPOINT active_record_1
1777
+ 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]]
1778
+ 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]]
1779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1780
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "CT"], ["LIMIT", 1]]
1781
+  (0.0ms) SAVEPOINT active_record_1
1782
+ 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]]
1783
+ 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]]
1784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1785
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DC"], ["LIMIT", 1]]
1786
+  (0.0ms) SAVEPOINT active_record_1
1787
+ 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]]
1788
+ 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]]
1789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1790
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "DE"], ["LIMIT", 1]]
1791
+  (0.1ms) SAVEPOINT active_record_1
1792
+ 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]]
1793
+ 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]]
1794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1795
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "FL"], ["LIMIT", 1]]
1796
+  (0.0ms) SAVEPOINT active_record_1
1797
+ 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]]
1798
+ 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]]
1799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1800
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GA"], ["LIMIT", 1]]
1801
+  (0.0ms) SAVEPOINT active_record_1
1802
+ 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]]
1803
+ 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]]
1804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1805
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "GU"], ["LIMIT", 1]]
1806
+  (0.1ms) SAVEPOINT active_record_1
1807
+ 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]]
1808
+ 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]]
1809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1810
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "HI"], ["LIMIT", 1]]
1811
+  (0.0ms) SAVEPOINT active_record_1
1812
+ 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]]
1813
+ 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]]
1814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1815
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IA"], ["LIMIT", 1]]
1816
+  (0.0ms) SAVEPOINT active_record_1
1817
+ 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]]
1818
+ 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]]
1819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1820
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ID"], ["LIMIT", 1]]
1821
+  (0.0ms) SAVEPOINT active_record_1
1822
+ 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]]
1823
+ 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]]
1824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1825
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IL"], ["LIMIT", 1]]
1826
+  (0.0ms) SAVEPOINT active_record_1
1827
+ 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]]
1828
+ 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]]
1829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1830
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "IN"], ["LIMIT", 1]]
1831
+  (0.0ms) SAVEPOINT active_record_1
1832
+ 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]]
1833
+ 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]]
1834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1835
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KS"], ["LIMIT", 1]]
1836
+  (0.0ms) SAVEPOINT active_record_1
1837
+ 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]]
1838
+ 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]]
1839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1840
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "KY"], ["LIMIT", 1]]
1841
+  (0.0ms) SAVEPOINT active_record_1
1842
+ 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]]
1843
+ 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]]
1844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1845
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "LA"], ["LIMIT", 1]]
1846
+  (0.1ms) SAVEPOINT active_record_1
1847
+ 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]]
1848
+ 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]]
1849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1850
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MA"], ["LIMIT", 1]]
1851
+  (0.0ms) SAVEPOINT active_record_1
1852
+ 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]]
1853
+ 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]]
1854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1855
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MD"], ["LIMIT", 1]]
1856
+  (0.0ms) SAVEPOINT active_record_1
1857
+ 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]]
1858
+ 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]]
1859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1860
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ME"], ["LIMIT", 1]]
1861
+  (0.0ms) SAVEPOINT active_record_1
1862
+ 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]]
1863
+ 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]]
1864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1865
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MI"], ["LIMIT", 1]]
1866
+  (0.0ms) SAVEPOINT active_record_1
1867
+ 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]]
1868
+ 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]]
1869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1870
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MN"], ["LIMIT", 1]]
1871
+  (0.0ms) SAVEPOINT active_record_1
1872
+ 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]]
1873
+ 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]]
1874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1875
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MO"], ["LIMIT", 1]]
1876
+  (0.0ms) SAVEPOINT active_record_1
1877
+ 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]]
1878
+ 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]]
1879
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1880
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MP"], ["LIMIT", 1]]
1881
+  (0.0ms) SAVEPOINT active_record_1
1882
+ 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]]
1883
+ 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]]
1884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1885
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MS"], ["LIMIT", 1]]
1886
+  (0.0ms) SAVEPOINT active_record_1
1887
+ 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]]
1888
+ 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]]
1889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1890
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "MT"], ["LIMIT", 1]]
1891
+  (0.0ms) SAVEPOINT active_record_1
1892
+ 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]]
1893
+ 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]]
1894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1895
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NC"], ["LIMIT", 1]]
1896
+  (0.0ms) SAVEPOINT active_record_1
1897
+ 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]]
1898
+ 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]]
1899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1900
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "ND"], ["LIMIT", 1]]
1901
+  (0.0ms) SAVEPOINT active_record_1
1902
+ 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]]
1903
+ 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]]
1904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1905
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NE"], ["LIMIT", 1]]
1906
+  (0.0ms) SAVEPOINT active_record_1
1907
+ 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]]
1908
+ 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]]
1909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1910
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NH"], ["LIMIT", 1]]
1911
+  (0.0ms) SAVEPOINT active_record_1
1912
+ 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]]
1913
+ 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]]
1914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1915
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NJ"], ["LIMIT", 1]]
1916
+  (0.0ms) SAVEPOINT active_record_1
1917
+ 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]]
1918
+ 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]]
1919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1920
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NM"], ["LIMIT", 1]]
1921
+  (0.0ms) SAVEPOINT active_record_1
1922
+ 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]]
1923
+ 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]]
1924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1925
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NV"], ["LIMIT", 1]]
1926
+  (0.0ms) SAVEPOINT active_record_1
1927
+ 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]]
1928
+ 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]]
1929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1930
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "NY"], ["LIMIT", 1]]
1931
+  (0.0ms) SAVEPOINT active_record_1
1932
+ 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]]
1933
+ 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]]
1934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1935
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OH"], ["LIMIT", 1]]
1936
+  (0.0ms) SAVEPOINT active_record_1
1937
+ 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]]
1938
+ 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]]
1939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1940
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OK"], ["LIMIT", 1]]
1941
+  (0.0ms) SAVEPOINT active_record_1
1942
+ 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]]
1943
+ 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]]
1944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1945
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "OR"], ["LIMIT", 1]]
1946
+  (0.0ms) SAVEPOINT active_record_1
1947
+ 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]]
1948
+ 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]]
1949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1950
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PA"], ["LIMIT", 1]]
1951
+  (0.0ms) SAVEPOINT active_record_1
1952
+ 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]]
1953
+ 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]]
1954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1955
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "PR"], ["LIMIT", 1]]
1956
+  (0.0ms) SAVEPOINT active_record_1
1957
+ 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]]
1958
+ 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]]
1959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1960
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "RI"], ["LIMIT", 1]]
1961
+  (0.1ms) SAVEPOINT active_record_1
1962
+ 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]]
1963
+ 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]]
1964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1965
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SC"], ["LIMIT", 1]]
1966
+  (0.1ms) SAVEPOINT active_record_1
1967
+ 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]]
1968
+ 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]]
1969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1970
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "SD"], ["LIMIT", 1]]
1971
+  (0.0ms) SAVEPOINT active_record_1
1972
+ 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]]
1973
+ 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]]
1974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1975
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TN"], ["LIMIT", 1]]
1976
+  (0.0ms) SAVEPOINT active_record_1
1977
+ 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]]
1978
+ 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]]
1979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1980
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "TX"], ["LIMIT", 1]]
1981
+  (0.0ms) SAVEPOINT active_record_1
1982
+ 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]]
1983
+ 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]]
1984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1985
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UM"], ["LIMIT", 1]]
1986
+  (0.0ms) SAVEPOINT active_record_1
1987
+ 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]]
1988
+ 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]]
1989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1990
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "UT"], ["LIMIT", 1]]
1991
+  (0.0ms) SAVEPOINT active_record_1
1992
+ 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]]
1993
+ 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]]
1994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1995
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VA"], ["LIMIT", 1]]
1996
+  (0.0ms) SAVEPOINT active_record_1
1997
+ 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]]
1998
+ 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]]
1999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2000
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VI"], ["LIMIT", 1]]
2001
+  (0.0ms) SAVEPOINT active_record_1
2002
+ 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]]
2003
+ 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]]
2004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2005
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "VT"], ["LIMIT", 1]]
2006
+  (0.0ms) SAVEPOINT active_record_1
2007
+ 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]]
2008
+ 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]]
2009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2010
+ Region Load (0.1ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WA"], ["LIMIT", 1]]
2011
+  (0.0ms) SAVEPOINT active_record_1
2012
+ 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]]
2013
+ 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]]
2014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2015
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WI"], ["LIMIT", 1]]
2016
+  (0.0ms) SAVEPOINT active_record_1
2017
+ 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]]
2018
+ 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]]
2019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2020
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WV"], ["LIMIT", 1]]
2021
+  (0.0ms) SAVEPOINT active_record_1
2022
+ 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]]
2023
+ 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]]
2024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2025
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "WY"], ["LIMIT", 1]]
2026
+  (0.0ms) SAVEPOINT active_record_1
2027
+ 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]]
2028
+ 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]]
2029
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2030
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AA"], ["LIMIT", 1]]
2031
+  (0.0ms) SAVEPOINT active_record_1
2032
+ 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]]
2033
+ 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]]
2034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2035
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AE"], ["LIMIT", 1]]
2036
+  (0.0ms) SAVEPOINT active_record_1
2037
+ 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]]
2038
+ 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]]
2039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2040
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."region_id" = 1 AND "regions"."code" = ? LIMIT ? [["code", "AP"], ["LIMIT", 1]]
2041
+  (0.0ms) SAVEPOINT active_record_1
2042
+ 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]]
2043
+ 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]]
2044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2045
+ Region Load (0.0ms) SELECT "regions".* FROM "regions" WHERE "regions"."category" = ? AND "regions"."name" = ? LIMIT ? [["category", "country"], ["name", "United States"], ["LIMIT", 1]]
2046
+  (0.1ms) SELECT COUNT(*) FROM "regions" WHERE "regions"."region_id" = ? AND "regions"."category" = ? [["region_id", 1], ["category", "state"]]
2047
+  (2.0ms) rollback transaction