addresses 0.0.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +9 -1
  3. data/app/controllers/addresses/cities_controller.rb +4 -4
  4. data/app/controllers/addresses/neighborhoods_controller.rb +4 -4
  5. data/app/models/addresses/address.rb +17 -17
  6. data/config/routes.rb +3 -4
  7. data/lib/addresses/engine.rb +4 -4
  8. data/lib/tasks/addresses_tasks.rake +4 -4
  9. data/lib/tasks/natal_city.rake +1 -1
  10. data/lib/tasks/populate_cities.rake +5566 -5566
  11. data/lib/tasks/populate_countries.rake +239 -239
  12. data/lib/tasks/populate_neighborhoods.rake +40819 -40819
  13. data/lib/tasks/populate_states.rake +28 -28
  14. data/spec/controllers/addresses/cities_controller_spec.rb +10 -19
  15. data/spec/controllers/addresses/neighborhoods_controller_spec.rb +11 -20
  16. data/spec/dummy/Gemfile.lock +77 -68
  17. data/spec/dummy/config/environments/test.rb +1 -1
  18. data/spec/dummy/db/schema.rb +12 -16
  19. data/spec/dummy/db/test.sqlite3 +0 -0
  20. data/spec/dummy/log/test.log +2 -735
  21. data/spec/factories/addresses.rb +12 -0
  22. data/spec/factories/{addresses_cities.rb → cities.rb} +3 -3
  23. data/spec/factories/countries.rb +8 -0
  24. data/spec/factories/neighborhoods.rb +8 -0
  25. data/spec/factories/states.rb +9 -0
  26. data/spec/models/addresses/address_spec.rb +17 -3
  27. data/spec/models/addresses/city_spec.rb +4 -3
  28. data/spec/models/addresses/country_spec.rb +3 -3
  29. data/spec/models/addresses/neighborhood_spec.rb +3 -3
  30. data/spec/models/addresses/state_spec.rb +4 -3
  31. data/spec/requests/cities_spec.rb +14 -14
  32. data/spec/requests/neighborhoods_spec.rb +13 -16
  33. data/spec/routing/cities_routing_spec.rb +7 -6
  34. data/spec/routing/neighborhoods_routing_spec.rb +11 -0
  35. data/spec/spec_helper.rb +15 -6
  36. metadata +49 -32
  37. data/lib/addresses/version.rb +0 -3
  38. data/spec/dummy/db/development.sqlite3 +0 -0
  39. data/spec/dummy/db/migrate/20140327205948_create_addresses_countries.addresses.rb +0 -13
  40. data/spec/dummy/db/migrate/20140327205949_create_addresses_states.addresses.rb +0 -14
  41. data/spec/dummy/db/migrate/20140327205950_create_addresses_cities.addresses.rb +0 -13
  42. data/spec/dummy/db/migrate/20140327205951_create_addresses_neighborhoods.addresses.rb +0 -13
  43. data/spec/dummy/db/migrate/20140328120544_create_addresses_addresses.addresses.rb +0 -17
  44. data/spec/factories/addresses_addresses.rb +0 -12
  45. data/spec/factories/addresses_countries.rb +0 -8
  46. data/spec/factories/addresses_neighborhoods.rb +0 -8
  47. 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
- 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
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
- module Addresses
4
- describe CitiesController do
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
- @city = FactoryGirl.create(:addresses_city, state: @state)
11
- end
7
+ let!(:state) { create :state }
8
+ let!(:city) { create :city, state: state }
12
9
 
13
- describe "GET 'index'" do
14
- it "returns http success" do
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
- it "assings correct variables" do
20
- get 'index', { state_id: @state.id, format: :json }
21
- assigns(:cities).should eq([@city])
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
- module Addresses
4
- describe NeighborhoodsController do
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
- describe "GET 'index'" do
14
- it "returns http success" do
15
- get 'index', { city_id: @state.id, format: :json }
7
+ let!(:state) { create :state }
8
+ let!(:city) { create :city, state: state }
9
+ let!(:neighborhood) { create :neighborhood, city: city }
16
10
 
17
- response.should be_success
18
- end
11
+ describe "GET #index" do
12
+ before { get :index, params: { city_id: city.id, format: :json } }
19
13
 
20
- it "assings correct variables" do
21
- get 'index', { city_id: @state.id, format: :json }
22
- assigns(:neighborhoods).should eq([@neighborhood])
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
@@ -2,103 +2,112 @@ PATH
2
2
  remote: ../../../addresses
3
3
  specs:
4
4
  addresses (0.0.9)
5
- rails (~> 4.0)
5
+ rails (~> 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionmailer (4.2.1)
11
- actionpack (= 4.2.1)
12
- actionview (= 4.2.1)
13
- activejob (= 4.2.1)
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 (~> 1.0, >= 1.0.5)
16
- actionpack (4.2.1)
17
- actionview (= 4.2.1)
18
- activesupport (= 4.2.1)
19
- rack (~> 1.6)
20
- rack-test (~> 0.6.2)
21
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
23
- actionview (4.2.1)
24
- activesupport (= 4.2.1)
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 (~> 1.0, >= 1.0.5)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
29
- activejob (4.2.1)
30
- activesupport (= 4.2.1)
31
- globalid (>= 0.3.0)
32
- activemodel (4.2.1)
33
- activesupport (= 4.2.1)
34
- builder (~> 3.1)
35
- activerecord (4.2.1)
36
- activemodel (= 4.2.1)
37
- activesupport (= 4.2.1)
38
- arel (~> 6.0)
39
- activesupport (4.2.1)
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 (6.0.0)
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.6)
51
+ globalid (0.3.7)
50
52
  activesupport (>= 4.1.0)
