addresses 0.0.9 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +9 -1
- data/app/controllers/addresses/cities_controller.rb +4 -4
- data/app/controllers/addresses/neighborhoods_controller.rb +4 -4
- data/app/models/addresses/address.rb +17 -17
- data/config/routes.rb +3 -4
- data/lib/addresses/engine.rb +4 -4
- data/lib/tasks/addresses_tasks.rake +4 -4
- data/lib/tasks/natal_city.rake +1 -1
- data/lib/tasks/populate_cities.rake +5566 -5566
- data/lib/tasks/populate_countries.rake +239 -239
- data/lib/tasks/populate_neighborhoods.rake +40819 -40819
- data/lib/tasks/populate_states.rake +28 -28
- data/spec/controllers/addresses/cities_controller_spec.rb +10 -19
- data/spec/controllers/addresses/neighborhoods_controller_spec.rb +11 -20
- data/spec/dummy/Gemfile.lock +77 -68
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/dummy/db/schema.rb +12 -16
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +2 -735
- data/spec/factories/addresses.rb +12 -0
- data/spec/factories/{addresses_cities.rb → cities.rb} +3 -3
- data/spec/factories/countries.rb +8 -0
- data/spec/factories/neighborhoods.rb +8 -0
- data/spec/factories/states.rb +9 -0
- data/spec/models/addresses/address_spec.rb +17 -3
- data/spec/models/addresses/city_spec.rb +4 -3
- data/spec/models/addresses/country_spec.rb +3 -3
- data/spec/models/addresses/neighborhood_spec.rb +3 -3
- data/spec/models/addresses/state_spec.rb +4 -3
- data/spec/requests/cities_spec.rb +14 -14
- data/spec/requests/neighborhoods_spec.rb +13 -16
- data/spec/routing/cities_routing_spec.rb +7 -6
- data/spec/routing/neighborhoods_routing_spec.rb +11 -0
- data/spec/spec_helper.rb +15 -6
- metadata +49 -32
- data/lib/addresses/version.rb +0 -3
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20140327205948_create_addresses_countries.addresses.rb +0 -13
- data/spec/dummy/db/migrate/20140327205949_create_addresses_states.addresses.rb +0 -14
- data/spec/dummy/db/migrate/20140327205950_create_addresses_cities.addresses.rb +0 -13
- data/spec/dummy/db/migrate/20140327205951_create_addresses_neighborhoods.addresses.rb +0 -13
- data/spec/dummy/db/migrate/20140328120544_create_addresses_addresses.addresses.rb +0 -17
- data/spec/factories/addresses_addresses.rb +0 -12
- data/spec/factories/addresses_countries.rb +0 -8
- data/spec/factories/addresses_neighborhoods.rb +0 -8
- data/spec/factories/addresses_states.rb +0 -9
@@ -2,31 +2,31 @@
|
|
2
2
|
|
3
3
|
desc "Populate states"
|
4
4
|
task :populate_states => [:environment] do
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
end
|
5
|
+
Addresses::State.create(id: '28', name: 'Acre', acronym: 'AC', country_id: 33)
|
6
|
+
Addresses::State.create(id: '29', name: 'Alagoas', acronym: 'AL', country_id: 33)
|
7
|
+
Addresses::State.create(id: '30', name: 'Amazonas', acronym: 'AM', country_id: 33)
|
8
|
+
Addresses::State.create(id: '31', name: 'Amapá', acronym: 'AP', country_id: 33)
|
9
|
+
Addresses::State.create(id: '32', name: 'Bahia', acronym: 'BA', country_id: 33)
|
10
|
+
Addresses::State.create(id: '33', name: 'Ceará', acronym: 'CE', country_id: 33)
|
11
|
+
Addresses::State.create(id: '34', name: 'Brasília', acronym: 'DF', country_id: 33)
|
12
|
+
Addresses::State.create(id: '35', name: 'Espírito Santo', acronym: 'ES', country_id: 33)
|
13
|
+
Addresses::State.create(id: '36', name: 'Goiás', acronym: 'GO', country_id: 33)
|
14
|
+
Addresses::State.create(id: '37', name: 'Maranhão', acronym: 'MA', country_id: 33)
|
15
|
+
Addresses::State.create(id: '38', name: 'Minas Gerais', acronym: 'MG', country_id: 33)
|
16
|
+
Addresses::State.create(id: '39', name: 'Mato Grosso do Sul', acronym: 'MS', country_id: 33)
|
17
|
+
Addresses::State.create(id: '40', name: 'Mato Grosso', acronym: 'MT', country_id: 33)
|
18
|
+
Addresses::State.create(id: '41', name: 'Pará', acronym: 'PA', country_id: 33)
|
19
|
+
Addresses::State.create(id: '42', name: 'Paraíba', acronym: 'PB', country_id: 33)
|
20
|
+
Addresses::State.create(id: '43', name: 'Pernambuco', acronym: 'PE', country_id: 33)
|
21
|
+
Addresses::State.create(id: '44', name: 'Piauí', acronym: 'PI', country_id: 33)
|
22
|
+
Addresses::State.create(id: '45', name: 'Paraná', acronym: 'PR', country_id: 33)
|
23
|
+
Addresses::State.create(id: '46', name: 'Rio de Janeiro', acronym: 'RJ', country_id: 33)
|
24
|
+
Addresses::State.create(id: '47', name: 'Rio Grande do Norte', acronym: 'RN', country_id: 33)
|
25
|
+
Addresses::State.create(id: '48', name: 'Rondônia', acronym: 'RO', country_id: 33)
|
26
|
+
Addresses::State.create(id: '49', name: 'Roraima', acronym: 'RR', country_id: 33)
|
27
|
+
Addresses::State.create(id: '50', name: 'Rio Grande do Sul', acronym: 'RS', country_id: 33)
|
28
|
+
Addresses::State.create(id: '51', name: 'Santa Catarina', acronym: 'SC', country_id: 33)
|
29
|
+
Addresses::State.create(id: '52', name: 'Sergipe', acronym: 'SE', country_id: 33)
|
30
|
+
Addresses::State.create(id: '53', name: 'São Paulo', acronym: 'SP', country_id: 33)
|
31
|
+
Addresses::State.create(id: '54', name: 'Tocantins', acronym: 'TO', country_id: 33)
|
32
|
+
end
|
@@ -1,25 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require 'spec_helper'
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
routes { Addresses::Engine.routes }
|
6
|
-
|
7
|
-
before do
|
8
|
-
@state = FactoryGirl.create(:addresses_state)
|
4
|
+
RSpec.describe Addresses::CitiesController, type: :controller do
|
5
|
+
routes { Addresses::Engine.routes }
|
9
6
|
|
10
|
-
|
11
|
-
|
7
|
+
let!(:state) { create :state }
|
8
|
+
let!(:city) { create :city, state: state }
|
12
9
|
|
13
|
-
|
14
|
-
|
15
|
-
get 'index', { state_id: @state.id, format: :json }
|
16
|
-
response.should be_success
|
17
|
-
end
|
10
|
+
describe "GET #index" do
|
11
|
+
before { get :index, params: { state_id: state.id, format: :json } }
|
18
12
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
13
|
+
it { expect(response).to have_http_status(:success) }
|
14
|
+
it { expect(assigns(:cities)).to eq([city]) }
|
15
|
+
end
|
25
16
|
end
|
@@ -1,26 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require 'spec_helper'
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
routes { Addresses::Engine.routes }
|
6
|
-
|
7
|
-
before do
|
8
|
-
@state = FactoryGirl.create(:addresses_state)
|
9
|
-
@city = FactoryGirl.create(:addresses_city, state: @state)
|
10
|
-
@neighborhood = FactoryGirl.create(:addresses_neighborhood, city: @city)
|
11
|
-
end
|
4
|
+
RSpec.describe Addresses::NeighborhoodsController, type: :controller do
|
5
|
+
routes { Addresses::Engine.routes }
|
12
6
|
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
let!(:state) { create :state }
|
8
|
+
let!(:city) { create :city, state: state }
|
9
|
+
let!(:neighborhood) { create :neighborhood, city: city }
|
16
10
|
|
17
|
-
|
18
|
-
|
11
|
+
describe "GET #index" do
|
12
|
+
before { get :index, params: { city_id: city.id, format: :json } }
|
19
13
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
14
|
+
it { expect(response).to have_http_status(:success) }
|
15
|
+
it { expect(assigns(:neighborhoods)).to eq([neighborhood]) }
|
16
|
+
end
|
26
17
|
end
|
data/spec/dummy/Gemfile.lock
CHANGED
@@ -2,103 +2,112 @@ PATH
|
|
2
2
|
remote: ../../../addresses
|
3
3
|
specs:
|
4
4
|
addresses (0.0.9)
|
5
|
-
rails (~>
|
5
|
+
rails (~> 5.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
11
|
-
actionpack (=
|
12
|
-
|
13
|
-
|
10
|
+
actioncable (5.0.0.1)
|
11
|
+
actionpack (= 5.0.0.1)
|
12
|
+
nio4r (~> 1.2)
|
13
|
+
websocket-driver (~> 0.6.1)
|
14
|
+
actionmailer (5.0.0.1)
|
15
|
+
actionpack (= 5.0.0.1)
|
16
|
+
actionview (= 5.0.0.1)
|
17
|
+
activejob (= 5.0.0.1)
|
14
18
|
mail (~> 2.5, >= 2.5.4)
|
15
|
-
rails-dom-testing (~>
|
16
|
-
actionpack (
|
17
|
-
actionview (=
|
18
|
-
activesupport (=
|
19
|
-
rack (~>
|
20
|
-
rack-test (~> 0.6.
|
21
|
-
rails-dom-testing (~>
|
22
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
23
|
-
actionview (
|
24
|
-
activesupport (=
|
19
|
+
rails-dom-testing (~> 2.0)
|
20
|
+
actionpack (5.0.0.1)
|
21
|
+
actionview (= 5.0.0.1)
|
22
|
+
activesupport (= 5.0.0.1)
|
23
|
+
rack (~> 2.0)
|
24
|
+
rack-test (~> 0.6.3)
|
25
|
+
rails-dom-testing (~> 2.0)
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
+
actionview (5.0.0.1)
|
28
|
+
activesupport (= 5.0.0.1)
|
25
29
|
builder (~> 3.1)
|
26
30
|
erubis (~> 2.7.0)
|
27
|
-
rails-dom-testing (~>
|
28
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
29
|
-
activejob (
|
30
|
-
activesupport (=
|
31
|
-
globalid (>= 0.3.
|
32
|
-
activemodel (
|
33
|
-
activesupport (=
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
31
|
+
rails-dom-testing (~> 2.0)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
33
|
+
activejob (5.0.0.1)
|
34
|
+
activesupport (= 5.0.0.1)
|
35
|
+
globalid (>= 0.3.6)
|
36
|
+
activemodel (5.0.0.1)
|
37
|
+
activesupport (= 5.0.0.1)
|
38
|
+
activerecord (5.0.0.1)
|
39
|
+
activemodel (= 5.0.0.1)
|
40
|
+
activesupport (= 5.0.0.1)
|
41
|
+
arel (~> 7.0)
|
42
|
+
activesupport (5.0.0.1)
|
43
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
40
44
|
i18n (~> 0.7)
|
41
|
-
json (~> 1.7, >= 1.7.7)
|
42
45
|
minitest (~> 5.1)
|
43
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
44
46
|
tzinfo (~> 1.1)
|
45
|
-
arel (
|
47
|
+
arel (7.1.1)
|
46
48
|
builder (3.2.2)
|
47
49
|
concurrent-ruby (1.0.2)
|
48
50
|
erubis (2.7.0)
|
49
|
-
globalid (0.3.
|
51
|
+
globalid (0.3.7)
|
50
52
|
activesupport (>= 4.1.0)
|
51
53
|
i18n (0.7.0)
|
52
|
-
|
53
|
-
loofah (2.0.1)
|
54
|
+
loofah (2.0.3)
|
54
55
|
nokogiri (>= 1.5.9)
|
55
|
-
mail (2.6.
|
56
|
-
mime-types (>= 1.16, <
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
56
|
+
mail (2.6.4)
|
57
|
+
mime-types (>= 1.16, < 4)
|
58
|
+
method_source (0.8.2)
|
59
|
+
mime-types (3.1)
|
60
|
+
mime-types-data (~> 3.2015)
|
61
|
+
mime-types-data (3.2016.0521)
|
62
|
+
mini_portile2 (2.1.0)
|
63
|
+
minitest (5.9.0)
|
64
|
+
nio4r (1.2.1)
|
65
|
+
nokogiri (1.6.8)
|
66
|
+
mini_portile2 (~> 2.1.0)
|
67
|
+
pkg-config (~> 1.1.7)
|
68
|
+
pkg-config (1.1.7)
|
69
|
+
rack (2.0.1)
|
63
70
|
rack-test (0.6.3)
|
64
71
|
rack (>= 1.0)
|
65
|
-
rails (
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
72
|
+
rails (5.0.0.1)
|
73
|
+
actioncable (= 5.0.0.1)
|
74
|
+
actionmailer (= 5.0.0.1)
|
75
|
+
actionpack (= 5.0.0.1)
|
76
|
+
actionview (= 5.0.0.1)
|
77
|
+
activejob (= 5.0.0.1)
|
78
|
+
activemodel (= 5.0.0.1)
|
79
|
+
activerecord (= 5.0.0.1)
|
80
|
+
activesupport (= 5.0.0.1)
|
73
81
|
bundler (>= 1.3.0, < 2.0)
|
74
|
-
railties (=
|
75
|
-
sprockets-rails
|
76
|
-
rails-
|
77
|
-
activesupport (>= 4.2.0.
|
78
|
-
rails-dom-testing (1.0.6)
|
79
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
82
|
+
railties (= 5.0.0.1)
|
83
|
+
sprockets-rails (>= 2.0.0)
|
84
|
+
rails-dom-testing (2.0.1)
|
85
|
+
activesupport (>= 4.2.0, < 6.0)
|
80
86
|
nokogiri (~> 1.6.0)
|
81
|
-
|
82
|
-
rails-html-sanitizer (1.0.2)
|
87
|
+
rails-html-sanitizer (1.0.3)
|
83
88
|
loofah (~> 2.0)
|
84
|
-
railties (
|
85
|
-
actionpack (=
|
86
|
-
activesupport (=
|
89
|
+
railties (5.0.0.1)
|
90
|
+
actionpack (= 5.0.0.1)
|
91
|
+
activesupport (= 5.0.0.1)
|
92
|
+
method_source
|
87
93
|
rake (>= 0.8.7)
|
88
94
|
thor (>= 0.18.1, < 2.0)
|
89
|
-
rake (
|
90
|
-
sprockets (3.
|
95
|
+
rake (11.2.2)
|
96
|
+
sprockets (3.7.0)
|
91
97
|
concurrent-ruby (~> 1.0)
|
92
98
|
rack (> 1, < 3)
|
93
|
-
sprockets-rails (
|
94
|
-
actionpack (>=
|
95
|
-
activesupport (>=
|
96
|
-
sprockets (>=
|
99
|
+
sprockets-rails (3.2.0)
|
100
|
+
actionpack (>= 4.0)
|
101
|
+
activesupport (>= 4.0)
|
102
|
+
sprockets (>= 3.0.0)
|
97
103
|
sqlite3 (1.3.9)
|
98
104
|
thor (0.19.1)
|
99
105
|
thread_safe (0.3.5)
|
100
106
|
tzinfo (1.2.2)
|
101
107
|
thread_safe (~> 0.1)
|
108
|
+
websocket-driver (0.6.4)
|
109
|
+
websocket-extensions (>= 0.1.0)
|
110
|
+
websocket-extensions (0.1.2)
|
102
111
|
|
103
112
|
PLATFORMS
|
104
113
|
ruby
|
@@ -108,4 +117,4 @@ DEPENDENCIES
|
|
108
117
|
sqlite3
|
109
118
|
|
110
119
|
BUNDLED WITH
|
111
|
-
1.
|
120
|
+
1.13.0
|
@@ -14,7 +14,7 @@ Dummy::Application.configure do
|
|
14
14
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
16
16
|
config.serve_static_assets = true
|
17
|
-
config.
|
17
|
+
config.public_file_server.headers = { 'Cache-Control': 'public, max-age=3600' }
|
18
18
|
|
19
19
|
# Show full error reports and disable caching.
|
20
20
|
config.consider_all_requests_local = true
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
# encoding: UTF-8
|
2
1
|
# This file is auto-generated from the current state of the database. Instead
|
3
2
|
# of editing this file, please use the migrations feature of Active Record to
|
4
3
|
# incrementally modify your database, and then regenerate this schema definition.
|
@@ -11,9 +10,9 @@
|
|
11
10
|
#
|
12
11
|
# It's strongly recommended that you check this file into your version control system.
|
13
12
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
13
|
+
ActiveRecord::Schema.define(version: 20140328120418) do
|
15
14
|
|
16
|
-
create_table "addresses_addresses", force:
|
15
|
+
create_table "addresses_addresses", force: :cascade do |t|
|
17
16
|
t.string "street"
|
18
17
|
t.string "number"
|
19
18
|
t.string "complement"
|
@@ -24,44 +23,41 @@ ActiveRecord::Schema.define(version: 20140328120544) do
|
|
24
23
|
t.string "addressable_type"
|
25
24
|
t.datetime "created_at"
|
26
25
|
t.datetime "updated_at"
|
26
|
+
t.index ["addressable_id"], name: "index_addresses_addresses_on_addressable_id"
|
27
|
+
t.index ["city_id"], name: "index_addresses_addresses_on_city_id"
|
28
|
+
t.index ["neighborhood_id"], name: "index_addresses_addresses_on_neighborhood_id"
|
27
29
|
end
|
28
30
|
|
29
|
-
|
30
|
-
add_index "addresses_addresses", ["neighborhood_id"], name: "index_addresses_addresses_on_neighborhood_id"
|
31
|
-
|
32
|
-
create_table "addresses_cities", force: true do |t|
|
31
|
+
create_table "addresses_cities", force: :cascade do |t|
|
33
32
|
t.string "name"
|
34
33
|
t.integer "state_id"
|
35
34
|
t.datetime "created_at"
|
36
35
|
t.datetime "updated_at"
|
36
|
+
t.index ["state_id"], name: "index_addresses_cities_on_state_id"
|
37
37
|
end
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
create_table "addresses_countries", force: true do |t|
|
39
|
+
create_table "addresses_countries", force: :cascade do |t|
|
42
40
|
t.string "name"
|
43
41
|
t.string "acronym"
|
44
42
|
t.datetime "created_at"
|
45
43
|
t.datetime "updated_at"
|
46
44
|
end
|
47
45
|
|
48
|
-
create_table "addresses_neighborhoods", force:
|
46
|
+
create_table "addresses_neighborhoods", force: :cascade do |t|
|
49
47
|
t.integer "city_id"
|
50
48
|
t.string "name"
|
51
49
|
t.datetime "created_at"
|
52
50
|
t.datetime "updated_at"
|
51
|
+
t.index ["city_id"], name: "index_addresses_neighborhoods_on_city_id"
|
53
52
|
end
|
54
53
|
|
55
|
-
|
56
|
-
|
57
|
-
create_table "addresses_states", force: true do |t|
|
54
|
+
create_table "addresses_states", force: :cascade do |t|
|
58
55
|
t.string "name"
|
59
56
|
t.string "acronym"
|
60
57
|
t.integer "country_id"
|
61
58
|
t.datetime "created_at"
|
62
59
|
t.datetime "updated_at"
|
60
|
+
t.index ["country_id"], name: "index_addresses_states_on_country_id"
|
63
61
|
end
|
64
62
|
|
65
|
-
add_index "addresses_states", ["country_id"], name: "index_addresses_states_on_country_id"
|
66
|
-
|
67
63
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -1,735 +1,2 @@
|
|
1
|
-
[1m[
|
2
|
-
[1m[35m (0.1ms)[0m
|
3
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
5
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
6
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
7
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
9
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
10
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
11
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
13
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
14
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
15
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
16
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
17
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
18
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
19
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
20
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
21
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
22
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
23
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
24
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
25
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
26
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
27
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
28
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
29
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
30
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
31
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
32
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
33
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
34
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
35
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
36
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
37
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
38
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
39
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
40
|
-
Processing by Addresses::CitiesController#index as HTML
|
41
|
-
Rendered /Users/wilbert/apps/addresses/app/views/addresses/cities/index.html.erb within layouts/addresses/application (0.2ms)
|
42
|
-
Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
43
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
44
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
45
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
46
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
47
|
-
Processing by Addresses::CitiesController#index as HTML
|
48
|
-
Rendered /Users/wilbert/apps/addresses/app/views/addresses/cities/index.html.erb within layouts/addresses/application (0.2ms)
|
49
|
-
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
|
50
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
51
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
52
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
53
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
54
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
55
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
56
|
-
Processing by Addresses::CitiesController#index as HTML
|
57
|
-
Rendered /Users/wilbert/apps/addresses/app/views/addresses/cities/index.html.erb within layouts/addresses/application (0.2ms)
|
58
|
-
Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
|
59
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
60
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
61
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
62
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
63
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
64
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
65
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
66
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
67
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
68
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
69
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
70
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
71
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
72
|
-
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
73
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
74
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
75
|
-
Migrating to CreateAddressesCountries (20140327144030)
|
76
|
-
[1m[35m (0.1ms)[0m begin transaction
|
77
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "addresses_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "acronym" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
78
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
79
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
80
|
-
Migrating to CreateAddressesCountries (20140327144030)
|
81
|
-
[1m[35m (0.1ms)[0m begin transaction
|
82
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "addresses_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "acronym" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
83
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
84
|
-
[1m[36m (7.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
85
|
-
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
86
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
87
|
-
Migrating to CreateAddressesCountries (20140327205948)
|
88
|
-
[1m[35m (0.1ms)[0m begin transaction
|
89
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "addresses_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "acronym" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
90
|
-
[1m[35mSQL (1.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140327205948"]]
|
91
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
92
|
-
Migrating to CreateAddressesStates (20140327205949)
|
93
|
-
[1m[35m (0.1ms)[0m begin transaction
|
94
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "addresses_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "acronym" varchar(255), "country_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
95
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_addresses_states_on_country_id" ON "addresses_states" ("country_id")
|
96
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140327205949"]]
|
97
|
-
[1m[35m (0.7ms)[0m commit transaction
|
98
|
-
Migrating to CreateAddressesCities (20140327205950)
|
99
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
100
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "addresses_cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "state_id" integer, "created_at" datetime, "updated_at" datetime)
|
101
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_addresses_cities_on_state_id" ON "addresses_cities" ("state_id")[0m
|
102
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140327205950"]]
|
103
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
104
|
-
Migrating to CreateAddressesNeighborhoods (20140327205951)
|
105
|
-
[1m[35m (0.1ms)[0m begin transaction
|
106
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "addresses_neighborhoods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "city_id" integer, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
107
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_addresses_neighborhoods_on_city_id" ON "addresses_neighborhoods" ("city_id")
|
108
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140327205951"]]
|
109
|
-
[1m[35m (0.6ms)[0m commit transaction
|
110
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
111
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
112
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
113
|
-
[1m[36mSQL (5.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:00:39 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:00:39 UTC +00:00]]
|
114
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
115
|
-
[1m[36m (6.7ms)[0m [1mrollback transaction[0m
|
116
|
-
[1m[35m (0.1ms)[0m begin transaction
|
117
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
118
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:00:39 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:00:39 UTC +00:00]]
|
119
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
120
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
121
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
122
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
123
|
-
[1m[36mSQL (4.5ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:01:02 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:01:02 UTC +00:00]]
|
124
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
125
|
-
[1m[36m (6.8ms)[0m [1mrollback transaction[0m
|
126
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
127
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
128
|
-
[1m[36mSQL (4.6ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:01:18 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:01:18 UTC +00:00]]
|
129
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
130
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
131
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:01:18 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:01:18 UTC +00:00]]
|
132
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
133
|
-
Processing by Addresses::CitiesController#index as HTML
|
134
|
-
Parameters: {"state_id"=>"1"}
|
135
|
-
Rendered /Users/wilbert/apps/addresses/app/views/addresses/cities/index.html.erb within layouts/addresses/application (0.2ms)
|
136
|
-
Completed 200 OK in 8ms (Views: 8.2ms | ActiveRecord: 0.0ms)
|
137
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
138
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
139
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
140
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:01:18 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:01:18 UTC +00:00]]
|
141
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
142
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
143
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:01:18 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:01:18 UTC +00:00]]
|
144
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
145
|
-
Processing by Addresses::CitiesController#index as HTML
|
146
|
-
Parameters: {"state_id"=>"1"}
|
147
|
-
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
148
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
149
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
150
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
151
|
-
[1m[36mSQL (5.1ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:01:32 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:01:32 UTC +00:00]]
|
152
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
153
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
154
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:01:32 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:01:32 UTC +00:00]]
|
155
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
156
|
-
Processing by Addresses::CitiesController#index as HTML
|
157
|
-
Parameters: {"state_id"=>"1"}
|
158
|
-
Rendered /Users/wilbert/apps/addresses/app/views/addresses/cities/index.html.erb within layouts/addresses/application (0.3ms)
|
159
|
-
Completed 200 OK in 11ms (Views: 11.1ms | ActiveRecord: 0.0ms)
|
160
|
-
[1m[35m (6.6ms)[0m rollback transaction
|
161
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
162
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
163
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
164
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
165
|
-
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:02:41 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:02:41 UTC +00:00]]
|
166
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
167
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
168
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:02:41 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:02:41 UTC +00:00]]
|
169
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
170
|
-
Processing by Addresses::CitiesController#index as HTML
|
171
|
-
Parameters: {"state_id"=>"1"}
|
172
|
-
[1m[35mAddresses::State Load (0.1ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
|
173
|
-
Rendered /Users/wilbert/apps/addresses/app/views/addresses/cities/index.html.erb within layouts/addresses/application (0.3ms)
|
174
|
-
Completed 200 OK in 25ms (Views: 9.1ms | ActiveRecord: 0.1ms)
|
175
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ?[0m [["state_id", 1]]
|
176
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
177
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
178
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
179
|
-
[1m[36mSQL (4.6ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:02:53 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:02:53 UTC +00:00]]
|
180
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
181
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
182
|
-
[1m[35mSQL (1.5ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:02:53 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:02:53 UTC +00:00]]
|
183
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
184
|
-
Processing by Addresses::CitiesController#index as HTML
|
185
|
-
Parameters: {"state_id"=>"1"}
|
186
|
-
[1m[35mAddresses::State Load (0.2ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
|
187
|
-
Rendered /Users/wilbert/apps/addresses/app/views/addresses/cities/index.html.erb within layouts/addresses/application (0.2ms)
|
188
|
-
Completed 200 OK in 22ms (Views: 7.7ms | ActiveRecord: 0.2ms)
|
189
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ?[0m [["state_id", 1]]
|
190
|
-
[1m[35m (6.7ms)[0m rollback transaction
|
191
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
192
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
193
|
-
[1m[36mSQL (4.7ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:03:03 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:03:03 UTC +00:00]]
|
194
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
195
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
196
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:03:03 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:03:03 UTC +00:00]]
|
197
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
198
|
-
Processing by Addresses::CitiesController#index as HTML
|
199
|
-
Parameters: {"state_id"=>"1"}
|
200
|
-
[1m[35mAddresses::State Load (0.1ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
|
201
|
-
Rendered /Users/wilbert/apps/addresses/app/views/addresses/cities/index.html.erb within layouts/addresses/application (0.2ms)
|
202
|
-
Completed 200 OK in 20ms (Views: 7.4ms | ActiveRecord: 0.1ms)
|
203
|
-
[1m[36m (6.7ms)[0m [1mrollback transaction[0m
|
204
|
-
[1m[35m (0.1ms)[0m begin transaction
|
205
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
206
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:03:03 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:03:03 UTC +00:00]]
|
207
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
208
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
209
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 27 Mar 2014 21:03:03 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:03:03 UTC +00:00]]
|
210
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
211
|
-
Processing by Addresses::CitiesController#index as HTML
|
212
|
-
Parameters: {"state_id"=>"1"}
|
213
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1[0m [["id", "1"]]
|
214
|
-
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)
|
215
|
-
[1m[35mAddresses::City Load (0.2ms)[0m SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? [["state_id", 1]]
|
216
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
217
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
218
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
219
|
-
[1m[36mSQL (5.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:11:44 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:11:44 UTC +00:00]]
|
220
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
221
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
222
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:11:44 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:11:44 UTC +00:00]]
|
223
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
224
|
-
[1m[35m (8.4ms)[0m rollback transaction
|
225
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
226
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
227
|
-
[1m[36mSQL (4.8ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:13:16 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:13:16 UTC +00:00]]
|
228
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
229
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
230
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:13:16 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:13:16 UTC +00:00]]
|
231
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
232
|
-
[1m[35m (6.8ms)[0m rollback transaction
|
233
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
234
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
235
|
-
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:13:53 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:13:53 UTC +00:00]]
|
236
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
237
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
238
|
-
[1m[35mSQL (1.4ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:13:54 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:13:54 UTC +00:00]]
|
239
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
240
|
-
[1m[35m (6.6ms)[0m rollback transaction
|
241
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
242
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
243
|
-
[1m[36mSQL (6.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:17:17 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:17:17 UTC +00:00]]
|
244
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
245
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
246
|
-
[1m[35mSQL (1.4ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:17:17 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:17:17 UTC +00:00]]
|
247
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
248
|
-
[1m[35m (6.4ms)[0m rollback transaction
|
249
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
250
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
251
|
-
[1m[36mSQL (4.9ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:17:26 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:17:26 UTC +00:00]]
|
252
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
253
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
254
|
-
[1m[35mSQL (1.4ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:17:26 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:17:26 UTC +00:00]]
|
255
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
256
|
-
Started GET "/addresses/cities?state_id=1" for 127.0.0.1 at 2014-03-27 18:17:26 -0300
|
257
|
-
Processing by Addresses::CitiesController#index as HTML
|
258
|
-
Parameters: {"state_id"=>"1"}
|
259
|
-
[1m[35mAddresses::State Load (0.2ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
|
260
|
-
Completed 406 Not Acceptable in 15ms
|
261
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
262
|
-
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
263
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
264
|
-
[1m[36mSQL (5.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:17:42 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:17:42 UTC +00:00]]
|
265
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
266
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
267
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:17:42 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:17:42 UTC +00:00]]
|
268
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
269
|
-
Started GET "/addresses/cities.JSON?state_id=1" for 127.0.0.1 at 2014-03-27 18:17:42 -0300
|
270
|
-
Processing by Addresses::CitiesController#index as
|
271
|
-
Parameters: {"state_id"=>"1"}
|
272
|
-
[1m[35mAddresses::State Load (0.2ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
|
273
|
-
Completed 406 Not Acceptable in 14ms
|
274
|
-
[1m[36m (6.7ms)[0m [1mrollback transaction[0m
|
275
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
276
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
277
|
-
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", Thu, 27 Mar 2014 21:18:01 UTC +00:00], ["name", "MyString"], ["updated_at", Thu, 27 Mar 2014 21:18:01 UTC +00:00]]
|
278
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
279
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
280
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 27 Mar 2014 21:18:01 UTC +00:00], ["name", "MyString"], ["state_id", 1], ["updated_at", Thu, 27 Mar 2014 21:18:01 UTC +00:00]]
|
281
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
282
|
-
Started GET "/addresses/cities?format=json&state_id=1" for 127.0.0.1 at 2014-03-27 18:18:01 -0300
|
283
|
-
Processing by Addresses::CitiesController#index as JSON
|
284
|
-
Parameters: {"state_id"=>"1"}
|
285
|
-
[1m[35mAddresses::State Load (0.2ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
|
286
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ?[0m [["state_id", 1]]
|
287
|
-
Completed 200 OK in 52ms (Views: 2.0ms | ActiveRecord: 0.4ms)
|
288
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
289
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
290
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
291
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
292
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
293
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
295
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
296
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
297
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
298
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
299
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
300
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
301
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
302
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
303
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
304
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
305
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
306
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
307
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
308
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
309
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
310
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
311
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
312
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
313
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
314
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
315
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
317
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
318
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
319
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
320
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
321
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
322
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
323
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
324
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
325
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
326
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
327
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
328
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
329
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
330
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
331
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:54:27.241742"], ["name", "MyString"], ["updated_at", "2014-05-23 15:54:27.241742"]]
|
332
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
333
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
334
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:54:27.252202"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:54:27.252202"]]
|
335
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
336
|
-
Processing by Addresses::CitiesController#index as HTML
|
337
|
-
Parameters: {"state_id"=>"1"}
|
338
|
-
[1m[35mAddresses::State Load (0.1ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
|
339
|
-
Completed 406 Not Acceptable in 32ms
|
340
|
-
[1m[36m (6.6ms)[0m [1mrollback transaction[0m
|
341
|
-
[1m[35m (0.1ms)[0m begin transaction
|
342
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
343
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:54:27.300013"], ["name", "MyString"], ["updated_at", "2014-05-23 15:54:27.300013"]]
|
344
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
345
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
346
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-05-23 15:54:27.302239"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:54:27.302239"]]
|
347
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
348
|
-
Processing by Addresses::CitiesController#index as HTML
|
349
|
-
Parameters: {"state_id"=>"1"}
|
350
|
-
[1m[36mAddresses::State Load (0.0ms)[0m [1mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1[0m [["id", 1]]
|
351
|
-
Completed 406 Not Acceptable in 1ms
|
352
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
353
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
354
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
355
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:54:44.118558"], ["name", "MyString"], ["updated_at", "2014-05-23 15:54:44.118558"]]
|
356
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
357
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
358
|
-
[1m[35mSQL (1.0ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:54:44.128684"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:54:44.128684"]]
|
359
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
360
|
-
Processing by Addresses::CitiesController#index as JSON
|
361
|
-
Parameters: {"state_id"=>1}
|
362
|
-
[1m[35mAddresses::State Load (0.1ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
|
363
|
-
[1m[36mAddresses::City Load (0.3ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name as[0m [["state_id", 1]]
|
364
|
-
SQLite3::SQLException: near "as": syntax error: SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name as
|
365
|
-
Completed 500 Internal Server Error in 18ms
|
366
|
-
[1m[35m (6.7ms)[0m rollback transaction
|
367
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
368
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
369
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:13.336225"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:13.336225"]]
|
370
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
371
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
372
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:55:13.346847"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:55:13.346847"]]
|
373
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
374
|
-
Processing by Addresses::CitiesController#index as JSON
|
375
|
-
Parameters: {"state_id"=>1}
|
376
|
-
[1m[35mAddresses::State Load (0.2ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
|
377
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
378
|
-
Completed 200 OK in 18ms (Views: 1.4ms | ActiveRecord: 0.3ms)
|
379
|
-
[1m[35m (6.7ms)[0m rollback transaction
|
380
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
381
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
382
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:13.380947"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:13.380947"]]
|
383
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
384
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
385
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:55:13.383282"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:55:13.383282"]]
|
386
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
387
|
-
Processing by Addresses::CitiesController#index as JSON
|
388
|
-
Parameters: {"state_id"=>1}
|
389
|
-
[1m[35mAddresses::State Load (0.1ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
|
390
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
391
|
-
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
392
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
393
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
394
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
395
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:19.506267"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:19.506267"]]
|
396
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
397
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
398
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:55:19.516265"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:55:19.516265"]]
|
399
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
400
|
-
[1m[35m (6.9ms)[0m rollback transaction
|
401
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
402
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
403
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:19.529701"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:19.529701"]]
|
404
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
405
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
406
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:55:19.531796"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:55:19.531796"]]
|
407
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
408
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
409
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
410
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
411
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:31.715025"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:31.715025"]]
|
412
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
413
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
414
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:55:31.725400"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:55:31.725400"]]
|
415
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
416
|
-
[1m[35m (6.7ms)[0m rollback transaction
|
417
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
418
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
419
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:31.739746"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:31.739746"]]
|
420
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
421
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
422
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:55:31.742664"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:55:31.742664"]]
|
423
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
424
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
425
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
426
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
427
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:56:29.743829"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:29.743829"]]
|
428
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
429
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
430
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:56:29.754197"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:56:29.754197"]]
|
431
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
432
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
433
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2014-05-23 15:56:29.762166"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:29.762166"]]
|
434
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
435
|
-
Processing by Addresses::CitiesController#index as HTML
|
436
|
-
Parameters: {"city_id"=>"1"}
|
437
|
-
Completed 404 Not Found in 0ms
|
438
|
-
[1m[36m (6.9ms)[0m [1mrollback transaction[0m
|
439
|
-
[1m[35m (0.1ms)[0m begin transaction
|
440
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
441
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:56:29.776548"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:29.776548"]]
|
442
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
443
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
444
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-05-23 15:56:29.779307"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:56:29.779307"]]
|
445
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
446
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
447
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:56:29.806744"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:29.806744"]]
|
448
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
449
|
-
Processing by Addresses::CitiesController#index as HTML
|
450
|
-
Parameters: {"city_id"=>"1"}
|
451
|
-
Completed 404 Not Found in 0ms
|
452
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
453
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
454
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
455
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:56:56.745299"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:56.745299"]]
|
456
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
457
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
458
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:56:56.757207"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:56:56.757207"]]
|
459
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
460
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
461
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2014-05-23 15:56:56.764669"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:56.764669"]]
|
462
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
463
|
-
[1m[36m (6.6ms)[0m [1mrollback transaction[0m
|
464
|
-
[1m[35m (0.1ms)[0m begin transaction
|
465
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
466
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:56:56.776813"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:56.776813"]]
|
467
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
468
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
469
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-05-23 15:56:56.778844"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:56:56.778844"]]
|
470
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
471
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
472
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:56:56.780420"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:56.780420"]]
|
473
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
474
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
475
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
476
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
477
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:57:19.202505"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:19.202505"]]
|
478
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
479
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
480
|
-
[1m[35mSQL (0.9ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:57:19.213042"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:57:19.213042"]]
|
481
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
482
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
483
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2014-05-23 15:57:19.221021"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:19.221021"]]
|
484
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
485
|
-
Processing by Addresses::NeighborhoodsController#index as HTML
|
486
|
-
Parameters: {"city_id"=>"1"}
|
487
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
488
|
-
Completed 406 Not Acceptable in 11ms
|
489
|
-
[1m[35m (6.6ms)[0m rollback transaction
|
490
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
491
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
492
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:57:19.245790"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:19.245790"]]
|
493
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
494
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
495
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:57:19.248087"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:57:19.248087"]]
|
496
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
497
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
498
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2014-05-23 15:57:19.249743"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:19.249743"]]
|
499
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
500
|
-
Processing by Addresses::NeighborhoodsController#index as HTML
|
501
|
-
Parameters: {"city_id"=>"1"}
|
502
|
-
[1m[36mAddresses::City Load (0.0ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
503
|
-
Completed 406 Not Acceptable in 1ms
|
504
|
-
[1m[35m (0.6ms)[0m rollback transaction
|
505
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
506
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
507
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:57:38.635619"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:38.635619"]]
|
508
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
509
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
510
|
-
[1m[35mSQL (1.0ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:57:38.647821"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:57:38.647821"]]
|
511
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
512
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
513
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2014-05-23 15:57:38.656173"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:38.656173"]]
|
514
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
515
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
516
|
-
Parameters: {"city_id"=>1}
|
517
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
518
|
-
[1m[35mAddresses::Neighborhood Load (0.2ms)[0m SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
|
519
|
-
Completed 200 OK in 17ms (Views: 1.0ms | ActiveRecord: 0.3ms)
|
520
|
-
[1m[36m (6.6ms)[0m [1mrollback transaction[0m
|
521
|
-
[1m[35m (0.1ms)[0m begin transaction
|
522
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
523
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:57:38.712760"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:38.712760"]]
|
524
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
525
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
526
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-05-23 15:57:38.715131"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:57:38.715131"]]
|
527
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
528
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
529
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:57:38.716913"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:38.716913"]]
|
530
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
531
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
532
|
-
Parameters: {"city_id"=>1}
|
533
|
-
[1m[35mAddresses::City Load (0.0ms)[0m SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
|
534
|
-
[1m[36mAddresses::Neighborhood Load (0.1ms)[0m [1mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
535
|
-
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
|
536
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
537
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
538
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
539
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2014-05-23 15:58:37.187596"], ["name", "MyString"], ["updated_at", "2014-05-23 15:58:37.187596"]]
|
540
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
541
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
542
|
-
[1m[35mSQL (1.4ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:58:37.197225"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:58:37.197225"]]
|
543
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
544
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
545
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2014-05-23 15:58:37.205419"], ["name", "MyString"], ["updated_at", "2014-05-23 15:58:37.205419"]]
|
546
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
547
|
-
Started GET "/addresses/neighborhoods?format=json&city_id=1" for 127.0.0.1 at 2014-05-23 12:58:37 -0300
|
548
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
549
|
-
Parameters: {"city_id"=>"1"}
|
550
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
551
|
-
[1m[35mAddresses::Neighborhood Load (0.1ms)[0m SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
|
552
|
-
Completed 200 OK in 19ms (Views: 1.0ms | ActiveRecord: 0.3ms)
|
553
|
-
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
554
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
555
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
556
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.898210"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.898210"]]
|
557
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
558
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
559
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:53:15.911266"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:53:15.911266"]]
|
560
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
561
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
562
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2016-05-07 13:53:15.922794"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.922794"]]
|
563
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
564
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
565
|
-
Parameters: {"city_id"=>1}
|
566
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
567
|
-
[1m[35mAddresses::Neighborhood Load (0.2ms)[0m SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
|
568
|
-
Completed 200 OK in 26ms (Views: 1.1ms | ActiveRecord: 0.3ms)
|
569
|
-
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
570
|
-
[1m[35m (0.1ms)[0m begin transaction
|
571
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
572
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.956553"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.956553"]]
|
573
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
574
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
575
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-05-07 13:53:15.958224"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:53:15.958224"]]
|
576
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
577
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
578
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2016-05-07 13:53:15.959763"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.959763"]]
|
579
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
580
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
581
|
-
Parameters: {"city_id"=>1}
|
582
|
-
[1m[35mAddresses::City Load (0.0ms)[0m SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
|
583
|
-
[1m[36mAddresses::Neighborhood Load (0.1ms)[0m [1mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
584
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
585
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
586
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
587
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
588
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.967670"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.967670"]]
|
589
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
590
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
591
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:53:15.969687"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:53:15.969687"]]
|
592
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
593
|
-
Processing by Addresses::CitiesController#index as JSON
|
594
|
-
Parameters: {"state_id"=>1}
|
595
|
-
[1m[35mAddresses::State Load (0.1ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
|
596
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
597
|
-
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
598
|
-
[1m[35m (0.9ms)[0m rollback transaction
|
599
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
600
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
601
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.983683"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.983683"]]
|
602
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
603
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
604
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:53:15.985626"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:53:15.985626"]]
|
605
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
606
|
-
Processing by Addresses::CitiesController#index as JSON
|
607
|
-
Parameters: {"state_id"=>1}
|
608
|
-
[1m[35mAddresses::State Load (0.0ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
|
609
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
610
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
611
|
-
[1m[35m (1.0ms)[0m rollback transaction
|
612
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
613
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
614
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.994056"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.994056"]]
|
615
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
616
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
617
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:53:15.995879"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:53:15.995879"]]
|
618
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
619
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
620
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2016-05-07 13:53:15.997495"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.997495"]]
|
621
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
622
|
-
Started GET "/addresses/neighborhoods?format=json&city_id=1" for 127.0.0.1 at 2016-05-07 10:53:16 -0300
|
623
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
624
|
-
Parameters: {"city_id"=>"1"}
|
625
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
626
|
-
[1m[35mAddresses::Neighborhood Load (0.1ms)[0m SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
|
627
|
-
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
628
|
-
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
629
|
-
[1m[35m (0.1ms)[0m begin transaction
|
630
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
631
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:16.013402"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:16.013402"]]
|
632
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
633
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
634
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-05-07 13:53:16.015118"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:53:16.015118"]]
|
635
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
636
|
-
Started GET "/addresses/cities?format=json&state_id=1" for 127.0.0.1 at 2016-05-07 10:53:16 -0300
|
637
|
-
Processing by Addresses::CitiesController#index as JSON
|
638
|
-
Parameters: {"state_id"=>"1"}
|
639
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1[0m [["id", 1]]
|
640
|
-
[1m[35mAddresses::City Load (0.1ms)[0m SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc [["state_id", 1]]
|
641
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
642
|
-
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
643
|
-
[1m[35m (0.1ms)[0m begin transaction
|
644
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
645
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
646
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
647
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.489536"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.489536"]]
|
648
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
649
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
650
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:54:53.499320"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:54:53.499320"]]
|
651
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
652
|
-
Processing by Addresses::CitiesController#index as JSON
|
653
|
-
Parameters: {"state_id"=>1}
|
654
|
-
[1m[35mAddresses::State Load (0.2ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
|
655
|
-
[1m[36mAddresses::City Load (0.2ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
656
|
-
Completed 200 OK in 23ms (Views: 1.0ms | ActiveRecord: 0.3ms)
|
657
|
-
[1m[35m (7.3ms)[0m rollback transaction
|
658
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
659
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
660
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.538570"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.538570"]]
|
661
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
662
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
663
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:54:53.541976"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:54:53.541976"]]
|
664
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
665
|
-
Processing by Addresses::CitiesController#index as JSON
|
666
|
-
Parameters: {"state_id"=>1}
|
667
|
-
[1m[35mAddresses::State Load (0.1ms)[0m SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
|
668
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc[0m [["state_id", 1]]
|
669
|
-
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
670
|
-
[1m[35m (0.9ms)[0m rollback transaction
|
671
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
672
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
673
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.553206"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.553206"]]
|
674
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
675
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
676
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:54:53.555052"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:54:53.555052"]]
|
677
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
678
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
679
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2016-05-07 13:54:53.562245"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.562245"]]
|
680
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
681
|
-
Started GET "/addresses/neighborhoods?format=json&city_id=1" for 127.0.0.1 at 2016-05-07 10:54:53 -0300
|
682
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
683
|
-
Parameters: {"city_id"=>"1"}
|
684
|
-
[1m[36mAddresses::City Load (0.1ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
685
|
-
[1m[35mAddresses::Neighborhood Load (0.1ms)[0m SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
|
686
|
-
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
687
|
-
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
688
|
-
[1m[35m (0.1ms)[0m begin transaction
|
689
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
690
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.584197"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.584197"]]
|
691
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
692
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
693
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-05-07 13:54:53.586093"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:54:53.586093"]]
|
694
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
695
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
696
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2016-05-07 13:54:53.588986"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.588986"]]
|
697
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
698
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
699
|
-
Parameters: {"city_id"=>1}
|
700
|
-
[1m[35mAddresses::City Load (0.1ms)[0m SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
|
701
|
-
[1m[36mAddresses::Neighborhood Load (0.1ms)[0m [1mSELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc[0m [["city_id", 1]]
|
702
|
-
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
703
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
704
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
705
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
706
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.599321"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.599321"]]
|
707
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
708
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
709
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:54:53.601356"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:54:53.601356"]]
|
710
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
711
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
712
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["city_id", 1], ["created_at", "2016-05-07 13:54:53.603182"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.603182"]]
|
713
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
714
|
-
Processing by Addresses::NeighborhoodsController#index as JSON
|
715
|
-
Parameters: {"city_id"=>1}
|
716
|
-
[1m[36mAddresses::City Load (0.0ms)[0m [1mSELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
717
|
-
[1m[35mAddresses::Neighborhood Load (0.1ms)[0m SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
|
718
|
-
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
719
|
-
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
720
|
-
[1m[35m (0.1ms)[0m begin transaction
|
721
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
722
|
-
[1m[35m (0.1ms)[0m begin transaction
|
723
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
724
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.613415"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.613415"]]
|
725
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
726
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
727
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-05-07 13:54:53.615236"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:54:53.615236"]]
|
728
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
729
|
-
Started GET "/addresses/cities?format=json&state_id=1" for 127.0.0.1 at 2016-05-07 10:54:53 -0300
|
730
|
-
Processing by Addresses::CitiesController#index as JSON
|
731
|
-
Parameters: {"state_id"=>"1"}
|
732
|
-
[1m[36mAddresses::State Load (0.1ms)[0m [1mSELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1[0m [["id", 1]]
|
733
|
-
[1m[35mAddresses::City Load (0.1ms)[0m SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc [["state_id", 1]]
|
734
|
-
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
735
|
-
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
2
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|