two_factor_auth 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/two_factor_auth/authentications_controller.rb +2 -1
  3. data/app/controllers/two_factor_auth/registrations_controller.rb +2 -2
  4. data/app/controllers/two_factor_auth/two_factor_auth_controller.rb +1 -2
  5. data/app/helpers/two_factor_auth/authentications_helper.rb +24 -1
  6. data/app/helpers/two_factor_auth/registrations_helper.rb +14 -1
  7. data/lib/generators/two_factor_auth/install_generator.rb +4 -0
  8. data/lib/two_factor_auth.rb +24 -9
  9. data/lib/two_factor_auth/engine.rb +7 -0
  10. data/lib/two_factor_auth/version.rb +1 -1
  11. data/test/controllers/two_factor_auth/authentications_controller_test.rb +7 -6
  12. data/test/controllers/two_factor_auth/registrations_controller_test.rb +7 -6
  13. data/test/controllers/two_factor_auth/trusted_facets_controller_test.rb +2 -1
  14. data/test/dummy/config/environments/test.rb +3 -1
  15. data/test/dummy/config/initializers/two_factor_auth.rb +1 -1
  16. data/test/dummy/db/development.sqlite3 +0 -0
  17. data/test/dummy/db/test.sqlite3 +0 -0
  18. data/test/dummy/log/development.log +2004 -0
  19. data/test/dummy/log/test.log +21119 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/23gMR8_-IjXg7R6VFJYTeYfI5Bk1pWz9cGq8bYcuJVk.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2VRoJl4_ryRqfqbshRZyyukLNeBRe43LWj0jAxWygT8.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3xxZOw1d_F3SQEOfqWbJDK7GkQZG6RFL_rML9GivIog.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6hrL0PP7EpTrDf7TE6Jy_bGZTX0YP6vt1Ek4ZV6EZgQ.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AZvyaoCJYXrzlPHaUn5jiXhx5FffjtGdmDbdcFUAFdw.cache +1 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +2 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PsO6qD3Gkku7kiCNSCLjl27Qq5KhCd_CA-N_70WNYzA.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RRPGdlAzXvxv9xR3OTJeAZ51DrgTuoR-H0hSr7tw7gI.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/W89qjVs-Q9sY5rtUb3SkjwhL30IIXe4E2Hw9Lj-puHc.cache +1 -0
  35. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XX56qn6mvgUCTqB1EZEwn5jwrN5nZg7QgMZoWarZirw.cache +1 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/X_vJiIKpNLyakGDEt551QhTBBdYNFyORGG_f2652cEU.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +3 -0
  38. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jhJyHm46ZT4ALVcHC9sT70lqgwGavwHZ0tNh4A87x18.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +2 -0
  40. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +3 -0
  41. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tTO9Y99i7uTczFALqpXjw1qu3SnPz3p3IY2y3u8Vn4w.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6hrL0PP7EpTrDf7TE6Jy_bGZTX0YP6vt1Ek4ZV6EZgQ.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AZvyaoCJYXrzlPHaUn5jiXhx5FffjtGdmDbdcFUAFdw.cache +1 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GXYGtb-l25NlDO_NLupPGzBPs5369e_JOjFRGwV-6ms.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/L2e4ZPZnUR8GRnWaRnRIjp0H3Z8vxo4zo_P0_2KSS1E.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +2 -0
  47. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/W89qjVs-Q9sY5rtUb3SkjwhL30IIXe4E2Hw9Lj-puHc.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WraqXvk499CKXtzl5ErboSwG3N_vtSYjJCMgNcHneXk.cache +1 -0
  49. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/X_vJiIKpNLyakGDEt551QhTBBdYNFyORGG_f2652cEU.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YOu-C7kJyArl6rYCUw1yoXsHhxltJRRlOMQYTpbIHL4.cache +1 -0
  51. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZW7dk38nraFCasDj58ONkcokbYpXq6uRpOLoKYf2O8E.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_wrWO3hy4ErxhAexiVHwGyHbESdk_BGYnhWAzRVQHYk.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +3 -0
  54. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/m3sLmK8aXu9kOyNiyDudVIxKOhWTTxdqP6Ygb9hqSWM.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +2 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +3 -0
  57. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vmGe_dVH5Bk-GStqPTTa0erZk50i87Lm6HwOd5BtzRg.cache +1 -0
  58. data/test/dummy/tmp/pids/server.pid +1 -0
  59. data/test/helpers/two_factor_auth/authentication_helper_test.rb +1 -1
  60. data/test/helpers/two_factor_auth/registrations_helper_test.rb +1 -1
  61. data/test/integration/navigation_test.rb +1 -1
  62. data/test/lib/two_factor_auth_test.rb +45 -24
  63. data/test/models/two_factor_auth/authentication_request_test.rb +1 -1
  64. data/test/models/two_factor_auth/authentication_response_test.rb +1 -1
  65. data/test/models/two_factor_auth/authentication_verifier_test.rb +1 -1
  66. data/test/models/two_factor_auth/client_data_test.rb +1 -1
  67. data/test/models/two_factor_auth/registration_request_test.rb +1 -1
  68. data/test/models/two_factor_auth/registration_response_test.rb +1 -1
  69. data/test/models/two_factor_auth/registration_verifier_test.rb +1 -1
  70. data/test/test_helper.rb +4 -0
  71. metadata +126 -52
  72. data/app/helpers/two_factor_auth/application_helper.rb +0 -21
  73. data/lib/two_factor_auth/authentication_hook.rb +0 -18
  74. data/lib/two_factor_auth/registration_hook.rb +0 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fcfea525b479b8bef23c20fc5d84a10305fc5486
4
- data.tar.gz: 2ebacaf54755d8b662717497b7afa13dceb400e0
3
+ metadata.gz: b42e877bb4036b2ce44893d3fa24789b6f4630e4
4
+ data.tar.gz: 8163d46109dde3338ce6ab6434fc0a441b1cfbf7
5
5
  SHA512:
6
- metadata.gz: c1df91956a6027fc493f2fe63cfc601727f5c94733c17ff4a243a1b2b2ab404d3294e51d6ba80f6aa887a455bbaaf2c65c310d22355686763a6873535fbd0155
7
- data.tar.gz: cb41b023cc6d428cf7d721bbf49e549319d9449f9c850223a96ee38e9f294d0745c1ad06d39a98268cf44b2e7e58e75332f59736b67af2190e17c5ee6a666c53
6
+ metadata.gz: e315fd9b96549f9e52d640b9dd3a50aaa9abd91e831155f66d315842e7ccd3a9e9f74790d84dc317b029c35ddc221612554bf996b76c52eb7292db31fded4426
7
+ data.tar.gz: ef6c2181da67f0d38affc96c86e2f6e9824e5c00b5cbde00a7448aed3cb7d8555fa8dd29ce03b08ba9e436097ad58b30d87f899977f79e758dd174b1cc9eb472
@@ -1,5 +1,6 @@
1
1
  module TwoFactorAuth
2
2
  class AuthenticationsController < TwoFactorAuthController
3
+ skip_before_action :two_factor_auth_registration
3
4
  skip_before_action :two_factor_auth_authentication
4
5
 
5
6
  include TwoFactorAuth::AuthenticationsHelper
@@ -18,7 +19,7 @@ module TwoFactorAuth
18
19
  client_data: ClientData.new(encoded: params[:clientData], correct_typ: 'navigator.id.getAssertion'),
19
20
  response: AuthenticationResponse.new(encoded: params[:signatureData]),
20
21
  })
21
- clear_pending_challenge
22
+ clear_pending_authentication_challenge
22
23
 
23
24
  if verifier.valid?
24
25
  user_two_factor_auth_authenticated! verifier.counter
@@ -15,11 +15,11 @@ module TwoFactorAuth
15
15
  client_data: ClientData.new(encoded: params[:clientData], correct_typ: 'navigator.id.finishEnrollment'),
16
16
  response: RegistrationResponse.new(encoded: params[:registrationData]),
17
17
  })
18
- clear_pending_challenge
18
+ clear_pending_registration_challenge
19
19
 
20
20
  if verifier.save
21
21
  user_two_factor_auth_authenticated! 0 # don't need to auth again after registration
22
- redirect_to after_two_factor_auth_registrations_path_for(current_user)
22
+ redirect_to after_two_factor_auth_registration_path_for(current_user)
23
23
  else
24
24
  flash[:alert] = "Unable to register"
25
25
  render :new, status: 406
@@ -1,6 +1,5 @@
1
1
  module TwoFactorAuth
2
2
  class TwoFactorAuthController < ApplicationController
3
- include TwoFactorAuth::ApplicationHelper
4
3
  include Devise::Controllers::Helpers
5
4
 
6
5
  protect_from_forgery with: :exception
@@ -8,7 +7,7 @@ module TwoFactorAuth
8
7
 
9
8
  private
10
9
 
11
- def after_two_factor_auth_registrations_path_for(resource)
10
+ def after_two_factor_auth_registration_path_for(resource)
12
11
  signed_in_root_path(resource)
13
12
  end
14
13
 
@@ -1,5 +1,27 @@
1
1
  module TwoFactorAuth
2
2
  module AuthenticationsHelper
3
+ def two_factor_auth_authentication
4
+ if user_signed_in? and !user_two_factor_auth_authenticated?
5
+ redirect_to new_two_factor_auth_authentication_path
6
+ return false
7
+ end
8
+ true
9
+ end
10
+
11
+ def user_two_factor_auth_authenticated?
12
+ user_session['two_factor_auth_authenticated'].present?
13
+ end
14
+
15
+ def user_two_factor_auth_authenticated! counter
16
+ Registration.authenticated(current_user, counter)
17
+ user_session['two_factor_auth_authenticated'] = Time.now
18
+ end
19
+
20
+ def user_two_factor_auth_authenticated! counter
21
+ Registration.authenticated(current_user, counter)
22
+ user_session['two_factor_auth_authenticated'] = Time.now
23
+ end
24
+
3
25
  def authentication_request
