subdivision_select 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/lib/subdivision_select/subdivision_select_helper.rb +20 -3
  3. data/lib/subdivision_select/version.rb +1 -1
  4. data/spec/factories.rb +11 -0
  5. data/spec/rails_helper.rb +4 -4
  6. data/spec/spec_helper.rb +19 -0
  7. data/spec/test_app/app/assets/stylesheets/addresses_demo.css +2 -1
  8. data/spec/test_app/app/controllers/addresses_demo_controller.rb +15 -0
  9. data/spec/test_app/app/models/address.rb +2 -0
  10. data/spec/test_app/app/views/addresses_demo/_form.html.erb +16 -18
  11. data/spec/test_app/app/views/addresses_demo/index.html.erb +10 -30
  12. data/spec/test_app/config/routes.rb +1 -1
  13. data/spec/test_app/db/development.sqlite3 +0 -0
  14. data/spec/test_app/db/migrate/20150505181543_create_addresses.rb +10 -0
  15. data/spec/test_app/db/migrate/20150505182454_add_title_to_addresses.rb +5 -0
  16. data/spec/test_app/db/schema.rb +14 -7
  17. data/spec/test_app/db/seeds.rb +14 -0
  18. data/spec/test_app/db/test.sqlite3 +0 -0
  19. data/spec/test_app/log/development.log +2848 -0
  20. data/spec/test_app/log/test.log +3542 -0
  21. data/spec/test_app/spec/controllers/addresses_demo_controller_spec.rb +9 -0
  22. data/spec/test_app/spec/features/select_boxes_spec.rb +21 -41
  23. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/-6TKUaJcjJVmHaEtYHCsRnpYWHCL3xNQOq_baAvHVzA.cache +1 -0
  24. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/1YlEVtY4XNn5e9yr8iic-QEAuMvUP78_dRJtFhpSMD0.cache +0 -0
  25. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/4Df_jfHqbB0nQIuhk408EHMkKri6zxfh9NXVBy1rhM0.cache +1 -0
  26. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/5GNf4uN1gcEwX_VTkuKO0NCVRceuJ0CNLsiQJpxvVmY.cache +1 -0
  27. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/7HobxYzwP-gp05vGJvmKy28jZWjtF88XWXngMLhwf48.cache +1 -0
  28. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/8e0613uYjBE7kdPf2NfzJVFbmFo4UhF4V0cV2y6HDHY.cache +1 -0
  29. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/9WEc1q9vBJ7UGrpbFTpvx7MKXqDaqCBPN8ZZM67pnEE.cache +0 -0
  30. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/A0WH4A_NLk1b2EglfGbKs-F5g_ccI0R5arJLgk_M_bI.cache +1 -0
  31. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/ANrypOqB5SrCmjnbHH7frywv4-rONN4RMW2OCy0Ygos.cache +2 -0
  32. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/CdIzTNWCrzyZZrWeinDRGEnP8K7b1V8hcxWoLzrlOBQ.cache +2 -0
  33. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/DZxlhypdd_7vZQOoJoHuDUf614ZdEsdT0m6YxlE1JXw.cache +1 -0
  34. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/Ezp8Yatg9U7pbSNyehBDMv91VGKFLbHTFIgZ4_PYFI4.cache +1 -0
  35. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/GWC1mfybmKVcEdwicjLqT2n8efKNaH-sw4Ntv4vvv58.cache +0 -0
  36. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/GrsRcvopP6aAOfHM70UOJ-rOjmHYVnCYkazRLWqmBrE.cache +1 -0
  37. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/HRosbBzS0jswCHVB2Eu8H93HxniDl5u62_8SWPHDzg8.cache +0 -0
  38. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/HZY-P8x-rD45kbLvPqc6kC30PjVwpECfTSKqoSyuAHs.cache +1 -0
  39. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/IqwL1sqFKKKPcwmoJy1qs7PbQBtJo4u7_i-OgH6bvmI.cache +1 -0
  40. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/J0Ctu-AMkyP84LswlhNvf4Dz1ZXI2ftXCJ_-OnNRblA.cache +1 -0
  41. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/LxM9E0kcFqi30CNAr18f8n7Osq4y6NYWOyHO9WWcOng.cache +2 -0
  42. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/M99jtqKfpX8kPyVKqwL5g7LeWbcdsKD9JyArZ_qbk0w.cache +0 -0
  43. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/MC0CK-byw4sNFRQwQ_7cih5eLSio_GU73dSDCTWvMXs.cache +0 -0
  44. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/MVl0GirX9lwrvra_2wxkb-G8wPoIJo8Z1VLMl52N7es.cache +0 -0
  45. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/Rjt81nlgtQ7Y964wpdFYF4ek71DLgFZl89q_Ix_YcLs.cache +1 -0
  46. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/SXJSjQtKsjatsdIfHWU5F97k843JTEgNd_d1wy6Y16g.cache +0 -0
  47. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/TTmm-NahGHbA5iAmaVZzgHvDpANR0aZSk06d9s93kK8.cache +1 -0
  48. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/Yi_EQHg-UKxN3CV9gDN9Yk8W2jpUqhgXcJ0wit0aetg.cache +0 -0
  49. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/ZGWPuj1uaQqci9KW7c8d-riw3buId2-dzfbeEefvrdw.cache +0 -0
  50. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/a2MgYuxcn4GnHcIYbyOVg1bj7Jd-xh8PawrgnWkFeLQ.cache +0 -0
  51. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/bK_IfNqrPwWk6heUYciRZn0MqS0wr0VbhOj3Leb8Q2U.cache +1 -0
  52. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/bw3xbyEvMTx-DuqXPBuPK5sQkHJ3apDFywA9oDfoXJw.cache +1 -0
  53. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/bwcpD9m_K8S-0R0DdH1mvqt4-8tCdhKIE8Wzk2T4420.cache +1 -0
  54. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/gxov-793LqXI0BJWhhJ1kL7kUT9cccWFISSxdCbirgw.cache +1 -0
  55. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/iQP3XH7BaHPxMjdRvs9S-CP9ABJrcAgoxAQNjaIMysY.cache +1 -0
  56. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/meBM6jieJhk67I6aP7d6UjQdekIrbfwHxlzSrVbsPE4.cache +1 -0
  57. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/n10Rh-arp1-sBeWyGP-BEsVPfb30wQMLx3UL6IlAC8U.cache +0 -0
  58. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/n45BO_XBxFKf9YBnhBEWAWGQhKa4hSsBit1LmlCqAYo.cache +1 -0
  59. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/pE9SglIk9LSr7PpvV23ct3gStd384optUDE5CboYam8.cache +1 -0
  60. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/r_f1fo1AVopCOxxSes-jdw0TIQA54LiMcXgGOp2LFb0.cache +2 -0
  61. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/s_X24peJAlZxJs0fPg7QFXIRF5dLGZMNYYT3tyc9MdI.cache +2 -0
  62. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/toi4zVJ7Is5SF7zfxKRNcpxy79vaZd83xy0tb-mRbec.cache +0 -0
  63. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/uASShif-McpRUv6Z0pcycjtR0BrYcZlg4nL74u-derU.cache +2 -0
  64. data/spec/test_app/tmp/cache/assets/development/sprockets/v3.0/w5ZUVpFrLGf39UumwxIKGkluMK_LQLtKezJpc9O4L9E.cache +1 -0
  65. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/0vb2fc20vs2aZYvdvcIzoxvwZqbzWvwHSxJSgN_9nW0.cache +0 -0
  66. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/4Df_jfHqbB0nQIuhk408EHMkKri6zxfh9NXVBy1rhM0.cache +1 -0
  67. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/7HobxYzwP-gp05vGJvmKy28jZWjtF88XWXngMLhwf48.cache +1 -0
  68. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/8e0613uYjBE7kdPf2NfzJVFbmFo4UhF4V0cV2y6HDHY.cache +1 -0
  69. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/A0WH4A_NLk1b2EglfGbKs-F5g_ccI0R5arJLgk_M_bI.cache +1 -0
  70. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/AHPYLm0UyDhLcGo36asbrTfu0P-BjiEL_YBhAhG2_vY.cache +1 -0
  71. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/ANrypOqB5SrCmjnbHH7frywv4-rONN4RMW2OCy0Ygos.cache +2 -0
  72. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/CdIzTNWCrzyZZrWeinDRGEnP8K7b1V8hcxWoLzrlOBQ.cache +2 -0
  73. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/DZxlhypdd_7vZQOoJoHuDUf614ZdEsdT0m6YxlE1JXw.cache +1 -0
  74. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/EhkXnRtsnNOWYTJP1nZMbt9ryKXw0yXZoBDajtG0GZA.cache +1 -0
  75. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/GoMAd3gZ-JkVEuMP6xC3hhXGUzq9hkRQ0L65AUmNT94.cache +0 -0
  76. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/J0Ctu-AMkyP84LswlhNvf4Dz1ZXI2ftXCJ_-OnNRblA.cache +1 -0
  77. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/JJx4yYtjyfNaZk3Nxg1_-FYSOxbc10Pc5qjm17oqiD8.cache +0 -0
  78. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/LKeOj4w-6dc5FNh6uya-IjI0O-Dn0_6ZXAfaNx0yhdc.cache +1 -0
  79. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/LxM9E0kcFqi30CNAr18f8n7Osq4y6NYWOyHO9WWcOng.cache +2 -0
  80. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/MC0CK-byw4sNFRQwQ_7cih5eLSio_GU73dSDCTWvMXs.cache +0 -0
  81. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/MVl0GirX9lwrvra_2wxkb-G8wPoIJo8Z1VLMl52N7es.cache +0 -0
  82. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/N3ZrvpG-N-mvtTEyuciLRnvHLtRwbMLWO78gRTofzZ8.cache +0 -0
  83. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/OtS1IyaGwtLrvogUtUupExKtDnUkMW8rdGCBHQzttm4.cache +1 -0
  84. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/Rjt81nlgtQ7Y964wpdFYF4ek71DLgFZl89q_Ix_YcLs.cache +1 -0
  85. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/SVG0IlNe_Edi95QoFD1jV9M3flYktDzIQPvl0FxEu80.cache +0 -0
  86. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/TTmm-NahGHbA5iAmaVZzgHvDpANR0aZSk06d9s93kK8.cache +1 -0
  87. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/UppuljgD_WTSoCBuyz95e56fq-TUZ6vXY--n9PGy1KI.cache +1 -0
  88. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/XrY9Et2FwM8G25bq-uybW_O4wT2O3Brx2mQBxwoP_Io.cache +1 -0
  89. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/Ypm390R8IeHGShvubuhEj2PLYiROkaPmnWO34LSZ6Zs.cache +0 -0
  90. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/a2MgYuxcn4GnHcIYbyOVg1bj7Jd-xh8PawrgnWkFeLQ.cache +0 -0
  91. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/bMCU5FWRXu8SW_aa8cTGc3d-JMUOwQeDkCOyy10-2yk.cache +1 -0
  92. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/bwcpD9m_K8S-0R0DdH1mvqt4-8tCdhKIE8Wzk2T4420.cache +1 -0
  93. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/m20TDlMsEK__Qb00UZQ_KIBVYEgNRoJwl9Ur1mLQr50.cache +1 -0
  94. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/meBM6jieJhk67I6aP7d6UjQdekIrbfwHxlzSrVbsPE4.cache +1 -0
  95. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/n45BO_XBxFKf9YBnhBEWAWGQhKa4hSsBit1LmlCqAYo.cache +1 -0
  96. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/oc4ZubACMqNM95E7DjnSdGKPNA1dXwI0ilZCjMNaZw4.cache +1 -0
  97. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/pE9SglIk9LSr7PpvV23ct3gStd384optUDE5CboYam8.cache +1 -0
  98. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/qfNFbY-XYmjt34K3kSUVUiZhC_JykDdE27SaXlkn1co.cache +0 -0
  99. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/r30DBBCzgN7k8r7AgUrjH6FsqcfkLDcW_PzTEba-cC8.cache +0 -0
  100. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/r_f1fo1AVopCOxxSes-jdw0TIQA54LiMcXgGOp2LFb0.cache +2 -0
  101. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/rwj56SK-DhbA-YkGLvYYmd9hk7j70dSgC_MqfeInpbU.cache +0 -0
  102. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/s_X24peJAlZxJs0fPg7QFXIRF5dLGZMNYYT3tyc9MdI.cache +2 -0
  103. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/t76taGwJW6cJ-kxp10xaI1Zfr2h6jWOKTuwmIT6vu4E.cache +1 -0
  104. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/uASShif-McpRUv6Z0pcycjtR0BrYcZlg4nL74u-derU.cache +2 -0
  105. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/uYwnZNrP4CD06yeinCXxoM1aa6M8jixadWGoNxncUzA.cache +0 -0
  106. data/spec/test_app/tmp/cache/assets/test/sprockets/v3.0/w5ZUVpFrLGf39UumwxIKGkluMK_LQLtKezJpc9O4L9E.cache +1 -0
  107. data/spec/test_app/tmp/pids/server.pid +1 -1
  108. metadata +194 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a1349ca5beb57364c00b30deb474507f3028b52
4
- data.tar.gz: 3d9a9f3a9c9563a82304e2da6027406804f0ff19
3
+ metadata.gz: 74db1c019c0d3373022175480d10aff126ce97ca
4
+ data.tar.gz: 43e00dd135750bbcfbaf92921b14e928395445c9
5
5
  SHA512:
6
- metadata.gz: 6c07ad1a726098873117fcea8d39f60528460c9b3dca69c6d5ba52ab37a0dfab4504bb1c70efa231be05441db81b744bcf1aa8aed333a02768f93507afce5d73
7
- data.tar.gz: 32022822f36eccc0c00807cb26084847ac9351a74c103e494b71af8538b2152a589172072db39ae8c24135b7693c97d87b2567868ee0dc1a123cca9fd8fedac5
6
+ metadata.gz: 3e52772a2ee3f625b75abba189d0f36c1eb24dc7da3ff0a604c6abdc74474ccdefa82391bd677ef22eda34eda202a6af29c66541db4827d1e0a4fca5d708e42c
7
+ data.tar.gz: 1f726bea5f2a75b3d5f87b88c1d6320669adffc8b1bf2bd832f70042165edb286768f30cdad73bc834083055952aaf7afdbd6b6a97d9bfb7d84d547586bbc203
@@ -10,6 +10,8 @@ module ActionView
10
10
  country = country_or_options
11
11
  end
12
12
 
13
+ options.merge!({ object: @object })
14
+
13
15
  # Add class (that JS uses)
14
16
  if html_options["class"].present?
15
17
  html_options["class"] += " subdivision-selector"
@@ -17,16 +19,31 @@ module ActionView
17
19
  html_options["class"] = "subdivision-selector"
18
20
  end
19
21
 