51
53
  i18n (0.7.0)
52
- json (1.8.2)
53
- loofah (2.0.1)
54
+ loofah (2.0.3)
54
55
  nokogiri (>= 1.5.9)
55
- mail (2.6.3)
56
- mime-types (>= 1.16, < 3)
57
- mime-types (2.4.3)
58
- mini_portile (0.6.2)
59
- minitest (5.5.1)
60
- nokogiri (1.6.6.2)
61
- mini_portile (~> 0.6.0)
62
- rack (1.6.0)
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 (4.2.1)
66
- actionmailer (= 4.2.1)
67
- actionpack (= 4.2.1)
68
- actionview (= 4.2.1)
69
- activejob (= 4.2.1)
70
- activemodel (= 4.2.1)
71
- activerecord (= 4.2.1)
72
- activesupport (= 4.2.1)
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 (= 4.2.1)
75
- sprockets-rails
76
- rails-deprecated_sanitizer (1.0.3)
77
- activesupport (>= 4.2.0.alpha)
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
- rails-deprecated_sanitizer (>= 1.0.1)
82
- rails-html-sanitizer (1.0.2)
87
+ rails-html-sanitizer (1.0.3)
83
88
  loofah (~> 2.0)
84
- railties (4.2.1)
85
- actionpack (= 4.2.1)
86
- activesupport (= 4.2.1)
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 (10.4.2)
90
- sprockets (3.6.0)
95
+ rake (11.2.2)
96
+ sprockets (3.7.0)
91
97
  concurrent-ruby (~> 1.0)
92
98
  rack (> 1, < 3)
93
- sprockets-rails (2.2.4)
94
- actionpack (>= 3.0)
95
- activesupport (>= 3.0)
96
- sprockets (>= 2.8, < 4.0)
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.11.2
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.static_cache_control = "public, max-age=3600"
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
@@ -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: 20140328120544) do
13
+ ActiveRecord::Schema.define(version: 20140328120418) do
15
14
 