4
26
  @authentication_request ||= AuthenticationRequest.new(
5
27
  TwoFactorAuth.trusted_facet_list_url,
@@ -10,7 +32,8 @@ module TwoFactorAuth
10
32
  @authentication_request
11
33
  end
12
34
 
13
- def clear_pending_challenge
35
+ def clear_pending_authentication_challenge
36
+ @authentication_request = nil
14
37
  user_session.delete 'pending_authentication_request_challenge'
15
38
  end
16
39
  end
@@ -1,5 +1,17 @@
1
1
  module TwoFactorAuth
2
2
  module RegistrationsHelper
3
+ def user_two_factor_auth_registered?
4
+ current_user.registrations.any?
5
+ end
6
+
7
+ def two_factor_auth_registration
8
+ if user_signed_in? and !user_two_factor_auth_registered?
9
+ redirect_to new_two_factor_auth_registrations_path
10
+ return false
11
+ end
12
+ true
13
+ end
14
+
3
15
  def registration_request
4
16
  @registration_request ||= RegistrationRequest.new(
5
17
  TwoFactorAuth.trusted_facet_list_url,
@@ -10,7 +22,8 @@ module TwoFactorAuth
10
22
  @registration_request
11
23
  end
12
24
 
13
- def clear_pending_challenge
25
+ def clear_pending_registration_challenge
26
+ @registration_request = nil
14
27
  user_session.delete 'pending_registration_request_challenge'
15
28
  end
16
29
  end
@@ -16,6 +16,10 @@ module TwoFactorAuth
16
16
  Time.now.utc.strftime("%Y%m%d%H%M%S")
17
17
  end
18
18
 
19
+ def add_route
20
+ route "two_factor_auth_for :users"
21
+ end
22
+
19
23
  def copy_migration
20
24
  migration_template "migration.rb", "db/migrate/create_two_factor_auth_registrations.rb"
21
25
  end
@@ -13,12 +13,11 @@ module TwoFactorAuth
13
13
  class CantGenerateRandomNumbers < TwoFactorAuthError ; end
14
14
  class InvalidPublicKey < TwoFactorAuthError ; end
15
15
  class InvalidFacetDomain < TwoFactorAuthError ; end
16
+ class InvalidTrustedFacetListUrl < TwoFactorAuthError ; end
17
+ class InvalidFacetListDomain < TwoFactorAuthError ; end
16
18
 
17
19
 
18
20
  def self.facet_domain= facet_domain
19
- if facet_domain =~ /localhost(:\d+)?\/?$/
20
- raise InvalidFacetDomain, "Facet domain can't be localhost, edit /etc/hosts to make a custom hostname"
21
- end
22
21
  if facet_domain =~ /\.dev(:\d+)?\/?$/
23
22
  raise InvalidFacetDomain, "Facet domain needs a real TLD, not .dev. Edit /etc/hosts to make a custom hostname"
24
23
  end
@@ -34,23 +33,39 @@ module TwoFactorAuth
34
33
  end
35
34
 
36
35
  def self.trusted_facet_list_url= url
36
+ if url !~ /\Ahttps:/
37
+ raise InvalidTrustedFacetListUrl, "U2F requires HTTPS for facet urls"
38
+ end
37
39
  @trusted_facet_list_url = url
38
40
  end
39
41
 
40
42
  def self.trusted_facet_list_url
41
- @trusted_facet_list_url or "#{facet_domain}/two_factor_auth/trusted_facets"
43
+ @trusted_facet_list_url or app_id_or_facet_list
44
+ end
45
+
46
+ # We send clients the facet domain (web origin) if there are no facets,
47
+ # (typical for local dev), otherwise the full facet list (prohibits http)
48
+ def self.app_id_or_facet_list
49
+ if facets.empty?
50
+ facet_domain
51
+ else
52
+ "#{facet_domain}/two_factor_auth/trusted_facets"
53
+ end
42
54
  end
43
55
 
44
56
  def self.facets= facets
57
+ facets ||= []
58
+ if !facets.empty? and facet_domain !~ /\Ahttps:/
59
+ raise InvalidFacetDomain, "U2F requires HTTPS to use facet lists"
60
+ end
61
+ if facets.any? { |f| f !~ /\Ahttps:/ }
62
+ raise InvalidFacetListDomain, "URLs in the facet list must all be HTTPS"
63
+ end
45
64
  @facets = facets
46
65
  end
47
66
 
48
67
  def self.facets
49
- if @facets.nil? or @facets.empty?
50
- [facet_domain]
51
- else
52
- @facets
53
- end
68
+ @facets ||= []
54
69
  end
55
70
 
56
71
  def self.websafe_base64_encode str
@@ -1,5 +1,12 @@
1
1
  module TwoFactorAuth
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace TwoFactorAuth
4
+
5
+ initializer 'two_factor_auth.action_controller' do |app|
6
+ ActiveSupport.on_load :action_controller do
7
+ include TwoFactorAuth::RegistrationsHelper
8
+ include TwoFactorAuth::AuthenticationsHelper
9
+ end
10
+ end
4
11
  end
5
12
  end
@@ -1,3 +1,3 @@
1
1
  module TwoFactorAuth
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -1,4 +1,4 @@
1
- require "test_helper"
1
+ require_relative "../../test_helper"
2
2
 
3
3
  module TwoFactorAuth
4
4
  describe AuthenticationsController do
@@ -16,7 +16,7 @@ module TwoFactorAuth
16
16
  let(:signatureData) { "AQAAABAwRgIhAPueB6u8s63myrtQBT7KNOR3c4CVoNPVAiEkSOB8WGzqAiEA5zYbDQopgsVUl3d3pC947pKFSSIJs00ouC3xn3m7Pxo" }
17
17
 
18
18
  before do
19
- TwoFactorAuth.trusted_facet_list_url = "http://local.fidologin.com:3000"
19
+ TwoFactorAuth.facet_domain = "http://local.fidologin.com:3000"
20
20
  register_as current_user, registration
21
21
  end
22
22
 
@@ -36,10 +36,11 @@ module TwoFactorAuth
36
36
 
37
37
  describe "#create" do
38
38
  it "clears the pending challenge" do
39
- controller.stub(:user_session, { 'pending_authentication_request_challenge' => challenge }) do
40
- post :create, keyHandle: TwoFactorAuth.websafe_base64_encode(registration.key_handle), clientData: clientData, signatureData: signatureData
41
- controller.user_session.wont_include 'pending_authentication_request_challenge'
42
- end
39
+ controller.send(:authentication_request)
40
+ pending_challenge = controller.user_session['pending_authentication_request_challenge']
41
+ post :create, keyHandle: TwoFactorAuth.websafe_base64_encode(registration.key_handle), clientData: clientData, signatureData: signatureData
42
+ new_pending_challenge = controller.user_session['pending_authentication_request_challenge']
43
+ new_pending_challenge.wont_equal pending_challenge
43
44
  end
44
45
 
45
46
  describe "success" do
@@ -1,4 +1,4 @@
1
- require "test_helper"
1
+ require_relative "../../test_helper"
2
2
 
3
3
  module TwoFactorAuth
4
4
  describe RegistrationsController do
@@ -7,7 +7,7 @@ module TwoFactorAuth
7
7
  let(:registrationData) { "BQQqdFC3zhANYW9DmErAjFQYZjBExK22PLx-ViMOch04-wZ990aqOcF2gxS5gzSUDKzpPGXpliMk3UoXgYlC2QNuQGbQ4E5v_UrLCzT58SXg902p9JXmLboTF42QkuZXIbdea_97h96lVovJ7xrA-iWTrZiOSRVZoBZsTrCW64XMrUcwggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEUCIQCPkI4L_gHM88JrqJj_ZNRghQyC0gJyCC9RBrnfI2mDTwIgPOuEiD1AOfRaGO_EaHi-z4XyIGDhkG8-BYH-syVY5_o" }
8
8
 
9
9
  before do
10
- TwoFactorAuth.trusted_facet_list_url = "http://local.fidologin.com:3000"
10
+ TwoFactorAuth.facet_domain = "http://local.fidologin.com:3000"
11
11
  sign_in current_user
12
12
  end
13
13
 
@@ -21,10 +21,11 @@ module TwoFactorAuth
21
21
 
22
22
  describe "#create" do
23
23
  it "clears the pending challenge" do
24
- controller.stub(:user_session, { 'pending_registration_request_challenge' => '5fxazqanRHtd7AtEHBGxxDpSj6mdBF26XF4xdA9m7Jw' }) do
25
- post :create, clientData: clientData, registrationData: registrationData
26
- controller.user_session.wont_include 'pending_registration_request_challenge'
27
- end
24
+ controller.send(:registration_request)
25
+ pending_challenge = controller.user_session['pending_registration_request_challenge']
26
+ post :create, clientData: clientData, registrationData: registrationData
27
+ new_pending_challenge = controller.user_session['pending_registration_request_challenge']
28
+ new_pending_challenge.wont_equal pending_challenge
28
29
  end
29
30
 
30
31
  describe "success" do
@@ -1,8 +1,9 @@
1
- require "test_helper"
1
+ require_relative "../../test_helper"
2
2
 
3
3
  module TwoFactorAuth
4
4
  describe TrustedFacetsController do
5
5
  it "returns the list of facets as json" do
6
+ TwoFactorAuth.facet_domain = "https://www.example.net"
6
7
  TwoFactorAuth.facets = [ 'https://example.com', 'https://admin.example.com' ]
7
8
  get :index
8
9
  facets = JSON::parse(response.body)
@@ -13,7 +13,7 @@ Rails.application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
16
+ config.serve_static_files = true
17
17
  config.static_cache_control = 'public, max-age=3600'
18
18
 
19
19
  # Show full error reports and disable caching.
@@ -36,4 +36,6 @@ Rails.application.configure do
36
36
 
37
37
  # Raises error for missing translations
38
38
  # config.action_view.raise_on_missing_translations = true
39
+
40
+ config.active_support.test_order = :random
39
41
  end
@@ -10,7 +10,7 @@ elsif Rails.env.staging?
10
10
  TwoFactorAuth.facet_domain = "https://staging.example.com"
11
11
  else
12
12
  # The standard prohibits "localhost" or "local.dev", add an alias to /etc/hosts and use that
13
- TwoFactorAuth.facet_domain = "http://local2fa.example.com:3000"
13
+ TwoFactorAuth.facet_domain = "http://localhost:3000"
14
14
  end
15
15
 
16
16
  # Optional: if you want your users to be able to authenticate against multiple
Binary file
@@ -196,3 +196,2007 @@ Migrating to CreateTwoFactorAuthRegistrations (20141224135949)
196
196
  FROM sqlite_temp_master
197
197
  WHERE name='index_users_on_email' AND type='index'
198
198
  
199
+
200
+
201
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:36:48 -0500
202
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
203
+ Processing by SecretsController#index as HTML
204
+ Completed 401 Unauthorized in 15ms
205
+
206
+
207
+ Started GET "/users/sign_in" for 127.0.0.1 at 2015-03-16 14:36:48 -0500
208
+ Processing by Devise::SessionsController#new as HTML
209
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/shared/_links.html.erb (0.9ms)
210
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/sessions/new.html.erb within layouts/application (13.5ms)
211
+ Completed 200 OK in 38ms (Views: 30.3ms | ActiveRecord: 0.3ms)
212
+
213
+
214
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-16 14:36:48 -0500
215
+
216
+
217
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-16 14:36:48 -0500
218
+
219
+
220
+ Started GET "/users/sign_up" for 127.0.0.1 at 2015-03-16 14:37:19 -0500
221
+ Processing by Devise::RegistrationsController#new as HTML
222
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/shared/_links.html.erb (0.3ms)
223
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/registrations/new.html.erb within layouts/application (2.7ms)
224
+ Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
225
+
226
+
227
+ Started POST "/users" for 127.0.0.1 at 2015-03-16 14:37:25 -0500
228
+ Processing by Devise::RegistrationsController#create as HTML
229
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BzryB9dlOX6oyE0fC0ndyXehk+REYJuR8GI9c30ItTU=", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
230
+  (0.1ms) begin transaction
231
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test1@example.com' LIMIT 1
232
+ Binary data inserted for `string` type on column `encrypted_password`
233
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-03-16 19:37:25.746871"], ["email", "test1@example.com"], ["encrypted_password", "$2a$10$jlotV08vqKQGeQYET0if2uq5n2nypIoe4aCk2oOcL4EO3Keu/yGrq"], ["updated_at", "2015-03-16 19:37:25.746871"]]
234
+  (7.6ms) commit transaction
235
+  (0.1ms) begin transaction
236
+ Binary data inserted for `string` type on column `current_sign_in_ip`
237
+ Binary data inserted for `string` type on column `last_sign_in_ip`
238
+ SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2015-03-16 19:37:25.757752"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2015-03-16 19:37:25.757752"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2015-03-16 19:37:25.758636"]]
239
+  (7.2ms) commit transaction
240
+ Redirected to http://localhost:3000/
241
+ Completed 302 Found in 100ms (ActiveRecord: 15.5ms)
242
+
243
+
244
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:37:25 -0500
245
+ Processing by SecretsController#index as HTML
246
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
247
+ Rendered secrets/index.html.erb within layouts/application (0.3ms)
248
+ Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.2ms)
249
+
250
+
251
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:37:28 -0500
252
+ Processing by SecretsController#index as HTML
253
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
254
+ Rendered secrets/index.html.erb within layouts/application (0.0ms)
255
+ Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.1ms)
256
+
257
+
258
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-16 14:37:28 -0500
259
+
260
+
261
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-16 14:37:28 -0500
262
+
263
+
264
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:40:03 -0500
265
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
266
+ Processing by SecretsController#index as HTML
267
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
268
+ Rendered secrets/index.html.erb within layouts/application (0.7ms)
269
+ Completed 200 OK in 30ms (Views: 13.0ms | ActiveRecord: 0.5ms)
270
+
271
+
272
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-16 14:40:03 -0500
273
+
274
+
275
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-16 14:40:03 -0500
276
+
277
+
278
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:40:21 -0500
279
+ Processing by SecretsController#index as HTML
280
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
281
+ Completed 500 Internal Server Error in 9ms
282
+
283
+ NoMethodError (undefined method `two_factor_auth_registration' for #<SecretsController:0x007f0a97d6a3f0>):
284
+ activesupport (4.1.7) lib/active_support/callbacks.rb:424:in `block in make_lambda'
285
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `call'
286
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `block in halting'
287
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
288
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
289
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `call'
290
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `block in halting'
291
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
292
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
293
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `call'
294
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `run_callbacks'
295
+ actionpack (4.1.7) lib/abstract_controller/callbacks.rb:19:in `process_action'
296
+ actionpack (4.1.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
297
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
298
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `block in instrument'
299
+ activesupport (4.1.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
300
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `instrument'
301
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
302
+ actionpack (4.1.7) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
303
+ activerecord (4.1.7) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
304
+ actionpack (4.1.7) lib/abstract_controller/base.rb:136:in `process'
305
+ actionview (4.1.7) lib/action_view/rendering.rb:30:in `process'
306
+ actionpack (4.1.7) lib/action_controller/metal.rb:196:in `dispatch'
307
+ actionpack (4.1.7) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
308
+ actionpack (4.1.7) lib/action_controller/metal.rb:232:in `block in action'
309
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `call'
310
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
311
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:50:in `call'
312
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:73:in `block in call'
313
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `each'
314
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `call'
315
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:678:in `call'
316
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
317
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
318
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
319
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
320
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
321
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
322
+ actionpack (4.1.7) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
323
+ actionpack (4.1.7) lib/action_dispatch/middleware/flash.rb:254:in `call'
324
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
325
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
326
+ actionpack (4.1.7) lib/action_dispatch/middleware/cookies.rb:560:in `call'
327
+ activerecord (4.1.7) lib/active_record/query_cache.rb:36:in `call'
328
+ activerecord (4.1.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
329
+ activerecord (4.1.7) lib/active_record/migration.rb:380:in `call'
330
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
331
+ activesupport (4.1.7) lib/active_support/callbacks.rb:82:in `run_callbacks'
332
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
333
+ actionpack (4.1.7) lib/action_dispatch/middleware/reloader.rb:73:in `call'
334
+ actionpack (4.1.7) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
335
+ actionpack (4.1.7) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
336
+ actionpack (4.1.7) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
337
+ railties (4.1.7) lib/rails/rack/logger.rb:38:in `call_app'
338
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `block in call'
339
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `block in tagged'
340
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:26:in `tagged'
341
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `tagged'
342
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `call'
343
+ actionpack (4.1.7) lib/action_dispatch/middleware/request_id.rb:21:in `call'
344
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
345
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
346
+ activesupport (4.1.7) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
347
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
348
+ actionpack (4.1.7) lib/action_dispatch/middleware/static.rb:84:in `call'
349
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
350
+ railties (4.1.7) lib/rails/engine.rb:514:in `call'
351
+ railties (4.1.7) lib/rails/application.rb:144:in `call'
352
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
353
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
354
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
355
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
356
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
357
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
358
+
359
+
360
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
361
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
362
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
363
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.9ms)
364
+
365
+
366
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:43:27 -0500
367
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
368
+ Processing by SecretsController#index as HTML
369
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
370
+ Completed 500 Internal Server Error in 19ms
371
+
372
+ NoMethodError (undefined method `two_factor_auth_registration' for #<SecretsController:0x007f0cd8d959b8>):
373
+ activesupport (4.1.7) lib/active_support/callbacks.rb:424:in `block in make_lambda'
374
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `call'
375
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `block in halting'
376
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
377
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
378
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `call'
379
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `block in halting'
380
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
381
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
382
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `call'
383
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `run_callbacks'
384
+ actionpack (4.1.7) lib/abstract_controller/callbacks.rb:19:in `process_action'
385
+ actionpack (4.1.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
386
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
387
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `block in instrument'
388
+ activesupport (4.1.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
389
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `instrument'
390
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
391
+ actionpack (4.1.7) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
392
+ activerecord (4.1.7) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
393
+ actionpack (4.1.7) lib/abstract_controller/base.rb:136:in `process'
394
+ actionview (4.1.7) lib/action_view/rendering.rb:30:in `process'
395
+ actionpack (4.1.7) lib/action_controller/metal.rb:196:in `dispatch'
396
+ actionpack (4.1.7) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
397
+ actionpack (4.1.7) lib/action_controller/metal.rb:232:in `block in action'
398
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `call'
399
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
400
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:50:in `call'
401
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:73:in `block in call'
402
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `each'
403
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `call'
404
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:678:in `call'
405
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
406
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
407
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
408
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
409
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
410
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
411
+ actionpack (4.1.7) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
412
+ actionpack (4.1.7) lib/action_dispatch/middleware/flash.rb:254:in `call'
413
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
414
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
415
+ actionpack (4.1.7) lib/action_dispatch/middleware/cookies.rb:560:in `call'
416
+ activerecord (4.1.7) lib/active_record/query_cache.rb:36:in `call'
417
+ activerecord (4.1.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
418
+ activerecord (4.1.7) lib/active_record/migration.rb:380:in `call'
419
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
420
+ activesupport (4.1.7) lib/active_support/callbacks.rb:82:in `run_callbacks'
421
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
422
+ actionpack (4.1.7) lib/action_dispatch/middleware/reloader.rb:73:in `call'
423
+ actionpack (4.1.7) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
424
+ actionpack (4.1.7) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
425
+ actionpack (4.1.7) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
426
+ railties (4.1.7) lib/rails/rack/logger.rb:38:in `call_app'
427
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `block in call'
428
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `block in tagged'
429
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:26:in `tagged'
430
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `tagged'
431
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `call'
432
+ actionpack (4.1.7) lib/action_dispatch/middleware/request_id.rb:21:in `call'
433
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
434
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
435
+ activesupport (4.1.7) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
436
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
437
+ actionpack (4.1.7) lib/action_dispatch/middleware/static.rb:84:in `call'
438
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
439
+ railties (4.1.7) lib/rails/engine.rb:514:in `call'
440
+ railties (4.1.7) lib/rails/application.rb:144:in `call'
441
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
442
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
443
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
444
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
445
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
446
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
447
+
448
+
449
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
450
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.7ms)
451
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
452
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.2ms)
453
+
454
+
455
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:47:26 -0500
456
+
457
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::RegistrationHook):
458
+ app/controllers/secrets_controller.rb:3:in `<class:SecretsController>'
459
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
460
+
461
+
462
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.6ms)
463
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
464
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.4ms)
465
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (20.1ms)
466
+
467
+
468
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:48:17 -0500
469
+
470
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::RegistrationHook):
471
+ app/controllers/secrets_controller.rb:3:in `<class:SecretsController>'
472
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
473
+
474
+
475
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.7ms)
476
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms)
477
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.7ms)
478
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (14.2ms)
479
+
480
+
481
+ Started GET "/" for 127.0.0.1 at 2015-03-16 14:48:30 -0500
482
+ Processing by SecretsController#index as HTML
483
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
484
+ Completed 500 Internal Server Error in 8ms
485
+
486
+ NoMethodError (undefined method `two_factor_auth_registration' for #<SecretsController:0x007f0cd8ec5220>):
487
+ activesupport (4.1.7) lib/active_support/callbacks.rb:424:in `block in make_lambda'
488
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `call'
489
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `block in halting'
490
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
491
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
492
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `call'
493
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `block in halting'
494
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
495
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
496
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `call'
497
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `run_callbacks'
498
+ actionpack (4.1.7) lib/abstract_controller/callbacks.rb:19:in `process_action'
499
+ actionpack (4.1.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
500
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
501
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `block in instrument'
502
+ activesupport (4.1.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
503
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `instrument'
504
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
505
+ actionpack (4.1.7) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
506
+ activerecord (4.1.7) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
507
+ actionpack (4.1.7) lib/abstract_controller/base.rb:136:in `process'
508
+ actionview (4.1.7) lib/action_view/rendering.rb:30:in `process'
509
+ actionpack (4.1.7) lib/action_controller/metal.rb:196:in `dispatch'
510
+ actionpack (4.1.7) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
511
+ actionpack (4.1.7) lib/action_controller/metal.rb:232:in `block in action'
512
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `call'
513
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
514
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:50:in `call'
515
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:73:in `block in call'
516
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `each'
517
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `call'
518
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:678:in `call'
519
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
520
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
521
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
522
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
523
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
524
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
525
+ actionpack (4.1.7) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
526
+ actionpack (4.1.7) lib/action_dispatch/middleware/flash.rb:254:in `call'
527
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
528
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
529
+ actionpack (4.1.7) lib/action_dispatch/middleware/cookies.rb:560:in `call'
530
+ activerecord (4.1.7) lib/active_record/query_cache.rb:36:in `call'
531
+ activerecord (4.1.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
532
+ activerecord (4.1.7) lib/active_record/migration.rb:380:in `call'
533
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
534
+ activesupport (4.1.7) lib/active_support/callbacks.rb:82:in `run_callbacks'
535
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
536
+ actionpack (4.1.7) lib/action_dispatch/middleware/reloader.rb:73:in `call'
537
+ actionpack (4.1.7) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
538
+ actionpack (4.1.7) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
539
+ actionpack (4.1.7) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
540
+ railties (4.1.7) lib/rails/rack/logger.rb:38:in `call_app'
541
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `block in call'
542
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `block in tagged'
543
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:26:in `tagged'
544
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `tagged'
545
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `call'
546
+ actionpack (4.1.7) lib/action_dispatch/middleware/request_id.rb:21:in `call'
547
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
548
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
549
+ activesupport (4.1.7) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
550
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
551
+ actionpack (4.1.7) lib/action_dispatch/middleware/static.rb:84:in `call'
552
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
553
+ railties (4.1.7) lib/rails/engine.rb:514:in `call'
554
+ railties (4.1.7) lib/rails/application.rb:144:in `call'
555
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
556
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
557
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
558
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
559
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
560
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
561
+
562
+
563
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.3ms)
564
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.7ms)
565
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
566
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.7ms)
567
+
568
+
569
+ Started GET "/" for 127.0.0.1 at 2015-03-16 15:27:40 -0500
570
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
571
+ Processing by SecretsController#index as HTML
572
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
573
+ Completed 500 Internal Server Error in 27ms
574
+
575
+ NoMethodError (undefined method `two_factor_auth_registration' for #<SecretsController:0x007f8e37155ac8>):
576
+ activesupport (4.1.7) lib/active_support/callbacks.rb:424:in `block in make_lambda'
577
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `call'
578
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `block in halting'
579
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
580
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
581
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `call'
582
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `block in halting'
583
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
584
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
585
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `call'
586
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `run_callbacks'
587
+ actionpack (4.1.7) lib/abstract_controller/callbacks.rb:19:in `process_action'
588
+ actionpack (4.1.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
589
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
590
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `block in instrument'
591
+ activesupport (4.1.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
592
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `instrument'
593
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
594
+ actionpack (4.1.7) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
595
+ activerecord (4.1.7) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
596
+ actionpack (4.1.7) lib/abstract_controller/base.rb:136:in `process'
597
+ actionview (4.1.7) lib/action_view/rendering.rb:30:in `process'
598
+ actionpack (4.1.7) lib/action_controller/metal.rb:196:in `dispatch'
599
+ actionpack (4.1.7) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
600
+ actionpack (4.1.7) lib/action_controller/metal.rb:232:in `block in action'
601
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `call'
602
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
603
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:50:in `call'
604
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:73:in `block in call'
605
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `each'
606
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `call'
607
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:678:in `call'
608
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
609
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
610
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
611
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
612
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
613
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
614
+ actionpack (4.1.7) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
615
+ actionpack (4.1.7) lib/action_dispatch/middleware/flash.rb:254:in `call'
616
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
617
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
618
+ actionpack (4.1.7) lib/action_dispatch/middleware/cookies.rb:560:in `call'
619
+ activerecord (4.1.7) lib/active_record/query_cache.rb:36:in `call'
620
+ activerecord (4.1.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
621
+ activerecord (4.1.7) lib/active_record/migration.rb:380:in `call'
622
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
623
+ activesupport (4.1.7) lib/active_support/callbacks.rb:82:in `run_callbacks'
624
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
625
+ actionpack (4.1.7) lib/action_dispatch/middleware/reloader.rb:73:in `call'
626
+ actionpack (4.1.7) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
627
+ actionpack (4.1.7) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
628
+ actionpack (4.1.7) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
629
+ railties (4.1.7) lib/rails/rack/logger.rb:38:in `call_app'
630
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `block in call'
631
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `block in tagged'
632
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:26:in `tagged'
633
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `tagged'
634
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `call'
635
+ actionpack (4.1.7) lib/action_dispatch/middleware/request_id.rb:21:in `call'
636
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
637
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
638
+ activesupport (4.1.7) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
639
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
640
+ actionpack (4.1.7) lib/action_dispatch/middleware/static.rb:84:in `call'
641
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
642
+ railties (4.1.7) lib/rails/engine.rb:514:in `call'
643
+ railties (4.1.7) lib/rails/application.rb:144:in `call'
644
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
645
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
646
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
647
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
648
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
649
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
650
+
651
+
652
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
653
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
654
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
655
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.6ms)
656
+
657
+
658
+ Started GET "/" for 127.0.0.1 at 2015-03-16 15:29:00 -0500
659
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
660
+ Processing by SecretsController#index as HTML
661
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
662
+ Completed 500 Internal Server Error in 17ms
663
+
664
+ NoMethodError (undefined method `two_factor_auth_registration' for #<SecretsController:0x007f672d2caec0>):
665
+ activesupport (4.1.7) lib/active_support/callbacks.rb:424:in `block in make_lambda'
666
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `call'
667
+ activesupport (4.1.7) lib/active_support/callbacks.rb:160:in `block in halting'
668
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
669
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
670
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `call'
671
+ activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `block in halting'
672
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
673
+ activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
674
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `call'
675
+ activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `run_callbacks'
676
+ actionpack (4.1.7) lib/abstract_controller/callbacks.rb:19:in `process_action'
677
+ actionpack (4.1.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
678
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
679
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `block in instrument'
680
+ activesupport (4.1.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
681
+ activesupport (4.1.7) lib/active_support/notifications.rb:159:in `instrument'
682
+ actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
683
+ actionpack (4.1.7) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
684
+ activerecord (4.1.7) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
685
+ actionpack (4.1.7) lib/abstract_controller/base.rb:136:in `process'
686
+ actionview (4.1.7) lib/action_view/rendering.rb:30:in `process'
687
+ actionpack (4.1.7) lib/action_controller/metal.rb:196:in `dispatch'
688
+ actionpack (4.1.7) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
689
+ actionpack (4.1.7) lib/action_controller/metal.rb:232:in `block in action'
690
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `call'
691
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
692
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:50:in `call'
693
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:73:in `block in call'
694
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `each'
695
+ actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `call'
696
+ actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:678:in `call'
697
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
698
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
699
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
700
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
701
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
702
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
703
+ actionpack (4.1.7) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
704
+ actionpack (4.1.7) lib/action_dispatch/middleware/flash.rb:254:in `call'
705
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
706
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
707
+ actionpack (4.1.7) lib/action_dispatch/middleware/cookies.rb:560:in `call'
708
+ activerecord (4.1.7) lib/active_record/query_cache.rb:36:in `call'
709
+ activerecord (4.1.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
710
+ activerecord (4.1.7) lib/active_record/migration.rb:380:in `call'
711
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
712
+ activesupport (4.1.7) lib/active_support/callbacks.rb:82:in `run_callbacks'
713
+ actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
714
+ actionpack (4.1.7) lib/action_dispatch/middleware/reloader.rb:73:in `call'
715
+ actionpack (4.1.7) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
716
+ actionpack (4.1.7) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
717
+ actionpack (4.1.7) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
718
+ railties (4.1.7) lib/rails/rack/logger.rb:38:in `call_app'
719
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `block in call'
720
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `block in tagged'
721
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:26:in `tagged'
722
+ activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `tagged'
723
+ railties (4.1.7) lib/rails/rack/logger.rb:20:in `call'
724
+ actionpack (4.1.7) lib/action_dispatch/middleware/request_id.rb:21:in `call'
725
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
726
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
727
+ activesupport (4.1.7) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
728
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
729
+ actionpack (4.1.7) lib/action_dispatch/middleware/static.rb:84:in `call'
730
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
731
+ railties (4.1.7) lib/rails/engine.rb:514:in `call'
732
+ railties (4.1.7) lib/rails/application.rb:144:in `call'
733
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
734
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
735
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
736
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
737
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
738
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
739
+
740
+
741
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
742
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
743
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
744
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.2ms)
745
+
746
+
747
+ Started GET "/" for 127.0.0.1 at 2015-03-16 15:29:18 -0500
748
+
749
+ ActionController::RoutingError (undefined method `before_action' for TwoFactorAuth::RegistrationHook:Module):
750
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
751
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
752
+
753
+
754
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.7ms)
755
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms)
756
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.3ms)
757
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (20.0ms)
758
+
759
+
760
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:17:10 -0500
761
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
762
+
763
+ ActionController::RoutingError (undefined method `before_action' for TwoFactorAuth::RegistrationHook:Module):
764
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
765
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
766
+
767
+
768
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
769
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.8ms)
770
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (10.9ms)
771
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (57.2ms)
772
+
773
+
774
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:20:17 -0500
775
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
776
+
777
+ ActionController::RoutingError (uninitialized constant SecretsController::RegistrationHook):
778
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
779
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
780
+
781
+
782
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
783
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.3ms)
784
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.3ms)
785
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.5ms)
786
+
787
+
788
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:20:33 -0500
789
+
790
+ ActionController::RoutingError (uninitialized constant SecretsController::RegistrationHook):
791
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
792
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
793
+
794
+
795
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
796
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.9ms)
797
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms)
798
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (35.5ms)
799
+
800
+
801
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:20:44 -0500
802
+
803
+ ActionController::RoutingError (uninitialized constant SecretsController::RegistrationHook):
804
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
805
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
806
+
807
+
808
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
809
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms)
810
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms)
811
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (32.0ms)
812
+
813
+
814
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:30:30 -0500
815
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
816
+
817
+ ActionController::RoutingError (uninitialized constant SecretsController::RegistrationHook):
818
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
819
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
820
+
821
+
822
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
823
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.9ms)
824
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.6ms)
825
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (43.5ms)
826
+
827
+
828
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:30:40 -0500
829
+
830
+ ActionController::RoutingError (uninitialized constant SecretsController::RegistrationHook):
831
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
832
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
833
+
834
+
835
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
836
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (8.9ms)
837
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms)
838
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (39.7ms)
839
+
840
+
841
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:31:11 -0500
842
+
843
+ ActionController::RoutingError (uninitialized constant SecretsController::RegistrationHook):
844
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
845
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
846
+
847
+
848
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
849
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.1ms)
850
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
851
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (48.7ms)
852
+
853
+
854
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:31:18 -0500
855
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
856
+
857
+ ActionController::RoutingError (uninitialized constant SecretsController::RegistrationHook):
858
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
859
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
860
+
861
+
862
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
863
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.0ms)
864
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.7ms)
865
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (44.2ms)
866
+
867
+
868
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:31:39 -0500
869
+
870
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::RegistrationHook):
871
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
872
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
873
+
874
+
875
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
876
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.3ms)
877
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms)
878
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (35.3ms)
879
+
880
+
881
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:33:53 -0500
882
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
883
+
884
+
885
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:34:43 -0500
886
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
887
+
888
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::RegistrationHook):
889
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
890
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
891
+
892
+
893
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
894
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.9ms)
895
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.9ms)
896
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (57.2ms)
897
+
898
+
899
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:41:38 -0500
900
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
901
+
902
+
903
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:47:28 -0500
904
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
905
+
906
+
907
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:52:18 -0500
908
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
909
+
910
+ ActionController::RoutingError (undefined method `before_action' for TwoFactorAuth::RegistrationHook:Module):
911
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
912
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
913
+
914
+
915
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
916
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.7ms)
917
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.6ms)
918
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (55.4ms)
919
+
920
+
921
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:52:48 -0500
922
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
923
+
924
+ ActionController::RoutingError (undefined method `import' for SecretsController:Class):
925
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
926
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
927
+
928
+
929
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
930
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.7ms)
931
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.7ms)
932
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (47.0ms)
933
+
934
+
935
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:53:34 -0500
936
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
937
+
938
+ ActionController::RoutingError (undefined method `before_action' for TwoFactorAuth::RegistrationHook:Module):
939
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
940
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
941
+
942
+
943
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
944
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
945
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.7ms)
946
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (47.2ms)
947
+
948
+
949
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:53:54 -0500
950
+
951
+ ActionController::RoutingError (undefined method `import' for SecretsController:Class):
952
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
953
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
954
+
955
+
956
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms)
957
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.4ms)
958
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
959
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (49.4ms)
960
+
961
+
962
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:54:02 -0500
963
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
964
+
965
+ LoadError (Unable to autoload constant RegistrationHook, expected /home/pushcx/biz/two_factor_auth/ruby/app/hooks/registration_hook.rb to define it):
966
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
967
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
968
+
969
+
970
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
971
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
972
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (15.1ms)
973
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.3ms)
974
+
975
+
976
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:54:27 -0500
977
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
978
+
979
+ LoadError (Unable to autoload constant RegistrationHook, expected /home/pushcx/biz/two_factor_auth/ruby/app/hooks/registration_hook.rb to define it):
980
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
981
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
982
+
983
+
984
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
985
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
986
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (20.3ms)
987
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (38.8ms)
988
+
989
+
990
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:54:42 -0500
991
+
992
+ ActionController::RoutingError (undefined method `import' for SecretsController:Class):
993
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
994
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
995
+
996
+
997
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
998
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.8ms)
999
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.0ms)
1000
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (52.3ms)
1001
+
1002
+
1003
+ Started GET "/" for 127.0.0.1 at 2015-04-12 17:54:48 -0500
1004
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1005
+
1006
+ ActionController::RoutingError (undefined method `import' for SecretsController:Class):
1007
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
1008
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
1009
+
1010
+
1011
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
1012
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.9ms)
1013
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.7ms)
1014
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (45.7ms)
1015
+
1016
+
1017
+ Started GET "/" for 127.0.0.1 at 2015-09-05 08:59:37 -0500
1018
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1019
+ Processing by SecretsController#index as HTML
1020
+ Completed 401 Unauthorized in 25ms
1021
+
1022
+
1023
+ Started GET "/users/sign_in" for 127.0.0.1 at 2015-09-05 08:59:37 -0500
1024
+ Processing by Devise::SessionsController#new as HTML
1025
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/shared/_links.html.erb (2.1ms)
1026
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/sessions/new.html.erb within layouts/application (38.5ms)
1027
+ Completed 200 OK in 88ms (Views: 70.3ms | ActiveRecord: 0.6ms)
1028
+
1029
+
1030
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 08:59:38 -0500
1031
+
1032
+
1033
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 08:59:38 -0500
1034
+
1035
+
1036
+ Started GET "/users/sign_up" for 127.0.0.1 at 2015-09-05 08:59:51 -0500
1037
+ Processing by Devise::RegistrationsController#new as HTML
1038
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/shared/_links.html.erb (0.7ms)
1039
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/registrations/new.html.erb within layouts/application (5.6ms)
1040
+ Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.0ms)
1041
+
1042
+
1043
+ Started POST "/users" for 127.0.0.1 at 2015-09-05 08:59:59 -0500
1044
+ Processing by Devise::RegistrationsController#create as HTML
1045
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
1046
+  (0.2ms) begin transaction
1047
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test1@example.com' LIMIT 1
1048
+  (0.1ms) rollback transaction
1049
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/shared/_links.html.erb (0.4ms)
1050
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.4.0/app/views/devise/registrations/new.html.erb within layouts/application (6.1ms)
1051
+ Completed 200 OK in 189ms (Views: 21.0ms | ActiveRecord: 0.4ms)
1052
+
1053
+
1054
+ Started POST "/users" for 127.0.0.1 at 2015-09-05 09:01:14 -0500
1055
+ Processing by Devise::RegistrationsController#create as HTML
1056
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
1057
+  (0.1ms) begin transaction
1058
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test1@example.com' LIMIT 1
1059
+ Binary data inserted for `string` type on column `encrypted_password`
1060
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-09-05 14:01:14.321039"], ["email", "test1@example.com"], ["encrypted_password", "$2a$10$VGgWzxgRN3gu3ZK4.DBPGOF5gNABnA/8KYYfWflruADXW0vm4Pk4e"], ["updated_at", "2015-09-05 14:01:14.321039"]]
1061
+  (123.9ms) commit transaction
1062
+  (0.1ms) begin transaction
1063
+ Binary data inserted for `string` type on column `current_sign_in_ip`
1064
+ Binary data inserted for `string` type on column `last_sign_in_ip`
1065
+ SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["current_sign_in_at", "2015-09-05 14:01:14.451013"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2015-09-05 14:01:14.451013"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2015-09-05 14:01:14.452589"]]
1066
+  (36.4ms) commit transaction
1067
+ Redirected to http://localhost:3000/
1068
+ Completed 302 Found in 332ms (ActiveRecord: 161.5ms)
1069
+
1070
+
1071
+ Started GET "/" for 127.0.0.1 at 2015-09-05 09:01:14 -0500
1072
+ Processing by SecretsController#index as HTML
1073
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1074
+ Rendered secrets/index.html.erb within layouts/application (0.5ms)
1075
+ Completed 200 OK in 20ms (Views: 15.0ms | ActiveRecord: 0.2ms)
1076
+
1077
+
1078
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 09:03:16 -0500
1079
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1080
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1081
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (28.5ms)
1082
+ Completed 200 OK in 46ms (Views: 43.9ms | ActiveRecord: 0.2ms)
1083
+
1084
+
1085
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 09:03:41 -0500
1086
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1087
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1088
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.4ms)
1089
+ Completed 200 OK in 19ms (Views: 17.0ms | ActiveRecord: 0.2ms)
1090
+
1091
+
1092
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:03:41 -0500
1093
+
1094
+
1095
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:03:41 -0500
1096
+
1097
+
1098
+ Started GET "/" for 127.0.0.1 at 2015-09-05 09:08:37 -0500
1099
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1100
+ Processing by SecretsController#index as HTML
1101
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1102
+ Rendered secrets/index.html.erb within layouts/application (1.6ms)
1103
+ Completed 200 OK in 68ms (Views: 31.1ms | ActiveRecord: 0.8ms)
1104
+
1105
+
1106
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:08:37 -0500
1107
+
1108
+
1109
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:08:37 -0500
1110
+
1111
+
1112
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 09:08:38 -0500
1113
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1114
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1115
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (29.3ms)
1116
+ Completed 200 OK in 48ms (Views: 46.4ms | ActiveRecord: 0.2ms)
1117
+
1118
+
1119
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:08:39 -0500
1120
+
1121
+
1122
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:08:39 -0500
1123
+
1124
+
1125
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:08:39 -0500
1126
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1127
+ Rendered text template (0.0ms)
1128
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1129
+
1130
+
1131
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:08:50 -0500
1132
+ Processing by TwoFactorAuth::TrustedFacetsController#index as HTML
1133
+ Rendered text template (0.0ms)
1134
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1135
+
1136
+
1137
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 09:12:31 -0500
1138
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1139
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1140
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (3.0ms)
1141
+ Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.4ms)
1142
+
1143
+
1144
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:12:31 -0500
1145
+
1146
+
1147
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:12:31 -0500
1148
+
1149
+
1150
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:12:31 -0500
1151
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1152
+ Rendered text template (0.0ms)
1153
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1154
+
1155
+
1156
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 09:23:46 -0500
1157
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1158
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1159
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.7ms)
1160
+ Completed 200 OK in 30ms (Views: 28.5ms | ActiveRecord: 0.3ms)
1161
+
1162
+
1163
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:23:46 -0500
1164
+
1165
+
1166
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:23:46 -0500
1167
+
1168
+
1169
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:23:47 -0500
1170
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1171
+ Rendered text template (0.0ms)
1172
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1173
+
1174
+
1175
+ Started POST "/two_factor_auth/registrations" for 127.0.0.1 at 2015-09-05 09:23:50 -0500
1176
+ Processing by TwoFactorAuth::RegistrationsController#create as HTML
1177
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIsImNoYWxsZW5nZSI6IktFdUw1ODZVWmw1M3ZQTzRBMUNNdjBmODdoOG9VRHhES2t0NVNfVVcwUjQiLCJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJjaWRfcHVia2V5IjoiIn0", "registrationData"=>"BQR1h-F0lRlV8KyBpgnHItf7vJaU0H3GySIXttttWbMI7AakO_YAJFeft-RkY3BGuGyfNsyQM_8PC1fWI_7V0aC6QDwl1Kkg2jrhG_bVjBLBL5-jeWsnsJxk4gYTIq6jNywpn6IUKMQBAU7OfSsjFFOjtBd1V9_AeqDJMitT8JOYvQ8wggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEUCICyfAk4WPAin96lpfG2BuEnro64YMiDhGRYuFGA5dI_KAiEAu1XhFDUWjT4iMHbQGbLGgEyjOrTmt-M7JgxbMhC3si4", "challenge"=>"KEuL586UZl53vPO4A1CMv0f87h8oUDxDKkt5S_UW0R4"}
1178
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1179
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.0ms)
1180
+ Completed 406 Not Acceptable in 135ms (Views: 15.7ms | ActiveRecord: 0.3ms)
1181
+
1182
+
1183
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:23:50 -0500
1184
+
1185
+
1186
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:23:50 -0500
1187
+
1188
+
1189
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:23:50 -0500
1190
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1191
+ Rendered text template (0.0ms)
1192
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1193
+
1194
+
1195
+ Started POST "/two_factor_auth/registrations" for 127.0.0.1 at 2015-09-05 09:23:56 -0500
1196
+ Processing by TwoFactorAuth::RegistrationsController#create as HTML
1197
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIsImNoYWxsZW5nZSI6IktFdUw1ODZVWmw1M3ZQTzRBMUNNdjBmODdoOG9VRHhES2t0NVNfVVcwUjQiLCJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJjaWRfcHVia2V5IjoiIn0", "registrationData"=>"BQSjQZYd1nYUyKoQ-vxMUPB5ESGjYncRaMnMhuMt32ieIS10BXGBmQckFhRh0IiwACwCNF4aqr21EbV4C0Xvh2D6QGSQqOJiYhWkfLhunKIV5YxfMR2djsSrif5K9xilFQ-Zym6Z37lSvKwh7Pyf7QkBDQaJyBj-CAimzQer9oqAm1gwggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEYCIQDKaScKXHOwNFzTiely36oSqaRL__54jIYTGoXHcAp0oAIhAKidFcSXpbnFlsru9tTojMdMGfiTlJCthUfasSrRs3Vf", "challenge"=>"KEuL586UZl53vPO4A1CMv0f87h8oUDxDKkt5S_UW0R4"}
1198
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1199
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (0.9ms)
1200
+ Completed 406 Not Acceptable in 24ms (Views: 19.9ms | ActiveRecord: 0.3ms)
1201
+
1202
+
1203
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:23:56 -0500
1204
+
1205
+
1206
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:23:56 -0500
1207
+
1208
+
1209
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:23:56 -0500
1210
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1211
+ Rendered text template (0.0ms)
1212
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1213
+
1214
+
1215
+ Started POST "/two_factor_auth/registrations" for 127.0.0.1 at 2015-09-05 09:23:59 -0500
1216
+ Processing by TwoFactorAuth::RegistrationsController#create as HTML
1217
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIsImNoYWxsZW5nZSI6IktFdUw1ODZVWmw1M3ZQTzRBMUNNdjBmODdoOG9VRHhES2t0NVNfVVcwUjQiLCJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJjaWRfcHVia2V5IjoiIn0", "registrationData"=>"BQRz9hvA1zJQ1aZl-VcdawYpRf9CJGsWMw8V3Q8NixkCTgUv-BATJX5j4iq_cq2hzvpDcEOdGjr-TRmcc70NKCBHQLOVkaRMZ0TiWMsdC2FN1OT6tzsmWxl33aJYsNpFV1Y59eIUvM47gtyqEqeayfnZ0g47VO1w9poFf7zHlb_SKXIwggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEYCIQCN-gEF9CEJrHfjuf1vOAW2QSHdNze2oT29wsLguSIWoAIhAMVXaVTBR9u5Bq_XRtSQHPouABBNp_RoIXT1rqBYzzig", "challenge"=>"KEuL586UZl53vPO4A1CMv0f87h8oUDxDKkt5S_UW0R4"}
1218
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1219
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.2ms)
1220
+ Completed 406 Not Acceptable in 36ms (Views: 30.9ms | ActiveRecord: 0.3ms)
1221
+
1222
+
1223
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:23:59 -0500
1224
+
1225
+
1226
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:23:59 -0500
1227
+
1228
+
1229
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:23:59 -0500
1230
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1231
+ Rendered text template (0.0ms)
1232
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1233
+
1234
+
1235
+ Started POST "/two_factor_auth/registrations" for 127.0.0.1 at 2015-09-05 09:43:20 -0500
1236
+ Processing by TwoFactorAuth::RegistrationsController#create as HTML
1237
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIsImNoYWxsZW5nZSI6IktFdUw1ODZVWmw1M3ZQTzRBMUNNdjBmODdoOG9VRHhES2t0NVNfVVcwUjQiLCJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJjaWRfcHVia2V5IjoiIn0", "registrationData"=>"BQRz9hvA1zJQ1aZl-VcdawYpRf9CJGsWMw8V3Q8NixkCTgUv-BATJX5j4iq_cq2hzvpDcEOdGjr-TRmcc70NKCBHQLOVkaRMZ0TiWMsdC2FN1OT6tzsmWxl33aJYsNpFV1Y59eIUvM47gtyqEqeayfnZ0g47VO1w9poFf7zHlb_SKXIwggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEYCIQCN-gEF9CEJrHfjuf1vOAW2QSHdNze2oT29wsLguSIWoAIhAMVXaVTBR9u5Bq_XRtSQHPouABBNp_RoIXT1rqBYzzig", "challenge"=>"KEuL586UZl53vPO4A1CMv0f87h8oUDxDKkt5S_UW0R4"}
1238
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1239
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.8ms)
1240
+ Completed 406 Not Acceptable in 7802ms (Views: 16.5ms | ActiveRecord: 0.9ms)
1241
+
1242
+
1243
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:43:28 -0500
1244
+
1245
+
1246
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:43:28 -0500
1247
+
1248
+
1249
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 09:43:34 -0500
1250
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1251
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1252
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.0ms)
1253
+ Completed 200 OK in 19ms (Views: 16.5ms | ActiveRecord: 0.2ms)
1254
+
1255
+
1256
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:43:35 -0500
1257
+
1258
+
1259
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:43:35 -0500
1260
+
1261
+
1262
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:43:35 -0500
1263
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1264
+ Rendered text template (0.0ms)
1265
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1266
+
1267
+
1268
+ Started POST "/two_factor_auth/registrations" for 127.0.0.1 at 2015-09-05 09:43:37 -0500
1269
+ Processing by TwoFactorAuth::RegistrationsController#create as HTML
1270
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIsImNoYWxsZW5nZSI6IktFdUw1ODZVWmw1M3ZQTzRBMUNNdjBmODdoOG9VRHhES2t0NVNfVVcwUjQiLCJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJjaWRfcHVia2V5IjoiIn0", "registrationData"=>"BQTb7YMopZTzr2k1Yx191Czv22XCvUX6iXtLqRx89v_TPfTJATxV0VYYlBlXBbYKM4_SzOWP6i1UksLzKxe8nI2wQDjtDIQXh1dQsWhBYvfYGUBkDkk62yWKHgLqislQ0GBpDLn1nzE7mNsMIkuMztxhqVs6HqhvYLzAS5K1jtV5mwMwggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEQCIAT3JvLjVplF1mOhj99qrGePjEbpJME6KgzsqJp9iBirAiAKULj-xkTWqhYxBiocm45if1iGzbqJldwZpDsvPeZjQA", "challenge"=>"KEuL586UZl53vPO4A1CMv0f87h8oUDxDKkt5S_UW0R4"}
1271
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1272
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.9ms)
1273
+ Completed 406 Not Acceptable in 87689ms (Views: 17.5ms | ActiveRecord: 0.3ms)
1274
+
1275
+
1276
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:45:05 -0500
1277
+
1278
+
1279
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:45:05 -0500
1280
+
1281
+
1282
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 09:45:18 -0500
1283
+ ActiveRecord::SchemaMigration Load (10.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1284
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1285
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1286
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (31.6ms)
1287
+ Completed 200 OK in 98ms (Views: 62.9ms | ActiveRecord: 0.8ms)
1288
+
1289
+
1290
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:45:18 -0500
1291
+
1292
+
1293
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:45:19 -0500
1294
+
1295
+
1296
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 09:45:19 -0500
1297
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1298
+ Rendered text template (0.0ms)
1299
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
1300
+
1301
+
1302
+ Started POST "/two_factor_auth/registrations" for 127.0.0.1 at 2015-09-05 09:45:20 -0500
1303
+ Processing by TwoFactorAuth::RegistrationsController#create as HTML
1304
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIsImNoYWxsZW5nZSI6IktFdUw1ODZVWmw1M3ZQTzRBMUNNdjBmODdoOG9VRHhES2t0NVNfVVcwUjQiLCJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJjaWRfcHVia2V5IjoiIn0", "registrationData"=>"BQQIO-v6N24Xhz858gsRLkq8DeLKwdxufsTNEneVb-2NFoyv5o7UiPfgY2REP5NWy3inJRcHMBcIqR9YgkomajZTQJDmGEE8AR00I8LTFdx3lL6O7e07m3ifm7M7ixT7jAatjgZwGgefYKLrcPYw9Wgk8NN9LyP2x8mW-I74uzMqZe8wggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEQCIEoxtwT1EJxJfK3B469ZX-8MDp44W4M96MZeV_S1xsCjAiBKzIAeKxGJX2DmRqsFn-ehwPP0_z-ye223sza9XWXFDg", "challenge"=>"KEuL586UZl53vPO4A1CMv0f87h8oUDxDKkt5S_UW0R4"}
1305
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1306
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.2ms)
1307
+ Completed 406 Not Acceptable in 26027ms (Views: 17.3ms | ActiveRecord: 0.2ms)
1308
+
1309
+
1310
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 09:45:47 -0500
1311
+
1312
+
1313
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 09:45:47 -0500
1314
+
1315
+
1316
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 10:42:26 -0500
1317
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1318
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1319
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1320
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (32.3ms)
1321
+ Completed 200 OK in 100ms (Views: 63.5ms | ActiveRecord: 0.9ms)
1322
+
1323
+
1324
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 10:42:26 -0500
1325
+
1326
+
1327
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 10:42:26 -0500
1328
+
1329
+
1330
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 10:42:27 -0500
1331
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1332
+ Rendered text template (0.0ms)
1333
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1334
+
1335
+
1336
+ Started POST "/two_factor_auth/registrations" for 127.0.0.1 at 2015-09-05 10:42:32 -0500
1337
+ Processing by TwoFactorAuth::RegistrationsController#create as HTML
1338
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIsImNoYWxsZW5nZSI6IktFdUw1ODZVWmw1M3ZQTzRBMUNNdjBmODdoOG9VRHhES2t0NVNfVVcwUjQiLCJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJjaWRfcHVia2V5IjoiIn0", "registrationData"=>"BQTeu4XqGbtY1BhhzIXkk9Kkjmnm30vAl_04n-xmkC1dKpQfahiYHT6x_Qc8vErWcUtHD4Iq8nXAtsDjw6r4KmvIQJNeaCAkeTjKB0oZ77YG0T2hcyul9i9nwFhBW7imWsc7_4WDblFbNm7RIlGedbPFnECH2vRs3ha3WmbuHApAJEgwggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEYCIQCp9Lw06vjI2vAgx7Y7nDncbT_uIhVSRX0PrwDc1UUfbAIhAIIeGmxNepLLJvAa5EjNwXTlRaakajomIgDVvk0w5mX_", "challenge"=>"KEuL586UZl53vPO4A1CMv0f87h8oUDxDKkt5S_UW0R4"}
1339
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1340
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (2.0ms)
1341
+ Completed 406 Not Acceptable in 762972ms (Views: 16.6ms | ActiveRecord: 0.3ms)
1342
+
1343
+
1344
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 10:55:15 -0500
1345
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1346
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1347
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (2.8ms)
1348
+ Completed 200 OK in 33ms (Views: 17.6ms | ActiveRecord: 1.1ms)
1349
+
1350
+
1351
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 10:55:15 -0500
1352
+
1353
+
1354
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 10:55:15 -0500
1355
+
1356
+
1357
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 10:55:34 -0500
1358
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1359
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1360
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1361
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (30.5ms)
1362
+ Completed 200 OK in 96ms (Views: 60.5ms | ActiveRecord: 0.8ms)
1363
+
1364
+
1365
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 10:55:35 -0500
1366
+
1367
+
1368
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 10:55:35 -0500
1369
+
1370
+
1371
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 10:55:35 -0500
1372
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1373
+ Rendered text template (0.0ms)
1374
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1375
+
1376
+
1377
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:02:18 -0500
1378
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1379
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1380
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1381
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (29.9ms)
1382
+ Completed 200 OK in 95ms (Views: 59.5ms | ActiveRecord: 1.0ms)
1383
+
1384
+
1385
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:02:18 -0500
1386
+
1387
+
1388
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:02:18 -0500
1389
+
1390
+
1391
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 11:02:18 -0500
1392
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1393
+ Rendered text template (0.0ms)
1394
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1395
+
1396
+
1397
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:03:51 -0500
1398
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1399
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1400
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.4ms)
1401
+ Completed 200 OK in 9749ms (Views: 18.5ms | ActiveRecord: 1.1ms)
1402
+
1403
+
1404
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:04:01 -0500
1405
+
1406
+
1407
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:04:01 -0500
1408
+
1409
+
1410
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:04:23 -0500
1411
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1412
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1413
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.1ms)
1414
+ Completed 200 OK in 13512ms (Views: 16.8ms | ActiveRecord: 0.4ms)
1415
+
1416
+
1417
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:04:37 -0500
1418
+
1419
+
1420
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:04:37 -0500
1421
+
1422
+
1423
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:04:38 -0500
1424
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1425
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1426
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (3.0ms)
1427
+ Completed 200 OK in 36ms (Views: 18.9ms | ActiveRecord: 1.5ms)
1428
+
1429
+
1430
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:04:38 -0500
1431
+
1432
+
1433
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:04:38 -0500
1434
+
1435
+
1436
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 11:04:38 -0500
1437
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1438
+ Rendered text template (0.0ms)
1439
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1440
+
1441
+
1442
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:04:44 -0500
1443
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1444
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1445
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.3ms)
1446
+ Completed 200 OK in 21ms (Views: 18.1ms | ActiveRecord: 0.3ms)
1447
+
1448
+
1449
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:04:44 -0500
1450
+
1451
+
1452
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:04:44 -0500
1453
+
1454
+
1455
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 11:04:45 -0500
1456
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1457
+ Rendered text template (0.0ms)
1458
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1459
+
1460
+
1461
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:05:12 -0500
1462
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1463
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1464
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1.4ms)
1465
+ Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.3ms)
1466
+
1467
+
1468
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:05:12 -0500
1469
+
1470
+
1471
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:05:12 -0500
1472
+
1473
+
1474
+ Started GET "/two_factor_auth/trusted_facets" for 127.0.0.1 at 2015-09-05 11:05:12 -0500
1475
+ Processing by TwoFactorAuth::TrustedFacetsController#index as */*
1476
+ Rendered text template (0.0ms)
1477
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1478
+
1479
+
1480
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:05:24 -0500
1481
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1482
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1483
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1484
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (50428.6ms)
1485
+ Completed 401 Unauthorized in 50475ms
1486
+
1487
+
1488
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:06:20 -0500
1489
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1490
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1491
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1492
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (6495.2ms)
1493
+ Completed 200 OK in 6583ms (Views: 6543.2ms | ActiveRecord: 0.8ms)
1494
+
1495
+
1496
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:06:27 -0500
1497
+
1498
+
1499
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:06:27 -0500
1500
+
1501
+
1502
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:06:32 -0500
1503
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1504
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1505
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (1713.0ms)
1506
+ Completed 200 OK in 1733ms (Views: 1730.5ms | ActiveRecord: 0.3ms)
1507
+
1508
+
1509
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:06:34 -0500
1510
+
1511
+
1512
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:06:34 -0500
1513
+
1514
+
1515
+ Started GET "/two_factor_auth/registrations/new" for 127.0.0.1 at 2015-09-05 11:07:01 -0500
1516
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1517
+ Processing by TwoFactorAuth::RegistrationsController#new as HTML
1518
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1519
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/registrations/new.html.erb within layouts/application (29.9ms)
1520
+ Completed 200 OK in 95ms (Views: 59.5ms | ActiveRecord: 0.8ms)
1521
+
1522
+
1523
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:07:02 -0500
1524
+
1525
+
1526
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:07:02 -0500
1527
+
1528
+
1529
+ Started POST "/two_factor_auth/registrations" for 127.0.0.1 at 2015-09-05 11:07:05 -0500
1530
+ Processing by TwoFactorAuth::RegistrationsController#create as HTML
1531
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mldpBmhsOCj85MsJ3WVu+dcF0iv7WqPBPsJB+3K9eZU=", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIsImNoYWxsZW5nZSI6IktFdUw1ODZVWmw1M3ZQTzRBMUNNdjBmODdoOG9VRHhES2t0NVNfVVcwUjQiLCJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJjaWRfcHVia2V5IjoiIn0", "registrationData"=>"BQQCr-O_y5YPIn-LXS9Tq-Q6eWrhGgRmI8EgYrHLhnnNsmm4kEd9f67ymiwJSjnL_puvl0pwnlQyNGzpcCKgyzWYQPU_OiCCRnhuoYoYIdyoSOpiuW1vay29myS29KwDUnpL_0gopE0C_MykTD8f6-Vv94GkFRxm9Y3EBE7XkVaq344wggIcMIIBBqADAgECAgQk26tAMAsGCSqGSIb3DQEBCzAuMSwwKgYDVQQDEyNZdWJpY28gVTJGIFJvb3QgQ0EgU2VyaWFsIDQ1NzIwMDYzMTAgFw0xNDA4MDEwMDAwMDBaGA8yMDUwMDkwNDAwMDAwMFowKzEpMCcGA1UEAwwgWXViaWNvIFUyRiBFRSBTZXJpYWwgMTM1MDMyNzc4ODgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCsJS-NH1HeUHEd46-xcpN7SpHn6oeb-w5r-veDCBwy1vUvWnJanjjv4dR_rV5G436ysKUAXUcsVe5fAnkORo2oxIwEDAOBgorBgEEAYLECgEBBAAwCwYJKoZIhvcNAQELA4IBAQCjY64OmDrzC7rxLIst81pZvxy7ShsPy2jEhFWEkPaHNFhluNsCacNG5VOITCxWB68OonuQrIzx70MfcqwYnbIcgkkUvxeIpVEaM9B7TI40ZHzp9h4VFqmps26QCkAgYfaapG4SxTK5k_lCPvqqTPmjtlS03d7ykkpUj9WZlVEN1Pf02aTVIZOHPHHJuH6GhT6eLadejwxtKDBTdNTv3V4UlvjDOQYQe9aL1jUNqtLDeBHso8pDvJMLc0CX3vadaI2UVQxM-xip4kuGouXYj0mYmaCbzluBDFNsrzkNyL3elg3zMMrKvAUhoYMjlX_-vKWcqQsgsQ0JtSMcWMJ-umeDMEUCIEDAs5VlD0OiS4RXHp70rMfZpxvmQAISaIzpdoU18XTbAiEA8KS8HaeIoAiVodGrSer9LIo5WZMsdIy_Y_umpHT3Iag", "challenge"=>"KEuL586UZl53vPO4A1CMv0f87h8oUDxDKkt5S_UW0R4"}
1532
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1533
+  (0.1ms) begin transaction
1534
+ SQL (0.5ms) INSERT INTO "two_factor_auth_registrations" ("certificate", "created_at", "key_handle", "last_authenticated_at", "login_id", "login_type", "public_key", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["certificate", "<544 bytes of binary data>"], ["created_at", "2015-09-05 16:07:05.397648"], ["key_handle", "<64 bytes of binary data>"], ["last_authenticated_at", "2015-09-05 16:07:05.381397"], ["login_id", 2], ["login_type", "User"], ["public_key", "<65 bytes of binary data>"], ["updated_at", "2015-09-05 16:07:05.397648"]]
1535
+  (11.4ms) commit transaction
1536
+ TwoFactorAuth::Registration Load (0.3ms) SELECT "two_factor_auth_registrations".* FROM "two_factor_auth_registrations" WHERE "two_factor_auth_registrations"."login_id" = ? AND "two_factor_auth_registrations"."login_type" = ? ORDER BY "two_factor_auth_registrations"."id" ASC LIMIT 1 [["login_id", 2], ["login_type", "User"]]
1537
+  (0.1ms) begin transaction
1538
+ SQL (0.3ms) UPDATE "two_factor_auth_registrations" SET "last_authenticated_at" = ?, "updated_at" = ? WHERE "two_factor_auth_registrations"."id" = 1 [["last_authenticated_at", "2015-09-05 16:07:05.435653"], ["updated_at", "2015-09-05 16:07:05.437130"]]
1539
+  (15.7ms) commit transaction
1540
+ Redirected to http://localhost:3000/
1541
+ Completed 302 Found in 194ms (ActiveRecord: 29.3ms)
1542
+
1543
+
1544
+ Started GET "/" for 127.0.0.1 at 2015-09-05 11:07:05 -0500
1545
+ Processing by SecretsController#index as HTML
1546
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
1547
+ Rendered secrets/index.html.erb within layouts/application (0.5ms)
1548
+ Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.2ms)
1549
+
1550
+
1551
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-09-05 11:07:05 -0500
1552
+
1553
+
1554
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-09-05 11:07:05 -0500
1555
+
1556
+
1557
+ Started GET "/" for ::1 at 2015-09-05 14:18:21 -0500
1558
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1559
+ Processing by SecretsController#index as HTML
1560
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
1561
+ Completed 500 Internal Server Error in 46ms
1562
+
1563
+ NoMethodError (undefined method `two_factor_auth_authentication' for #<SecretsController:0x00563ffb51abd0>):
1564
+ activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
1565
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call'
1566
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting'
1567
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1568
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1569
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
1570
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
1571
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1572
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1573
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
1574
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
1575
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
1576
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1577
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
1578
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
1579
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1580
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
1581
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1582
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
1583
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1584
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1585
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1586
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
1587
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
1588
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
1589
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1590
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
1591
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
1592
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1593
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
1594
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1595
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1596
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1597
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1598
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
1599
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
1600
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
1601
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1602
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1603
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1604
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1605
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1606
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
1607
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
1608
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1609
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1610
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1611
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1612
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1613
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1614
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1615
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1616
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1617
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1618
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1619
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1620
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1621
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1622
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1623
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1624
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1625
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1626
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1627
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1628
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1629
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1630
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1631
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1632
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1633
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1634
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1635
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1636
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1637
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1638
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1639
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1640
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1641
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1642
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1643
+
1644
+
1645
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms)
1646
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
1647
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
1648
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (32.6ms)
1649
+
1650
+
1651
+ Started GET "/" for ::1 at 2015-09-05 14:18:48 -0500
1652
+ Processing by SecretsController#index as HTML
1653
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
1654
+ Completed 500 Internal Server Error in 21ms
1655
+
1656
+ NoMethodError (undefined method `two_factor_auth_authentication' for #<SecretsController:0x00563ff967fc48>):
1657
+ activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
1658
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call'
1659
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting'
1660
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1661
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1662
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
1663
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
1664
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1665
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1666
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
1667
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
1668
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
1669
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1670
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
1671
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
1672
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1673
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
1674
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1675
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
1676
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1677
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1678
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1679
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
1680
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
1681
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
1682
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1683
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
1684
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
1685
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1686
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
1687
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1688
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1689
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1690
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1691
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
1692
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
1693
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
1694
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1695
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1696
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1697
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1698
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1699
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
1700
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
1701
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1702
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1703
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1704
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1705
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1706
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1707
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1708
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1709
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1710
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1711
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1712
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1713
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1714
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1715
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1716
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1717
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1718
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1719
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1720
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1721
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1722
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1723
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1724
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1725
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1726
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1727
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1728
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1729
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1730
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1731
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1732
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1733
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1734
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1735
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1736
+
1737
+
1738
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms)
1739
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
1740
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
1741
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (30.9ms)
1742
+
1743
+
1744
+ Started GET "/" for ::1 at 2015-09-05 14:20:26 -0500
1745
+
1746
+ ActionController::RoutingError (uninitialized constant SecretsController::AuthenticationHook):
1747
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
1748
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
1749
+
1750
+
1751
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
1752
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms)
1753
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.4ms)
1754
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
1755
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (50.6ms)
1756
+
1757
+
1758
+ Started GET "/" for ::1 at 2015-09-05 14:20:35 -0500
1759
+
1760
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::AuthenticationHook):
1761
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
1762
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
1763
+
1764
+
1765
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
1766
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms)
1767
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
1768
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms)
1769
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (41.7ms)
1770
+
1771
+
1772
+ Started GET "/" for ::1 at 2015-09-05 14:20:58 -0500
1773
+
1774
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::AuthenticationHook):
1775
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
1776
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
1777
+
1778
+
1779
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
1780
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.3ms)
1781
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
1782
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms)
1783
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.7ms)
1784
+
1785
+
1786
+ Started GET "/" for ::1 at 2015-09-05 14:21:03 -0500
1787
+
1788
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::AuthenticationHook):
1789
+ app/controllers/secrets_controller.rb:5:in `<class:SecretsController>'
1790
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
1791
+
1792
+
1793
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms)
1794
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms)
1795
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
1796
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
1797
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (41.5ms)
1798
+
1799
+
1800
+ Started GET "/" for ::1 at 2015-09-08 07:22:41 -0500
1801
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1802
+
1803
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::AuthenticationHook):
1804
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
1805
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
1806
+
1807
+
1808
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms)
1809
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms)
1810
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (52.4ms)
1811
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.0ms)
1812
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (121.9ms)
1813
+
1814
+
1815
+ Started GET "/" for ::1 at 2015-09-08 07:27:39 -0500
1816
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1817
+
1818
+ ActionController::RoutingError (uninitialized constant TwoFactorAuth::AuthenticationHook):
1819
+ app/controllers/secrets_controller.rb:4:in `<class:SecretsController>'
1820
+ app/controllers/secrets_controller.rb:1:in `<top (required)>'
1821
+
1822
+
1823
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms)
1824
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms)
1825
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.8ms)
1826
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (14.9ms)
1827
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (99.6ms)
1828
+
1829
+
1830
+ Started GET "/" for ::1 at 2015-09-08 07:28:01 -0500
1831
+ Processing by SecretsController#index as HTML
1832
+ Completed 401 Unauthorized in 16ms
1833
+
1834
+
1835
+ Started GET "/users/sign_in" for ::1 at 2015-09-08 07:28:02 -0500
1836
+ Processing by Devise::SessionsController#new as HTML
1837
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.5.2/app/views/devise/shared/_links.html.erb (10.9ms)
1838
+ Rendered /opt/gem/ruby/2.1.3/gems/devise-3.5.2/app/views/devise/sessions/new.html.erb within layouts/application (35.3ms)
1839
+ Completed 200 OK in 307ms (Views: 278.9ms | ActiveRecord: 0.9ms)
1840
+
1841
+
1842
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-09-08 07:28:02 -0500
1843
+
1844
+
1845
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-09-08 07:28:02 -0500
1846
+
1847
+
1848
+ Started POST "/users/sign_in" for ::1 at 2015-09-08 07:28:09 -0500
1849
+ Processing by Devise::SessionsController#create as HTML
1850
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"zpbKMRp7/pj+uLx7Sk+97mzwsvv98U7pNJgpNQUHtnG11NN9I3HeQMjO72SmEWkyspmtpye+qHm0g7OA28DQUQ==", "user"=>{"email"=>"test1@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
1851
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test1@example.com"]]
1852
+  (0.1ms) begin transaction
1853
+ SQL (0.4ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2015-09-08 12:28:09.305257"], ["current_sign_in_ip", "::1"], ["sign_in_count", 2], ["updated_at", "2015-09-08 12:28:09.307638"], ["id", 2]]
1854
+  (10.9ms) commit transaction
1855
+ Redirected to http://localhost:3000/
1856
+ Completed 302 Found in 198ms (ActiveRecord: 11.7ms)
1857
+
1858
+
1859
+ Started GET "/" for ::1 at 2015-09-08 07:28:09 -0500
1860
+ Processing by SecretsController#index as HTML
1861
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
1862
+ Completed 500 Internal Server Error in 7ms
1863
+
1864
+ NoMethodError (undefined method `two_factor_auth_authentication' for #<SecretsController:0x007fec7969cfb8>):
1865
+ activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
1866
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call'
1867
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting'
1868
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1869
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1870
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
1871
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
1872
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1873
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1874
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
1875
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
1876
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
1877
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1878
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
1879
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
1880
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1881
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
1882
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1883
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
1884
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1885
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1886
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1887
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
1888
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
1889
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
1890
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1891
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
1892
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
1893
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1894
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
1895
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1896
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1897
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1898
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1899
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
1900
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
1901
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
1902
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1903
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1904
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1905
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1906
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1907
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
1908
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
1909
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1910
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1911
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1912
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1913
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1914
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1915
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1916
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1917
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1918
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1919
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1920
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1921
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1922
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1923
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1924
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1925
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1926
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1927
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1928
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1929
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1930
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1931
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1932
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1933
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1934
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1935
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1936
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1937
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1938
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1939
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1940
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1941
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1942
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1943
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1944
+
1945
+
1946
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms)
1947
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms)
1948
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
1949
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (30.8ms)
1950
+
1951
+
1952
+ Started GET "/" for ::1 at 2015-09-08 07:29:15 -0500
1953
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1954
+ Processing by SecretsController#index as HTML
1955
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
1956
+ Completed 500 Internal Server Error in 46ms
1957
+
1958
+ NoMethodError (undefined method `two_factor_auth_authentication' for #<SecretsController:0x0055fdf8316d10>):
1959
+ activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
1960
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call'
1961
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting'
1962
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1963
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1964
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
1965
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
1966
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1967
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1968
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
1969
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
1970
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
1971
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1972
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
1973
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
1974
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1975
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
1976
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1977
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
1978
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1979
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1980
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1981
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
1982
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
1983
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
1984
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1985
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
1986
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
1987
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1988
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
1989
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1990
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1991
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1992
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1993
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
1994
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
1995
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
1996
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1997
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1998
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1999
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2000
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
2001
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
2002
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
2003
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2004
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
2005
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2006
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
2007
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2008
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
2009
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2010
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2011
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2012
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2013
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2014
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2015
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2016
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2017
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2018
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2019
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2020
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2021
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2022
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2023
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2024
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
2025
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
2026
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2027
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2028
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2029
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
2030
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2031
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2032
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2033
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
2034
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
2035
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
2036
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
2037
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2038
+
2039
+
2040
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms)
2041
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
2042
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
2043
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (32.2ms)
2044
+
2045
+
2046
+ Started GET "/" for ::1 at 2015-09-08 07:37:35 -0500
2047
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2048
+ Processing by SecretsController#index as HTML
2049
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
2050
+ Completed 500 Internal Server Error in 97ms
2051
+
2052
+ NoMethodError (undefined method `user_two_factor_auth_authenticated?' for #<SecretsController:0x00557ed7b414e0>):
2053
+ /home/pushcx/biz/two_factor_auth/ruby/app/helpers/two_factor_auth/authentications_helper.rb:4:in `two_factor_auth_authentication'
2054
+ activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
2055
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call'
2056
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting'
2057
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
2058
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
2059
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
2060
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
2061
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
2062
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
2063
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
2064
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
2065
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
2066
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2067
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
2068
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2069
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2070
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
2071
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2072
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
2073
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2074
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2075
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2076
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
2077
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
2078
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
2079
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2080
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
2081
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
2082
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2083
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
2084
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2085
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2086
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2087
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2088
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
2089
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
2090
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
2091
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
2092
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
2093
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
2094
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2095
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
2096
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
2097
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
2098
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2099
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
2100
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2101
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
2102
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2103
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
2104
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2105
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2106
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2107
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2108
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2109
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2110
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2111
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2112
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2113
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2114
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2115
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2116
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2117
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2118
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2119
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
2120
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
2121
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2122
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2123
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2124
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
2125
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2126
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2127
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2128
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
2129
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
2130
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
2131
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
2132
+ /opt/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2133
+
2134
+
2135
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms)
2136
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms)
2137
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
2138
+ Rendered /home/pushcx/.gem/ruby/2.1.3/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (32.2ms)
2139
+
2140
+
2141
+ Started GET "/" for ::1 at 2015-09-08 07:40:09 -0500
2142
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2143
+ Processing by SecretsController#index as HTML
2144
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
2145
+ Redirected to http://localhost:3000/two_factor_auth/authentication/new
2146
+ Filter chain halted as :two_factor_auth_authentication rendered or redirected
2147
+ Completed 302 Found in 89ms (ActiveRecord: 0.8ms)
2148
+
2149
+
2150
+ Started GET "/two_factor_auth/authentication/new" for ::1 at 2015-09-08 07:40:09 -0500
2151
+ Processing by TwoFactorAuth::AuthenticationsController#new as HTML
2152
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
2153
+ TwoFactorAuth::Registration Load (0.3ms) SELECT "two_factor_auth_registrations".* FROM "two_factor_auth_registrations" WHERE "two_factor_auth_registrations"."login_id" = ? AND "two_factor_auth_registrations"."login_type" = ? ORDER BY "two_factor_auth_registrations"."id" ASC LIMIT 1 [["login_id", 2], ["login_type", "User"]]
2154
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/authentications/new.html.erb within layouts/application (126.3ms)
2155
+ Completed 200 OK in 369ms (Views: 366.6ms | ActiveRecord: 0.7ms)
2156
+
2157
+
2158
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-09-08 07:40:10 -0500
2159
+
2160
+
2161
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-09-08 07:40:10 -0500
2162
+
2163
+
2164
+ Started GET "/two_factor_auth/authentication/new" for ::1 at 2015-09-08 07:40:26 -0500
2165
+ Processing by TwoFactorAuth::AuthenticationsController#new as HTML
2166
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
2167
+ TwoFactorAuth::Registration Load (0.4ms) SELECT "two_factor_auth_registrations".* FROM "two_factor_auth_registrations" WHERE "two_factor_auth_registrations"."login_id" = ? AND "two_factor_auth_registrations"."login_type" = ? ORDER BY "two_factor_auth_registrations"."id" ASC LIMIT 1 [["login_id", 2], ["login_type", "User"]]
2168
+ Rendered /home/pushcx/biz/two_factor_auth/ruby/app/views/two_factor_auth/authentications/new.html.erb within layouts/application (5.4ms)
2169
+ Completed 200 OK in 34ms (Views: 30.6ms | ActiveRecord: 0.6ms)
2170
+
2171
+
2172
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-09-08 07:40:26 -0500
2173
+
2174
+
2175
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-09-08 07:40:26 -0500
2176
+
2177
+
2178
+ Started POST "/two_factor_auth/authentication" for ::1 at 2015-09-08 07:40:28 -0500
2179
+ Processing by TwoFactorAuth::AuthenticationsController#create as HTML
2180
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"jaOIsbM731/A5QcAa9fUdfroNvktmiOZeefxC2rbBVeCd+rJl1KcN9NSNbw9IW2YnzODsrTO2SjZscjerKYHAw==", "keyHandle"=>"9T86IIJGeG6hihgh3KhI6mK5bW9rLb2bJLb0rANSekv_SCikTQL8zKRMPx_r5W_3gaQVHGb1jcQETteRVqrfjg", "signatureData"=>"AQAAAAEwRAIgdCKp76G4pDHn7mBxUG3JsjczEenL82zh9hZr6yOtdokCIGc3vFlyJdV9KPNmlJUhq3AFOcWlD7_v3C0ASSSoIdpp", "clientData"=>"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZ2V0QXNzZXJ0aW9uIiwiY2hhbGxlbmdlIjoibHV1WU1FYWxKVUJ5MThmbGRSTzkwbkFCNWFiakdOQWh1aXNCWkxNNXBiOCIsIm9yaWdpbiI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMCIsImNpZF9wdWJrZXkiOiIifQ"}
2181
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
2182
+ TwoFactorAuth::Registration Load (0.3ms) SELECT "two_factor_auth_registrations".* FROM "two_factor_auth_registrations" WHERE "two_factor_auth_registrations"."key_handle" = ? LIMIT 1 [["key_handle", "<64 bytes of binary data>"]]
2183
+ TwoFactorAuth::Registration Load (0.2ms) SELECT "two_factor_auth_registrations".* FROM "two_factor_auth_registrations" WHERE "two_factor_auth_registrations"."login_id" = ? AND "two_factor_auth_registrations"."login_type" = ? ORDER BY "two_factor_auth_registrations"."id" ASC LIMIT 1 [["login_id", 2], ["login_type", "User"]]
2184
+ CACHE (0.0ms) SELECT "two_factor_auth_registrations".* FROM "two_factor_auth_registrations" WHERE "two_factor_auth_registrations"."login_id" = ? AND "two_factor_auth_registrations"."login_type" = ? ORDER BY "two_factor_auth_registrations"."id" ASC LIMIT 1 [["login_id", 2], ["login_type", "User"]]
2185
+  (0.1ms) begin transaction
2186
+ SQL (0.4ms) UPDATE "two_factor_auth_registrations" SET "last_authenticated_at" = ?, "counter" = ?, "updated_at" = ? WHERE "two_factor_auth_registrations"."id" = ? [["last_authenticated_at", "2015-09-08 12:40:28.235341"], ["counter", 1], ["updated_at", "2015-09-08 12:40:28.237226"], ["id", 1]]
2187
+  (26.0ms) commit transaction
2188
+ Redirected to http://localhost:3000/
2189
+ Completed 302 Found in 256ms (ActiveRecord: 27.1ms)
2190
+
2191
+
2192
+ Started GET "/" for ::1 at 2015-09-08 07:40:28 -0500
2193
+ Processing by SecretsController#index as HTML
2194
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
2195
+ Rendered secrets/index.html.erb within layouts/application (0.5ms)
2196
+ Completed 200 OK in 19ms (Views: 16.5ms | ActiveRecord: 0.1ms)
2197
+
2198
+
2199
+ Started GET "/assets/application.self.css?body=1" for ::1 at 2015-09-08 07:40:28 -0500
2200
+
2201
+
2202
+ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-09-08 07:40:28 -0500