20
- Tags::Select.new(
22
+ subdivision_select_hidden_field(method).render + Tags::Select.new(
21
23
  @object_name,
22
24
  method,
23
- self,
25
+ @template,
24
26
  SubdivisionSelect::SubdivisionsHelper::get_subdivisions_for_select(country),
25
27
  options,
26
28
  html_options
27
29
  ).render
28
30
  end
29
- end
30
31
 
32
+ private
33
+
34
+ # We want to add a hidden field, so that when this select is disabled
35
+ # (which happens when a country have no subdivisions), we still POST this
36
+ # value, as blank. Otherwise we'd keep the old value.
37
+ # NOTE: it has to come *before* the actual select, so that its value
38
+ # can be overridden by the select
39
+ def subdivision_select_hidden_field(method)
40
+ Tags::HiddenField.new(
41
+ @object_name,
42
+ method,
43
+ @template,
44
+ value: ""
45
+ )
46
+ end
47
+ end
31
48
  end
32
49
  end
@@ -1,3 +1,3 @@
1
1
  module SubdivisionSelect
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/spec/factories.rb ADDED
@@ -0,0 +1,11 @@
1
+ FactoryGirl.define do
2
+ factory :address do
3
+ title "Blank Address"
4
+
5
+ factory :mass_address do
6
+ title "Massachusetts Address"
7
+ country "US"
8
+ subdivision "MA"
9
+ end
10
+ end
11
+ end
data/spec/rails_helper.rb CHANGED
@@ -5,6 +5,7 @@ require File.expand_path("../../spec/test_app/config/environment", __FILE__)
5
5
  require "rspec/rails"
6
6
  require "capybara/rails"
7
7
  require "capybara/rspec"
8
+ require "factory_girl_rails"
8
9
 
9
10
  # Add additional requires below this line. Rails is not loaded until this point!
10
11
 
@@ -28,13 +29,10 @@ require "capybara/rspec"
28
29
  ActiveRecord::Migration.maintain_test_schema!
29
30
 
30
31
  RSpec.configure do |config|
31
- # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
32
- config.fixture_path = "#{::Rails.root}/spec/fixtures"
33
-
34
32
  # If you're not using ActiveRecord, or you'd prefer not to run each of your
35
33
  # examples within a transaction, remove the following line or assign false
36
34
  # instead of true.
37
- config.use_transactional_fixtures = true
35
+ config.use_transactional_fixtures = false
38
36
 
39
37
  # RSpec Rails can automatically mix in different behaviours to your tests
40
38
  # based on their file location, for example enabling you to call `get` and
@@ -50,4 +48,6 @@ RSpec.configure do |config|
50
48
  # The different available types are documented in the features, such as in
51
49
  # https://relishapp.com/rspec/rspec-rails/docs
52
50
  config.infer_spec_type_from_file_location!
51
+
52
+ config.include FactoryGirl::Syntax::Methods
53
53
  end
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require "database_cleaner"
2
+
1
3
  # This file was generated by the `rails generate rspec:install` command.
2
4
  # Conventionally, all specs live under a `spec` directory, which RSpec adds to
3
5
  # the `$LOAD_PATH`. The generated `.rspec` file contains `--require spec_helper`
@@ -81,4 +83,21 @@ RSpec.configure do |config|
81
83
  # # test failures related to randomization by passing the same `--seed`
82
84
  # # value as the one that triggered the failure.
83
85
  # Kernel.srand config.seed
86
+
87
+ config.before(:suite) do
88
+ DatabaseCleaner.clean_with :truncation
89
+ end
90
+
91
+ config.before(:each) do |example|
92
+ if example.metadata[:js]
93
+ DatabaseCleaner.strategy = :truncation
94
+ else
95
+ DatabaseCleaner.strategy = :transaction
96
+ end
97
+ DatabaseCleaner.start
98
+ end
99
+
100
+ config.after(:each) do
101
+ DatabaseCleaner.clean
102
+ end
84
103
  end
@@ -1,5 +1,6 @@
1
1
  body,
2
- select {
2
+ select,
3
+ input {
3
4
  font-size: 20px;
4
5
  }
5
6
 
@@ -3,5 +3,20 @@ require "country_select"
3
3
 
4
4
  class AddressesDemoController < ApplicationController
5
5
  def index
6
+ @addresses = Address.all
7
+ end
8
+
9
+ def update
10
+ @address = Address.find(params[:id])
11
+
12
+ if @address.update_attributes(address_params)
13
+ redirect_to root_path, notice: "Updated address!"
14
+ end
15
+ end
16
+
17
+ private
18
+
19
+ def address_params
20
+ params.require(:address).permit(:title, :subdivision, :country)
6
21
  end
7
22
  end
@@ -0,0 +1,2 @@
1
+ class Address < ActiveRecord::Base
2
+ end
@@ -1,28 +1,26 @@
1
- <%#
2
- This partial takes 1-5 local variables
3
- - name
4
- - note (optional)
5
- - country_options (optional)
6
- - subdivision_options (optional)
7
- %>
1
+ <%=
2
+ form_for(
3
+ address,
4
+ url: update_address_path(address.id),
5
+ html: {class: address.title.parameterize}
6
+ ) do |f| %>
8
7
 
9
- <%
10
- note ||= ""
11
- country_options ||= {}
12
- subdivision_options ||= {}
13
- %>
14
-
15
- <%= form_for("#{name.parameterize}_address") do |f| %>
16
- <h2> <%= name %> </h2>
17
- <h4> <%= note %> </h4>
8
+ <div class="field">
9
+ <%= f.label(:title) %><br />
10
+ <%= f.text_field(:title) %>
11
+ </div>
18
12
 
19
13
  <div class="field">
20
14
  <%= f.label(:country) %><br />
21
- <%= f.country_select(:country, country_options) %>
15
+ <%= f.country_select(:country, include_blank: true) %>
22
16
  </div>
23
17
 
24
18
  <div class="field">
25
19
  <%= f.label(:subdivision, "State / Province") %><br />
26
- <%= f.subdivision_select(:subdivision, country_options[:selected], subdivision_options) %>
20
+ <%= f.subdivision_select(:subdivision, address.country, include_blank: true ) %>
21
+ </div>
22
+
23
+ <div class="field">
24
+ <%= f.submit %>
27
25
  </div>
28
26
  <% end %>
@@ -1,32 +1,12 @@
1
1
  <h1>Addresses Demo</h1>
2
2
 
3
- <%=
4
- render(
5
- partial: "form",
6
- locals: {
7
- name: "Basic",
8
- country_options: { include_blank: true }
9
- }
10
- )
11
- %>
12
-
13
- <%=
14
- render(
15
- partial: "form",
16
- locals: {
17
- name: "Prepopulated for Ireland",
18
- country_options: { selected: "IE" }
19
- }
20
- )
21
- %>
22
-
23
- <%=
24
- render(
25
- partial: "form",
26
- locals: {
27
- name: "Prepopulated for Ireland (Include Blank)",
28
- country_options: { selected: "IE" },
29
- subdivision_options: {include_blank: true}
30
- }
31
- )
32
- %>
3
+ <% @addresses.each do |address| %>
4
+ <%=
5
+ render(
6
+ partial: "form",
7
+ locals: {
8
+ address: address,
9
+ }
10
+ )
11
+ %>
12
+ <% end %>
@@ -1,5 +1,5 @@
1
1
  Rails.application.routes.draw do
2
- get "addresses_demo/index"
2
+ patch ":id", to: "addresses_demo#update", as: "update_address"
3
3
 
4
4
  root "addresses_demo#index"
5
5
 
Binary file
@@ -0,0 +1,10 @@
1
+ class CreateAddresses < ActiveRecord::Migration
2
+ def change
3
+ create_table :addresses do |t|
4
+ t.string :country
5
+ t.string :subdivision
6
+
7
+ t.timestamps null: false
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,5 @@
1
+ class AddTitleToAddresses < ActiveRecord::Migration
2
+ def change
3
+ add_column :addresses, :title, :string
4
+ end
5
+ end
@@ -1,17 +1,24 @@
1
1
  # encoding: UTF-8
2
2
  # This file is auto-generated from the current state of the database. Instead
3
3
  # of editing this file, please use the migrations feature of Active Record to
4
- # incrementally modify your database and then regenerate this schema definition.
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
5
  #
6
6
  # Note that this schema.rb definition is the authoritative source for your
7
7
  # database schema. If you need to create the application database on another
8
8
  # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more
10
- # migrations you'll amass, the slower it'll run and the greater likelihood
11
- # for issues).
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
12
11
  #
13
- # It's strongly recommended that you check this file
14
- # into your version control system.
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20150505182454) do
15
+
16
+ create_table "addresses", force: :cascade do |t|
17
+ t.string "country"
18
+ t.string "subdivision"
19
+ t.datetime "created_at", null: false
20
+ t.datetime "updated_at", null: false
21
+ t.string "title"
22
+ end
15
23
 
16
- ActiveRecord::Schema.define(version: 0) do
17
24
  end
@@ -0,0 +1,14 @@
1
+ Address.create!(
2
+ title: "Empty"
3
+ )
4
+
5
+ Address.create!(
6
+ title: "Massachusetts, USA",
7
+ country: "US",
8
+ subdivision: "MA"
9
+ )
10
+
11
+ Address.create!(
12
+ title: "Ireland, without subdivision",
13
+ country: "IE"
14
+ )
Binary file
@@ -15254,3 +15254,2851 @@ Started GET "/subdivisions?country_code=GM" for 127.0.0.1 at 2015-04-30 00:15:43
15254
15254
  Processing by SubdivisionSelect::SubdivisionsController#get as */*
15255
15255
  Parameters: {"country_code"=>"GM"}
15256
15256
  Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
15257
+
15258
+
15259
+ Started GET "/" for ::1 at 2015-04-30 13:09:39 -0400
15260
+ Processing by AddressesDemoController#index as HTML
15261
+ Rendered addresses_demo/_form.html.erb (154.9ms)
15262
+ Rendered addresses_demo/_form.html.erb (30.2ms)
15263
+ Rendered addresses_demo/_form.html.erb (29.7ms)
15264
+ Rendered addresses_demo/index.html.erb within layouts/application (222.7ms)
15265
+ Completed 200 OK in 504ms (Views: 503.7ms | ActiveRecord: 0.0ms)
15266
+
15267
+
15268
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-04-30 13:09:39 -0400
15269
+
15270
+
15271
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-04-30 13:09:39 -0400
15272
+
15273
+
15274
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-04-30 13:09:39 -0400
15275
+
15276
+
15277
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-04-30 13:09:39 -0400
15278
+
15279
+
15280
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-04-30 13:09:39 -0400
15281
+
15282
+
15283
+ Started GET "/" for ::1 at 2015-04-30 13:10:29 -0400
15284
+ Processing by AddressesDemoController#index as HTML
15285
+ Rendered addresses_demo/_form.html.erb (29.6ms)
15286
+ Rendered addresses_demo/index.html.erb within layouts/application (31.0ms)
15287
+ Completed 200 OK in 52ms (Views: 51.3ms | ActiveRecord: 0.0ms)
15288
+
15289
+
15290
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-04-30 13:10:29 -0400
15291
+
15292
+
15293
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-04-30 13:10:29 -0400
15294
+
15295
+
15296
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-04-30 13:10:29 -0400
15297
+
15298
+
15299
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-04-30 13:10:29 -0400
15300
+
15301
+
15302
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-04-30 13:10:29 -0400
15303
+
15304
+
15305
+ Started GET "/subdivisions?country_code=IS" for ::1 at 2015-04-30 13:11:03 -0400
15306
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
15307
+ Parameters: {"country_code"=>"IS"}
15308
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
15309
+
15310
+
15311
+ Started GET "/subdivisions?country_code=GU" for ::1 at 2015-04-30 13:11:08 -0400
15312
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
15313
+ Parameters: {"country_code"=>"GU"}
15314
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
15315
+
15316
+
15317
+ Started GET "/subdivisions?country_code=IS" for ::1 at 2015-04-30 13:11:14 -0400
15318
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
15319
+ Parameters: {"country_code"=>"IS"}
15320
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
15321
+
15322
+
15323
+ Started GET "/" for ::1 at 2015-04-30 13:13:23 -0400
15324
+ Processing by AddressesDemoController#index as HTML
15325
+ Rendered addresses_demo/_form.html.erb (49.0ms)
15326
+ Rendered addresses_demo/index.html.erb within layouts/application (49.8ms)
15327
+ Completed 200 OK in 67ms (Views: 67.0ms | ActiveRecord: 0.0ms)
15328
+
15329
+
15330
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-04-30 13:13:23 -0400
15331
+
15332
+
15333
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-04-30 13:13:23 -0400
15334
+
15335
+
15336
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-04-30 13:13:23 -0400
15337
+
15338
+
15339
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-04-30 13:13:23 -0400
15340
+
15341
+
15342
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-04-30 13:13:23 -0400
15343
+
15344
+
15345
+ Started GET "/subdivisions?country_code=IS" for ::1 at 2015-04-30 13:14:27 -0400
15346
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
15347
+ Parameters: {"country_code"=>"IS"}
15348
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
15349
+
15350
+
15351
+ Started GET "/subdivisions?country_code=GU" for ::1 at 2015-04-30 13:14:33 -0400
15352
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
15353
+ Parameters: {"country_code"=>"GU"}
15354
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
15355
+
15356
+
15357
+ Started GET "/" for ::1 at 2015-05-05 13:38:07 -0400
15358
+ Processing by AddressesDemoController#index as HTML
15359
+ Rendered addresses_demo/_form.html.erb (138.7ms)
15360
+ Rendered addresses_demo/_form.html.erb (27.0ms)
15361
+ Rendered addresses_demo/_form.html.erb (31.0ms)
15362
+ Rendered addresses_demo/index.html.erb within layouts/application (204.3ms)
15363
+ Completed 200 OK in 409ms (Views: 409.0ms | ActiveRecord: 0.0ms)
15364
+
15365
+
15366
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:38:08 -0400
15367
+
15368
+
15369
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:38:08 -0400
15370
+
15371
+
15372
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:38:08 -0400
15373
+
15374
+
15375
+ Started GET "/" for ::1 at 2015-05-05 13:38:25 -0400
15376
+ Processing by AddressesDemoController#index as HTML
15377
+ Rendered addresses_demo/_form.html.erb (26.2ms)
15378
+ Rendered addresses_demo/_form.html.erb (30.0ms)
15379
+ Rendered addresses_demo/_form.html.erb (55.2ms)
15380
+ Rendered addresses_demo/index.html.erb within layouts/application (113.9ms)
15381
+ Completed 200 OK in 133ms (Views: 133.3ms | ActiveRecord: 0.0ms)
15382
+
15383
+
15384
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:38:25 -0400
15385
+
15386
+
15387
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:38:25 -0400
15388
+
15389
+
15390
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:38:25 -0400
15391
+
15392
+
15393
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:38:25 -0400
15394
+
15395
+
15396
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:38:25 -0400
15397
+
15398
+
15399
+ Started GET "/" for ::1 at 2015-05-05 13:38:26 -0400
15400
+ Processing by AddressesDemoController#index as HTML
15401
+ Rendered addresses_demo/_form.html.erb (29.1ms)
15402
+ Rendered addresses_demo/_form.html.erb (28.2ms)
15403
+ Rendered addresses_demo/_form.html.erb (28.5ms)
15404
+ Rendered addresses_demo/index.html.erb within layouts/application (87.7ms)
15405
+ Completed 200 OK in 164ms (Views: 163.8ms | ActiveRecord: 0.0ms)
15406
+
15407
+
15408
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:38:27 -0400
15409
+
15410
+
15411
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:38:27 -0400
15412
+
15413
+
15414
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:38:27 -0400
15415
+
15416
+
15417
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:38:27 -0400
15418
+
15419
+
15420
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:38:27 -0400
15421
+
15422
+
15423
+ Started GET "/" for ::1 at 2015-05-05 13:38:32 -0400
15424
+ Processing by AddressesDemoController#index as HTML
15425
+ Rendered addresses_demo/_form.html.erb (137.3ms)
15426
+ Rendered addresses_demo/index.html.erb within layouts/application (140.8ms)
15427
+ Completed 500 Internal Server Error in 147ms (ActiveRecord: 0.0ms)
15428
+
15429
+ ActionView::Template::Error (wrong number of arguments (0 for 1)):
15430
+ 23:
15431
+ 24: <div class="field">
15432
+ 25: <%= f.label(:subdivision, "State / Province") %><br />
15433
+ 26: <%= f.subdivision_select(:subdivision, country_options[:selected], subdivision_options) %>
15434
+ 27: </div>
15435
+ 28: <% end %>
15436
+ app/views/addresses_demo/_form.html.erb:26:in `block in _app_views_addresses_demo__form_html_erb__4111986832224708255_70329097331680'
15437
+ app/views/addresses_demo/_form.html.erb:15:in `_app_views_addresses_demo__form_html_erb__4111986832224708255_70329097331680'
15438
+ app/views/addresses_demo/index.html.erb:4:in `_app_views_addresses_demo_index_html_erb___3182201748186999400_70329106737920'
15439
+
15440
+
15441
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms)
15442
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
15443
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.8ms)
15444
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (34.6ms)
15445
+
15446
+
15447
+ Started GET "/" for ::1 at 2015-05-05 13:38:41 -0400
15448
+ Processing by AddressesDemoController#index as HTML
15449
+ Rendered addresses_demo/_form.html.erb (73.0ms)
15450
+ Rendered addresses_demo/index.html.erb within layouts/application (73.9ms)
15451
+ Completed 500 Internal Server Error in 76ms (ActiveRecord: 0.0ms)
15452
+
15453
+ ActionView::Template::Error (wrong number of arguments (0 for 1)):
15454
+ 23:
15455
+ 24: <div class="field">
15456
+ 25: <%= f.label(:subdivision, "State / Province") %><br />
15457
+ 26: <%= f.subdivision_select(:subdivision, country_options[:selected], subdivision_options) %>
15458
+ 27: </div>
15459
+ 28: <% end %>
15460
+ app/views/addresses_demo/_form.html.erb:26:in `block in _app_views_addresses_demo__form_html_erb__4111986832224708255_70329097331680'
15461
+ app/views/addresses_demo/_form.html.erb:15:in `_app_views_addresses_demo__form_html_erb__4111986832224708255_70329097331680'
15462
+ app/views/addresses_demo/index.html.erb:4:in `_app_views_addresses_demo_index_html_erb___3182201748186999400_70329106737920'
15463
+
15464
+
15465
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms)
15466
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
15467
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
15468
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.9ms)
15469
+
15470
+
15471
+ Started GET "/" for ::1 at 2015-05-05 13:38:47 -0400
15472
+ Processing by AddressesDemoController#index as HTML
15473
+ Rendered addresses_demo/_form.html.erb (153.1ms)
15474
+ Rendered addresses_demo/_form.html.erb (28.6ms)
15475
+ Rendered addresses_demo/_form.html.erb (24.6ms)
15476
+ Rendered addresses_demo/index.html.erb within layouts/application (212.2ms)
15477
+ Completed 200 OK in 399ms (Views: 398.3ms | ActiveRecord: 0.0ms)
15478
+
15479
+
15480
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:38:48 -0400
15481
+
15482
+
15483
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:38:48 -0400
15484
+
15485
+
15486
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:38:48 -0400
15487
+
15488
+
15489
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:38:48 -0400
15490
+
15491
+
15492
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:38:48 -0400
15493
+
15494
+
15495
+ Started GET "/" for ::1 at 2015-05-05 13:39:02 -0400
15496
+ Processing by AddressesDemoController#index as HTML
15497
+ Rendered addresses_demo/_form.html.erb (29.3ms)
15498
+ Rendered addresses_demo/_form.html.erb (29.8ms)
15499
+ Rendered addresses_demo/_form.html.erb (45.3ms)
15500
+ Rendered addresses_demo/index.html.erb within layouts/application (106.6ms)
15501
+ Completed 200 OK in 127ms (Views: 127.0ms | ActiveRecord: 0.0ms)
15502
+
15503
+
15504
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:39:02 -0400
15505
+
15506
+
15507
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:39:02 -0400
15508
+
15509
+
15510
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:39:02 -0400
15511
+
15512
+
15513
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:39:02 -0400
15514
+
15515
+
15516
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:39:02 -0400
15517
+
15518
+
15519
+ Started GET "/" for ::1 at 2015-05-05 13:39:07 -0400
15520
+ Processing by AddressesDemoController#index as HTML
15521
+ Rendered addresses_demo/_form.html.erb (137.7ms)
15522
+ Rendered addresses_demo/_form.html.erb (28.4ms)
15523
+ Rendered addresses_demo/_form.html.erb (27.0ms)
15524
+ Rendered addresses_demo/index.html.erb within layouts/application (198.8ms)
15525
+ Completed 200 OK in 386ms (Views: 385.7ms | ActiveRecord: 0.0ms)
15526
+
15527
+
15528
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:39:08 -0400
15529
+
15530
+
15531
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:39:08 -0400
15532
+
15533
+
15534
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:39:08 -0400
15535
+
15536
+
15537
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:39:08 -0400
15538
+
15539
+
15540
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:39:08 -0400
15541
+
15542
+
15543
+ Started GET "/" for ::1 at 2015-05-05 13:40:58 -0400
15544
+ Processing by AddressesDemoController#index as HTML
15545
+ Rendered addresses_demo/_form.html.erb (27.2ms)
15546
+ Rendered addresses_demo/_form.html.erb (30.7ms)
15547
+ Rendered addresses_demo/_form.html.erb (43.8ms)
15548
+ Rendered addresses_demo/index.html.erb within layouts/application (104.1ms)
15549
+ Completed 200 OK in 123ms (Views: 122.7ms | ActiveRecord: 0.0ms)
15550
+
15551
+
15552
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:40:58 -0400
15553
+
15554
+
15555
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:40:58 -0400
15556
+
15557
+
15558
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:40:58 -0400
15559
+
15560
+
15561
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:40:58 -0400
15562
+
15563
+
15564
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:40:58 -0400
15565
+
15566
+
15567
+ Started GET "/" for ::1 at 2015-05-05 13:41:06 -0400
15568
+ Processing by AddressesDemoController#index as HTML
15569
+ Rendered addresses_demo/_form.html.erb (155.0ms)
15570
+ Rendered addresses_demo/_form.html.erb (25.4ms)
15571
+ Rendered addresses_demo/_form.html.erb (28.3ms)
15572
+ Rendered addresses_demo/index.html.erb within layouts/application (215.3ms)
15573
+ Completed 200 OK in 405ms (Views: 404.9ms | ActiveRecord: 0.0ms)
15574
+
15575
+
15576
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:41:07 -0400
15577
+
15578
+
15579
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:41:07 -0400
15580
+
15581
+
15582
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:41:07 -0400
15583
+
15584
+
15585
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:41:07 -0400
15586
+
15587
+
15588
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:41:07 -0400
15589
+
15590
+
15591
+ Started GET "/" for ::1 at 2015-05-05 13:43:23 -0400
15592
+ Processing by AddressesDemoController#index as HTML
15593
+ Rendered addresses_demo/_form.html.erb (146.4ms)
15594
+ Rendered addresses_demo/_form.html.erb (25.8ms)
15595
+ Rendered addresses_demo/_form.html.erb (31.4ms)
15596
+ Rendered addresses_demo/index.html.erb within layouts/application (210.5ms)
15597
+ Completed 200 OK in 406ms (Views: 406.0ms | ActiveRecord: 0.0ms)
15598
+
15599
+
15600
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:43:24 -0400
15601
+
15602
+
15603
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:43:24 -0400
15604
+
15605
+
15606
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:43:24 -0400
15607
+
15608
+
15609
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:43:24 -0400
15610
+
15611
+
15612
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:43:24 -0400
15613
+
15614
+
15615
+ Started GET "/" for ::1 at 2015-05-05 13:43:38 -0400
15616
+ Processing by AddressesDemoController#index as HTML
15617
+ Rendered addresses_demo/_form.html.erb (137.8ms)
15618
+ Rendered addresses_demo/_form.html.erb (27.1ms)
15619
+ Rendered addresses_demo/_form.html.erb (35.6ms)
15620
+ Rendered addresses_demo/index.html.erb within layouts/application (205.7ms)
15621
+ Completed 200 OK in 390ms (Views: 389.7ms | ActiveRecord: 0.0ms)
15622
+
15623
+
15624
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:43:39 -0400
15625
+
15626
+
15627
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:43:39 -0400
15628
+
15629
+
15630
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:43:39 -0400
15631
+
15632
+
15633
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:43:39 -0400
15634
+
15635
+
15636
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:43:39 -0400
15637
+
15638
+
15639
+ Started GET "/" for ::1 at 2015-05-05 13:44:03 -0400
15640
+ Processing by AddressesDemoController#index as HTML
15641
+ Rendered addresses_demo/_form.html.erb (119.6ms)
15642
+ Rendered addresses_demo/index.html.erb within layouts/application (123.6ms)
15643
+ Completed 500 Internal Server Error in 130ms (ActiveRecord: 0.0ms)
15644
+
15645
+ ActionView::Template::Error (wrong number of arguments (3 for 1..2)):
15646
+ 12: subdivision_options ||= {}
15647
+ 13: %>
15648
+ 14:
15649
+ 15: <%= form_for("#{name.parameterize}_address", {}, id: name.parameterize ) do |f| %>
15650
+ 16: <h2> <%= name %> </h2>
15651
+ 17: <h4> <%= note %> </h4>
15652
+ 18:
15653
+ app/views/addresses_demo/_form.html.erb:15:in `_app_views_addresses_demo__form_html_erb___1351096275393284488_70343210966540'
15654
+ app/views/addresses_demo/index.html.erb:4:in `_app_views_addresses_demo_index_html_erb___1013562596065185055_70343206356200'
15655
+
15656
+
15657
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms)
15658
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
15659
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.5ms)
15660
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (32.9ms)
15661
+
15662
+
15663
+ Started GET "/" for ::1 at 2015-05-05 13:45:14 -0400
15664
+ Processing by AddressesDemoController#index as HTML
15665
+ Rendered addresses_demo/_form.html.erb (37.1ms)
15666
+ Rendered addresses_demo/_form.html.erb (93.5ms)
15667
+ Rendered addresses_demo/_form.html.erb (41.2ms)
15668
+ Rendered addresses_demo/index.html.erb within layouts/application (174.6ms)
15669
+ Completed 200 OK in 381ms (Views: 380.8ms | ActiveRecord: 0.0ms)
15670
+
15671
+
15672
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:45:14 -0400
15673
+
15674
+
15675
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:45:14 -0400
15676
+
15677
+
15678
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:45:14 -0400
15679
+
15680
+
15681
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:45:14 -0400
15682
+
15683
+
15684
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:45:14 -0400
15685
+
15686
+
15687
+ Started GET "/" for ::1 at 2015-05-05 13:52:08 -0400
15688
+ Processing by AddressesDemoController#index as HTML
15689
+ Rendered addresses_demo/_form.html.erb (138.4ms)
15690
+ Rendered addresses_demo/_form.html.erb (26.8ms)
15691
+ Rendered addresses_demo/_form.html.erb (28.4ms)
15692
+ Rendered addresses_demo/index.html.erb within layouts/application (200.9ms)
15693
+ Completed 200 OK in 394ms (Views: 393.8ms | ActiveRecord: 0.0ms)
15694
+
15695
+
15696
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:52:08 -0400
15697
+
15698
+
15699
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:52:08 -0400
15700
+
15701
+
15702
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:52:08 -0400
15703
+
15704
+
15705
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:52:08 -0400
15706
+
15707
+
15708
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:52:08 -0400
15709
+
15710
+
15711
+ Started GET "/" for ::1 at 2015-05-05 13:52:18 -0400
15712
+ Processing by AddressesDemoController#index as HTML
15713
+ Rendered addresses_demo/_form.html.erb (30.3ms)
15714
+ Rendered addresses_demo/_form.html.erb (34.3ms)
15715
+ Rendered addresses_demo/_form.html.erb (49.7ms)
15716
+ Rendered addresses_demo/index.html.erb within layouts/application (116.5ms)
15717
+ Completed 200 OK in 137ms (Views: 136.7ms | ActiveRecord: 0.0ms)
15718
+
15719
+
15720
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:52:19 -0400
15721
+
15722
+
15723
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:52:19 -0400
15724
+
15725
+
15726
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:52:19 -0400
15727
+
15728
+
15729
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:52:19 -0400
15730
+
15731
+
15732
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:52:19 -0400
15733
+
15734
+
15735
+ Started GET "/" for ::1 at 2015-05-05 13:52:26 -0400
15736
+ Processing by AddressesDemoController#index as HTML
15737
+ Rendered addresses_demo/_form.html.erb (32.7ms)
15738
+ Rendered addresses_demo/_form.html.erb (31.6ms)
15739
+ Rendered addresses_demo/_form.html.erb (82.5ms)
15740
+ Rendered addresses_demo/index.html.erb within layouts/application (149.0ms)
15741
+ Completed 200 OK in 169ms (Views: 169.2ms | ActiveRecord: 0.0ms)
15742
+
15743
+
15744
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:52:27 -0400
15745
+
15746
+
15747
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:52:27 -0400
15748
+
15749
+
15750
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:52:27 -0400
15751
+
15752
+
15753
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:52:27 -0400
15754
+
15755
+
15756
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:52:27 -0400
15757
+
15758
+
15759
+ Started GET "/posts/12/edit?validation=1d9db39c7368a0be0cd70eab6c773718" for ::1 at 2015-05-05 13:52:59 -0400
15760
+
15761
+ ActionController::RoutingError (No route matches [GET] "/posts/12/edit"):
15762
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
15763
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
15764
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
15765
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
15766
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
15767
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
15768
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
15769
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
15770
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
15771
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
15772
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
15773
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
15774
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
15775
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
15776
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
15777
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
15778
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
15779
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
15780
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
15781
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
15782
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
15783
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
15784
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
15785
+
15786
+
15787
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
15788
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms)
15789
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
15790
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.4ms)
15791
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
15792
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (32.1ms)
15793
+
15794
+
15795
+ Started GET "/" for ::1 at 2015-05-05 13:53:02 -0400
15796
+ Processing by AddressesDemoController#index as HTML
15797
+ Rendered addresses_demo/_form.html.erb (28.4ms)
15798
+ Rendered addresses_demo/_form.html.erb (30.2ms)
15799
+ Rendered addresses_demo/_form.html.erb (32.2ms)
15800
+ Rendered addresses_demo/index.html.erb within layouts/application (92.9ms)
15801
+ Completed 200 OK in 113ms (Views: 113.2ms | ActiveRecord: 0.0ms)
15802
+
15803
+
15804
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:53:02 -0400
15805
+
15806
+
15807
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:53:02 -0400
15808
+
15809
+
15810
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:53:02 -0400
15811
+
15812
+
15813
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:53:02 -0400
15814
+
15815
+
15816
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:53:02 -0400
15817
+
15818
+
15819
+ Started GET "/" for ::1 at 2015-05-05 13:55:47 -0400
15820
+ Processing by AddressesDemoController#index as HTML
15821
+ Rendered addresses_demo/_form.html.erb (170.9ms)
15822
+ Rendered addresses_demo/_form.html.erb (37.7ms)
15823
+ Rendered addresses_demo/_form.html.erb (42.7ms)
15824
+ Rendered addresses_demo/index.html.erb within layouts/application (258.6ms)
15825
+ Completed 200 OK in 497ms (Views: 496.6ms | ActiveRecord: 0.0ms)
15826
+
15827
+
15828
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 13:55:48 -0400
15829
+
15830
+
15831
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 13:55:48 -0400
15832
+
15833
+
15834
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 13:55:48 -0400
15835
+
15836
+
15837
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 13:55:48 -0400
15838
+
15839
+
15840
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 13:55:48 -0400
15841
+
15842
+
15843
+ Started GET "/subdivisions?country_code=DZ" for ::1 at 2015-05-05 13:55:54 -0400
15844
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
15845
+ Parameters: {"country_code"=>"DZ"}
15846
+ Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.0ms)
15847
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15848
+ Migrating to CreateAddresses (20150505181543)
15849
+  (0.1ms) begin transaction
15850
+  (1.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
15851
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150505181543"]]
15852
+  (0.8ms) commit transaction
15853
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15854
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15855
+  (0.1ms) begin transaction
15856
+ SQL (0.4ms) INSERT INTO "addresses" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-05 18:17:16.440456"], ["updated_at", "2015-05-05 18:17:16.440456"]]
15857
+  (3.0ms) commit transaction
15858
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15859
+  (0.1ms) begin transaction
15860
+ SQL (0.4ms) INSERT INTO "addresses" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-05 18:17:33.102293"], ["updated_at", "2015-05-05 18:17:33.102293"]]
15861
+  (3.0ms) commit transaction
15862
+  (0.1ms) begin transaction
15863
+ SQL (0.3ms) INSERT INTO "addresses" ("country", "subdivision", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["country", "US"], ["subdivision", "MA"], ["created_at", "2015-05-05 18:17:33.109466"], ["updated_at", "2015-05-05 18:17:33.109466"]]
15864
+  (0.8ms) commit transaction
15865
+
15866
+
15867
+ Started GET "/" for ::1 at 2015-05-05 14:18:08 -0400
15868
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15869
+ Processing by AddressesDemoController#index as HTML
15870
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
15871
+
15872
+ NameError (uninitialized constant AddressesDemoController::Model):
15873
+ app/controllers/addresses_demo_controller.rb:6:in `index'
15874
+
15875
+
15876
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms)
15877
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
15878
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.7ms)
15879
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (33.7ms)
15880
+
15881
+
15882
+ Started GET "/" for ::1 at 2015-05-05 14:18:35 -0400
15883
+ Processing by AddressesDemoController#index as HTML
15884
+ Rendered addresses_demo/_form.html.erb (137.1ms)
15885
+ Rendered addresses_demo/_form.html.erb (30.2ms)
15886
+ Rendered addresses_demo/_form.html.erb (28.7ms)
15887
+ Rendered addresses_demo/index.html.erb within layouts/application (204.9ms)
15888
+ Completed 200 OK in 395ms (Views: 392.9ms | ActiveRecord: 0.0ms)
15889
+
15890
+
15891
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:18:36 -0400
15892
+
15893
+
15894
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:18:36 -0400
15895
+
15896
+
15897
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:18:36 -0400
15898
+
15899
+
15900
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:18:36 -0400
15901
+
15902
+
15903
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:18:36 -0400
15904
+
15905
+
15906
+ Started GET "/" for ::1 at 2015-05-05 14:20:01 -0400
15907
+ Processing by AddressesDemoController#index as HTML
15908
+ Address Load (0.5ms) SELECT "addresses".* FROM "addresses"
15909
+ Rendered addresses_demo/_form.html.erb (56.1ms)
15910
+ Rendered addresses_demo/_form.html.erb (27.6ms)
15911
+ Rendered addresses_demo/_form.html.erb (32.3ms)
15912
+ Rendered addresses_demo/_form.html.erb (34.8ms)
15913
+ Rendered addresses_demo/_form.html.erb (30.4ms)
15914
+ Rendered addresses_demo/_form.html.erb (77.0ms)
15915
+ Rendered addresses_demo/index.html.erb within layouts/application (273.0ms)
15916
+ Completed 200 OK in 294ms (Views: 291.1ms | ActiveRecord: 1.1ms)
15917
+
15918
+
15919
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:20:01 -0400
15920
+
15921
+
15922
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:20:01 -0400
15923
+
15924
+
15925
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:20:01 -0400
15926
+
15927
+
15928
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:20:01 -0400
15929
+
15930
+
15931
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:20:01 -0400
15932
+
15933
+
15934
+ Started GET "/" for ::1 at 2015-05-05 14:20:25 -0400
15935
+ Processing by AddressesDemoController#index as HTML
15936
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
15937
+ Rendered addresses_demo/_form.html.erb (30.0ms)
15938
+ Rendered addresses_demo/_form.html.erb (32.7ms)
15939
+ Rendered addresses_demo/_form.html.erb (27.1ms)
15940
+ Rendered addresses_demo/_form.html.erb (26.4ms)
15941
+ Rendered addresses_demo/_form.html.erb (28.9ms)
15942
+ Rendered addresses_demo/_form.html.erb (30.6ms)
15943
+ Rendered addresses_demo/index.html.erb within layouts/application (184.6ms)
15944
+ Completed 200 OK in 204ms (Views: 203.2ms | ActiveRecord: 0.3ms)
15945
+
15946
+
15947
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:20:26 -0400
15948
+
15949
+
15950
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:20:26 -0400
15951
+
15952
+
15953
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:20:26 -0400
15954
+
15955
+
15956
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:20:26 -0400
15957
+
15958
+
15959
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:20:26 -0400
15960
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
15961
+ Migrating to AddTitleToAddresses (20150505182454)
15962
+  (0.1ms) begin transaction
15963
+  (1.3ms) ALTER TABLE "addresses" ADD "title" varchar
15964
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150505182454"]]
15965
+  (0.9ms) commit transaction
15966
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15967
+  (1.2ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar) 
15968
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
15969
+  (0.1ms) select sqlite_version(*)
15970
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15971
+  (0.1ms) SELECT version FROM "schema_migrations"
15972
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
15973
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
15974
+  (1.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar)
15975
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
15976
+  (0.0ms) select sqlite_version(*)
15977
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15978
+  (0.1ms) SELECT version FROM "schema_migrations"
15979
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
15980
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
15981
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15982
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
15983
+  (0.0ms) begin transaction
15984
+ SQL (0.5ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Empty"], ["created_at", "2015-05-05 18:26:12.453345"], ["updated_at", "2015-05-05 18:26:12.453345"]]
15985
+  (1.0ms) commit transaction
15986
+  (0.0ms) begin transaction
15987
+ SQL (0.2ms) INSERT INTO "addresses" ("title", "country", "subdivision", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Massachusetts, USA"], ["country", "US"], ["subdivision", "MA"], ["created_at", "2015-05-05 18:26:12.457636"], ["updated_at", "2015-05-05 18:26:12.457636"]]
15988
+  (0.7ms) commit transaction
15989
+  (0.0ms) begin transaction
15990
+ SQL (0.2ms) INSERT INTO "addresses" ("title", "country", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Ireland"], ["country", "IE"], ["created_at", "2015-05-05 18:26:12.459647"], ["updated_at", "2015-05-05 18:26:12.459647"]]
15991
+  (0.8ms) commit transaction
15992
+
15993
+
15994
+ Started GET "/" for ::1 at 2015-05-05 14:26:59 -0400
15995
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
15996
+ Processing by AddressesDemoController#index as HTML
15997
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
15998
+ Rendered addresses_demo/_form.html.erb (126.4ms)
15999
+ Rendered addresses_demo/index.html.erb within layouts/application (137.1ms)
16000
+ Completed 500 Internal Server Error in 146ms (ActiveRecord: 0.5ms)
16001
+
16002
+ ActionView::Template::Error (undefined method `country' for nil:NilClass):
16003
+ 23:
16004
+ 24: <div class="field">
16005
+ 25: <%= f.label(:subdivision, "State / Province") %><br />
16006
+ 26: <%= f.subdivision_select(:subdivision, f.object.country, subdivision_options) %>
16007
+ 27: </div>
16008
+ 28: <% end %>
16009
+ app/views/addresses_demo/_form.html.erb:26:in `block in _app_views_addresses_demo__form_html_erb___4540974042134664359_70102881979720'
16010
+ app/views/addresses_demo/_form.html.erb:15:in `_app_views_addresses_demo__form_html_erb___4540974042134664359_70102881979720'
16011
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__2007189406238290657_70102903956800'
16012
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__2007189406238290657_70102903956800'
16013
+
16014
+
16015
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (45.3ms)
16016
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms)
16017
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.9ms)
16018
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (70.7ms)
16019
+
16020
+
16021
+ Started GET "/" for ::1 at 2015-05-05 14:27:11 -0400
16022
+ Processing by AddressesDemoController#index as HTML
16023
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
16024
+ Rendered addresses_demo/_form.html.erb (28.2ms)
16025
+ Rendered addresses_demo/index.html.erb within layouts/application (30.8ms)
16026
+ Completed 500 Internal Server Error in 33ms (ActiveRecord: 0.3ms)
16027
+
16028
+ ActionView::Template::Error (undefined method `country' for nil:NilClass):
16029
+ 23:
16030
+ 24: <div class="field">
16031
+ 25: <%= f.label(:subdivision, "State / Province") %><br />
16032
+ 26: <%= f.subdivision_select(:subdivision, f.object.country, subdivision_options) %>
16033
+ 27: </div>
16034
+ 28: <% end %>
16035
+ app/views/addresses_demo/_form.html.erb:26:in `block in _app_views_addresses_demo__form_html_erb___4540974042134664359_70102881979720'
16036
+ app/views/addresses_demo/_form.html.erb:15:in `_app_views_addresses_demo__form_html_erb___4540974042134664359_70102881979720'
16037
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__2007189406238290657_70102927708680'
16038
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__2007189406238290657_70102927708680'
16039
+
16040
+
16041
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.7ms)
16042
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
16043
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
16044
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.8ms)
16045
+  (1.2ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar) 
16046
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
16047
+  (0.1ms) select sqlite_version(*)
16048
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
16049
+  (0.1ms) SELECT version FROM "schema_migrations"
16050
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
16051
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
16052
+  (1.0ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar)
16053
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
16054
+  (0.1ms) select sqlite_version(*)
16055
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
16056
+  (0.1ms) SELECT version FROM "schema_migrations"
16057
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
16058
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
16059
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16060
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16061
+  (0.1ms) begin transaction
16062
+ SQL (0.3ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Empty"], ["created_at", "2015-05-05 18:27:22.075894"], ["updated_at", "2015-05-05 18:27:22.075894"]]
16063
+  (0.8ms) commit transaction
16064
+  (0.0ms) begin transaction
16065
+ SQL (0.2ms) INSERT INTO "addresses" ("title", "country", "subdivision", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Massachusetts, USA"], ["country", "US"], ["subdivision", "MA"], ["created_at", "2015-05-05 18:27:22.079896"], ["updated_at", "2015-05-05 18:27:22.079896"]]
16066
+  (0.8ms) commit transaction
16067
+  (0.0ms) begin transaction
16068
+ SQL (0.2ms) INSERT INTO "addresses" ("title", "country", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Ireland"], ["country", "IE"], ["created_at", "2015-05-05 18:27:22.081966"], ["updated_at", "2015-05-05 18:27:22.081966"]]
16069
+  (0.8ms) commit transaction
16070
+
16071
+
16072
+ Started GET "/" for ::1 at 2015-05-05 14:27:39 -0400
16073
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16074
+ Processing by AddressesDemoController#index as HTML
16075
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16076
+ Rendered addresses_demo/_form.html.erb (130.5ms)
16077
+ Rendered addresses_demo/index.html.erb within layouts/application (143.5ms)
16078
+ Completed 500 Internal Server Error in 151ms (ActiveRecord: 0.7ms)
16079
+
16080
+ ActionView::Template::Error (undefined method `country' for nil:NilClass):
16081
+ 23:
16082
+ 24: <div class="field">
16083
+ 25: <%= f.label(:subdivision, "State / Province") %><br />
16084
+ 26: <%= f.subdivision_select(:subdivision, f.object.country, subdivision_options) %>
16085
+ 27: </div>
16086
+ 28: <% end %>
16087
+ app/views/addresses_demo/_form.html.erb:26:in `block in _app_views_addresses_demo__form_html_erb__529158564048818542_70187389425760'
16088
+ app/views/addresses_demo/_form.html.erb:15:in `_app_views_addresses_demo__form_html_erb__529158564048818542_70187389425760'
16089
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__4487880579035000331_70187393468840'
16090
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__4487880579035000331_70187393468840'
16091
+
16092
+
16093
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (53.0ms)
16094
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms)
16095
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.6ms)
16096
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (74.5ms)
16097
+
16098
+
16099
+ Started GET "/" for ::1 at 2015-05-05 14:28:42 -0400
16100
+ Processing by AddressesDemoController#index as HTML
16101
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
16102
+ Rendered addresses_demo/_form.html.erb (35.7ms)
16103
+ Rendered addresses_demo/_form.html.erb (27.7ms)
16104
+ Rendered addresses_demo/_form.html.erb (25.5ms)
16105
+ Rendered addresses_demo/index.html.erb within layouts/application (93.2ms)
16106
+ Completed 200 OK in 278ms (Views: 277.3ms | ActiveRecord: 0.3ms)
16107
+
16108
+
16109
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:28:43 -0400
16110
+
16111
+
16112
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:28:43 -0400
16113
+
16114
+
16115
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:28:43 -0400
16116
+
16117
+
16118
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:28:43 -0400
16119
+
16120
+
16121
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:28:43 -0400
16122
+
16123
+
16124
+ Started GET "/" for ::1 at 2015-05-05 14:30:32 -0400
16125
+ Processing by AddressesDemoController#index as HTML
16126
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16127
+ Rendered addresses_demo/_form.html.erb (11.6ms)
16128
+ Rendered addresses_demo/index.html.erb within layouts/application (14.6ms)
16129
+ Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.2ms)
16130
+
16131
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007fab8cc23848>:0x007fab90029b88>):
16132
+ 10: subdivision_options ||= {}
16133
+ 11: %>
16134
+ 12:
16135
+ 13: <%= form_for(address, html: {class: address.title.parameterize} ) do |f| %>
16136
+ 14: <h2> <%= name %> </h2>
16137
+ 15: <h4> <%= note %> </h4>
16138
+ 16:
16139
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__529158564048818542_70187416064240'
16140
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__4487880579035000331_70187416109640'
16141
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__4487880579035000331_70187416109640'
16142
+
16143
+
16144
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms)
16145
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
16146
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
16147
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.9ms)
16148
+
16149
+
16150
+ Started GET "/" for ::1 at 2015-05-05 14:31:46 -0400
16151
+ Processing by AddressesDemoController#index as HTML
16152
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16153
+ Rendered addresses_demo/_form.html.erb (10.5ms)
16154
+ Rendered addresses_demo/index.html.erb within layouts/application (12.6ms)
16155
+ Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.2ms)
16156
+
16157
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007fab8cc23848>:0x007fab8cf38268>):
16158
+ 10: subdivision_options ||= {}
16159
+ 11: %>
16160
+ 12:
16161
+ 13: <%= form_for(address, html: {class: address.title.parameterize}) do |f| %>
16162
+ 14: <h2> <%= name %> </h2>
16163
+ 15: <h4> <%= note %> </h4>
16164
+ 16:
16165
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__529158564048818542_70187390415520'
16166
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__4487880579035000331_70187416109640'
16167
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__4487880579035000331_70187416109640'
16168
+
16169
+
16170
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.1ms)
16171
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
16172
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
16173
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms)
16174
+
16175
+
16176
+ Started GET "/" for ::1 at 2015-05-05 14:31:56 -0400
16177
+ Processing by AddressesDemoController#index as HTML
16178
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16179
+ Rendered addresses_demo/_form.html.erb (9.7ms)
16180
+ Rendered addresses_demo/index.html.erb within layouts/application (11.3ms)
16181
+ Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.2ms)
16182
+
16183
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007fab8cc23848>:0x007fab92cf7e30>):
16184
+ 10: subdivision_options ||= {}
16185
+ 11: %>
16186
+ 12:
16187
+ 13: <%= form_for(address, path: "#", html: {class: address.title.parameterize}) do |f| %>
16188
+ 14: <h2> <%= name %> </h2>
16189
+ 15: <h4> <%= note %> </h4>
16190
+ 16:
16191
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__529158564048818542_70187418960120'
16192
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__4487880579035000331_70187416109640'
16193
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__4487880579035000331_70187416109640'
16194
+
16195
+
16196
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms)
16197
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms)
16198
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
16199
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.7ms)
16200
+
16201
+
16202
+ Started GET "/" for ::1 at 2015-05-05 14:31:57 -0400
16203
+ Processing by AddressesDemoController#index as HTML
16204
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16205
+ Rendered addresses_demo/_form.html.erb (9.4ms)
16206
+ Rendered addresses_demo/index.html.erb within layouts/application (11.1ms)
16207
+ Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.2ms)
16208
+
16209
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007fab8cc23848>:0x007fab94c5be98>):
16210
+ 10: subdivision_options ||= {}
16211
+ 11: %>
16212
+ 12:
16213
+ 13: <%= form_for(address, path: "#", html: {class: address.title.parameterize}) do |f| %>
16214
+ 14: <h2> <%= name %> </h2>
16215
+ 15: <h4> <%= note %> </h4>
16216
+ 16:
16217
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__529158564048818542_70187418960120'
16218
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__4487880579035000331_70187416109640'
16219
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__4487880579035000331_70187416109640'
16220
+
16221
+
16222
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.4ms)
16223
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
16224
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms)
16225
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.2ms)
16226
+
16227
+
16228
+ Started GET "/" for ::1 at 2015-05-05 14:32:11 -0400
16229
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
16230
+ Processing by AddressesDemoController#index as HTML
16231
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16232
+ Rendered addresses_demo/_form.html.erb (111.7ms)
16233
+ Rendered addresses_demo/index.html.erb within layouts/application (121.7ms)
16234
+ Completed 500 Internal Server Error in 129ms (ActiveRecord: 0.5ms)
16235
+
16236
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007f93f5818338>:0x007f93f5820448>):
16237
+ 10: subdivision_options ||= {}
16238
+ 11: %>
16239
+ 12:
16240
+ 13: <%= form_for(address, path: "#", html: {class: address.title.parameterize}) do |f| %>
16241
+ 14: <h2> <%= name %> </h2>
16242
+ 15: <h4> <%= note %> </h4>
16243
+ 16:
16244
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb___1942919167459400745_70136732257800'
16245
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb___3919192140171463185_70136724490780'
16246
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb___3919192140171463185_70136724490780'
16247
+
16248
+
16249
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms)
16250
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms)
16251
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.9ms)
16252
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (33.9ms)
16253
+
16254
+
16255
+ Started GET "/" for ::1 at 2015-05-05 14:32:39 -0400
16256
+ Processing by AddressesDemoController#index as HTML
16257
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16258
+ Rendered addresses_demo/_form.html.erb (80.8ms)
16259
+ Rendered addresses_demo/index.html.erb within layouts/application (83.2ms)
16260
+ Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.2ms)
16261
+
16262
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007f93f5818338>:0x007f93f5e45878>):
16263
+ 10: subdivision_options ||= {}
16264
+ 11: %>
16265
+ 12:
16266
+ 13: <%= form_for(address, url: nil, html: {class: address.title.parameterize}) do |f| %>
16267
+ 14: <h2> <%= name %> </h2>
16268
+ 15: <h4> <%= note %> </h4>
16269
+ 16:
16270
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb___1942919167459400745_70136731184540'
16271
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb___3919192140171463185_70136724490780'
16272
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb___3919192140171463185_70136724490780'
16273
+
16274
+
16275
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms)
16276
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms)
16277
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
16278
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.5ms)
16279
+
16280
+
16281
+ Started GET "/" for ::1 at 2015-05-05 14:32:42 -0400
16282
+ Processing by AddressesDemoController#index as HTML
16283
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16284
+ Rendered addresses_demo/_form.html.erb (9.3ms)
16285
+ Rendered addresses_demo/index.html.erb within layouts/application (10.8ms)
16286
+ Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.2ms)
16287
+
16288
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007f93f5818338>:0x007f93f62452c0>):
16289
+ 10: subdivision_options ||= {}
16290
+ 11: %>
16291
+ 12:
16292
+ 13: <%= form_for(address, url: nil, html: {class: address.title.parameterize}) do |f| %>
16293
+ 14: <h2> <%= name %> </h2>
16294
+ 15: <h4> <%= note %> </h4>
16295
+ 16:
16296
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb___1942919167459400745_70136731184540'
16297
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb___3919192140171463185_70136724490780'
16298
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb___3919192140171463185_70136724490780'
16299
+
16300
+
16301
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms)
16302
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms)
16303
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms)
16304
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.2ms)
16305
+
16306
+
16307
+ Started GET "/" for ::1 at 2015-05-05 14:32:54 -0400
16308
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16309
+ Processing by AddressesDemoController#index as HTML
16310
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16311
+ Rendered addresses_demo/_form.html.erb (113.5ms)
16312
+ Rendered addresses_demo/index.html.erb within layouts/application (122.7ms)
16313
+ Completed 500 Internal Server Error in 129ms (ActiveRecord: 0.5ms)
16314
+
16315
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007f91d2b87110>:0x007f91d2b85400>):
16316
+ 10: subdivision_options ||= {}
16317
+ 11: %>
16318
+ 12:
16319
+ 13: <%= form_for(address, url: nil, html: {class: address.title.parameterize}) do |f| %>
16320
+ 14: <h2> <%= name %> </h2>
16321
+ 15: <h4> <%= note %> </h4>
16322
+ 16:
16323
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__3077252433605983754_70132169113620'
16324
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__64108059388436707_70132144867600'
16325
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__64108059388436707_70132144867600'
16326
+
16327
+
16328
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms)
16329
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms)
16330
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.5ms)
16331
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (31.3ms)
16332
+
16333
+
16334
+ Started GET "/" for ::1 at 2015-05-05 14:36:18 -0400
16335
+ Processing by AddressesDemoController#index as HTML
16336
+ Address Load (0.4ms) SELECT "addresses".* FROM "addresses"
16337
+ Rendered addresses_demo/_form.html.erb (7.6ms)
16338
+ Rendered addresses_demo/index.html.erb within layouts/application (77.0ms)
16339
+ Completed 500 Internal Server Error in 80ms (ActiveRecord: 0.7ms)
16340
+
16341
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007f91d3562c98>:0x007f91d3562310>):
16342
+ 10: subdivision_options ||= {}
16343
+ 11: %>
16344
+ 12:
16345
+ 13: <%= form_for(address, url: nil, html: {class: address.title.parameterize}) do |f| %>
16346
+ 14: <h2> <%= name %> </h2>
16347
+ 15: <h4> <%= note %> </h4>
16348
+ 16:
16349
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__3077252433605983754_70132169113620'
16350
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__64108059388436707_70132144867600'
16351
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__64108059388436707_70132144867600'
16352
+
16353
+
16354
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms)
16355
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
16356
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
16357
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.3ms)
16358
+
16359
+
16360
+ Started GET "/" for ::1 at 2015-05-05 14:36:27 -0400
16361
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16362
+ Processing by AddressesDemoController#index as HTML
16363
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16364
+ Rendered addresses_demo/_form.html.erb (103.2ms)
16365
+ Rendered addresses_demo/index.html.erb within layouts/application (111.9ms)
16366
+ Completed 500 Internal Server Error in 118ms (ActiveRecord: 0.5ms)
16367
+
16368
+ ActionView::Template::Error (undefined method `address_path' for #<#<Class:0x007f86bc6b4348>:0x007f86bc6be410>):
16369
+ 10: subdivision_options ||= {}
16370
+ 11: %>
16371
+ 12:
16372
+ 13: <%= form_for(address, url: nil, html: {class: address.title.parameterize}) do |f| %>
16373
+ 14: <h2> <%= name %> </h2>
16374
+ 15: <h4> <%= note %> </h4>
16375
+ 16:
16376
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__811035155548236235_70108332322700'
16377
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb__2764867521978085877_70108354327960'
16378
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__2764867521978085877_70108354327960'
16379
+
16380
+
16381
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms)
16382
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms)
16383
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.2ms)
16384
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (30.9ms)
16385
+
16386
+
16387
+ Started GET "/" for ::1 at 2015-05-05 14:38:02 -0400
16388
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16389
+ Processing by AddressesDemoController#index as HTML
16390
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16391
+ Rendered addresses_demo/_form.html.erb (12.3ms)
16392
+ Rendered addresses_demo/index.html.erb within layouts/application (22.8ms)
16393
+ Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.5ms)
16394
+
16395
+ ActionView::Template::Error (undefined method `update_address_path' for #<#<Class:0x007ff421795e38>:0x007ff42179ff28>):
16396
+ 10: subdivision_options ||= {}
16397
+ 11: %>
16398
+ 12:
16399
+ 13: <%= form_for(address, url: update_address_path(address.id), html: {class: address.title.parameterize}) do |f| %>
16400
+ 14: <h2> <%= name %> </h2>
16401
+ 15: <h4> <%= note %> </h4>
16402
+ 16:
16403
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__3747784992470689993_70343283138120'
16404
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb___3773012025178429728_70343255241640'
16405
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb___3773012025178429728_70343255241640'
16406
+
16407
+
16408
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms)
16409
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms)
16410
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.3ms)
16411
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (32.1ms)
16412
+
16413
+
16414
+ Started GET "/" for ::1 at 2015-05-05 14:38:13 -0400
16415
+ Processing by AddressesDemoController#index as HTML
16416
+ Address Load (0.4ms) SELECT "addresses".* FROM "addresses"
16417
+ Rendered addresses_demo/_form.html.erb (171.5ms)
16418
+ Rendered addresses_demo/index.html.erb within layouts/application (178.7ms)
16419
+ Completed 500 Internal Server Error in 182ms (ActiveRecord: 0.9ms)
16420
+
16421
+ ActionView::Template::Error (undefined local variable or method `name' for #<#<Class:0x007ff4253d2ef0>:0x007ff4253d2540>):
16422
+ 11: %>
16423
+ 12:
16424
+ 13: <%= form_for(address, url: update_address_path(address.id), html: {class: address.title.parameterize}) do |f| %>
16425
+ 14: <h2> <%= name %> </h2>
16426
+ 15: <h4> <%= note %> </h4>
16427
+ 16:
16428
+ 17: <div class="field">
16429
+ app/views/addresses_demo/_form.html.erb:14:in `block in _app_views_addresses_demo__form_html_erb__3747784992470689993_70343283138120'
16430
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__3747784992470689993_70343283138120'
16431
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb___3773012025178429728_70343255241640'
16432
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb___3773012025178429728_70343255241640'
16433
+
16434
+
16435
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms)
16436
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
16437
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
16438
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.2ms)
16439
+
16440
+
16441
+ Started GET "/" for ::1 at 2015-05-05 14:38:23 -0400
16442
+ Processing by AddressesDemoController#index as HTML
16443
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16444
+ Rendered addresses_demo/_form.html.erb (2.5ms)
16445
+ Rendered addresses_demo/index.html.erb within layouts/application (4.2ms)
16446
+ Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.2ms)
16447
+
16448
+ ActionView::Template::Error (undefined method `name' for #<Address:0x007ff425b92410>):
16449
+ 11: %>
16450
+ 12:
16451
+ 13: <%= form_for(address, url: update_address_path(address.id), html: {class: address.title.parameterize}) do |f| %>
16452
+ 14: <h2> <%= address.name %> </h2>
16453
+ 15:
16454
+ 16: <div class="field">
16455
+ 17: <%= f.label(:country) %><br />
16456
+ app/views/addresses_demo/_form.html.erb:14:in `block in _app_views_addresses_demo__form_html_erb__3747784992470689993_70343290837800'
16457
+ app/views/addresses_demo/_form.html.erb:13:in `_app_views_addresses_demo__form_html_erb__3747784992470689993_70343290837800'
16458
+ app/views/addresses_demo/index.html.erb:6:in `block in _app_views_addresses_demo_index_html_erb___3773012025178429728_70343255241640'
16459
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb___3773012025178429728_70343255241640'
16460
+
16461
+
16462
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms)
16463
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms)
16464
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
16465
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.9ms)
16466
+
16467
+
16468
+ Started GET "/" for ::1 at 2015-05-05 14:38:32 -0400
16469
+ Processing by AddressesDemoController#index as HTML
16470
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16471
+ Rendered addresses_demo/_form.html.erb (40.2ms)
16472
+ Rendered addresses_demo/_form.html.erb (37.1ms)
16473
+ Rendered addresses_demo/_form.html.erb (31.4ms)
16474
+ Rendered addresses_demo/index.html.erb within layouts/application (112.4ms)
16475
+ Completed 200 OK in 257ms (Views: 256.8ms | ActiveRecord: 0.2ms)
16476
+
16477
+
16478
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:38:32 -0400
16479
+
16480
+
16481
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:38:32 -0400
16482
+
16483
+
16484
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:38:32 -0400
16485
+
16486
+
16487
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:38:32 -0400
16488
+
16489
+
16490
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:38:32 -0400
16491
+
16492
+
16493
+ Started GET "/" for ::1 at 2015-05-05 14:39:05 -0400
16494
+ Processing by AddressesDemoController#index as HTML
16495
+ Address Load (0.4ms) SELECT "addresses".* FROM "addresses"
16496
+ Rendered addresses_demo/_form.html.erb (49.8ms)
16497
+ Rendered addresses_demo/_form.html.erb (94.9ms)
16498
+ Rendered addresses_demo/_form.html.erb (43.1ms)
16499
+ Rendered addresses_demo/index.html.erb within layouts/application (193.4ms)
16500
+ Completed 200 OK in 220ms (Views: 219.7ms | ActiveRecord: 0.4ms)
16501
+
16502
+
16503
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:39:05 -0400
16504
+
16505
+
16506
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:39:05 -0400
16507
+
16508
+
16509
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:39:05 -0400
16510
+
16511
+
16512
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:39:05 -0400
16513
+
16514
+
16515
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:39:05 -0400
16516
+
16517
+
16518
+ Started GET "/" for ::1 at 2015-05-05 14:39:57 -0400
16519
+ Processing by AddressesDemoController#index as HTML
16520
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16521
+ Rendered addresses_demo/_form.html.erb (37.7ms)
16522
+ Rendered addresses_demo/_form.html.erb (34.2ms)
16523
+ Rendered addresses_demo/_form.html.erb (28.2ms)
16524
+ Rendered addresses_demo/index.html.erb within layouts/application (104.7ms)
16525
+ Completed 200 OK in 127ms (Views: 126.8ms | ActiveRecord: 0.2ms)
16526
+
16527
+
16528
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:39:58 -0400
16529
+
16530
+
16531
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:39:58 -0400
16532
+
16533
+
16534
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:39:58 -0400
16535
+
16536
+
16537
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:39:58 -0400
16538
+
16539
+
16540
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:39:58 -0400
16541
+
16542
+
16543
+ Started GET "/" for ::1 at 2015-05-05 14:40:35 -0400
16544
+ Processing by AddressesDemoController#index as HTML
16545
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16546
+ Rendered addresses_demo/_form.html.erb (29.2ms)
16547
+ Rendered addresses_demo/_form.html.erb (32.1ms)
16548
+ Rendered addresses_demo/_form.html.erb (29.5ms)
16549
+ Rendered addresses_demo/index.html.erb within layouts/application (94.0ms)
16550
+ Completed 200 OK in 113ms (Views: 112.8ms | ActiveRecord: 0.2ms)
16551
+
16552
+
16553
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:40:35 -0400
16554
+
16555
+
16556
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:40:35 -0400
16557
+
16558
+
16559
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:40:35 -0400
16560
+
16561
+
16562
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:40:35 -0400
16563
+
16564
+
16565
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:40:35 -0400
16566
+
16567
+
16568
+ Started GET "/" for ::1 at 2015-05-05 14:41:13 -0400
16569
+ Processing by AddressesDemoController#index as HTML
16570
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16571
+ Rendered addresses_demo/_form.html.erb (30.2ms)
16572
+ Rendered addresses_demo/_form.html.erb (32.9ms)
16573
+ Rendered addresses_demo/_form.html.erb (32.9ms)
16574
+ Rendered addresses_demo/index.html.erb within layouts/application (98.7ms)
16575
+ Completed 200 OK in 123ms (Views: 122.7ms | ActiveRecord: 0.2ms)
16576
+
16577
+
16578
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:41:13 -0400
16579
+
16580
+
16581
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:41:13 -0400
16582
+
16583
+
16584
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:41:13 -0400
16585
+
16586
+
16587
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:41:13 -0400
16588
+
16589
+
16590
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:41:13 -0400
16591
+
16592
+
16593
+ Started GET "/subdivisions?country_code=GN" for ::1 at 2015-05-05 14:41:32 -0400
16594
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
16595
+ Parameters: {"country_code"=>"GN"}
16596
+ Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)
16597
+
16598
+
16599
+ Started GET "/subdivisions?country_code=IE" for ::1 at 2015-05-05 14:41:35 -0400
16600
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
16601
+ Parameters: {"country_code"=>"IE"}
16602
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
16603
+
16604
+
16605
+ Started GET "/" for ::1 at 2015-05-05 14:41:59 -0400
16606
+ Processing by AddressesDemoController#index as HTML
16607
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16608
+ Rendered addresses_demo/_form.html.erb (29.6ms)
16609
+ Rendered addresses_demo/_form.html.erb (30.1ms)
16610
+ Rendered addresses_demo/_form.html.erb (38.0ms)
16611
+ Rendered addresses_demo/index.html.erb within layouts/application (100.8ms)
16612
+ Completed 200 OK in 130ms (Views: 129.0ms | ActiveRecord: 0.2ms)
16613
+
16614
+
16615
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:41:59 -0400
16616
+
16617
+
16618
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:41:59 -0400
16619
+
16620
+
16621
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:41:59 -0400
16622
+
16623
+
16624
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:41:59 -0400
16625
+
16626
+
16627
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:41:59 -0400
16628
+
16629
+
16630
+ Started GET "/subdivisions?country_code=AF" for ::1 at 2015-05-05 14:42:04 -0400
16631
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
16632
+ Parameters: {"country_code"=>"AF"}
16633
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
16634
+
16635
+
16636
+ Started PATCH "/1" for ::1 at 2015-05-05 14:42:07 -0400
16637
+
16638
+ ActionController::RoutingError (No route matches [PATCH] "/1"):
16639
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
16640
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
16641
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
16642
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
16643
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
16644
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
16645
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
16646
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
16647
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
16648
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
16649
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
16650
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
16651
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
16652
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
16653
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
16654
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
16655
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
16656
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
16657
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
16658
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
16659
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
16660
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
16661
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
16662
+
16663
+
16664
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
16665
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
16666
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
16667
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.6ms)
16668
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
16669
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (28.7ms)
16670
+
16671
+
16672
+ Started PATCH "/1" for ::1 at 2015-05-05 14:42:23 -0400
16673
+ Processing by AddressesDemoController#update as HTML
16674
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"jIk8ZINDTeZ74ui/CQFJ0ImBbqf4F39hyrT4MqAXQoc5Fnm5sJ2CHm+4JV2wy81fkI8bp1kDAdpkTHY4hSvN+Q==", "address"=>{"country"=>"AF", "subdivision"=>"BAM"}, "commit"=>"Update Address", "id"=>"1"}
16675
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", nil]]
16676
+ Completed 404 Not Found in 16ms (ActiveRecord: 0.7ms)
16677
+
16678
+ ActiveRecord::RecordNotFound (Couldn't find Address with 'id'=):
16679
+ app/controllers/addresses_demo_controller.rb:10:in `update'
16680
+
16681
+
16682
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms)
16683
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
16684
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
16685
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.5ms)
16686
+
16687
+
16688
+ Started PATCH "/1" for ::1 at 2015-05-05 14:42:50 -0400
16689
+ Processing by AddressesDemoController#update as HTML
16690
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"jIk8ZINDTeZ74ui/CQFJ0ImBbqf4F39hyrT4MqAXQoc5Fnm5sJ2CHm+4JV2wy81fkI8bp1kDAdpkTHY4hSvN+Q==", "address"=>{"country"=>"AF", "subdivision"=>"BAM"}, "commit"=>"Update Address", "id"=>"1"}
16691
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 1]]
16692
+  (0.1ms) begin transaction
16693
+ SQL (0.5ms) UPDATE "addresses" SET "subdivision" = ?, "country" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["subdivision", "BAM"], ["country", "AF"], ["updated_at", "2015-05-05 18:42:50.740504"], ["id", 1]]
16694
+  (2.2ms) commit transaction
16695
+ Redirected to http://localhost:3000/
16696
+ Completed 302 Found in 16ms (ActiveRecord: 3.5ms)
16697
+
16698
+
16699
+ Started GET "/" for ::1 at 2015-05-05 14:42:50 -0400
16700
+ Processing by AddressesDemoController#index as HTML
16701
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16702
+ Rendered addresses_demo/_form.html.erb (29.4ms)
16703
+ Rendered addresses_demo/_form.html.erb (27.5ms)
16704
+ Rendered addresses_demo/_form.html.erb (26.2ms)
16705
+ Rendered addresses_demo/index.html.erb within layouts/application (85.9ms)
16706
+ Completed 200 OK in 103ms (Views: 103.0ms | ActiveRecord: 0.2ms)
16707
+
16708
+
16709
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:42:51 -0400
16710
+
16711
+
16712
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:42:51 -0400
16713
+
16714
+
16715
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:42:51 -0400
16716
+
16717
+
16718
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:42:51 -0400
16719
+
16720
+
16721
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:42:51 -0400
16722
+
16723
+
16724
+ Started PATCH "/1" for ::1 at 2015-05-05 14:42:54 -0400
16725
+ Processing by AddressesDemoController#update as HTML
16726
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BHRBCkRUnnumgY1PQZXJscZMfjzsyZpwZtPgws0XiqSx6wTXd4pRg7LbQK34X00+30ILPE3d5MvIK27I6CsF2g==", "address"=>{"country"=>"AF", "subdivision"=>"BAM"}, "commit"=>"Update Address", "id"=>"1"}
16727
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 1]]
16728
+  (0.1ms) begin transaction
16729
+  (0.1ms) commit transaction
16730
+ Redirected to http://localhost:3000/
16731
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
16732
+
16733
+
16734
+ Started GET "/" for ::1 at 2015-05-05 14:42:54 -0400
16735
+ Processing by AddressesDemoController#index as HTML
16736
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16737
+ Rendered addresses_demo/_form.html.erb (33.3ms)
16738
+ Rendered addresses_demo/_form.html.erb (27.5ms)
16739
+ Rendered addresses_demo/_form.html.erb (31.0ms)
16740
+ Rendered addresses_demo/index.html.erb within layouts/application (95.1ms)
16741
+ Completed 200 OK in 112ms (Views: 111.6ms | ActiveRecord: 0.2ms)
16742
+
16743
+
16744
+ Started GET "/" for ::1 at 2015-05-05 14:43:24 -0400
16745
+ Processing by AddressesDemoController#index as HTML
16746
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16747
+ Rendered addresses_demo/_form.html.erb (35.8ms)
16748
+ Rendered addresses_demo/_form.html.erb (31.0ms)
16749
+ Rendered addresses_demo/_form.html.erb (28.5ms)
16750
+ Rendered addresses_demo/index.html.erb within layouts/application (98.8ms)
16751
+ Completed 200 OK in 116ms (Views: 115.8ms | ActiveRecord: 0.2ms)
16752
+
16753
+
16754
+ Started GET "/assets/addresses_demo.self-be1cbed53dbe0bb2c39cc07be6c5e2de693eaacf0c0ecf3df88538b6cd6c69e4.css?body=1" for ::1 at 2015-05-05 14:43:24 -0400
16755
+
16756
+
16757
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 14:43:24 -0400
16758
+
16759
+
16760
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 14:43:24 -0400
16761
+
16762
+
16763
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 14:43:24 -0400
16764
+
16765
+
16766
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 14:43:24 -0400
16767
+
16768
+
16769
+ Started PATCH "/1" for ::1 at 2015-05-05 14:43:33 -0400
16770
+ Processing by AddressesDemoController#update as HTML
16771
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Bj3g7d5rKtOxiLtvsinJtw9kNM59XjLIOBJCbUSJ+NezoqUw7bXlK6XSdo0L4004FmpBztxKTHOW6sxnYbV3qQ==", "address"=>{"title"=>"Afghan", "country"=>"AF", "subdivision"=>""}, "commit"=>"Update Address", "id"=>"1"}
16772
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 1]]
16773
+  (0.1ms) begin transaction
16774
+ SQL (0.3ms) UPDATE "addresses" SET "title" = ?, "subdivision" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["title", "Afghan"], ["subdivision", ""], ["updated_at", "2015-05-05 18:43:33.160722"], ["id", 1]]
16775
+  (2.3ms) commit transaction
16776
+ Redirected to http://localhost:3000/
16777
+ Completed 302 Found in 6ms (ActiveRecord: 2.8ms)
16778
+
16779
+
16780
+ Started GET "/" for ::1 at 2015-05-05 14:43:33 -0400
16781
+ Processing by AddressesDemoController#index as HTML
16782
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16783
+ Rendered addresses_demo/_form.html.erb (40.2ms)
16784
+ Rendered addresses_demo/_form.html.erb (52.7ms)
16785
+ Rendered addresses_demo/_form.html.erb (31.1ms)
16786
+ Rendered addresses_demo/index.html.erb within layouts/application (126.7ms)
16787
+ Completed 200 OK in 144ms (Views: 144.0ms | ActiveRecord: 0.2ms)
16788
+
16789
+
16790
+ Started PATCH "/1" for ::1 at 2015-05-05 14:43:41 -0400
16791
+ Processing by AddressesDemoController#update as HTML
16792
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Afz9wDuQIRBCUKAmOwaziNEveydj/Ss71ax17o4wjfi0Y7gdCE7u6FYKbcSCzDcHyCEOJ8LpVYB7VPvkqwwChg==", "address"=>{"title"=>"Afghan", "country"=>"AF", "subdivision"=>"BAM"}, "commit"=>"Update Address", "id"=>"1"}
16793
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 1]]
16794
+  (0.1ms) begin transaction
16795
+ SQL (0.3ms) UPDATE "addresses" SET "subdivision" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["subdivision", "BAM"], ["updated_at", "2015-05-05 18:43:41.172228"], ["id", 1]]
16796
+  (2.8ms) commit transaction
16797
+ Redirected to http://localhost:3000/
16798
+ Completed 302 Found in 7ms (ActiveRecord: 3.3ms)
16799
+
16800
+
16801
+ Started GET "/" for ::1 at 2015-05-05 14:43:41 -0400
16802
+ Processing by AddressesDemoController#index as HTML
16803
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16804
+ Rendered addresses_demo/_form.html.erb (40.9ms)
16805
+ Rendered addresses_demo/_form.html.erb (37.4ms)
16806
+ Rendered addresses_demo/_form.html.erb (27.8ms)
16807
+ Rendered addresses_demo/index.html.erb within layouts/application (109.1ms)
16808
+ Completed 200 OK in 125ms (Views: 124.5ms | ActiveRecord: 0.2ms)
16809
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
16810
+
16811
+
16812
+ Started GET "/" for ::1 at 2015-05-05 16:04:21 -0400
16813
+ Processing by AddressesDemoController#index as HTML
16814
+ Address Load (0.5ms) SELECT "addresses".* FROM "addresses"
16815
+ Rendered addresses_demo/_form.html.erb (31.7ms)
16816
+ Rendered addresses_demo/_form.html.erb (29.8ms)
16817
+ Rendered addresses_demo/_form.html.erb (29.5ms)
16818
+ Rendered addresses_demo/index.html.erb within layouts/application (94.8ms)
16819
+ Completed 200 OK in 125ms (Views: 124.2ms | ActiveRecord: 0.5ms)
16820
+
16821
+
16822
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:04:21 -0400
16823
+
16824
+
16825
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:04:21 -0400
16826
+
16827
+
16828
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:04:21 -0400
16829
+
16830
+
16831
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:04:21 -0400
16832
+
16833
+
16834
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:04:21 -0400
16835
+
16836
+
16837
+ Started GET "/posts/12/edit?validation=1d9db39c7368a0be0cd70eab6c773718" for ::1 at 2015-05-05 16:09:42 -0400
16838
+
16839
+ ActionController::RoutingError (No route matches [GET] "/posts/12/edit"):
16840
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
16841
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
16842
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
16843
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
16844
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
16845
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
16846
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
16847
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
16848
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
16849
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
16850
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
16851
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
16852
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
16853
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
16854
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
16855
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
16856
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
16857
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
16858
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
16859
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
16860
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
16861
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
16862
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
16863
+
16864
+
16865
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
16866
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
16867
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
16868
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms)
16869
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
16870
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.0ms)
16871
+
16872
+
16873
+ Started GET "/p" for ::1 at 2015-05-05 16:09:45 -0400
16874
+
16875
+ ActionController::RoutingError (No route matches [GET] "/p"):
16876
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
16877
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
16878
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
16879
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
16880
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
16881
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
16882
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
16883
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
16884
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
16885
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
16886
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
16887
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
16888
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
16889
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
16890
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
16891
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
16892
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
16893
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
16894
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
16895
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
16896
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
16897
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
16898
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
16899
+
16900
+
16901
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
16902
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
16903
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
16904
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms)
16905
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
16906
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (22.6ms)
16907
+
16908
+
16909
+ Started GET "/" for ::1 at 2015-05-05 16:09:47 -0400
16910
+ Processing by AddressesDemoController#index as HTML
16911
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16912
+ Rendered addresses_demo/_form.html.erb (27.5ms)
16913
+ Rendered addresses_demo/_form.html.erb (29.6ms)
16914
+ Rendered addresses_demo/_form.html.erb (25.6ms)
16915
+ Rendered addresses_demo/index.html.erb within layouts/application (85.3ms)
16916
+ Completed 200 OK in 105ms (Views: 104.8ms | ActiveRecord: 0.2ms)
16917
+
16918
+
16919
+ Started GET "/" for ::1 at 2015-05-05 16:09:56 -0400
16920
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
16921
+ Processing by AddressesDemoController#index as HTML
16922
+ Address Load (0.5ms) SELECT "addresses".* FROM "addresses"
16923
+ Rendered addresses_demo/_form.html.erb (193.0ms)
16924
+ Rendered addresses_demo/_form.html.erb (44.9ms)
16925
+ Rendered addresses_demo/_form.html.erb (42.7ms)
16926
+ Rendered addresses_demo/index.html.erb within layouts/application (298.2ms)
16927
+ Completed 200 OK in 550ms (Views: 546.4ms | ActiveRecord: 1.2ms)
16928
+
16929
+
16930
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:09:57 -0400
16931
+
16932
+
16933
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:09:57 -0400
16934
+
16935
+
16936
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:09:57 -0400
16937
+
16938
+
16939
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:09:57 -0400
16940
+
16941
+
16942
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:09:57 -0400
16943
+
16944
+
16945
+ Started GET "/" for ::1 at 2015-05-05 16:10:07 -0400
16946
+ Processing by AddressesDemoController#index as HTML
16947
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
16948
+ Rendered addresses_demo/_form.html.erb (49.9ms)
16949
+ Rendered addresses_demo/_form.html.erb (67.0ms)
16950
+ Rendered addresses_demo/_form.html.erb (53.6ms)
16951
+ Rendered addresses_demo/index.html.erb within layouts/application (175.0ms)
16952
+ Completed 200 OK in 205ms (Views: 204.6ms | ActiveRecord: 0.3ms)
16953
+
16954
+
16955
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:10:07 -0400
16956
+
16957
+
16958
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:10:07 -0400
16959
+
16960
+
16961
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:10:07 -0400
16962
+
16963
+
16964
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:10:07 -0400
16965
+
16966
+
16967
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:10:07 -0400
16968
+
16969
+
16970
+ Started GET "/" for ::1 at 2015-05-05 16:10:12 -0400
16971
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
16972
+ Processing by AddressesDemoController#index as HTML
16973
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
16974
+ Rendered addresses_demo/_form.html.erb (131.8ms)
16975
+ Rendered addresses_demo/_form.html.erb (29.2ms)
16976
+ Rendered addresses_demo/_form.html.erb (31.4ms)
16977
+ Rendered addresses_demo/index.html.erb within layouts/application (202.7ms)
16978
+ Completed 200 OK in 392ms (Views: 388.5ms | ActiveRecord: 0.5ms)
16979
+
16980
+
16981
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:10:13 -0400
16982
+
16983
+
16984
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:10:13 -0400
16985
+
16986
+
16987
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:10:13 -0400
16988
+
16989
+
16990
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:10:13 -0400
16991
+
16992
+
16993
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:10:13 -0400
16994
+
16995
+
16996
+ Started GET "/" for 127.0.0.1 at 2015-05-05 16:12:36 -0400
16997
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16998
+ Processing by AddressesDemoController#index as HTML
16999
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17000
+ Rendered addresses_demo/_form.html.erb (139.3ms)
17001
+ Rendered addresses_demo/_form.html.erb (40.1ms)
17002
+ Rendered addresses_demo/_form.html.erb (28.7ms)
17003
+ Rendered addresses_demo/index.html.erb within layouts/application (218.5ms)
17004
+ Completed 200 OK in 393ms (Views: 391.3ms | ActiveRecord: 0.5ms)
17005
+
17006
+
17007
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for 127.0.0.1 at 2015-05-05 16:12:36 -0400
17008
+
17009
+
17010
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-05-05 16:12:36 -0400
17011
+
17012
+
17013
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-05-05 16:12:36 -0400
17014
+
17015
+
17016
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for 127.0.0.1 at 2015-05-05 16:12:36 -0400
17017
+
17018
+
17019
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for 127.0.0.1 at 2015-05-05 16:12:36 -0400
17020
+
17021
+
17022
+ Started GET "/subdivisions?country_code=TL" for 127.0.0.1 at 2015-05-05 16:12:47 -0400
17023
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17024
+ Parameters: {"country_code"=>"TL"}
17025
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)
17026
+
17027
+
17028
+ Started GET "/subdivisions?country_code=US" for 127.0.0.1 at 2015-05-05 16:12:51 -0400
17029
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17030
+ Parameters: {"country_code"=>"US"}
17031
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)
17032
+
17033
+
17034
+ Started GET "/subdivisions?country_code=UM" for 127.0.0.1 at 2015-05-05 16:12:55 -0400
17035
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17036
+ Parameters: {"country_code"=>"UM"}
17037
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
17038
+
17039
+
17040
+ Started GET "/subdivisions?country_code=US" for 127.0.0.1 at 2015-05-05 16:13:02 -0400
17041
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17042
+ Parameters: {"country_code"=>"US"}
17043
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)
17044
+
17045
+
17046
+ Started GET "/" for 127.0.0.1 at 2015-05-05 16:13:24 -0400
17047
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17048
+ Processing by AddressesDemoController#index as HTML
17049
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17050
+ Rendered addresses_demo/_form.html.erb (134.2ms)
17051
+ Rendered addresses_demo/_form.html.erb (27.5ms)
17052
+ Rendered addresses_demo/_form.html.erb (29.5ms)
17053
+ Rendered addresses_demo/index.html.erb within layouts/application (201.4ms)
17054
+ Completed 200 OK in 389ms (Views: 386.1ms | ActiveRecord: 0.5ms)
17055
+
17056
+
17057
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for 127.0.0.1 at 2015-05-05 16:13:24 -0400
17058
+
17059
+
17060
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-05-05 16:13:24 -0400
17061
+
17062
+
17063
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-05-05 16:13:24 -0400
17064
+
17065
+
17066
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for 127.0.0.1 at 2015-05-05 16:13:24 -0400
17067
+
17068
+
17069
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for 127.0.0.1 at 2015-05-05 16:13:24 -0400
17070
+
17071
+
17072
+ Started GET "/" for ::1 at 2015-05-05 16:13:39 -0400
17073
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17074
+ Processing by AddressesDemoController#index as HTML
17075
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17076
+ Rendered addresses_demo/_form.html.erb (130.2ms)
17077
+ Rendered addresses_demo/index.html.erb within layouts/application (139.7ms)
17078
+ Completed 500 Internal Server Error in 146ms (ActiveRecord: 0.5ms)
17079
+
17080
+ ActionView::Template::Error (undefined method `subdivision' for #<String:0x007fce4f149608>):
17081
+ 17:
17082
+ 18: <div class="field">
17083
+ 19: <%= f.label(:subdivision, "State / Province") %><br />
17084
+ 20: <%= f.subdivision_select(:subdivision, address.country, include_blank: true ) %>
17085
+ 21: </div>
17086
+ 22:
17087
+ 23: <div class="field">
17088
+ app/views/addresses_demo/_form.html.erb:20:in `block in _app_views_addresses_demo__form_html_erb__4031394278382100123_70262005268220'
17089
+ app/views/addresses_demo/_form.html.erb:2:in `_app_views_addresses_demo__form_html_erb__4031394278382100123_70262005268220'
17090
+ app/views/addresses_demo/index.html.erb:5:in `block in _app_views_addresses_demo_index_html_erb__2936755643114088140_70262019171920'
17091
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__2936755643114088140_70262019171920'
17092
+
17093
+
17094
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms)
17095
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms)
17096
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.8ms)
17097
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (31.9ms)
17098
+
17099
+
17100
+ Started GET "/" for ::1 at 2015-05-05 16:13:54 -0400
17101
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17102
+ Processing by AddressesDemoController#index as HTML
17103
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17104
+ Rendered addresses_demo/_form.html.erb (138.0ms)
17105
+ Rendered addresses_demo/_form.html.erb (27.8ms)
17106
+ Rendered addresses_demo/_form.html.erb (30.3ms)
17107
+ Rendered addresses_demo/index.html.erb within layouts/application (206.3ms)
17108
+ Completed 200 OK in 400ms (Views: 397.4ms | ActiveRecord: 0.5ms)
17109
+
17110
+
17111
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:13:54 -0400
17112
+
17113
+
17114
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:13:54 -0400
17115
+
17116
+
17117
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:13:54 -0400
17118
+
17119
+
17120
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:13:54 -0400
17121
+
17122
+
17123
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:13:54 -0400
17124
+
17125
+
17126
+ Started GET "/" for ::1 at 2015-05-05 16:14:20 -0400
17127
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17128
+ Processing by AddressesDemoController#index as HTML
17129
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17130
+ Rendered addresses_demo/_form.html.erb (136.4ms)
17131
+ Rendered addresses_demo/_form.html.erb (29.8ms)
17132
+ Rendered addresses_demo/_form.html.erb (30.5ms)
17133
+ Rendered addresses_demo/index.html.erb within layouts/application (206.6ms)
17134
+ Completed 200 OK in 405ms (Views: 403.5ms | ActiveRecord: 0.5ms)
17135
+
17136
+
17137
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:14:21 -0400
17138
+
17139
+
17140
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:14:21 -0400
17141
+
17142
+
17143
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:14:21 -0400
17144
+
17145
+
17146
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:14:21 -0400
17147
+
17148
+
17149
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:14:21 -0400
17150
+
17151
+
17152
+ Started GET "/" for ::1 at 2015-05-05 16:15:25 -0400
17153
+ Processing by AddressesDemoController#index as HTML
17154
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17155
+ Rendered addresses_demo/_form.html.erb (34.1ms)
17156
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17157
+ Rendered addresses_demo/_form.html.erb (50.3ms)
17158
+ Rendered addresses_demo/_form.html.erb (32.2ms)
17159
+ Rendered addresses_demo/_form.html.erb (28.3ms)
17160
+ Rendered addresses_demo/index.html.erb within layouts/application (155.3ms)
17161
+ Completed 200 OK in 176ms (Views: 174.9ms | ActiveRecord: 0.4ms)
17162
+
17163
+
17164
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:15:25 -0400
17165
+
17166
+
17167
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:15:25 -0400
17168
+
17169
+
17170
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:15:25 -0400
17171
+
17172
+
17173
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:15:25 -0400
17174
+
17175
+
17176
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:15:25 -0400
17177
+
17178
+
17179
+ Started GET "/" for ::1 at 2015-05-05 16:15:32 -0400
17180
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17181
+ Processing by AddressesDemoController#index as HTML
17182
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17183
+ Rendered addresses_demo/_form.html.erb (131.7ms)
17184
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
17185
+ Rendered addresses_demo/_form.html.erb (27.3ms)
17186
+ Rendered addresses_demo/_form.html.erb (30.5ms)
17187
+ Rendered addresses_demo/_form.html.erb (28.1ms)
17188
+ Rendered addresses_demo/index.html.erb within layouts/application (232.5ms)
17189
+ Completed 200 OK in 406ms (Views: 403.7ms | ActiveRecord: 1.1ms)
17190
+
17191
+
17192
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:15:33 -0400
17193
+
17194
+
17195
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:15:33 -0400
17196
+
17197
+
17198
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:15:33 -0400
17199
+
17200
+
17201
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:15:33 -0400
17202
+
17203
+
17204
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:15:33 -0400
17205
+
17206
+
17207
+ Started GET "/" for ::1 at 2015-05-05 16:16:16 -0400
17208
+ Processing by AddressesDemoController#index as HTML
17209
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17210
+ CACHE (0.0ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17211
+ Rendered addresses_demo/_form.html.erb (34.0ms)
17212
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17213
+ Rendered addresses_demo/_form.html.erb (48.4ms)
17214
+ Rendered addresses_demo/_form.html.erb (33.1ms)
17215
+ Rendered addresses_demo/_form.html.erb (29.6ms)
17216
+ Rendered addresses_demo/index.html.erb within layouts/application (163.0ms)
17217
+ Completed 500 Internal Server Error in 173ms (ActiveRecord: 1.1ms)
17218
+
17219
+ ActionView::Template::Error (undefined local variable or method `address' for #<#<Class:0x007fba4ae90258>:0x007fba4ae8aad8>):
17220
+ 22: <%=
17221
+ 23: form_for(
17222
+ 24: @address,
17223
+ 25: url: update_address_path(address.id),
17224
+ 26: html: {class: address.title.parameterize}
17225
+ 27: ) do |f| %>
17226
+ 28:
17227
+ app/views/addresses_demo/index.html.erb:25:in `_app_views_addresses_demo_index_html_erb___4341038929198175_70219048689580'
17228
+
17229
+
17230
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms)
17231
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms)
17232
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
17233
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.3ms)
17234
+
17235
+
17236
+ Started GET "/" for ::1 at 2015-05-05 16:16:41 -0400
17237
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17238
+ Processing by AddressesDemoController#index as HTML
17239
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17240
+ CACHE (0.0ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17241
+ Rendered addresses_demo/_form.html.erb (143.5ms)
17242
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17243
+ Rendered addresses_demo/_form.html.erb (28.2ms)
17244
+ Rendered addresses_demo/_form.html.erb (30.1ms)
17245
+ Rendered addresses_demo/_form.html.erb (28.6ms)
17246
+ Rendered addresses_demo/index.html.erb within layouts/application (268.5ms)
17247
+ Completed 200 OK in 472ms (Views: 462.0ms | ActiveRecord: 0.8ms)
17248
+
17249
+
17250
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:16:42 -0400
17251
+
17252
+
17253
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:16:42 -0400
17254
+
17255
+
17256
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:16:42 -0400
17257
+
17258
+
17259
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:16:42 -0400
17260
+
17261
+
17262
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:16:42 -0400
17263
+
17264
+
17265
+ Started GET "/posts/success" for ::1 at 2015-05-05 16:22:37 -0400
17266
+
17267
+ ActionController::RoutingError (No route matches [GET] "/posts/success"):
17268
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
17269
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
17270
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
17271
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
17272
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
17273
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
17274
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
17275
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
17276
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
17277
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
17278
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
17279
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
17280
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
17281
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
17282
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
17283
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
17284
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
17285
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
17286
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
17287
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
17288
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
17289
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
17290
+ /Users/sean/.rubies/ruby-2.1.6/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
17291
+
17292
+
17293
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
17294
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
17295
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
17296
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.8ms)
17297
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms)
17298
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (24.2ms)
17299
+
17300
+
17301
+ Started GET "/" for ::1 at 2015-05-05 16:22:43 -0400
17302
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17303
+ Processing by AddressesDemoController#index as HTML
17304
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17305
+ Rendered addresses_demo/_form.html.erb (139.7ms)
17306
+ Rendered addresses_demo/_form.html.erb (29.9ms)
17307
+ Rendered addresses_demo/_form.html.erb (32.5ms)
17308
+ Rendered addresses_demo/index.html.erb within layouts/application (213.5ms)
17309
+ Completed 200 OK in 394ms (Views: 391.8ms | ActiveRecord: 0.6ms)
17310
+
17311
+
17312
+ Started GET "/" for ::1 at 2015-05-05 16:22:57 -0400
17313
+ Processing by AddressesDemoController#index as HTML
17314
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17315
+ Rendered addresses_demo/_form.html.erb (37.5ms)
17316
+ Rendered addresses_demo/_form.html.erb (33.9ms)
17317
+ Rendered addresses_demo/_form.html.erb (47.7ms)
17318
+ Rendered addresses_demo/index.html.erb within layouts/application (122.4ms)
17319
+ Completed 200 OK in 142ms (Views: 141.8ms | ActiveRecord: 0.2ms)
17320
+
17321
+
17322
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:22:58 -0400
17323
+
17324
+
17325
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:22:58 -0400
17326
+
17327
+
17328
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:22:58 -0400
17329
+
17330
+
17331
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:22:58 -0400
17332
+
17333
+
17334
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:22:58 -0400
17335
+
17336
+
17337
+ Started GET "/" for ::1 at 2015-05-05 16:23:05 -0400
17338
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17339
+ Processing by AddressesDemoController#index as HTML
17340
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17341
+ Rendered addresses_demo/_form.html.erb (140.8ms)
17342
+ Rendered addresses_demo/_form.html.erb (28.4ms)
17343
+ Rendered addresses_demo/_form.html.erb (28.5ms)
17344
+ Rendered addresses_demo/index.html.erb within layouts/application (208.4ms)
17345
+ Completed 200 OK in 391ms (Views: 389.1ms | ActiveRecord: 0.6ms)
17346
+
17347
+
17348
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:23:06 -0400
17349
+
17350
+
17351
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:23:06 -0400
17352
+
17353
+
17354
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:23:06 -0400
17355
+
17356
+
17357
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:23:06 -0400
17358
+
17359
+
17360
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:23:06 -0400
17361
+
17362
+
17363
+ Started GET "/subdivisions?country_code=" for ::1 at 2015-05-05 16:23:19 -0400
17364
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17365
+ Parameters: {"country_code"=>""}
17366
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
17367
+
17368
+
17369
+ Started PATCH "/1" for ::1 at 2015-05-05 16:23:20 -0400
17370
+ Processing by AddressesDemoController#update as HTML
17371
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"PYx7cU4ck+pQ7C/qSD5328ZmAA2ApleWXC6wfNlC3XGIEz6sfcJcEkS24gjx9PNU32h1DSGyKS3y1j52/H5SDw==", "address"=>{"title"=>"Afghan", "country"=>""}, "commit"=>"Update Address", "id"=>"1"}
17372
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 1]]
17373
+  (0.1ms) begin transaction
17374
+ SQL (0.5ms) UPDATE "addresses" SET "country" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["country", ""], ["updated_at", "2015-05-05 20:23:20.728399"], ["id", 1]]
17375
+  (0.7ms) commit transaction
17376
+ Redirected to http://localhost:3000/
17377
+ Completed 302 Found in 17ms (ActiveRecord: 1.6ms)
17378
+
17379
+
17380
+ Started GET "/" for ::1 at 2015-05-05 16:23:20 -0400
17381
+ Processing by AddressesDemoController#index as HTML
17382
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
17383
+ Rendered addresses_demo/_form.html.erb (30.9ms)
17384
+ Rendered addresses_demo/_form.html.erb (57.2ms)
17385
+ Rendered addresses_demo/_form.html.erb (37.7ms)
17386
+ Rendered addresses_demo/index.html.erb within layouts/application (129.2ms)
17387
+ Completed 200 OK in 154ms (Views: 153.2ms | ActiveRecord: 0.3ms)
17388
+
17389
+
17390
+ Started GET "/" for ::1 at 2015-05-05 16:23:34 -0400
17391
+ Processing by AddressesDemoController#index as HTML
17392
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17393
+ Rendered addresses_demo/_form.html.erb (32.3ms)
17394
+ Rendered addresses_demo/_form.html.erb (32.8ms)
17395
+ Rendered addresses_demo/_form.html.erb (83.4ms)
17396
+ Rendered addresses_demo/index.html.erb within layouts/application (151.8ms)
17397
+ Completed 200 OK in 172ms (Views: 171.5ms | ActiveRecord: 0.2ms)
17398
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17399
+
17400
+
17401
+ Started GET "/" for ::1 at 2015-05-05 16:29:03 -0400
17402
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17403
+ Processing by AddressesDemoController#index as HTML
17404
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17405
+ Rendered addresses_demo/_form.html.erb (132.2ms)
17406
+ Rendered addresses_demo/_form.html.erb (27.5ms)
17407
+ Rendered addresses_demo/_form.html.erb (29.2ms)
17408
+ Rendered addresses_demo/index.html.erb within layouts/application (198.9ms)
17409
+ Completed 200 OK in 375ms (Views: 372.6ms | ActiveRecord: 0.5ms)
17410
+
17411
+
17412
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:29:03 -0400
17413
+
17414
+
17415
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:29:03 -0400
17416
+
17417
+
17418
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:29:03 -0400
17419
+
17420
+
17421
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:29:03 -0400
17422
+
17423
+
17424
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:29:03 -0400
17425
+
17426
+
17427
+ Started GET "/" for ::1 at 2015-05-05 16:29:11 -0400
17428
+ Processing by AddressesDemoController#index as HTML
17429
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
17430
+ Rendered addresses_demo/_form.html.erb (39.3ms)
17431
+ Rendered addresses_demo/_form.html.erb (49.0ms)
17432
+ Rendered addresses_demo/_form.html.erb (32.2ms)
17433
+ Rendered addresses_demo/index.html.erb within layouts/application (123.6ms)
17434
+ Completed 200 OK in 144ms (Views: 143.0ms | ActiveRecord: 0.3ms)
17435
+
17436
+
17437
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:29:11 -0400
17438
+
17439
+
17440
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:29:11 -0400
17441
+
17442
+
17443
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:29:11 -0400
17444
+
17445
+
17446
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:29:11 -0400
17447
+
17448
+
17449
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:29:11 -0400
17450
+
17451
+
17452
+ Started GET "/" for ::1 at 2015-05-05 16:29:12 -0400
17453
+ Processing by AddressesDemoController#index as HTML
17454
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
17455
+ Rendered addresses_demo/_form.html.erb (31.3ms)
17456
+ Rendered addresses_demo/_form.html.erb (32.7ms)
17457
+ Rendered addresses_demo/_form.html.erb (82.7ms)
17458
+ Rendered addresses_demo/index.html.erb within layouts/application (150.1ms)
17459
+ Completed 200 OK in 173ms (Views: 172.1ms | ActiveRecord: 0.3ms)
17460
+
17461
+
17462
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:29:13 -0400
17463
+
17464
+
17465
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:29:13 -0400
17466
+
17467
+
17468
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:29:13 -0400
17469
+
17470
+
17471
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:29:13 -0400
17472
+
17473
+
17474
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:29:13 -0400
17475
+
17476
+
17477
+ Started GET "/" for ::1 at 2015-05-05 16:29:17 -0400
17478
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17479
+ Processing by AddressesDemoController#index as HTML
17480
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17481
+ Rendered addresses_demo/_form.html.erb (139.5ms)
17482
+ Rendered addresses_demo/_form.html.erb (30.9ms)
17483
+ Rendered addresses_demo/_form.html.erb (29.7ms)
17484
+ Rendered addresses_demo/index.html.erb within layouts/application (210.5ms)
17485
+ Completed 200 OK in 402ms (Views: 400.2ms | ActiveRecord: 0.5ms)
17486
+
17487
+
17488
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:29:18 -0400
17489
+
17490
+
17491
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:29:18 -0400
17492
+
17493
+
17494
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:29:18 -0400
17495
+
17496
+
17497
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:29:18 -0400
17498
+
17499
+
17500
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:29:18 -0400
17501
+
17502
+
17503
+ Started GET "/" for ::1 at 2015-05-05 16:29:44 -0400
17504
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17505
+ Processing by AddressesDemoController#index as HTML
17506
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17507
+ Rendered addresses_demo/_form.html.erb (122.8ms)
17508
+ Rendered addresses_demo/index.html.erb within layouts/application (133.2ms)
17509
+ Completed 500 Internal Server Error in 139ms (ActiveRecord: 0.7ms)
17510
+
17511
+ ActionView::Template::Error (wrong number of arguments (0 for 1)):
17512
+ 17:
17513
+ 18: <div class="field">
17514
+ 19: <%= f.label(:subdivision, "State / Province") %><br />
17515
+ 20: <%= f.subdivision_select(:subdivision, address.country, include_blank: true ) %>
17516
+ 21: </div>
17517
+ 22:
17518
+ 23: <div class="field">
17519
+ app/views/addresses_demo/_form.html.erb:20:in `block in _app_views_addresses_demo__form_html_erb___3375434946733361570_70102431973600'
17520
+ app/views/addresses_demo/_form.html.erb:2:in `_app_views_addresses_demo__form_html_erb___3375434946733361570_70102431973600'
17521
+ app/views/addresses_demo/index.html.erb:5:in `block in _app_views_addresses_demo_index_html_erb__122601752567523244_70102400927580'
17522
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__122601752567523244_70102400927580'
17523
+
17524
+
17525
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms)
17526
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms)
17527
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.1ms)
17528
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (35.2ms)
17529
+
17530
+
17531
+ Started GET "/" for ::1 at 2015-05-05 16:30:01 -0400
17532
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17533
+ Processing by AddressesDemoController#index as HTML
17534
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17535
+ Rendered addresses_demo/_form.html.erb (160.9ms)
17536
+ Rendered addresses_demo/index.html.erb within layouts/application (173.6ms)
17537
+ Completed 500 Internal Server Error in 181ms (ActiveRecord: 0.6ms)
17538
+
17539
+ ActionView::Template::Error (wrong number of arguments (0 for 1)):
17540
+ 17:
17541
+ 18: <div class="field">
17542
+ 19: <%= f.label(:subdivision, "State / Province") %><br />
17543
+ 20: <%= f.subdivision_select(:subdivision, address.country, include_blank: true ) %>
17544
+ 21: </div>
17545
+ 22:
17546
+ 23: <div class="field">
17547
+ app/views/addresses_demo/_form.html.erb:20:in `block in _app_views_addresses_demo__form_html_erb__3288773655918353416_70156845904300'
17548
+ app/views/addresses_demo/_form.html.erb:2:in `_app_views_addresses_demo__form_html_erb__3288773655918353416_70156845904300'
17549
+ app/views/addresses_demo/index.html.erb:5:in `block in _app_views_addresses_demo_index_html_erb__2110869883886621339_70156864914820'
17550
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__2110869883886621339_70156864914820'
17551
+
17552
+
17553
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.7ms)
17554
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms)
17555
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.1ms)
17556
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (34.2ms)
17557
+
17558
+
17559
+ Started GET "/" for ::1 at 2015-05-05 16:30:02 -0400
17560
+ Processing by AddressesDemoController#index as HTML
17561
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17562
+ Rendered addresses_demo/_form.html.erb (28.6ms)
17563
+ Rendered addresses_demo/index.html.erb within layouts/application (30.0ms)
17564
+ Completed 500 Internal Server Error in 32ms (ActiveRecord: 0.2ms)
17565
+
17566
+ ActionView::Template::Error (wrong number of arguments (0 for 1)):
17567
+ 17:
17568
+ 18: <div class="field">
17569
+ 19: <%= f.label(:subdivision, "State / Province") %><br />
17570
+ 20: <%= f.subdivision_select(:subdivision, address.country, include_blank: true ) %>
17571
+ 21: </div>
17572
+ 22:
17573
+ 23: <div class="field">
17574
+ app/views/addresses_demo/_form.html.erb:20:in `block in _app_views_addresses_demo__form_html_erb__3288773655918353416_70156845904300'
17575
+ app/views/addresses_demo/_form.html.erb:2:in `_app_views_addresses_demo__form_html_erb__3288773655918353416_70156845904300'
17576
+ app/views/addresses_demo/index.html.erb:5:in `block in _app_views_addresses_demo_index_html_erb__2110869883886621339_70156864914820'
17577
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__2110869883886621339_70156864914820'
17578
+
17579
+
17580
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms)
17581
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms)
17582
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
17583
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.3ms)
17584
+
17585
+
17586
+ Started GET "/" for ::1 at 2015-05-05 16:30:15 -0400
17587
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17588
+ Processing by AddressesDemoController#index as HTML
17589
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
17590
+ Rendered addresses_demo/_form.html.erb (143.3ms)
17591
+ Rendered addresses_demo/index.html.erb within layouts/application (156.0ms)
17592
+ Completed 500 Internal Server Error in 164ms (ActiveRecord: 1.0ms)
17593
+
17594
+ ActionView::Template::Error (wrong number of arguments (0 for 1)):
17595
+ 17:
17596
+ 18: <div class="field">
17597
+ 19: <%= f.label(:subdivision, "State / Province") %><br />
17598
+ 20: <%= f.subdivision_select(:subdivision, address.country, include_blank: true ) %>
17599
+ 21: </div>
17600
+ 22:
17601
+ 23: <div class="field">
17602
+ app/views/addresses_demo/_form.html.erb:20:in `block in _app_views_addresses_demo__form_html_erb___4480495767788241420_70147389518260'
17603
+ app/views/addresses_demo/_form.html.erb:2:in `_app_views_addresses_demo__form_html_erb___4480495767788241420_70147389518260'
17604
+ app/views/addresses_demo/index.html.erb:5:in `block in _app_views_addresses_demo_index_html_erb__2256095953905403206_70147403354480'
17605
+ app/views/addresses_demo/index.html.erb:3:in `_app_views_addresses_demo_index_html_erb__2256095953905403206_70147403354480'
17606
+
17607
+
17608
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.2ms)
17609
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms)
17610
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.5ms)
17611
+ Rendered /Users/sean/.gem/ruby/2.1.6/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (39.8ms)
17612
+
17613
+
17614
+ Started GET "/" for ::1 at 2015-05-05 16:30:52 -0400
17615
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17616
+ Processing by AddressesDemoController#index as HTML
17617
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17618
+ Rendered addresses_demo/_form.html.erb (149.6ms)
17619
+ Rendered addresses_demo/_form.html.erb (31.9ms)
17620
+ Rendered addresses_demo/_form.html.erb (32.6ms)
17621
+ Rendered addresses_demo/index.html.erb within layouts/application (224.7ms)
17622
+ Completed 200 OK in 411ms (Views: 408.5ms | ActiveRecord: 0.5ms)
17623
+
17624
+
17625
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:30:53 -0400
17626
+
17627
+
17628
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:30:53 -0400
17629
+
17630
+
17631
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:30:53 -0400
17632
+
17633
+
17634
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:30:53 -0400
17635
+
17636
+
17637
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:30:53 -0400
17638
+
17639
+
17640
+ Started GET "/" for 127.0.0.1 at 2015-05-05 16:31:11 -0400
17641
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
17642
+ Processing by AddressesDemoController#index as HTML
17643
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses"
17644
+ Rendered addresses_demo/_form.html.erb (141.3ms)
17645
+ Rendered addresses_demo/_form.html.erb (30.5ms)
17646
+ Rendered addresses_demo/_form.html.erb (27.4ms)
17647
+ Rendered addresses_demo/index.html.erb within layouts/application (210.3ms)
17648
+ Completed 200 OK in 395ms (Views: 392.6ms | ActiveRecord: 0.7ms)
17649
+
17650
+
17651
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for 127.0.0.1 at 2015-05-05 16:31:11 -0400
17652
+
17653
+
17654
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-05-05 16:31:11 -0400
17655
+
17656
+
17657
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-05-05 16:31:11 -0400
17658
+
17659
+
17660
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for 127.0.0.1 at 2015-05-05 16:31:11 -0400
17661
+
17662
+
17663
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for 127.0.0.1 at 2015-05-05 16:31:11 -0400
17664
+
17665
+
17666
+ Started GET "/subdivisions?country_code=AL" for 127.0.0.1 at 2015-05-05 16:31:23 -0400
17667
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17668
+ Parameters: {"country_code"=>"AL"}
17669
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
17670
+
17671
+
17672
+ Started PATCH "/1" for 127.0.0.1 at 2015-05-05 16:31:26 -0400
17673
+ Processing by AddressesDemoController#update as HTML
17674
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"yWk+zsgm04ia6P4WwmH5tVQqA0LcSzfwMrAuFG05ua589nsT+/gccI6yM/R7q306TSR2Qn1fSUucSKAeSAU20A==", "address"=>{"title"=>"Afghan", "country"=>"AL", "subdivision"=>""}, "commit"=>"Update Address", "id"=>"1"}
17675
+ Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 1]]
17676
+  (0.1ms) begin transaction
17677
+ SQL (0.6ms) UPDATE "addresses" SET "subdivision" = ?, "country" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["subdivision", ""], ["country", "AL"], ["updated_at", "2015-05-05 20:31:26.427787"], ["id", 1]]
17678
+  (1.7ms) commit transaction
17679
+ Redirected to http://localhost:3000/
17680
+ Completed 302 Found in 25ms (ActiveRecord: 2.8ms)
17681
+
17682
+
17683
+ Started GET "/" for 127.0.0.1 at 2015-05-05 16:31:26 -0400
17684
+ Processing by AddressesDemoController#index as HTML
17685
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17686
+ Rendered addresses_demo/_form.html.erb (49.3ms)
17687
+ Rendered addresses_demo/_form.html.erb (89.1ms)
17688
+ Rendered addresses_demo/_form.html.erb (46.7ms)
17689
+ Rendered addresses_demo/index.html.erb within layouts/application (189.0ms)
17690
+ Completed 200 OK in 235ms (Views: 234.8ms | ActiveRecord: 0.2ms)
17691
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17692
+
17693
+
17694
+ Started PATCH "/2" for 127.0.0.1 at 2015-05-05 16:31:38 -0400
17695
+ Processing by AddressesDemoController#update as HTML
17696
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"QNlL0dxOHyCv3vft0IwfblKGv99qCUlBCpoggcf7i7z1Rg4M75DQ2LuEOg9pRpvhS4jK38sdN/qkYq6L4scEwg==", "address"=>{"title"=>"Massachusetts, USA", "country"=>"US", "subdivision"=>""}, "commit"=>"Update Address", "id"=>"2"}
17697
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 2]]
17698
+  (0.1ms) begin transaction
17699
+ SQL (0.7ms) UPDATE "addresses" SET "subdivision" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["subdivision", ""], ["updated_at", "2015-05-05 20:31:38.156480"], ["id", 2]]
17700
+  (1.8ms) commit transaction
17701
+ Redirected to http://localhost:3000/
17702
+ Completed 302 Found in 7ms (ActiveRecord: 2.8ms)
17703
+
17704
+
17705
+ Started GET "/" for 127.0.0.1 at 2015-05-05 16:31:38 -0400
17706
+ Processing by AddressesDemoController#index as HTML
17707
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17708
+ Rendered addresses_demo/_form.html.erb (36.0ms)
17709
+ Rendered addresses_demo/_form.html.erb (84.1ms)
17710
+ Rendered addresses_demo/_form.html.erb (42.6ms)
17711
+ Rendered addresses_demo/index.html.erb within layouts/application (166.1ms)
17712
+ Completed 200 OK in 186ms (Views: 185.1ms | ActiveRecord: 0.2ms)
17713
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1 OFFSET 1
17714
+
17715
+
17716
+ Started GET "/" for ::1 at 2015-05-05 16:32:16 -0400
17717
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17718
+ Processing by AddressesDemoController#index as HTML
17719
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17720
+ Rendered addresses_demo/_form.html.erb (135.0ms)
17721
+ Rendered addresses_demo/_form.html.erb (30.4ms)
17722
+ Rendered addresses_demo/_form.html.erb (29.5ms)
17723
+ Rendered addresses_demo/index.html.erb within layouts/application (206.0ms)
17724
+ Completed 200 OK in 398ms (Views: 396.4ms | ActiveRecord: 0.6ms)
17725
+
17726
+
17727
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 16:32:17 -0400
17728
+
17729
+
17730
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 16:32:17 -0400
17731
+
17732
+
17733
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 16:32:17 -0400
17734
+
17735
+
17736
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 16:32:17 -0400
17737
+
17738
+
17739
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 16:32:17 -0400
17740
+
17741
+
17742
+ Started PATCH "/2" for ::1 at 2015-05-05 16:32:23 -0400
17743
+ Processing by AddressesDemoController#update as HTML
17744
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Nd+rHwTJHAsvDnEvmal5PslIKlmUAC55xvbKcFtSg7qAQO7CNxfT8ztUvM0gY/2x0EZfWTUUUMJoDkR6fm4MxA==", "address"=>{"title"=>"Massachusetts, USA", "country"=>"US", "subdivision"=>"MA"}, "commit"=>"Update Address", "id"=>"2"}
17745
+ Address Load (0.4ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 2]]
17746
+  (0.1ms) begin transaction
17747
+ SQL (1.2ms) UPDATE "addresses" SET "subdivision" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["subdivision", "MA"], ["updated_at", "2015-05-05 20:32:23.733633"], ["id", 2]]
17748
+  (1.0ms) commit transaction
17749
+ Redirected to http://localhost:3000/
17750
+ Completed 302 Found in 17ms (ActiveRecord: 2.6ms)
17751
+
17752
+
17753
+ Started GET "/" for ::1 at 2015-05-05 16:32:23 -0400
17754
+ Processing by AddressesDemoController#index as HTML
17755
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17756
+ Rendered addresses_demo/_form.html.erb (34.4ms)
17757
+ Rendered addresses_demo/_form.html.erb (50.7ms)
17758
+ Rendered addresses_demo/_form.html.erb (31.9ms)
17759
+ Rendered addresses_demo/index.html.erb within layouts/application (119.8ms)
17760
+ Completed 200 OK in 144ms (Views: 143.1ms | ActiveRecord: 0.2ms)
17761
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1 OFFSET 1
17762
+
17763
+
17764
+ Started GET "/subdivisions?country_code=TW" for ::1 at 2015-05-05 16:32:33 -0400
17765
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17766
+ Parameters: {"country_code"=>"TW"}
17767
+ Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)
17768
+
17769
+
17770
+ Started GET "/subdivisions?country_code=TJ" for ::1 at 2015-05-05 16:32:35 -0400
17771
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17772
+ Parameters: {"country_code"=>"TJ"}
17773
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
17774
+
17775
+
17776
+ Started GET "/subdivisions?country_code=TZ" for ::1 at 2015-05-05 16:32:37 -0400
17777
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17778
+ Parameters: {"country_code"=>"TZ"}
17779
+ Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.0ms)
17780
+
17781
+
17782
+ Started GET "/subdivisions?country_code=ID" for ::1 at 2015-05-05 16:32:41 -0400
17783
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17784
+ Parameters: {"country_code"=>"ID"}
17785
+ Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)
17786
+
17787
+
17788
+ Started GET "/subdivisions?country_code=AX" for ::1 at 2015-05-05 16:32:43 -0400
17789
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
17790
+ Parameters: {"country_code"=>"AX"}
17791
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
17792
+
17793
+
17794
+ Started PATCH "/2" for ::1 at 2015-05-05 16:32:44 -0400
17795
+ Processing by AddressesDemoController#update as HTML
17796
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"IOzjYGis6OW7ItH7n8fk3VMR1kQtMYnGowv83cLnQBiVc6a9W3InHa94HBkmDWBSSh+jRIwl930N83LX59vPZg==", "address"=>{"title"=>"Massachusetts, USA", "country"=>"AX", "subdivision"=>""}, "commit"=>"Update Address", "id"=>"2"}
17797
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 2]]
17798
+  (0.1ms) begin transaction
17799
+ SQL (0.3ms) UPDATE "addresses" SET "subdivision" = ?, "country" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["subdivision", ""], ["country", "AX"], ["updated_at", "2015-05-05 20:32:44.293972"], ["id", 2]]
17800
+  (0.7ms) commit transaction
17801
+ Redirected to http://localhost:3000/
17802
+ Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
17803
+
17804
+
17805
+ Started GET "/" for ::1 at 2015-05-05 16:32:44 -0400
17806
+ Processing by AddressesDemoController#index as HTML
17807
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17808
+ Rendered addresses_demo/_form.html.erb (32.1ms)
17809
+ Rendered addresses_demo/_form.html.erb (80.3ms)
17810
+ Rendered addresses_demo/_form.html.erb (36.4ms)
17811
+ Rendered addresses_demo/index.html.erb within layouts/application (151.5ms)
17812
+ Completed 200 OK in 174ms (Views: 173.5ms | ActiveRecord: 0.2ms)
17813
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1 OFFSET 1
17814
+
17815
+
17816
+ Started GET "/" for ::1 at 2015-05-05 18:44:28 -0400
17817
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
17818
+ Processing by AddressesDemoController#index as HTML
17819
+ Address Load (0.5ms) SELECT "addresses".* FROM "addresses"
17820
+ Rendered addresses_demo/_form.html.erb (137.0ms)
17821
+ Rendered addresses_demo/_form.html.erb (28.5ms)
17822
+ Rendered addresses_demo/_form.html.erb (28.6ms)
17823
+ Rendered addresses_demo/index.html.erb within layouts/application (205.0ms)
17824
+ Completed 200 OK in 407ms (Views: 403.9ms | ActiveRecord: 0.9ms)
17825
+
17826
+
17827
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 18:44:29 -0400
17828
+
17829
+
17830
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 18:44:29 -0400
17831
+
17832
+
17833
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 18:44:29 -0400
17834
+
17835
+
17836
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 18:44:29 -0400
17837
+
17838
+
17839
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 18:44:29 -0400
17840
+
17841
+
17842
+ Started GET "/" for ::1 at 2015-05-05 18:45:15 -0400
17843
+ Processing by AddressesDemoController#index as HTML
17844
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17845
+ Rendered addresses_demo/_form.html.erb (31.0ms)
17846
+ Rendered addresses_demo/_form.html.erb (27.6ms)
17847
+ Rendered addresses_demo/_form.html.erb (45.7ms)
17848
+ Rendered addresses_demo/index.html.erb within layouts/application (107.1ms)
17849
+ Completed 200 OK in 127ms (Views: 126.5ms | ActiveRecord: 0.2ms)
17850
+
17851
+
17852
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 18:45:16 -0400
17853
+
17854
+
17855
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 18:45:16 -0400
17856
+
17857
+
17858
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 18:45:16 -0400
17859
+
17860
+
17861
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 18:45:16 -0400
17862
+
17863
+
17864
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 18:45:16 -0400
17865
+
17866
+
17867
+ Started GET "/" for ::1 at 2015-05-05 18:45:35 -0400
17868
+ Processing by AddressesDemoController#index as HTML
17869
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17870
+ Rendered addresses_demo/_form.html.erb (29.5ms)
17871
+ Rendered addresses_demo/_form.html.erb (31.4ms)
17872
+ Rendered addresses_demo/_form.html.erb (75.6ms)
17873
+ Rendered addresses_demo/index.html.erb within layouts/application (139.8ms)
17874
+ Completed 200 OK in 160ms (Views: 159.4ms | ActiveRecord: 0.2ms)
17875
+
17876
+
17877
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 18:45:35 -0400
17878
+
17879
+
17880
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 18:45:35 -0400
17881
+
17882
+
17883
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 18:45:35 -0400
17884
+
17885
+
17886
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 18:45:35 -0400
17887
+
17888
+
17889
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 18:45:35 -0400
17890
+  (1.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar) 
17891
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
17892
+  (0.1ms) select sqlite_version(*)
17893
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17894
+  (0.2ms) SELECT version FROM "schema_migrations"
17895
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
17896
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
17897
+  (1.0ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar)
17898
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
17899
+  (0.1ms) select sqlite_version(*)
17900
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17901
+  (0.1ms) SELECT version FROM "schema_migrations"
17902
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
17903
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
17904
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17905
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17906
+  (0.1ms) begin transaction
17907
+ SQL (0.3ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Empty"], ["created_at", "2015-05-05 22:45:43.471279"], ["updated_at", "2015-05-05 22:45:43.471279"]]
17908
+  (0.8ms) commit transaction
17909
+  (0.0ms) begin transaction
17910
+ SQL (0.2ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Massachusetts, USA"], ["created_at", "2015-05-05 22:45:43.475287"], ["updated_at", "2015-05-05 22:45:43.475287"]]
17911
+  (0.8ms) commit transaction
17912
+  (0.0ms) begin transaction
17913
+ SQL (0.2ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Ireland"], ["created_at", "2015-05-05 22:45:43.477189"], ["updated_at", "2015-05-05 22:45:43.477189"]]
17914
+  (0.8ms) commit transaction
17915
+
17916
+
17917
+ Started GET "/" for ::1 at 2015-05-05 18:45:53 -0400
17918
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17919
+ Processing by AddressesDemoController#index as HTML
17920
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
17921
+ Rendered addresses_demo/_form.html.erb (144.6ms)
17922
+ Rendered addresses_demo/_form.html.erb (24.7ms)
17923
+ Rendered addresses_demo/_form.html.erb (29.4ms)
17924
+ Rendered addresses_demo/index.html.erb within layouts/application (210.8ms)
17925
+ Completed 200 OK in 405ms (Views: 402.3ms | ActiveRecord: 0.6ms)
17926
+
17927
+
17928
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 18:45:53 -0400
17929
+
17930
+
17931
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 18:45:53 -0400
17932
+
17933
+
17934
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 18:45:53 -0400
17935
+
17936
+
17937
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 18:45:53 -0400
17938
+
17939
+
17940
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 18:45:53 -0400
17941
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17942
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" DESC LIMIT 1
17943
+  (3.5ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar) 
17944
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
17945
+  (0.1ms) select sqlite_version(*)
17946
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17947
+  (0.2ms) SELECT version FROM "schema_migrations"
17948
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
17949
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
17950
+  (1.0ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar)
17951
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
17952
+  (0.1ms) select sqlite_version(*)
17953
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17954
+  (0.1ms) SELECT version FROM "schema_migrations"
17955
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
17956
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
17957
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17958
+  (0.1ms) begin transaction
17959
+ SQL (0.3ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Empty"], ["created_at", "2015-05-05 22:47:19.599177"], ["updated_at", "2015-05-05 22:47:19.599177"]]
17960
+  (0.8ms) commit transaction
17961
+  (0.0ms) begin transaction
17962
+ SQL (0.2ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Massachusetts, USA"], ["created_at", "2015-05-05 22:47:19.603196"], ["updated_at", "2015-05-05 22:47:19.603196"]]
17963
+  (0.8ms) commit transaction
17964
+  (0.0ms) begin transaction
17965
+ SQL (0.2ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Ireland, without subdivision"], ["created_at", "2015-05-05 22:47:19.605168"], ["updated_at", "2015-05-05 22:47:19.605168"]]
17966
+  (0.9ms) commit transaction
17967
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
17968
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" DESC LIMIT 1
17969
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1 OFFSET 1
17970
+  (0.1ms) begin transaction
17971
+ SQL (0.4ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "hey"], ["created_at", "2015-05-05 22:48:07.365253"], ["updated_at", "2015-05-05 22:48:07.365253"]]
17972
+  (2.5ms) commit transaction
17973
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" DESC LIMIT 1
17974
+  (0.1ms) begin transaction
17975
+ SQL (0.5ms) INSERT INTO "addresses" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-05 22:49:03.348158"], ["updated_at", "2015-05-05 22:49:03.348158"]]
17976
+  (3.3ms) commit transaction
17977
+ Address Load (0.3ms) SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" DESC LIMIT 1
17978
+  (0.1ms) begin transaction
17979
+ SQL (1.0ms) INSERT INTO "addresses" ("title", "country", "subdivision", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "hey"], ["country", "US"], ["subdivision", "MA"], ["created_at", "2015-05-05 22:50:23.640584"], ["updated_at", "2015-05-05 22:50:23.640584"]]
17980
+  (2.2ms) commit transaction
17981
+  (3.8ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar) 
17982
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
17983
+  (0.1ms) select sqlite_version(*)
17984
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17985
+  (0.2ms) SELECT version FROM "schema_migrations"
17986
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
17987
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
17988
+  (3.5ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "country" varchar, "subdivision" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar)
17989
+  (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
17990
+  (0.1ms) select sqlite_version(*)
17991
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17992
+  (0.2ms) SELECT version FROM "schema_migrations"
17993
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505182454')
17994
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150505181543')
17995
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17996
+  (0.1ms) begin transaction
17997
+ SQL (0.4ms) INSERT INTO "addresses" ("title", "created_at", "updated_at") VALUES (?, ?, ?) [["title", "Empty"], ["created_at", "2015-05-05 22:50:34.829852"], ["updated_at", "2015-05-05 22:50:34.829852"]]
17998
+  (1.0ms) commit transaction
17999
+  (0.0ms) begin transaction
18000
+ SQL (0.4ms) INSERT INTO "addresses" ("title", "country", "subdivision", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Massachusetts, USA"], ["country", "US"], ["subdivision", "MA"], ["created_at", "2015-05-05 22:50:34.834755"], ["updated_at", "2015-05-05 22:50:34.834755"]]
18001
+  (1.0ms) commit transaction
18002
+  (0.1ms) begin transaction
18003
+ SQL (0.3ms) INSERT INTO "addresses" ("title", "country", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Ireland, without subdivision"], ["country", "IE"], ["created_at", "2015-05-05 22:50:34.838689"], ["updated_at", "2015-05-05 22:50:34.838689"]]
18004
+  (2.3ms) commit transaction
18005
+
18006
+
18007
+ Started GET "/" for ::1 at 2015-05-05 18:50:57 -0400
18008
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
18009
+ Processing by AddressesDemoController#index as HTML
18010
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
18011
+ Rendered addresses_demo/_form.html.erb (134.9ms)
18012
+ Rendered addresses_demo/_form.html.erb (31.8ms)
18013
+ Rendered addresses_demo/_form.html.erb (27.9ms)
18014
+ Rendered addresses_demo/index.html.erb within layouts/application (205.9ms)
18015
+ Completed 200 OK in 390ms (Views: 387.8ms | ActiveRecord: 0.6ms)
18016
+
18017
+
18018
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 18:50:58 -0400
18019
+
18020
+
18021
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 18:50:58 -0400
18022
+
18023
+
18024
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 18:50:58 -0400
18025
+
18026
+
18027
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 18:50:58 -0400
18028
+
18029
+
18030
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 18:50:58 -0400
18031
+
18032
+
18033
+ Started PATCH "/1" for ::1 at 2015-05-05 18:52:26 -0400
18034
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
18035
+ Processing by AddressesDemoController#update as HTML
18036
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"2SHfiBRto6LfroTnnNrHAN3Dt0qCYh6rMvJ3NW+hpJRsvppVJ7NsWsv0SQUlEEOPxM3CSiN2YBCcCvk/Sp0r6g==", "address"=>{"title"=>"Empty2", "country"=>"", "subdivision"=>""}, "commit"=>"Update Address", "id"=>"1"}
18037
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 1]]
18038
+  (0.1ms) begin transaction
18039
+ SQL (0.6ms) UPDATE "addresses" SET "title" = ?, "subdivision" = ?, "country" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["title", "Empty2"], ["subdivision", ""], ["country", ""], ["updated_at", "2015-05-05 22:52:26.470989"], ["id", 1]]
18040
+  (0.7ms) commit transaction
18041
+ Redirected to http://localhost:3000/
18042
+ Completed 302 Found in 32ms (ActiveRecord: 2.0ms)
18043
+
18044
+
18045
+ Started GET "/" for ::1 at 2015-05-05 18:52:26 -0400
18046
+ Processing by AddressesDemoController#index as HTML
18047
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
18048
+ Rendered addresses_demo/_form.html.erb (127.3ms)
18049
+ Rendered addresses_demo/_form.html.erb (29.6ms)
18050
+ Rendered addresses_demo/_form.html.erb (27.9ms)
18051
+ Rendered addresses_demo/index.html.erb within layouts/application (192.1ms)
18052
+ Completed 200 OK in 375ms (Views: 374.7ms | ActiveRecord: 0.2ms)
18053
+
18054
+
18055
+ Started GET "/assets/addresses_demo.self-7c6d569e205b249d1b7c086937a8389357728bbbf3f4b6529569dc653196e0f0.css?body=1" for ::1 at 2015-05-05 18:52:26 -0400
18056
+
18057
+
18058
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-05-05 18:52:26 -0400
18059
+
18060
+
18061
+ Started GET "/assets/subdivision_select.self-90ed5df8c7c5ca1cff407def4abd7489ff49c1a01be97ef1f4fdce1fbc41b4a9.js?body=1" for ::1 at 2015-05-05 18:52:26 -0400
18062
+
18063
+
18064
+ Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for ::1 at 2015-05-05 18:52:26 -0400
18065
+
18066
+
18067
+ Started GET "/assets/application.self-2b00c68320848afe54cf9919a7a76ed257f93bdb6e12dc2160d07a8b1fe5e9f4.js?body=1" for ::1 at 2015-05-05 18:52:27 -0400
18068
+
18069
+
18070
+ Started GET "/subdivisions?country_code=AF" for ::1 at 2015-05-05 18:52:29 -0400
18071
+ Processing by SubdivisionSelect::SubdivisionsController#get as */*
18072
+ Parameters: {"country_code"=>"AF"}
18073
+ Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.0ms)
18074
+
18075
+
18076
+ Started PATCH "/1" for ::1 at 2015-05-05 18:52:31 -0400
18077
+ Processing by AddressesDemoController#update as HTML
18078
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ql4bC+L6uJYRwiRDRymhhVVAZqxWVpI8wMZ0b+o2HnUfwV7W0SR3bgWY6aH+4yUKTE4TrPdC7IduPvplzwqRCw==", "address"=>{"title"=>"Empty2", "country"=>"AF", "subdivision"=>"BAL"}, "commit"=>"Update Address", "id"=>"1"}
18079
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 1]]
18080
+  (0.1ms) begin transaction
18081
+ SQL (0.3ms) UPDATE "addresses" SET "subdivision" = ?, "country" = ?, "updated_at" = ? WHERE "addresses"."id" = ? [["subdivision", "BAL"], ["country", "AF"], ["updated_at", "2015-05-05 22:52:31.596426"], ["id", 1]]
18082
+  (2.1ms) commit transaction
18083
+ Redirected to http://localhost:3000/
18084
+ Completed 302 Found in 6ms (ActiveRecord: 2.6ms)
18085
+
18086
+
18087
+ Started GET "/" for ::1 at 2015-05-05 18:52:31 -0400
18088
+ Processing by AddressesDemoController#index as HTML
18089
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
18090
+ Rendered addresses_demo/_form.html.erb (35.3ms)
18091
+ Rendered addresses_demo/_form.html.erb (56.8ms)
18092
+ Rendered addresses_demo/_form.html.erb (32.5ms)
18093
+ Rendered addresses_demo/index.html.erb within layouts/application (128.1ms)
18094
+ Completed 200 OK in 149ms (Views: 148.8ms | ActiveRecord: 0.2ms)
18095
+
18096
+
18097
+ Started GET "/" for ::1 at 2015-05-05 18:52:44 -0400
18098
+ Processing by AddressesDemoController#index as HTML
18099
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses"
18100
+ Rendered addresses_demo/_form.html.erb (39.8ms)
18101
+ Rendered addresses_demo/_form.html.erb (34.3ms)
18102
+ Rendered addresses_demo/_form.html.erb (86.1ms)
18103
+ Rendered addresses_demo/index.html.erb within layouts/application (163.0ms)
18104
+ Completed 200 OK in 180ms (Views: 179.2ms | ActiveRecord: 0.2ms)