16
- create_table "addresses_addresses", force: true do |t|
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
- add_index "addresses_addresses", ["city_id"], name: "index_addresses_addresses_on_city_id"
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
- add_index "addresses_cities", ["state_id"], name: "index_addresses_cities_on_state_id"
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: true do |t|
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
- add_index "addresses_neighborhoods", ["city_id"], name: "index_addresses_neighborhoods_on_city_id"
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
Binary file
@@ -1,735 +1,2 @@
1
-  (0.3ms) begin transaction
2
-  (0.1ms) rollback transaction
3
-  (0.1ms) begin transaction
4
-  (0.1ms) rollback transaction
5
-  (0.3ms) begin transaction
6
-  (0.1ms) rollback transaction
7
-  (0.3ms) begin transaction
8
-  (0.1ms) rollback transaction
9
-  (0.3ms) begin transaction
10
-  (0.1ms) rollback transaction
11
-  (0.3ms) begin transaction
12
-  (0.1ms) rollback transaction
13
-  (0.3ms) begin transaction
14
-  (0.1ms) rollback transaction
15
-  (0.3ms) begin transaction
16
-  (0.1ms) rollback transaction
17
-  (0.3ms) begin transaction
18
-  (0.1ms) rollback transaction
19
-  (0.3ms) begin transaction
20
-  (0.1ms) rollback transaction
21
-  (0.3ms) begin transaction
22
-  (0.1ms) rollback transaction
23
-  (0.3ms) begin transaction
24
-  (0.1ms) rollback transaction
25
-  (0.3ms) begin transaction
26
-  (0.1ms) rollback transaction
27
-  (0.3ms) begin transaction
28
-  (0.1ms) rollback transaction
29
-  (0.3ms) begin transaction
30
-  (0.1ms) rollback transaction
31
-  (0.3ms) begin transaction
32
-  (0.1ms) rollback transaction
33
-  (0.3ms) begin transaction
34
-  (0.1ms) rollback transaction
35
-  (0.3ms) begin transaction
36
-  (0.1ms) rollback transaction
37
-  (0.3ms) begin transaction
38
-  (0.1ms) rollback transaction
39
-  (0.3ms) begin transaction
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
-  (0.1ms) rollback transaction
44
-  (0.3ms) begin transaction
45
-  (0.1ms) rollback transaction
46
-  (0.3ms) begin transaction
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
-  (0.1ms) rollback transaction
51
-  (0.3ms) begin transaction
52
-  (0.1ms) rollback transaction
53
-  (0.3ms) begin transaction
54
-  (0.1ms) rollback transaction
55
-  (0.3ms) begin transaction
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
-  (0.1ms) rollback transaction
60
-  (0.3ms) begin transaction
61
-  (0.1ms) rollback transaction
62
-  (0.3ms) begin transaction
63
-  (0.1ms) rollback transaction
64
-  (0.3ms) begin transaction
65
-  (0.1ms) rollback transaction
66
-  (0.3ms) begin transaction
67
-  (0.1ms) rollback transaction
68
-  (0.3ms) begin transaction
69
-  (0.1ms) rollback transaction
70
-  (0.1ms) begin transaction
71
-  (0.1ms) rollback transaction
72
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
73
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
74
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
75
- Migrating to CreateAddressesCountries (20140327144030)
76
-  (0.1ms) begin transaction
77
-  (0.4ms) CREATE TABLE "addresses_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "acronym" varchar(255), "created_at" datetime, "updated_at" datetime) 
78
-  (0.4ms) rollback transaction
79
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
- Migrating to CreateAddressesCountries (20140327144030)
81
-  (0.1ms) begin transaction
82
-  (0.7ms) CREATE TABLE "addresses_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "acronym" varchar(255), "created_at" datetime, "updated_at" datetime) 
83
-  (0.4ms) rollback transaction
84
-  (7.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
85
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
86
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
87
- Migrating to CreateAddressesCountries (20140327205948)
88
-  (0.1ms) begin transaction
89
-  (0.4ms) CREATE TABLE "addresses_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "acronym" varchar(255), "created_at" datetime, "updated_at" datetime) 
90
- SQL (1.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140327205948"]]
91
-  (0.7ms) commit transaction
92
- Migrating to CreateAddressesStates (20140327205949)
93
-  (0.1ms) begin transaction
94
-  (0.3ms) CREATE 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) 
95
-  (0.1ms) CREATE INDEX "index_addresses_states_on_country_id" ON "addresses_states" ("country_id")
96
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140327205949"]]
97
-  (0.7ms) commit transaction
98
- Migrating to CreateAddressesCities (20140327205950)
99
-  (0.1ms) begin transaction
100
-  (0.3ms) CREATE TABLE "addresses_cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "state_id" integer, "created_at" datetime, "updated_at" datetime)
101
-  (0.1ms) CREATE INDEX "index_addresses_cities_on_state_id" ON "addresses_cities" ("state_id")
102
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140327205950"]]
103
-  (0.7ms) commit transaction
104
- Migrating to CreateAddressesNeighborhoods (20140327205951)
105
-  (0.1ms) begin transaction
106
-  (0.3ms) CREATE TABLE "addresses_neighborhoods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "city_id" integer, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
107
-  (0.1ms) CREATE INDEX "index_addresses_neighborhoods_on_city_id" ON "addresses_neighborhoods" ("city_id")
108
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140327205951"]]
109
-  (0.6ms) commit transaction
110
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
111
-  (0.5ms) begin transaction
112
-  (0.1ms) SAVEPOINT active_record_1
113
- SQL (5.4ms) 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]]
114
-  (0.1ms) RELEASE SAVEPOINT active_record_1
115
-  (6.7ms) rollback transaction
116
-  (0.1ms) begin transaction
117
-  (0.1ms) SAVEPOINT active_record_1
118
- SQL (0.5ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
120
-  (0.4ms) rollback transaction
121
-  (0.4ms) begin transaction
122
-  (0.1ms) SAVEPOINT active_record_1
123
- SQL (4.5ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
125
-  (6.8ms) rollback transaction
126
-  (0.4ms) begin transaction
127
-  (0.1ms) SAVEPOINT active_record_1
128
- SQL (4.6ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
130
-  (0.1ms) SAVEPOINT active_record_1
131
- SQL (1.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
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
-  (0.5ms) rollback transaction
138
-  (0.1ms) begin transaction
139
-  (0.1ms) SAVEPOINT active_record_1
140
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
142
-  (0.0ms) SAVEPOINT active_record_1
143
- SQL (0.5ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
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
-  (0.5ms) rollback transaction
149
-  (0.4ms) begin transaction
150
-  (0.1ms) SAVEPOINT active_record_1
151
- SQL (5.1ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
153
-  (0.1ms) SAVEPOINT active_record_1
154
- SQL (1.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
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
-  (6.6ms) rollback transaction
161
-  (0.4ms) begin transaction
162
-  (0.1ms) rollback transaction
163
-  (0.4ms) begin transaction
164
-  (0.1ms) SAVEPOINT active_record_1
165
- SQL (4.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
167
-  (0.1ms) SAVEPOINT active_record_1
168
- SQL (1.2ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
170
- Processing by Addresses::CitiesController#index as HTML
171
- Parameters: {"state_id"=>"1"}
172
- Addresses::State Load (0.1ms) 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
- Addresses::City Load (0.2ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? [["state_id", 1]]
176
-  (0.5ms) rollback transaction
177
-  (0.4ms) begin transaction
178
-  (0.1ms) SAVEPOINT active_record_1
179
- SQL (4.6ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
181
-  (0.1ms) SAVEPOINT active_record_1
182
- SQL (1.5ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
184
- Processing by Addresses::CitiesController#index as HTML
185
- Parameters: {"state_id"=>"1"}
186
- Addresses::State Load (0.2ms) 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
- Addresses::City Load (0.2ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? [["state_id", 1]]
190
-  (6.7ms) rollback transaction
191
-  (0.4ms) begin transaction
192
-  (0.1ms) SAVEPOINT active_record_1
193
- SQL (4.7ms) 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]]
194
-  (0.1ms) RELEASE SAVEPOINT active_record_1
195
-  (0.1ms) SAVEPOINT active_record_1
196
- SQL (1.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
198
- Processing by Addresses::CitiesController#index as HTML
199
- Parameters: {"state_id"=>"1"}
200
- Addresses::State Load (0.1ms) 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
-  (6.7ms) rollback transaction
204
-  (0.1ms) begin transaction
205
-  (0.1ms) SAVEPOINT active_record_1
206
- SQL (0.6ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
208
-  (0.1ms) SAVEPOINT active_record_1
209
- SQL (0.4ms) 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]]
210
-  (0.0ms) RELEASE SAVEPOINT active_record_1
211
- Processing by Addresses::CitiesController#index as HTML
212
- Parameters: {"state_id"=>"1"}
213
- Addresses::State Load (0.1ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
214
- Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.1ms)
215
- Addresses::City Load (0.2ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? [["state_id", 1]]
216
-  (0.5ms) rollback transaction
217
-  (0.4ms) begin transaction
218
-  (0.1ms) SAVEPOINT active_record_1
219
- SQL (5.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
221
-  (0.1ms) SAVEPOINT active_record_1
222
- SQL (1.2ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
224
-  (8.4ms) rollback transaction
225
-  (0.4ms) begin transaction
226
-  (0.1ms) SAVEPOINT active_record_1
227
- SQL (4.8ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
229
-  (0.1ms) SAVEPOINT active_record_1
230
- SQL (1.1ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
232
-  (6.8ms) rollback transaction
233
-  (0.4ms) begin transaction
234
-  (0.1ms) SAVEPOINT active_record_1
235
- SQL (4.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
237
-  (0.1ms) SAVEPOINT active_record_1
238
- SQL (1.4ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
240
-  (6.6ms) rollback transaction
241
-  (0.5ms) begin transaction
242
-  (0.1ms) SAVEPOINT active_record_1
243
- SQL (6.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
245
-  (0.1ms) SAVEPOINT active_record_1
246
- SQL (1.4ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
248
-  (6.4ms) rollback transaction
249
-  (0.4ms) begin transaction
250
-  (0.1ms) SAVEPOINT active_record_1
251
- SQL (4.9ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
253
-  (0.1ms) SAVEPOINT active_record_1
254
- SQL (1.4ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
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
- Addresses::State Load (0.2ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
260
- Completed 406 Not Acceptable in 15ms
261
-  (0.5ms) rollback transaction
262
-  (0.6ms) begin transaction
263
-  (0.1ms) SAVEPOINT active_record_1
264
- SQL (5.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
266
-  (0.1ms) SAVEPOINT active_record_1
267
- SQL (1.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
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
- Addresses::State Load (0.2ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
273
- Completed 406 Not Acceptable in 14ms
274
-  (6.7ms) rollback transaction
275
-  (0.4ms) begin transaction
276
-  (0.1ms) SAVEPOINT active_record_1
277
- SQL (4.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
279
-  (0.1ms) SAVEPOINT active_record_1
280
- SQL (1.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
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
- Addresses::State Load (0.2ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", "1"]]
286
- Addresses::City Load (0.2ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? [["state_id", 1]]
287
- Completed 200 OK in 52ms (Views: 2.0ms | ActiveRecord: 0.4ms)
288
-  (0.5ms) rollback transaction
289
-  (0.4ms) begin transaction
290
-  (0.1ms) rollback transaction
291
-  (0.1ms) begin transaction
292
-  (0.0ms) rollback transaction
293
-  (0.1ms) begin transaction
294
-  (0.0ms) rollback transaction
295
-  (0.0ms) begin transaction
296
-  (0.0ms) rollback transaction
297
-  (0.0ms) begin transaction
298
-  (0.0ms) rollback transaction
299
-  (0.1ms) begin transaction
300
-  (0.1ms) rollback transaction
301
-  (0.4ms) begin transaction
302
-  (0.1ms) rollback transaction
303
-  (0.1ms) begin transaction
304
-  (0.1ms) rollback transaction
305
-  (0.1ms) begin transaction
306
-  (0.1ms) rollback transaction
307
-  (0.1ms) begin transaction
308
-  (0.1ms) rollback transaction
309
-  (0.1ms) begin transaction
310
-  (0.1ms) rollback transaction
311
-  (0.1ms) begin transaction
312
-  (0.1ms) rollback transaction
313
-  (0.3ms) begin transaction
314
-  (0.1ms) rollback transaction
315
-  (0.1ms) begin transaction
316
-  (0.0ms) rollback transaction
317
-  (0.1ms) begin transaction
318
-  (0.0ms) rollback transaction
319
-  (0.0ms) begin transaction
320
-  (0.0ms) rollback transaction
321
-  (0.1ms) begin transaction
322
-  (0.0ms) rollback transaction
323
-  (0.1ms) begin transaction
324
-  (0.1ms) rollback transaction
325
-  (0.3ms) begin transaction
326
-  (0.0ms) rollback transaction
327
-  (0.1ms) begin transaction
328
-  (0.1ms) rollback transaction
329
-  (0.3ms) begin transaction
330
-  (0.1ms) SAVEPOINT active_record_1
331
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:54:27.241742"], ["name", "MyString"], ["updated_at", "2014-05-23 15:54:27.241742"]]
332
-  (0.0ms) RELEASE SAVEPOINT active_record_1
333
-  (0.0ms) SAVEPOINT active_record_1
334
- SQL (1.1ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
336
- Processing by Addresses::CitiesController#index as HTML
337
- Parameters: {"state_id"=>"1"}
338
- Addresses::State Load (0.1ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
339
- Completed 406 Not Acceptable in 32ms
340
-  (6.6ms) rollback transaction
341
-  (0.1ms) begin transaction
342
-  (0.1ms) SAVEPOINT active_record_1
343
- SQL (0.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
345
-  (0.0ms) SAVEPOINT active_record_1
346
- SQL (0.3ms) INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:54:27.302239"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:54:27.302239"]]
347
-  (0.0ms) RELEASE SAVEPOINT active_record_1
348
- Processing by Addresses::CitiesController#index as HTML
349
- Parameters: {"state_id"=>"1"}
350
- Addresses::State Load (0.0ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
351
- Completed 406 Not Acceptable in 1ms
352
-  (0.5ms) rollback transaction
353
-  (0.4ms) begin transaction
354
-  (0.1ms) SAVEPOINT active_record_1
355
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:54:44.118558"], ["name", "MyString"], ["updated_at", "2014-05-23 15:54:44.118558"]]
356
-  (0.0ms) RELEASE SAVEPOINT active_record_1
357
-  (0.1ms) SAVEPOINT active_record_1
358
- SQL (1.0ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
360
- Processing by Addresses::CitiesController#index as JSON
361
- Parameters: {"state_id"=>1}
362
- Addresses::State Load (0.1ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
363
- Addresses::City Load (0.3ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name as [["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
-  (6.7ms) rollback transaction
367
-  (0.3ms) begin transaction
368
-  (0.1ms) SAVEPOINT active_record_1
369
- SQL (0.7ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:13.336225"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:13.336225"]]
370
-  (0.0ms) RELEASE SAVEPOINT active_record_1
371
-  (0.1ms) SAVEPOINT active_record_1
372
- SQL (1.1ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
374
- Processing by Addresses::CitiesController#index as JSON
375
- Parameters: {"state_id"=>1}
376
- Addresses::State Load (0.2ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
377
- Addresses::City Load (0.2ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc [["state_id", 1]]
378
- Completed 200 OK in 18ms (Views: 1.4ms | ActiveRecord: 0.3ms)
379
-  (6.7ms) rollback transaction
380
-  (0.1ms) begin transaction
381
-  (0.1ms) SAVEPOINT active_record_1
382
- SQL (0.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:13.380947"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:13.380947"]]
383
-  (0.1ms) RELEASE SAVEPOINT active_record_1
384
-  (0.0ms) SAVEPOINT active_record_1
385
- SQL (0.3ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
387
- Processing by Addresses::CitiesController#index as JSON
388
- Parameters: {"state_id"=>1}
389
- Addresses::State Load (0.1ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
390
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc [["state_id", 1]]
391
- Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
392
-  (0.5ms) rollback transaction
393
-  (0.4ms) begin transaction
394
-  (0.1ms) SAVEPOINT active_record_1
395
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:19.506267"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:19.506267"]]
396
-  (0.0ms) RELEASE SAVEPOINT active_record_1
397
-  (0.1ms) SAVEPOINT active_record_1
398
- SQL (1.2ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
400
-  (6.9ms) rollback transaction
401
-  (0.1ms) begin transaction
402
-  (0.2ms) SAVEPOINT active_record_1
403
- SQL (0.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:19.529701"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:19.529701"]]
404
-  (0.1ms) RELEASE SAVEPOINT active_record_1
405
-  (0.0ms) SAVEPOINT active_record_1
406
- SQL (0.3ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
408
-  (0.5ms) rollback transaction
409
-  (0.4ms) begin transaction
410
-  (0.1ms) SAVEPOINT active_record_1
411
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:31.715025"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:31.715025"]]
412
-  (0.1ms) RELEASE SAVEPOINT active_record_1
413
-  (0.1ms) SAVEPOINT active_record_1
414
- SQL (1.1ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
416
-  (6.7ms) rollback transaction
417
-  (0.1ms) begin transaction
418
-  (0.1ms) SAVEPOINT active_record_1
419
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:55:31.739746"], ["name", "MyString"], ["updated_at", "2014-05-23 15:55:31.739746"]]
420
-  (0.1ms) RELEASE SAVEPOINT active_record_1
421
-  (0.1ms) SAVEPOINT active_record_1
422
- SQL (0.4ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
424
-  (0.7ms) rollback transaction
425
-  (0.3ms) begin transaction
426
-  (0.1ms) SAVEPOINT active_record_1
427
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:56:29.743829"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:29.743829"]]
428
-  (0.0ms) RELEASE SAVEPOINT active_record_1
429
-  (0.0ms) SAVEPOINT active_record_1
430
- SQL (1.1ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
432
-  (0.1ms) SAVEPOINT active_record_1
433
- SQL (0.2ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:56:29.762166"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:29.762166"]]
434
-  (0.0ms) 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
-  (6.9ms) rollback transaction
439
-  (0.1ms) begin transaction
440
-  (0.1ms) SAVEPOINT active_record_1
441
- SQL (0.4ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
443
-  (0.1ms) SAVEPOINT active_record_1
444
- SQL (0.4ms) INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:56:29.779307"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:56:29.779307"]]
445
-  (0.1ms) RELEASE SAVEPOINT active_record_1
446
-  (0.0ms) SAVEPOINT active_record_1
447
- SQL (0.2ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
449
- Processing by Addresses::CitiesController#index as HTML
450
- Parameters: {"city_id"=>"1"}
451
- Completed 404 Not Found in 0ms
452
-  (0.5ms) rollback transaction
453
-  (0.3ms) begin transaction
454
-  (0.1ms) SAVEPOINT active_record_1
455
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:56:56.745299"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:56.745299"]]
456
-  (0.0ms) RELEASE SAVEPOINT active_record_1
457
-  (0.1ms) SAVEPOINT active_record_1
458
- SQL (1.1ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
460
-  (0.0ms) SAVEPOINT active_record_1
461
- SQL (0.2ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:56:56.764669"], ["name", "MyString"], ["updated_at", "2014-05-23 15:56:56.764669"]]
462
-  (0.0ms) RELEASE SAVEPOINT active_record_1
463
-  (6.6ms) rollback transaction
464
-  (0.1ms) begin transaction
465
-  (0.1ms) SAVEPOINT active_record_1
466
- SQL (0.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
468
-  (0.0ms) SAVEPOINT active_record_1
469
- SQL (0.3ms) INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:56:56.778844"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:56:56.778844"]]
470
-  (0.0ms) RELEASE SAVEPOINT active_record_1
471
-  (0.0ms) SAVEPOINT active_record_1
472
- SQL (0.1ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
474
-  (0.5ms) rollback transaction
475
-  (0.4ms) begin transaction
476
-  (0.1ms) SAVEPOINT active_record_1
477
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:57:19.202505"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:19.202505"]]
478
-  (0.0ms) RELEASE SAVEPOINT active_record_1
479
-  (0.1ms) SAVEPOINT active_record_1
480
- SQL (0.9ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
482
-  (0.1ms) SAVEPOINT active_record_1
483
- SQL (0.2ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:57:19.221021"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:19.221021"]]
484
-  (0.0ms) RELEASE SAVEPOINT active_record_1
485
- Processing by Addresses::NeighborhoodsController#index as HTML
486
- Parameters: {"city_id"=>"1"}
487
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
488
- Completed 406 Not Acceptable in 11ms
489
-  (6.6ms) rollback transaction
490
-  (0.1ms) begin transaction
491
-  (0.1ms) SAVEPOINT active_record_1
492
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:57:19.245790"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:19.245790"]]
493
-  (0.1ms) RELEASE SAVEPOINT active_record_1
494
-  (0.0ms) SAVEPOINT active_record_1
495
- SQL (0.3ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
497
-  (0.0ms) SAVEPOINT active_record_1
498
- SQL (0.1ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:57:19.249743"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:19.249743"]]
499
-  (0.0ms) RELEASE SAVEPOINT active_record_1
500
- Processing by Addresses::NeighborhoodsController#index as HTML
501
- Parameters: {"city_id"=>"1"}
502
- Addresses::City Load (0.0ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
503
- Completed 406 Not Acceptable in 1ms
504
-  (0.6ms) rollback transaction
505
-  (0.3ms) begin transaction
506
-  (0.1ms) SAVEPOINT active_record_1
507
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:57:38.635619"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:38.635619"]]
508
-  (0.0ms) RELEASE SAVEPOINT active_record_1
509
-  (0.1ms) SAVEPOINT active_record_1
510
- SQL (1.0ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
512
-  (0.1ms) SAVEPOINT active_record_1
513
- SQL (0.2ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:57:38.656173"], ["name", "MyString"], ["updated_at", "2014-05-23 15:57:38.656173"]]
514
-  (0.0ms) RELEASE SAVEPOINT active_record_1
515
- Processing by Addresses::NeighborhoodsController#index as JSON
516
- Parameters: {"city_id"=>1}
517
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
518
- Addresses::Neighborhood Load (0.2ms) 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
-  (6.6ms) rollback transaction
521
-  (0.1ms) begin transaction
522
-  (0.1ms) SAVEPOINT active_record_1
523
- SQL (0.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
525
-  (0.0ms) SAVEPOINT active_record_1
526
- SQL (0.3ms) INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-05-23 15:57:38.715131"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2014-05-23 15:57:38.715131"]]
527
-  (0.0ms) RELEASE SAVEPOINT active_record_1
528
-  (0.0ms) SAVEPOINT active_record_1
529
- SQL (0.1ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
531
- Processing by Addresses::NeighborhoodsController#index as JSON
532
- Parameters: {"city_id"=>1}
533
- Addresses::City Load (0.0ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
534
- Addresses::Neighborhood Load (0.1ms) SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
535
- Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
536
-  (0.7ms) rollback transaction
537
-  (0.3ms) begin transaction
538
-  (0.1ms) SAVEPOINT active_record_1
539
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2014-05-23 15:58:37.187596"], ["name", "MyString"], ["updated_at", "2014-05-23 15:58:37.187596"]]
540
-  (0.0ms) RELEASE SAVEPOINT active_record_1
541
-  (0.0ms) SAVEPOINT active_record_1
542
- SQL (1.4ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
544
-  (0.1ms) SAVEPOINT active_record_1
545
- SQL (0.2ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2014-05-23 15:58:37.205419"], ["name", "MyString"], ["updated_at", "2014-05-23 15:58:37.205419"]]
546
-  (0.0ms) 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
- Addresses::City Load (0.2ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
551
- Addresses::Neighborhood Load (0.1ms) 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
-  (0.7ms) rollback transaction
554
-  (0.4ms) begin transaction
555
-  (0.1ms) SAVEPOINT active_record_1
556
- SQL (0.5ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.898210"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.898210"]]
557
-  (0.1ms) RELEASE SAVEPOINT active_record_1
558
-  (0.1ms) SAVEPOINT active_record_1
559
- SQL (0.7ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
561
-  (0.1ms) SAVEPOINT active_record_1
562
- SQL (0.2ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2016-05-07 13:53:15.922794"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.922794"]]
563
-  (0.1ms) RELEASE SAVEPOINT active_record_1
564
- Processing by Addresses::NeighborhoodsController#index as JSON
565
- Parameters: {"city_id"=>1}
566
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
567
- Addresses::Neighborhood Load (0.2ms) 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
-  (0.8ms) rollback transaction
570
-  (0.1ms) begin transaction
571
-  (0.0ms) SAVEPOINT active_record_1
572
- SQL (0.3ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
574
-  (0.0ms) SAVEPOINT active_record_1
575
- SQL (0.3ms) INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:53:15.958224"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:53:15.958224"]]
576
-  (0.0ms) RELEASE SAVEPOINT active_record_1
577
-  (0.0ms) SAVEPOINT active_record_1
578
- SQL (0.1ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
580
- Processing by Addresses::NeighborhoodsController#index as JSON
581
- Parameters: {"city_id"=>1}
582
- Addresses::City Load (0.0ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
583
- Addresses::Neighborhood Load (0.1ms) SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
584
- Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
585
-  (0.7ms) rollback transaction
586
-  (0.1ms) begin transaction
587
-  (0.1ms) SAVEPOINT active_record_1
588
- SQL (0.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.967670"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.967670"]]
589
-  (0.1ms) RELEASE SAVEPOINT active_record_1
590
-  (0.0ms) SAVEPOINT active_record_1
591
- SQL (0.5ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
593
- Processing by Addresses::CitiesController#index as JSON
594
- Parameters: {"state_id"=>1}
595
- Addresses::State Load (0.1ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
596
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc [["state_id", 1]]
597
- Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.3ms)
598
-  (0.9ms) rollback transaction
599
-  (0.1ms) begin transaction
600
-  (0.1ms) SAVEPOINT active_record_1
601
- SQL (0.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.983683"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.983683"]]
602
-  (0.1ms) RELEASE SAVEPOINT active_record_1
603
-  (0.0ms) SAVEPOINT active_record_1
604
- SQL (0.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
606
- Processing by Addresses::CitiesController#index as JSON
607
- Parameters: {"state_id"=>1}
608
- Addresses::State Load (0.0ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
609
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc [["state_id", 1]]
610
- Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
611
-  (1.0ms) rollback transaction
612
-  (0.1ms) begin transaction
613
-  (0.0ms) SAVEPOINT active_record_1
614
- SQL (0.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:53:15.994056"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.994056"]]
615
-  (0.0ms) RELEASE SAVEPOINT active_record_1
616
-  (0.0ms) SAVEPOINT active_record_1
617
- SQL (0.3ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
619
-  (0.0ms) SAVEPOINT active_record_1
620
- SQL (0.1ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2016-05-07 13:53:15.997495"], ["name", "MyString"], ["updated_at", "2016-05-07 13:53:15.997495"]]
621
-  (0.0ms) 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
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
626
- Addresses::Neighborhood Load (0.1ms) 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
-  (0.8ms) rollback transaction
629
-  (0.1ms) begin transaction
630
-  (0.0ms) SAVEPOINT active_record_1
631
- SQL (0.3ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
633
-  (0.0ms) SAVEPOINT active_record_1
634
- SQL (0.5ms) INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:53:16.015118"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:53:16.015118"]]
635
-  (0.1ms) 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
- Addresses::State Load (0.1ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
640
- Addresses::City Load (0.1ms) 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
-  (1.0ms) rollback transaction
643
-  (0.1ms) begin transaction
644
-  (0.0ms) rollback transaction
645
-  (0.4ms) begin transaction
646
-  (0.1ms) SAVEPOINT active_record_1
647
- SQL (0.4ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.489536"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.489536"]]
648
-  (0.1ms) RELEASE SAVEPOINT active_record_1
649
-  (0.1ms) SAVEPOINT active_record_1
650
- SQL (0.4ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
652
- Processing by Addresses::CitiesController#index as JSON
653
- Parameters: {"state_id"=>1}
654
- Addresses::State Load (0.2ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
655
- Addresses::City Load (0.2ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc [["state_id", 1]]
656
- Completed 200 OK in 23ms (Views: 1.0ms | ActiveRecord: 0.3ms)
657
-  (7.3ms) rollback transaction
658
-  (0.1ms) begin transaction
659
-  (0.1ms) SAVEPOINT active_record_1
660
- SQL (0.5ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.538570"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.538570"]]
661
-  (0.1ms) RELEASE SAVEPOINT active_record_1
662
-  (0.1ms) SAVEPOINT active_record_1
663
- SQL (0.4ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
665
- Processing by Addresses::CitiesController#index as JSON
666
- Parameters: {"state_id"=>1}
667
- Addresses::State Load (0.1ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
668
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."state_id" = ? ORDER BY name asc [["state_id", 1]]
669
- Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)
670
-  (0.9ms) rollback transaction
671
-  (0.1ms) begin transaction
672
-  (0.0ms) SAVEPOINT active_record_1
673
- SQL (0.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.553206"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.553206"]]
674
-  (0.0ms) RELEASE SAVEPOINT active_record_1
675
-  (0.0ms) SAVEPOINT active_record_1
676
- SQL (0.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
678
-  (0.1ms) SAVEPOINT active_record_1
679
- SQL (0.3ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2016-05-07 13:54:53.562245"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.562245"]]
680
-  (0.1ms) 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
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
685
- Addresses::Neighborhood Load (0.1ms) 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
-  (1.0ms) rollback transaction
688
-  (0.1ms) begin transaction
689
-  (0.1ms) SAVEPOINT active_record_1
690
- SQL (0.3ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
692
-  (0.0ms) SAVEPOINT active_record_1
693
- SQL (0.5ms) INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:54:53.586093"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:54:53.586093"]]
694
-  (0.1ms) RELEASE SAVEPOINT active_record_1
695
-  (0.1ms) SAVEPOINT active_record_1
696
- SQL (0.2ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
698
- Processing by Addresses::NeighborhoodsController#index as JSON
699
- Parameters: {"city_id"=>1}
700
- Addresses::City Load (0.1ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
701
- Addresses::Neighborhood Load (0.1ms) SELECT "addresses_neighborhoods".* FROM "addresses_neighborhoods" WHERE "addresses_neighborhoods"."city_id" = ? ORDER BY name asc [["city_id", 1]]
702
- Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
703
-  (0.7ms) rollback transaction
704
-  (0.1ms) begin transaction
705
-  (0.0ms) SAVEPOINT active_record_1
706
- SQL (0.3ms) INSERT INTO "addresses_states" ("acronym", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["acronym", "MyString"], ["created_at", "2016-05-07 13:54:53.599321"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.599321"]]
707
-  (0.0ms) RELEASE SAVEPOINT active_record_1
708
-  (0.0ms) SAVEPOINT active_record_1
709
- SQL (0.3ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
711
-  (0.0ms) SAVEPOINT active_record_1
712
- SQL (0.2ms) INSERT INTO "addresses_neighborhoods" ("city_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["city_id", 1], ["created_at", "2016-05-07 13:54:53.603182"], ["name", "MyString"], ["updated_at", "2016-05-07 13:54:53.603182"]]
713
-  (0.1ms) RELEASE SAVEPOINT active_record_1
714
- Processing by Addresses::NeighborhoodsController#index as JSON
715
- Parameters: {"city_id"=>1}
716
- Addresses::City Load (0.0ms) SELECT "addresses_cities".* FROM "addresses_cities" WHERE "addresses_cities"."id" = ? LIMIT 1 [["id", 1]]
717
- Addresses::Neighborhood Load (0.1ms) 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
-  (0.7ms) rollback transaction
720
-  (0.1ms) begin transaction
721
-  (0.1ms) rollback transaction
722
-  (0.1ms) begin transaction
723
-  (0.1ms) SAVEPOINT active_record_1
724
- SQL (0.3ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
726
-  (0.0ms) SAVEPOINT active_record_1
727
- SQL (0.3ms) INSERT INTO "addresses_cities" ("created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-05-07 13:54:53.615236"], ["name", "MyString"], ["state_id", 1], ["updated_at", "2016-05-07 13:54:53.615236"]]
728
-  (0.1ms) 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
- Addresses::State Load (0.1ms) SELECT "addresses_states".* FROM "addresses_states" WHERE "addresses_states"."id" = ? LIMIT 1 [["id", 1]]
733
- Addresses::City Load (0.1ms) 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
-  (0.8ms) rollback transaction
1
+  (0.3ms) begin transaction
2
+  (0.1ms) rollback transaction