addresses 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/addresses/address.rb +2 -1
- metadata +3 -7
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +0 -1423
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b25d90d645c8d6050d12019f0b955dc6efd8c03
|
4
|
+
data.tar.gz: 58624c926d4efaac3c36d932e7d28c16d9bd8f9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 633972255244dfeacc7814ce7658ec36f3564b0dfff861d09ae5c340840c5c436b36e76ba2984360cc5b798f8f7e8c45d9f36900439b202b415fffcfb2906004
|
7
|
+
data.tar.gz: 920f739aaf4147f5feeca01697ab7a3fd93bcdd0cc9903b6c4f88b1015d09d1f2b8f0e3a631821d451ba11d837d22ffd870c4290b91eb7180927a1ea3cffa653
|
@@ -3,7 +3,8 @@ module Addresses
|
|
3
3
|
belongs_to :zipcode
|
4
4
|
belongs_to :addressable, polymorphic: true
|
5
5
|
|
6
|
-
validates :
|
6
|
+
validates :number, presence: true
|
7
|
+
validates :zipcode_id, presence: true, if: Proc.new{|a| a.zipcode.street.blank? }
|
7
8
|
delegate :street, :neighborhood, :city, to: :zipcode
|
8
9
|
|
9
10
|
accepts_nested_attributes_for :zipcode, allow_destroy: false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: addresses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilbert Ribeiro
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-02-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -145,9 +145,7 @@ files:
|
|
145
145
|
- spec/dummy/config/locales/pt-BR.yml
|
146
146
|
- spec/dummy/config/routes.rb
|
147
147
|
- spec/dummy/db/schema.rb
|
148
|
-
- spec/dummy/db/test.sqlite3
|
149
148
|
- spec/dummy/log/development.log
|
150
|
-
- spec/dummy/log/test.log
|
151
149
|
- spec/dummy/public/404.html
|
152
150
|
- spec/dummy/public/422.html
|
153
151
|
- spec/dummy/public/500.html
|
@@ -206,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
204
|
version: '0'
|
207
205
|
requirements: []
|
208
206
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.
|
207
|
+
rubygems_version: 2.6.10
|
210
208
|
signing_key:
|
211
209
|
specification_version: 4
|
212
210
|
summary: This engine allows create default addresses models for any usage.
|
@@ -242,11 +240,9 @@ test_files:
|
|
242
240
|
- spec/dummy/config/routes.rb
|
243
241
|
- spec/dummy/config.ru
|
244
242
|
- spec/dummy/db/schema.rb
|
245
|
-
- spec/dummy/db/test.sqlite3
|
246
243
|
- spec/dummy/Gemfile
|
247
244
|
- spec/dummy/Gemfile.lock
|
248
245
|
- spec/dummy/log/development.log
|
249
|
-
- spec/dummy/log/test.log
|
250
246
|
- spec/dummy/public/404.html
|
251
247
|
- spec/dummy/public/422.html
|
252
248
|
- spec/dummy/public/500.html
|
data/spec/dummy/db/test.sqlite3
DELETED
Binary file
|
data/spec/dummy/log/test.log
DELETED
@@ -1,1423 +0,0 @@
|
|
1
|
-
[1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
|
2
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
5
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
7
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
9
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
10
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
13
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
14
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
15
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
16
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
17
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
18
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
19
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
20
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
21
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
22
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
23
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
24
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
25
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
26
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
27
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
29
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
30
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
31
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
32
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
33
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
34
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
35
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
36
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
37
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
38
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
39
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
40
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
41
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
42
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
43
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
44
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
45
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
46
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
47
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
48
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
49
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
50
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
51
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
52
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
53
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
54
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
55
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
56
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
57
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
58
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
59
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
60
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
61
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
62
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
63
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
64
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
65
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
66
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
67
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
68
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
69
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
70
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
71
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
72
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
73
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
74
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
75
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
76
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
77
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
78
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
79
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
80
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
81
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
82
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
83
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
84
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
85
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
86
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
87
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
88
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
89
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
90
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
91
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
92
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
93
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
94
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
95
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
96
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
97
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
98
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
99
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
100
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
101
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
102
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
103
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
104
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
105
|
-
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
106
|
-
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
107
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
108
|
-
Migrating to CreateAddressesCountries (20140327141509)
|
109
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
110
|
-
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "addresses_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "acronym" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
111
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140327141509"]]
|
112
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
113
|
-
Migrating to CreateAddressesStates (20140327163801)
|
114
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
115
|
-
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "addresses_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "acronym" varchar, "country_id" integer, "created_at" datetime, "updated_at" datetime)[0m
|
116
|
-
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
117
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_addresses_states_on_country_id" ON "addresses_states" ("country_id")[0m
|
118
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140327163801"]]
|
119
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
120
|
-
Migrating to CreateAddressesCities (20140327171527)
|
121
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
122
|
-
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "addresses_cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state_id" integer, "created_at" datetime, "updated_at" datetime)[0m
|
123
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_cities_on_state_id" ON "addresses_cities" ("state_id")[0m
|
124
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140327171527"]]
|
125
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
126
|
-
Migrating to CreateAddressesNeighborhoods (20140327190411)
|
127
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
128
|
-
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "addresses_neighborhoods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "city_id" integer, "name" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
129
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_neighborhoods_on_city_id" ON "addresses_neighborhoods" ("city_id")[0m
|
130
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140327190411"]]
|
131
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
132
|
-
Migrating to CreateAddressesAddresses (20140328120418)
|
133
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
134
|
-
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "addresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "number" varchar, "complement" varchar, "city_id" integer, "neighborhood_id" integer, "zipcode" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
135
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_city_id" ON "addresses_addresses" ("city_id")[0m
|
136
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
137
|
-
FROM sqlite_master
|
138
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
139
|
-
UNION ALL
|
140
|
-
SELECT sql
|
141
|
-
FROM sqlite_temp_master
|
142
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
143
|
-
[0m
|
144
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_neighborhood_id" ON "addresses_addresses" ("neighborhood_id")[0m
|
145
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
146
|
-
FROM sqlite_master
|
147
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
148
|
-
UNION ALL
|
149
|
-
SELECT sql
|
150
|
-
FROM sqlite_temp_master
|
151
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
152
|
-
[0m
|
153
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
154
|
-
FROM sqlite_master
|
155
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
156
|
-
UNION ALL
|
157
|
-
SELECT sql
|
158
|
-
FROM sqlite_temp_master
|
159
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
160
|
-
[0m
|
161
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_addressable_id" ON "addresses_addresses" ("addressable_id")[0m
|
162
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140328120418"]]
|
163
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
164
|
-
Migrating to CreateAddressesZipcodes (20160920172944)
|
165
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
166
|
-
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "addresses_zipcodes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "city_id" integer, "neighborhood_id" integer, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
167
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_addresses_zipcodes_on_city_id" ON "addresses_zipcodes" ("city_id")[0m
|
168
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
169
|
-
FROM sqlite_master
|
170
|
-
WHERE name='index_addresses_zipcodes_on_city_id' AND type='index'
|
171
|
-
UNION ALL
|
172
|
-
SELECT sql
|
173
|
-
FROM sqlite_temp_master
|
174
|
-
WHERE name='index_addresses_zipcodes_on_city_id' AND type='index'
|
175
|
-
[0m
|
176
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_addresses_zipcodes_on_neighborhood_id" ON "addresses_zipcodes" ("neighborhood_id")[0m
|
177
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160920172944"]]
|
178
|
-
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
179
|
-
Migrating to RemoveZipcodeAttributesFromAddresses (20160920174406)
|
180
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
181
|
-
[1m[35m (0.4ms)[0m [1m[35mCREATE TEMPORARY TABLE "aaddresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "number" varchar, "complement" varchar, "city_id" integer, "neighborhood_id" integer, "zipcode" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
182
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
183
|
-
FROM sqlite_master
|
184
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
185
|
-
UNION ALL
|
186
|
-
SELECT sql
|
187
|
-
FROM sqlite_temp_master
|
188
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
189
|
-
[0m
|
190
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
191
|
-
FROM sqlite_master
|
192
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
193
|
-
UNION ALL
|
194
|
-
SELECT sql
|
195
|
-
FROM sqlite_temp_master
|
196
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
197
|
-
[0m
|
198
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
199
|
-
FROM sqlite_master
|
200
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
201
|
-
UNION ALL
|
202
|
-
SELECT sql
|
203
|
-
FROM sqlite_temp_master
|
204
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
205
|
-
[0m
|
206
|
-
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_addressable_id" ON "aaddresses_addresses" ("addressable_id")[0m
|
207
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_neighborhood_id" ON "aaddresses_addresses" ("neighborhood_id")[0m
|
208
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_city_id" ON "aaddresses_addresses" ("city_id")[0m
|
209
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "aaddresses_addresses" ("id","street","number","complement","city_id","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at")
|
210
|
-
SELECT "id","street","number","complement","city_id","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at" FROM "addresses_addresses"[0m
|
211
|
-
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE "addresses_addresses"[0m
|
212
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "addresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "complement" varchar, "city_id" integer, "neighborhood_id" integer, "zipcode" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
213
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
214
|
-
FROM sqlite_master
|
215
|
-
WHERE name='tindex_aaddresses_addresses_on_city_id' AND type='index'
|
216
|
-
UNION ALL
|
217
|
-
SELECT sql
|
218
|
-
FROM sqlite_temp_master
|
219
|
-
WHERE name='tindex_aaddresses_addresses_on_city_id' AND type='index'
|
220
|
-
[0m
|
221
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
222
|
-
FROM sqlite_master
|
223
|
-
WHERE name='tindex_aaddresses_addresses_on_neighborhood_id' AND type='index'
|
224
|
-
UNION ALL
|
225
|
-
SELECT sql
|
226
|
-
FROM sqlite_temp_master
|
227
|
-
WHERE name='tindex_aaddresses_addresses_on_neighborhood_id' AND type='index'
|
228
|
-
[0m
|
229
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
230
|
-
FROM sqlite_master
|
231
|
-
WHERE name='tindex_aaddresses_addresses_on_addressable_id' AND type='index'
|
232
|
-
UNION ALL
|
233
|
-
SELECT sql
|
234
|
-
FROM sqlite_temp_master
|
235
|
-
WHERE name='tindex_aaddresses_addresses_on_addressable_id' AND type='index'
|
236
|
-
[0m
|
237
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_city_id" ON "addresses_addresses" ("city_id")[0m
|
238
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
239
|
-
FROM sqlite_master
|
240
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
241
|
-
UNION ALL
|
242
|
-
SELECT sql
|
243
|
-
FROM sqlite_temp_master
|
244
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
245
|
-
[0m
|
246
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_neighborhood_id" ON "addresses_addresses" ("neighborhood_id")[0m
|
247
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
248
|
-
FROM sqlite_master
|
249
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
250
|
-
UNION ALL
|
251
|
-
SELECT sql
|
252
|
-
FROM sqlite_temp_master
|
253
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
254
|
-
[0m
|
255
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
256
|
-
FROM sqlite_master
|
257
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
258
|
-
UNION ALL
|
259
|
-
SELECT sql
|
260
|
-
FROM sqlite_temp_master
|
261
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
262
|
-
[0m
|
263
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_addressable_id" ON "addresses_addresses" ("addressable_id")[0m
|
264
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "addresses_addresses" ("id","number","complement","city_id","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at")
|
265
|
-
SELECT "id","number","complement","city_id","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at" FROM "aaddresses_addresses"[0m
|
266
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "aaddresses_addresses"[0m
|
267
|
-
[1m[35m (0.6ms)[0m [1m[35mCREATE TEMPORARY TABLE "aaddresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "complement" varchar, "city_id" integer, "neighborhood_id" integer, "zipcode" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
268
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
269
|
-
FROM sqlite_master
|
270
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
271
|
-
UNION ALL
|
272
|
-
SELECT sql
|
273
|
-
FROM sqlite_temp_master
|
274
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
275
|
-
[0m
|
276
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
277
|
-
FROM sqlite_master
|
278
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
279
|
-
UNION ALL
|
280
|
-
SELECT sql
|
281
|
-
FROM sqlite_temp_master
|
282
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
283
|
-
[0m
|
284
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
285
|
-
FROM sqlite_master
|
286
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
287
|
-
UNION ALL
|
288
|
-
SELECT sql
|
289
|
-
FROM sqlite_temp_master
|
290
|
-
WHERE name='index_addresses_addresses_on_city_id' AND type='index'
|
291
|
-
[0m
|
292
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_addressable_id" ON "aaddresses_addresses" ("addressable_id")[0m
|
293
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_neighborhood_id" ON "aaddresses_addresses" ("neighborhood_id")[0m
|
294
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_city_id" ON "aaddresses_addresses" ("city_id")[0m
|
295
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "aaddresses_addresses" ("id","number","complement","city_id","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at")
|
296
|
-
SELECT "id","number","complement","city_id","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at" FROM "addresses_addresses"[0m
|
297
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "addresses_addresses"[0m
|
298
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "addresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "complement" varchar, "neighborhood_id" integer, "zipcode" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
299
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
300
|
-
FROM sqlite_master
|
301
|
-
WHERE name='tindex_aaddresses_addresses_on_city_id' AND type='index'
|
302
|
-
UNION ALL
|
303
|
-
SELECT sql
|
304
|
-
FROM sqlite_temp_master
|
305
|
-
WHERE name='tindex_aaddresses_addresses_on_city_id' AND type='index'
|
306
|
-
[0m
|
307
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
308
|
-
FROM sqlite_master
|
309
|
-
WHERE name='tindex_aaddresses_addresses_on_neighborhood_id' AND type='index'
|
310
|
-
UNION ALL
|
311
|
-
SELECT sql
|
312
|
-
FROM sqlite_temp_master
|
313
|
-
WHERE name='tindex_aaddresses_addresses_on_neighborhood_id' AND type='index'
|
314
|
-
[0m
|
315
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
316
|
-
FROM sqlite_master
|
317
|
-
WHERE name='tindex_aaddresses_addresses_on_addressable_id' AND type='index'
|
318
|
-
UNION ALL
|
319
|
-
SELECT sql
|
320
|
-
FROM sqlite_temp_master
|
321
|
-
WHERE name='tindex_aaddresses_addresses_on_addressable_id' AND type='index'
|
322
|
-
[0m
|
323
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_neighborhood_id" ON "addresses_addresses" ("neighborhood_id")[0m
|
324
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
325
|
-
FROM sqlite_master
|
326
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
327
|
-
UNION ALL
|
328
|
-
SELECT sql
|
329
|
-
FROM sqlite_temp_master
|
330
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
331
|
-
[0m
|
332
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_addressable_id" ON "addresses_addresses" ("addressable_id")[0m
|
333
|
-
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "addresses_addresses" ("id","number","complement","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at")
|
334
|
-
SELECT "id","number","complement","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at" FROM "aaddresses_addresses"[0m
|
335
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "aaddresses_addresses"[0m
|
336
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "aaddresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "complement" varchar, "neighborhood_id" integer, "zipcode" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
337
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
338
|
-
FROM sqlite_master
|
339
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
340
|
-
UNION ALL
|
341
|
-
SELECT sql
|
342
|
-
FROM sqlite_temp_master
|
343
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
344
|
-
[0m
|
345
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
346
|
-
FROM sqlite_master
|
347
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
348
|
-
UNION ALL
|
349
|
-
SELECT sql
|
350
|
-
FROM sqlite_temp_master
|
351
|
-
WHERE name='index_addresses_addresses_on_neighborhood_id' AND type='index'
|
352
|
-
[0m
|
353
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_addressable_id" ON "aaddresses_addresses" ("addressable_id")[0m
|
354
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_neighborhood_id" ON "aaddresses_addresses" ("neighborhood_id")[0m
|
355
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "aaddresses_addresses" ("id","number","complement","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at")
|
356
|
-
SELECT "id","number","complement","neighborhood_id","zipcode","addressable_id","addressable_type","created_at","updated_at" FROM "addresses_addresses"[0m
|
357
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "addresses_addresses"[0m
|
358
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "addresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "complement" varchar, "zipcode" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
359
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
360
|
-
FROM sqlite_master
|
361
|
-
WHERE name='tindex_aaddresses_addresses_on_neighborhood_id' AND type='index'
|
362
|
-
UNION ALL
|
363
|
-
SELECT sql
|
364
|
-
FROM sqlite_temp_master
|
365
|
-
WHERE name='tindex_aaddresses_addresses_on_neighborhood_id' AND type='index'
|
366
|
-
[0m
|
367
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
368
|
-
FROM sqlite_master
|
369
|
-
WHERE name='tindex_aaddresses_addresses_on_addressable_id' AND type='index'
|
370
|
-
UNION ALL
|
371
|
-
SELECT sql
|
372
|
-
FROM sqlite_temp_master
|
373
|
-
WHERE name='tindex_aaddresses_addresses_on_addressable_id' AND type='index'
|
374
|
-
[0m
|
375
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_addressable_id" ON "addresses_addresses" ("addressable_id")[0m
|
376
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "addresses_addresses" ("id","number","complement","zipcode","addressable_id","addressable_type","created_at","updated_at")
|
377
|
-
SELECT "id","number","complement","zipcode","addressable_id","addressable_type","created_at","updated_at" FROM "aaddresses_addresses"[0m
|
378
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "aaddresses_addresses"[0m
|
379
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "aaddresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "complement" varchar, "zipcode" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
380
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
381
|
-
FROM sqlite_master
|
382
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
383
|
-
UNION ALL
|
384
|
-
SELECT sql
|
385
|
-
FROM sqlite_temp_master
|
386
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
387
|
-
[0m
|
388
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "tindex_aaddresses_addresses_on_addressable_id" ON "aaddresses_addresses" ("addressable_id")[0m
|
389
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "aaddresses_addresses" ("id","number","complement","zipcode","addressable_id","addressable_type","created_at","updated_at")
|
390
|
-
SELECT "id","number","complement","zipcode","addressable_id","addressable_type","created_at","updated_at" FROM "addresses_addresses"[0m
|
391
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "addresses_addresses"[0m
|
392
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "addresses_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "complement" varchar, "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
393
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
394
|
-
FROM sqlite_master
|
395
|
-
WHERE name='tindex_aaddresses_addresses_on_addressable_id' AND type='index'
|
396
|
-
UNION ALL
|
397
|
-
SELECT sql
|
398
|
-
FROM sqlite_temp_master
|
399
|
-
WHERE name='tindex_aaddresses_addresses_on_addressable_id' AND type='index'
|
400
|
-
[0m
|
401
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_addressable_id" ON "addresses_addresses" ("addressable_id")[0m
|
402
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "addresses_addresses" ("id","number","complement","addressable_id","addressable_type","created_at","updated_at")
|
403
|
-
SELECT "id","number","complement","addressable_id","addressable_type","created_at","updated_at" FROM "aaddresses_addresses"[0m
|
404
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "aaddresses_addresses"[0m
|
405
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "addresses_addresses" ADD "zipcode_id" integer[0m
|
406
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
407
|
-
FROM sqlite_master
|
408
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
409
|
-
UNION ALL
|
410
|
-
SELECT sql
|
411
|
-
FROM sqlite_temp_master
|
412
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
413
|
-
[0m
|
414
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_addresses_addresses_on_zipcode_id" ON "addresses_addresses" ("zipcode_id")[0m
|
415
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160920174406"]]
|
416
|
-
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
417
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
418
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
419
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-09-06 02:38:29 UTC], ["updated_at", 2017-09-06 02:38:29 UTC]]
|
420
|
-
[1m[35m (1.9ms)[0m [1m[36mcommit transaction[0m
|
421
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
422
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
423
|
-
FROM sqlite_master
|
424
|
-
WHERE name='index_addresses_addresses_on_zipcode_id' AND type='index'
|
425
|
-
UNION ALL
|
426
|
-
SELECT sql
|
427
|
-
FROM sqlite_temp_master
|
428
|
-
WHERE name='index_addresses_addresses_on_zipcode_id' AND type='index'
|
429
|
-
[0m
|
430
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
431
|
-
FROM sqlite_master
|
432
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
433
|
-
UNION ALL
|
434
|
-
SELECT sql
|
435
|
-
FROM sqlite_temp_master
|
436
|
-
WHERE name='index_addresses_addresses_on_addressable_id' AND type='index'
|
437
|
-
[0m
|
438
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
439
|
-
FROM sqlite_master
|
440
|
-
WHERE name='index_addresses_cities_on_state_id' AND type='index'
|
441
|
-
UNION ALL
|
442
|
-
SELECT sql
|
443
|
-
FROM sqlite_temp_master
|
444
|
-
WHERE name='index_addresses_cities_on_state_id' AND type='index'
|
445
|
-
[0m
|
446
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
447
|
-
FROM sqlite_master
|
448
|
-
WHERE name='index_addresses_neighborhoods_on_city_id' AND type='index'
|
449
|
-
UNION ALL
|
450
|
-
SELECT sql
|
451
|
-
FROM sqlite_temp_master
|
452
|
-
WHERE name='index_addresses_neighborhoods_on_city_id' AND type='index'
|
453
|
-
[0m
|
454
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
455
|
-
FROM sqlite_master
|
456
|
-
WHERE name='index_addresses_states_on_country_id' AND type='index'
|
457
|
-
UNION ALL
|
458
|
-
SELECT sql
|
459
|
-
FROM sqlite_temp_master
|
460
|
-
WHERE name='index_addresses_states_on_country_id' AND type='index'
|
461
|
-
[0m
|
462
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
463
|
-
FROM sqlite_master
|
464
|
-
WHERE name='index_addresses_zipcodes_on_neighborhood_id' AND type='index'
|
465
|
-
UNION ALL
|
466
|
-
SELECT sql
|
467
|
-
FROM sqlite_temp_master
|
468
|
-
WHERE name='index_addresses_zipcodes_on_neighborhood_id' AND type='index'
|
469
|
-
[0m
|
470
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
471
|
-
FROM sqlite_master
|
472
|
-
WHERE name='index_addresses_zipcodes_on_city_id' AND type='index'
|
473
|
-
UNION ALL
|
474
|
-
SELECT sql
|
475
|
-
FROM sqlite_temp_master
|
476
|
-
WHERE name='index_addresses_zipcodes_on_city_id' AND type='index'
|
477
|
-
[0m
|
478
|
-
[1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
|
479
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
480
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
481
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
482
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
483
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
484
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
485
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
486
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
487
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
488
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
489
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
490
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
491
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
492
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
493
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
494
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
495
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
496
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
497
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
498
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
499
|
-
Started GET "/addresses/neighborhoods?city_id=1&format=json" for 127.0.0.1 at 2017-09-05 23:38:36 -0300
|
500
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
501
|
-
Parameters: {"city_id"=>"1"}
|
502
|
-
[1m[36mAddresses::City Load (0.4ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
503
|
-
[1m[36mAddresses::Neighborhood Load (0.2ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
504
|
-
Completed 200 OK in 23ms (Views: 4.2ms | ActiveRecord: 0.6ms)
|
505
|
-
[1m[35m (6.8ms)[0m [1m[31mrollback transaction[0m
|
506
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
507
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
508
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
509
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
510
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
511
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
512
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
513
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
514
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
515
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
516
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
517
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
518
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
519
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
520
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
521
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
522
|
-
Processing by Addresses::ZipcodesController#show as JSON
|
523
|
-
Parameters: {"zipcode"=>"99999999"}
|
524
|
-
[1m[36mAddresses::Zipcode Load (0.2ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "99999999"], ["LIMIT", 1]]
|
525
|
-
Completed 422 Unprocessable Entity in 13ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
526
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
527
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
528
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
529
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
530
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
531
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
532
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
533
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
534
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
535
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
536
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
537
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
538
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
539
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
540
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
541
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
542
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
543
|
-
Processing by Addresses::ZipcodesController#show as JSON
|
544
|
-
Parameters: {"zipcode"=>"05012010"}
|
545
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
546
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
547
|
-
[1m[36mAddresses::State Load (0.2ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
548
|
-
Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 0.4ms)
|
549
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
550
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
551
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
552
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
553
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
554
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
555
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
556
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
557
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
558
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
559
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
560
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
561
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
562
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
563
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
564
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
565
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
566
|
-
Processing by Addresses::ZipcodesController#show as JSON
|
567
|
-
Parameters: {"zipcode"=>"05012010"}
|
568
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
569
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
570
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
571
|
-
Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.4ms)
|
572
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
573
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
574
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
575
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
576
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
577
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
578
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
579
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
580
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
581
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
582
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
583
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
584
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
585
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
586
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
587
|
-
Processing by Addresses::CitiesController#index as JSON
|
588
|
-
Parameters: {"state_id"=>"1"}
|
589
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
590
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
591
|
-
Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.3ms)
|
592
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
593
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
594
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
595
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
596
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
597
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
598
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
599
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
600
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
601
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:36 UTC], ["updated_at", 2017-09-06 02:38:36 UTC]]
|
602
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
603
|
-
Processing by Addresses::CitiesController#index as JSON
|
604
|
-
Parameters: {"state_id"=>"1"}
|
605
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
606
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
607
|
-
Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.3ms)
|
608
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
609
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
610
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
611
|
-
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
612
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
613
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
614
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
615
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
616
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
617
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
618
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
619
|
-
Processing by Addresses::CitiesController#show as JSON
|
620
|
-
Parameters: {"id"=>"1"}
|
621
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
622
|
-
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
623
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
624
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
625
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
626
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
627
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
628
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
629
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
630
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
631
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
632
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
633
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
634
|
-
Processing by Addresses::CitiesController#show as JSON
|
635
|
-
Parameters: {"id"=>"1"}
|
636
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
637
|
-
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
638
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
639
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
640
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
641
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
642
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
643
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
644
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
645
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
646
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
647
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
648
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
649
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
650
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
651
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
652
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
653
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
654
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
655
|
-
Started GET "/addresses/zipcodes/05012010?format=json" for 127.0.0.1 at 2017-09-05 23:38:37 -0300
|
656
|
-
Processing by Addresses::ZipcodesController#show as JSON
|
657
|
-
Parameters: {"zipcode"=>"05012010"}
|
658
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
659
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
660
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
661
|
-
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
662
|
-
[1m[35m (1.7ms)[0m [1m[31mrollback transaction[0m
|
663
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
664
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
665
|
-
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
666
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
667
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
668
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
669
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
670
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
671
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
672
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
673
|
-
Started GET "/addresses/cities?state_id=1&format=json" for 127.0.0.1 at 2017-09-05 23:38:37 -0300
|
674
|
-
Processing by Addresses::CitiesController#index as JSON
|
675
|
-
Parameters: {"state_id"=>"1"}
|
676
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
677
|
-
[1m[36mAddresses::City Load (0.3ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
678
|
-
Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.4ms)
|
679
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
680
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
681
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
682
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
683
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
684
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
685
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
686
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
687
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
688
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
689
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
690
|
-
Started GET "/addresses/cities/1?format=json" for 127.0.0.1 at 2017-09-05 23:38:37 -0300
|
691
|
-
Processing by Addresses::CitiesController#show as JSON
|
692
|
-
Parameters: {"id"=>"1"}
|
693
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
694
|
-
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
695
|
-
[1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
|
696
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
697
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
698
|
-
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
699
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
700
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
701
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
702
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
703
|
-
Processing by Addresses::CitiesController#index as JSON
|
704
|
-
Parameters: {"state_id"=>"1"}
|
705
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
706
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
707
|
-
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
708
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
709
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
710
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
711
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
712
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
713
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
714
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
715
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
716
|
-
Processing by Addresses::CitiesController#index as JSON
|
717
|
-
Parameters: {"state_id"=>"1"}
|
718
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
719
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
720
|
-
Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.3ms)
|
721
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
722
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
723
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
724
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
725
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
726
|
-
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
727
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
728
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
729
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
730
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
731
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
732
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
733
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
734
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
735
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
736
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
737
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
738
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
739
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
740
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
741
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
742
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 2], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
743
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
744
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
745
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 2], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
746
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
747
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
748
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 2], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
749
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
750
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
751
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "12345678"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
752
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
753
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
754
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_addresses" ("number", "created_at", "updated_at", "zipcode_id") VALUES (?, ?, ?, ?)[0m [["number", "Number"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC], ["zipcode_id", 1]]
|
755
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
756
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
757
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
758
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
759
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
760
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
761
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
762
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
763
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
764
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
765
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
766
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
767
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
768
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
769
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
770
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
771
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
772
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
773
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
774
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
775
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
776
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
777
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
778
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
779
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 2], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
780
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
781
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
782
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 2], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
783
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
784
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
785
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 2], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
786
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
787
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
788
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "12345678"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
789
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
790
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "12345678"], ["LIMIT", 1]]
|
791
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
792
|
-
[1m[36mAddresses::State Load (0.2ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
793
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
794
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
795
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
796
|
-
[1m[36mAddresses::State Load (0.2ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."acronym" = ? LIMIT ?[0m [["acronym", "SP"], ["LIMIT", 1]]
|
797
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
798
|
-
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "addresses_states" ("acronym", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["acronym", "SP"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
799
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
800
|
-
[1m[36mAddresses::City Load (0.3ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."name" = ? AND "addresses_cities"."state_id" = ? LIMIT ?[0m [["name", "São Paulo"], ["state_id", 1], ["LIMIT", 1]]
|
801
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
802
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "São Paulo"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
803
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
804
|
-
[1m[36mAddresses::Neighborhood Load (0.1ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."name" = ? AND "addresses_neighborhoods"."city_id" = ? LIMIT ?[0m [["name", "Vila Pompeia"], ["city_id", 1], ["LIMIT", 1]]
|
805
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
806
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Vila Pompeia"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
807
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
808
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
809
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
810
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Rua Ministro Gastão Mesquita"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
811
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
812
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
813
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
814
|
-
[1m[36mAddresses::Zipcode Load (0.3ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
815
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."acronym" = ? LIMIT ?[0m [["acronym", "SP"], ["LIMIT", 1]]
|
816
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
817
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_states" ("acronym", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["acronym", "SP"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
818
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
819
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."name" = ? AND "addresses_cities"."state_id" = ? LIMIT ?[0m [["name", "São Paulo"], ["state_id", 1], ["LIMIT", 1]]
|
820
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
821
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "São Paulo"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
822
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
823
|
-
[1m[36mAddresses::Neighborhood Load (0.1ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."name" = ? AND "addresses_neighborhoods"."city_id" = ? LIMIT ?[0m [["name", "Vila Pompeia"], ["city_id", 1], ["LIMIT", 1]]
|
824
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
825
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Vila Pompeia"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
826
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
827
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
828
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
829
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Rua Ministro Gastão Mesquita"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
830
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
831
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
832
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
833
|
-
[1m[36mAddresses::Zipcode Load (0.2ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
834
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."acronym" = ? LIMIT ?[0m [["acronym", "SP"], ["LIMIT", 1]]
|
835
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
836
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "addresses_states" ("acronym", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["acronym", "SP"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
837
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
838
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."name" = ? AND "addresses_cities"."state_id" = ? LIMIT ?[0m [["name", "São Paulo"], ["state_id", 1], ["LIMIT", 1]]
|
839
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
840
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "São Paulo"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
841
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
842
|
-
[1m[36mAddresses::Neighborhood Load (0.1ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."name" = ? AND "addresses_neighborhoods"."city_id" = ? LIMIT ?[0m [["name", "Vila Pompeia"], ["city_id", 1], ["LIMIT", 1]]
|
843
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
844
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Vila Pompeia"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
845
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
846
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
847
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
848
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Rua Ministro Gastão Mesquita"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
849
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
850
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
851
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
852
|
-
[1m[36mAddresses::Zipcode Load (0.2ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "99999999"], ["LIMIT", 1]]
|
853
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
854
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
855
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
856
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
857
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
858
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
859
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
860
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
861
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
862
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
863
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
864
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
865
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
866
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
867
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
868
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 2], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
869
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
870
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
871
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 2], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
872
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
873
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
874
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 2], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
875
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
876
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
877
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "12345678"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
878
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
879
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
880
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
881
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
882
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
883
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
884
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
885
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
886
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
887
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
888
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
889
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
890
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
891
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
892
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
893
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
894
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
895
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
896
|
-
[1m[35m (1.5ms)[0m [1m[36mbegin transaction[0m
|
897
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
898
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
899
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
900
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
901
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
902
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
903
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
904
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
905
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
906
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
907
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
908
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
909
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
910
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
911
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
912
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
913
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
914
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
915
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
916
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
917
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
918
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
919
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
920
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
921
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
922
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
923
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
924
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
925
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
926
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
927
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
928
|
-
Parameters: {"city_id"=>"1"}
|
929
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
930
|
-
[1m[36mAddresses::Neighborhood Load (0.2ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
931
|
-
Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.3ms)
|
932
|
-
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
933
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
934
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
935
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
936
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
937
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
938
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
939
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
940
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
941
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
942
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
943
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
944
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:37 UTC], ["updated_at", 2017-09-06 02:38:37 UTC]]
|
945
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
946
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
947
|
-
Parameters: {"city_id"=>"1"}
|
948
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
949
|
-
[1m[36mAddresses::Neighborhood Load (0.2ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
950
|
-
Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
|
951
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
952
|
-
[1m[35m (1.2ms)[0m [1m[36mbegin transaction[0m
|
953
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
954
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
955
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
956
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
957
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
958
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
959
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
960
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
961
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
962
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
963
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
964
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
965
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
966
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
967
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
968
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
969
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
970
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
971
|
-
Started GET "/addresses/neighborhoods?city_id=1&format=json" for 127.0.0.1 at 2017-09-05 23:38:57 -0300
|
972
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
973
|
-
Parameters: {"city_id"=>"1"}
|
974
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
975
|
-
[1m[36mAddresses::Neighborhood Load (0.2ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
976
|
-
Completed 200 OK in 25ms (Views: 3.6ms | ActiveRecord: 0.4ms)
|
977
|
-
[1m[35m (6.6ms)[0m [1m[31mrollback transaction[0m
|
978
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
979
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
980
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
981
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
982
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
983
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
984
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
985
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
986
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
987
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
988
|
-
Processing by Addresses::CitiesController#index as JSON
|
989
|
-
Parameters: {"state_id"=>"1"}
|
990
|
-
[1m[36mAddresses::State Load (0.2ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
991
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
992
|
-
Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
|
993
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
994
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
995
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
996
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
997
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
998
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
999
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1000
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1001
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1002
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1003
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1004
|
-
Processing by Addresses::CitiesController#index as JSON
|
1005
|
-
Parameters: {"state_id"=>"1"}
|
1006
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1007
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
1008
|
-
Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.3ms)
|
1009
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1010
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1011
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1012
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1013
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1014
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1015
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1016
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1017
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1018
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1019
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1020
|
-
Processing by Addresses::CitiesController#show as JSON
|
1021
|
-
Parameters: {"id"=>"1"}
|
1022
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1023
|
-
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
1024
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1025
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1026
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1027
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1028
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1029
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1030
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1031
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1032
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1033
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1034
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1035
|
-
Processing by Addresses::CitiesController#show as JSON
|
1036
|
-
Parameters: {"id"=>"1"}
|
1037
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1038
|
-
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
1039
|
-
[1m[35m (4.2ms)[0m [1m[31mrollback transaction[0m
|
1040
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1041
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1042
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1043
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1044
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1045
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1046
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1047
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1048
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1049
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1050
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1051
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1052
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1053
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1054
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1055
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
1056
|
-
Parameters: {"city_id"=>"1"}
|
1057
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1058
|
-
[1m[36mAddresses::Neighborhood Load (0.2ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
1059
|
-
Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
1060
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1061
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1062
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1063
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1064
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1065
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1066
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1067
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1068
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1069
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1070
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1071
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1072
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1073
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1074
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
1075
|
-
Parameters: {"city_id"=>"1"}
|
1076
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1077
|
-
[1m[36mAddresses::Neighborhood Load (0.3ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
1078
|
-
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
|
1079
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1080
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1081
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1082
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1083
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1084
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1085
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1086
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1087
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1088
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1089
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1090
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1091
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1092
|
-
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1093
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1094
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1095
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1096
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1097
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1098
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 2], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1099
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1100
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1101
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 2], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1102
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1103
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1104
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 2], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1105
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1106
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1107
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "12345678"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1108
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1109
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1110
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_addresses" ("number", "created_at", "updated_at", "zipcode_id") VALUES (?, ?, ?, ?)[0m [["number", "Number"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC], ["zipcode_id", 1]]
|
1111
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1112
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1113
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1114
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1115
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1116
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1117
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1118
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1119
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1120
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1121
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1122
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1123
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1124
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1125
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1126
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1127
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1128
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1129
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1130
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1131
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1132
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1133
|
-
Processing by Addresses::ZipcodesController#show as JSON
|
1134
|
-
Parameters: {"zipcode"=>"99999999"}
|
1135
|
-
[1m[36mAddresses::Zipcode Load (0.2ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "99999999"], ["LIMIT", 1]]
|
1136
|
-
Completed 422 Unprocessable Entity in 12ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1137
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1138
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1139
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1140
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1141
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1142
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1143
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1144
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1145
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1146
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1147
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1148
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1149
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1150
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1151
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1152
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1153
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1154
|
-
Processing by Addresses::ZipcodesController#show as JSON
|
1155
|
-
Parameters: {"zipcode"=>"05012010"}
|
1156
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
1157
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1158
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1159
|
-
Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
1160
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1161
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1162
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1163
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1164
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1165
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1166
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1167
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1168
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1169
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:57 UTC], ["updated_at", 2017-09-06 02:38:57 UTC]]
|
1170
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1171
|
-
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1172
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1173
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1174
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1175
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1176
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1177
|
-
Processing by Addresses::ZipcodesController#show as JSON
|
1178
|
-
Parameters: {"zipcode"=>"05012010"}
|
1179
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
1180
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1181
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1182
|
-
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
1183
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1184
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1185
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1186
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1187
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1188
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1189
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1190
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1191
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1192
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1193
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1194
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1195
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1196
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1197
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1198
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1199
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1200
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1201
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1202
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1203
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1204
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1205
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1206
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1207
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1208
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1209
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1210
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1211
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1212
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1213
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1214
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1215
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1216
|
-
Started GET "/addresses/cities?state_id=1&format=json" for 127.0.0.1 at 2017-09-05 23:38:58 -0300
|
1217
|
-
Processing by Addresses::CitiesController#index as JSON
|
1218
|
-
Parameters: {"state_id"=>"1"}
|
1219
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1220
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
1221
|
-
Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.3ms)
|
1222
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1223
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1224
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1225
|
-
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1226
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1227
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1228
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1229
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1230
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1231
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1232
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1233
|
-
Started GET "/addresses/cities/1?format=json" for 127.0.0.1 at 2017-09-05 23:38:58 -0300
|
1234
|
-
Processing by Addresses::CitiesController#show as JSON
|
1235
|
-
Parameters: {"id"=>"1"}
|
1236
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1237
|
-
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
1238
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1239
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1240
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1241
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1242
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1243
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1244
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1245
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1246
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1247
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1248
|
-
Processing by Addresses::StatesController#index as JSON
|
1249
|
-
Parameters: {"state_id"=>"1"}
|
1250
|
-
[1m[36mAddresses::State Load (0.2ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" ORDER BY name asc[0m
|
1251
|
-
Completed 200 OK in 21ms (Views: 2.6ms | ActiveRecord: 0.2ms)
|
1252
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1253
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1254
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1255
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1256
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1257
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1258
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1259
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1260
|
-
Processing by Addresses::StatesController#index as JSON
|
1261
|
-
Parameters: {"state_id"=>"1"}
|
1262
|
-
[1m[36mAddresses::State Load (0.2ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" ORDER BY name asc[0m
|
1263
|
-
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
1264
|
-
[1m[35m (2.9ms)[0m [1m[31mrollback transaction[0m
|
1265
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1266
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1267
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1268
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1269
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1270
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1271
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1272
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1273
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1274
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1275
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1276
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1277
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1278
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1279
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1280
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1281
|
-
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1282
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1283
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1284
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1285
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1286
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1287
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1288
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1289
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1290
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1291
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1292
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1293
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 2], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1294
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1295
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1296
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 2], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1297
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1298
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1299
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 2], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1300
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1301
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1302
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "12345678"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1303
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1304
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1305
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1306
|
-
[1m[36mAddresses::Zipcode Load (0.2ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
1307
|
-
[1m[36mAddresses::State Load (0.3ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."acronym" = ? LIMIT ?[0m [["acronym", "SP"], ["LIMIT", 1]]
|
1308
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1309
|
-
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "addresses_states" ("acronym", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["acronym", "SP"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1310
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1311
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."name" = ? AND "addresses_cities"."state_id" = ? LIMIT ?[0m [["name", "São Paulo"], ["state_id", 1], ["LIMIT", 1]]
|
1312
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1313
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "São Paulo"], ["state_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1314
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1315
|
-
[1m[36mAddresses::Neighborhood Load (0.2ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."name" = ? AND "addresses_neighborhoods"."city_id" = ? LIMIT ?[0m [["name", "Vila Pompeia"], ["city_id", 1], ["LIMIT", 1]]
|
1316
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1317
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Vila Pompeia"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1318
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1319
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1320
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1321
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Rua Ministro Gastão Mesquita"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1322
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1323
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1324
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1325
|
-
[1m[36mAddresses::Zipcode Load (0.3ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
1326
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."acronym" = ? LIMIT ?[0m [["acronym", "SP"], ["LIMIT", 1]]
|
1327
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1328
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_states" ("acronym", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["acronym", "SP"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1329
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1330
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."name" = ? AND "addresses_cities"."state_id" = ? LIMIT ?[0m [["name", "São Paulo"], ["state_id", 1], ["LIMIT", 1]]
|
1331
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1332
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "São Paulo"], ["state_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1333
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1334
|
-
[1m[36mAddresses::Neighborhood Load (0.1ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."name" = ? AND "addresses_neighborhoods"."city_id" = ? LIMIT ?[0m [["name", "Vila Pompeia"], ["city_id", 1], ["LIMIT", 1]]
|
1335
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1336
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Vila Pompeia"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1337
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1338
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1339
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1340
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Rua Ministro Gastão Mesquita"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1341
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1342
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1343
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1344
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
1345
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."acronym" = ? LIMIT ?[0m [["acronym", "SP"], ["LIMIT", 1]]
|
1346
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1347
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_states" ("acronym", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["acronym", "SP"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1348
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1349
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."name" = ? AND "addresses_cities"."state_id" = ? LIMIT ?[0m [["name", "São Paulo"], ["state_id", 1], ["LIMIT", 1]]
|
1350
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1351
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "São Paulo"], ["state_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1352
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1353
|
-
[1m[36mAddresses::Neighborhood Load (0.1ms)[0m [1m[34mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."name" = ? AND "addresses_neighborhoods"."city_id" = ? LIMIT ?[0m [["name", "Vila Pompeia"], ["city_id", 1], ["LIMIT", 1]]
|
1354
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1355
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Vila Pompeia"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1356
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1357
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1358
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1359
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Rua Ministro Gastão Mesquita"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1360
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1361
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
1362
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1363
|
-
[1m[36mAddresses::Zipcode Load (0.2ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "99999999"], ["LIMIT", 1]]
|
1364
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1365
|
-
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
1366
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1367
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1368
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1369
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1370
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1371
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1372
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1373
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1374
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1375
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1376
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1377
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1378
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1379
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 2], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1380
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1381
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1382
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 2], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1383
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1384
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1385
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 2], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1386
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1387
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1388
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "12345678"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1389
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1390
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "12345678"], ["LIMIT", 1]]
|
1391
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1392
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1393
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
1394
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1395
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1396
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1397
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1398
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1399
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1400
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1401
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1402
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "addresses_countries" ("name", "acronym", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Country name"], ["acronym", "Country acronym"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1403
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1404
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1405
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_states" ("name", "acronym", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "State name"], ["acronym", "State acronym"], ["country_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1406
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1407
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1408
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "addresses_cities" ("name", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "City name"], ["state_id", 1], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1409
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1410
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1411
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "addresses_neighborhoods" ("city_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["name", "Neighborhood name"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1412
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1413
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1414
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "addresses_zipcodes" ("street", "city_id", "neighborhood_id", "number", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["street", "Street name"], ["city_id", 1], ["neighborhood_id", 1], ["number", "05012010"], ["created_at", 2017-09-06 02:38:58 UTC], ["updated_at", 2017-09-06 02:38:58 UTC]]
|
1415
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1416
|
-
Started GET "/addresses/zipcodes/05012010?format=json" for 127.0.0.1 at 2017-09-05 23:38:58 -0300
|
1417
|
-
Processing by Addresses::ZipcodesController#show as JSON
|
1418
|
-
Parameters: {"zipcode"=>"05012010"}
|
1419
|
-
[1m[36mAddresses::Zipcode Load (0.1ms)[0m [1m[34mSELECT "addresses_zipcodes".* FROM "addresses_zipcodes" WHERE "addresses_zipcodes"."number" = ? LIMIT ?[0m [["number", "05012010"], ["LIMIT", 1]]
|
1420
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1m[34mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1421
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1m[34mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1422
|
-
Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 0.4ms)
|
1423
|
-
[1m[35m (1.2ms)[0m [1m[31mrollback transaction[0m
|