devise_token_auth 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc69c96d87d3ae188a64a39fe675deedd78341da
4
- data.tar.gz: e156302a8fd89576255d8decff2daef9cf67710a
3
+ metadata.gz: 3d5223a7133b90d39a6485276482d09a223acf03
4
+ data.tar.gz: 28f4a3c04c27759fa82586bd2aa357fd79589b96
5
5
  SHA512:
6
- metadata.gz: 9721fc3d637ede567a8d2302a5a6a30b010d3ff333546742f1ced8de6bcd92841766c9d7c67ffc4757859f9ab94340fed87066093dd0fcc6b8953f4ad5a92823
7
- data.tar.gz: f0e8d50b103dfa90d575c82d02303fa4d1172b980fb150683f032e5af05aacfb33929461011158ae8d62bc8794674363d6f30b5d2d2736ce811b2fb48f115d89
6
+ metadata.gz: fb4c846f91d1ca5daf5c9f1f57f044b986d5348111db1f6c91f9dfe5429dc0930d9889768e4f0a31eef573bbd41fe1528efda28e40150acaf0e559736a6f9e6e
7
+ data.tar.gz: f6dbfd0da391721db36f79a96da92259931cefa3ce5cf10c8ff0afde2d40c6b217b3c7318ab028689ecc2ca8b983392a0430b0a182102faab752247f6facdfbe
@@ -59,10 +59,11 @@ module DeviseTokenAuth
59
59
  end
60
60
 
61
61
  def omniauth_failure
62
- render json: {
63
- success: false,
64
- errors: [params[:message]]
65
- }, status: 500
62
+ @error = params[:message]
63
+
64
+ respond_to do |format|
65
+ format.html { render :layout => "omniauth_response", :template => "devise_token_auth/omniauth_failure" }
66
+ end
66
67
  end
67
68
 
68
69
  def auth_hash
@@ -5,23 +5,21 @@ module DeviseTokenAuth
5
5
  def show
6
6
  @user = User.confirm_by_token(params[:confirmation_token])
7
7
  if @user
8
- sign_in @user
9
-
10
8
  # create client id
11
- @client_id = SecureRandom.urlsafe_base64(nil, false)
12
- @token = SecureRandom.urlsafe_base64(nil, false)
9
+ client_id = SecureRandom.urlsafe_base64(nil, false)
13
10
 
14
- @user.tokens[@client_id] = {
15
- token: BCrypt::Password.create(@token),
11
+ token = SecureRandom.urlsafe_base64(nil, false)
12
+ token_hash = BCrypt::Password.create(token)
13
+ @user.tokens[client_id] = {
14
+ token: token_hash,
16
15
  expiry: Time.now + 2.weeks
17
16
  }
18
-
19
- @user.save
17
+ @user.save!
20
18
 
21
19
  redirect_to generate_url(@user.confirm_success_url, {
22
- token: @token,
23
- client_id: @client_id,
24
- email: @user.email
20
+ token: token,
21
+ client_id: client_id,
22
+ uid: @user.uid
25
23
  })
26
24
  else
27
25
  raise ActionController::RoutingError.new('Not Found')
data/app/models/user.rb CHANGED
@@ -2,7 +2,8 @@ class User < ActiveRecord::Base
2
2
  # Include default devise modules. Others available are:
3
3
  # :confirmable, :lockable, :timeoutable and :omniauthable
4
4
  devise :database_authenticatable, :registerable,
5
- :recoverable, :rememberable, :trackable, :validatable
5
+ :recoverable, :rememberable, :trackable, :validatable,
6
+ :confirmable
6
7
 
7
8
  serialize :tokens, JSON
8
9
 
@@ -12,4 +13,10 @@ class User < ActiveRecord::Base
12
13
 
13
14
  return true
14
15
  end
16
+
17
+ def serializable_hash(options={})
18
+ options ||= {}
19
+ options[:except] ||= [:tokens]
20
+ super(options)
21
+ end
15
22
  end
@@ -0,0 +1,5 @@
1
+ <p>Welcome <%= @email %>!</p>
2
+
3
+ <p>You can confirm your account email through the link below:</p>
4
+
5
+ <p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
@@ -0,0 +1,8 @@
1
+ <p>Hello <%= @resource.email %>!</p>
2
+
3
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
4
+
5
+ <p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
6
+
7
+ <p>If you didn't request this, please ignore this email.</p>
8
+ <p>Your password won't change until you access the link above and create a new one.</p>
@@ -0,0 +1,7 @@
1
+ <p>Hello <%= @resource.email %>!</p>
2
+
3
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
4
+
5
+ <p>Click the link below to unlock your account:</p>
6
+
7
+ <p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p>
@@ -0,0 +1,2 @@
1
+ message: "authFailure",
2
+ error: "<%= @error %>"
@@ -24,7 +24,7 @@ class DeviseTokenAuthCreateUsers < ActiveRecord::Migration
24
24
  t.datetime :confirmed_at
25
25
  t.datetime :confirmation_sent_at
26
26
  t.string :confirm_success_url
27
- # t.string :unconfirmed_email # Only if using reconfirmable
27
+ t.string :unconfirmed_email # Only if using reconfirmable
28
28
 
29
29
  ## Lockable
30
30
  # t.integer :failed_attempts, :default => 0, :null => false # Only if lock strategy is :failed_attempts
@@ -1,3 +1,3 @@
1
1
  module DeviseTokenAuth
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -24,8 +24,8 @@ module Dummy
24
24
  config.middleware.use Rack::Cors do
25
25
  allow do
26
26
  origins '*'
27
- resource '*',
28
- :headers => :any,
27
+ resource '*',
28
+ :headers => :any,
29
29
  :expose => ['Authorization'],
30
30
  :methods => [:get, :post, :options, :delete, :put]
31
31
  end
@@ -14,7 +14,12 @@ Rails.application.configure do
14
14
  config.action_controller.perform_caching = false
15
15
 
16
16
  # Don't care if the mailer can't send.
17
- config.action_mailer.raise_delivery_errors = false
17
+ config.action_mailer.raise_delivery_errors = true
18
+
19
+ # use mailcatcher for development
20
+ config.action_mailer.default_url_options = { :host => 'localhost:3000' }
21
+ config.action_mailer.delivery_method = :smtp
22
+ config.action_mailer.smtp_settings = { :address => 'localhost', :port => 1025 }
18
23
 
19
24
  # Print deprecation notices to the Rails logger.
20
25
  config.active_support.deprecation = :log
Binary file
@@ -25,16 +25,13 @@ class DeviseTokenAuthCreateUsers < ActiveRecord::Migration
25
25
  t.datetime :confirmed_at
26
26
  t.datetime :confirmation_sent_at
27
27
  t.string :confirm_success_url
28
- # t.string :unconfirmed_email # Only if using reconfirmable
28
+ t.string :unconfirmed_email # Only if using reconfirmable
29
29
 
30
30
  ## Lockable
31
31
  # t.integer :failed_attempts, :default => 0, :null => false # Only if lock strategy is :failed_attempts
32
32
  # t.string :unlock_token # Only if unlock strategy is :email or :both
33
33
  # t.datetime :locked_at
34
34
 
35
- ## Token auth
36
- t.text :tokens, default: "{}"
37
-
38
35
  ## User Info
39
36
  t.string :name
40
37
  t.string :nickname
@@ -44,6 +41,9 @@ class DeviseTokenAuthCreateUsers < ActiveRecord::Migration
44
41
  t.string :provider
45
42
  t.string :uid, :null => false, :default => ""
46
43
 
44
+ ## Tokens
45
+ t.text :tokens, default: "{}"
46
+
47
47
  t.timestamps
48
48
  end
49
49
 
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20140629011345) do
14
+ ActiveRecord::Schema.define(version: 20140705000006) do
15
15
 
16
16
  create_table "users", force: true do |t|
17
17
  t.string "email"
@@ -28,12 +28,13 @@ ActiveRecord::Schema.define(version: 20140629011345) do
28
28
  t.datetime "confirmed_at"
29
29
  t.datetime "confirmation_sent_at"
30
30
  t.string "confirm_success_url"
31
- t.text "tokens", default: "{}"
31
+ t.string "unconfirmed_email"
32
32
  t.string "name"
33
33
  t.string "nickname"
34
34
  t.string "image"
35
35
  t.string "provider"
36
36
  t.string "uid", default: "", null: false
37
+ t.text "tokens", default: "{}"
37
38
  t.datetime "created_at"
38
39
  t.datetime "updated_at"
39
40
  end
@@ -9280,3 +9280,1491 @@ Processing by TestController#members_only as HTML
9280
9280
  SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"BCknj1mMOe5EC2teV7gCUA\":\"FWr_xtDSjDBa-rbttVO5TA\",\"test\":\"bang\",\"qPd_p8jb87n0qaItB3OkHg\":\"$2a$10$clFi91Rcjp8FzI3vejq6ZuTMovwEjl2Uyg1aLT.c0o1NpGFzeIPSC\",\"dPsMa22fATPBeD9tiZMPQQ\":\"$2a$10$waP72qzcaa2fR637odJ70udAVlGtZiWvC24.QCUJWwLEbQUMmkGjq\",\"4ZkphrWN2TdUm5ecxvT4IA\":\"$2a$10$jIEpglKfH20XiYytrRLMNe8XMns0hXbTHO3yYRoQq0P.XPqcSFv/6\",\"S9i_DeW7ibC2NqKTZontow\":\"$2a$10$JvoA5XMA2txzp0P.tirBOuGwvjg5CZs86VK/dlmjSFxva/TmcU47O\",\"CVW3IA1cwOha9DFX_NU0wQ\":\"$2a$10$K0S3m6lcXW8ctI9TNwbvM.Uj8/En9Y1pHw3.RNENtGMEjTjWAzWIC\",\"khKYTEn6P5Rg0Hw0YvQ6wA\":{\"token\":\"$2a$10$IS258ND/YEymZpzKYLY.1OCSlrFCsiW8ZWdtIyvkQc/ht6Eu0ifWi\",\"expiry\":\"2014-07-14 23:23:14 -0500\"},\"Q83v5Wwjk1ytln1Zl0IQjQ\":{\"token\":\"$2a$10$I/wpSDRhLVUpYzKwTTQuI.XXlhWYz4nyWzCxwiD1XI/c/jIDyTqG2\",\"expiry\":\"2014-07-14 23:24:11 -0500\"},\"EFk09-tpS03qv9tZ3cRokg\":{\"token\":\"$2a$10$Ap8zljKcwhTJfhYsXQGIFuR8ZfhrO7qOUnP368MVCu2bNVDfgePLe\",\"expiry\":\"2014-07-14 23:27:02 -0500\"},\"gYDp6xK2BeGpHn9-NbtsaA\":{\"token\":\"$2a$10$PSCWrPpEMFSZeUv.6FE4dOjAb/a5YcaimbH4Ykc4yMTM35FzcErp.\",\"expiry\":\"2014-07-14 23:29:16 -0500\"},\"8ydX0xUFhYu8sCiROLYLig\":{\"token\":\"$2a$10$2FORLOZnWtk1m0SNlRxDCOg5tzDchvCMJVu822YDOX0bc6254zDUK\",\"expiry\":\"2014-07-14 23:31:59 -0500\"},\"wwMjRZ2y7RfiPFEqGdbGOA\":{\"token\":\"$2a$10$0X1YGbIPYAgBHvn/wyS/a.9UQTj7H0F6P4LCQjkOWCsIWZoh9tYrC\",\"expiry\":\"2014-07-14 23:50:17 -0500\"}}"], ["updated_at", "2014-07-01 04:50:17.914340"]]
9281
9281
   (0.6ms) commit transaction
9282
9282
  Completed 200 OK in 158ms (Views: 0.6ms | ActiveRecord: 3.4ms)
9283
+
9284
+
9285
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-06-30 23:56:16 -0500
9286
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
9287
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
9288
+  (0.1ms) begin transaction
9289
+ SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-07-01 04:56:16.475764"], ["last_sign_in_at", "2014-07-01 04:50:17.833075"], ["sign_in_count", 24], ["tokens", "{\"BCknj1mMOe5EC2teV7gCUA\":\"FWr_xtDSjDBa-rbttVO5TA\",\"test\":\"bang\",\"qPd_p8jb87n0qaItB3OkHg\":\"$2a$10$clFi91Rcjp8FzI3vejq6ZuTMovwEjl2Uyg1aLT.c0o1NpGFzeIPSC\",\"dPsMa22fATPBeD9tiZMPQQ\":\"$2a$10$waP72qzcaa2fR637odJ70udAVlGtZiWvC24.QCUJWwLEbQUMmkGjq\",\"4ZkphrWN2TdUm5ecxvT4IA\":\"$2a$10$jIEpglKfH20XiYytrRLMNe8XMns0hXbTHO3yYRoQq0P.XPqcSFv/6\",\"S9i_DeW7ibC2NqKTZontow\":\"$2a$10$JvoA5XMA2txzp0P.tirBOuGwvjg5CZs86VK/dlmjSFxva/TmcU47O\",\"CVW3IA1cwOha9DFX_NU0wQ\":\"$2a$10$K0S3m6lcXW8ctI9TNwbvM.Uj8/En9Y1pHw3.RNENtGMEjTjWAzWIC\",\"khKYTEn6P5Rg0Hw0YvQ6wA\":{\"token\":\"$2a$10$IS258ND/YEymZpzKYLY.1OCSlrFCsiW8ZWdtIyvkQc/ht6Eu0ifWi\",\"expiry\":\"2014-07-14 23:23:14 -0500\"},\"Q83v5Wwjk1ytln1Zl0IQjQ\":{\"token\":\"$2a$10$I/wpSDRhLVUpYzKwTTQuI.XXlhWYz4nyWzCxwiD1XI/c/jIDyTqG2\",\"expiry\":\"2014-07-14 23:24:11 -0500\"},\"EFk09-tpS03qv9tZ3cRokg\":{\"token\":\"$2a$10$Ap8zljKcwhTJfhYsXQGIFuR8ZfhrO7qOUnP368MVCu2bNVDfgePLe\",\"expiry\":\"2014-07-14 23:27:02 -0500\"},\"gYDp6xK2BeGpHn9-NbtsaA\":{\"token\":\"$2a$10$PSCWrPpEMFSZeUv.6FE4dOjAb/a5YcaimbH4Ykc4yMTM35FzcErp.\",\"expiry\":\"2014-07-14 23:29:16 -0500\"},\"8ydX0xUFhYu8sCiROLYLig\":{\"token\":\"$2a$10$2FORLOZnWtk1m0SNlRxDCOg5tzDchvCMJVu822YDOX0bc6254zDUK\",\"expiry\":\"2014-07-14 23:31:59 -0500\"},\"wwMjRZ2y7RfiPFEqGdbGOA\":{\"token\":\"$2a$10$0X1YGbIPYAgBHvn/wyS/a.9UQTj7H0F6P4LCQjkOWCsIWZoh9tYrC\",\"expiry\":\"2014-07-14 23:50:17 -0500\"}}"], ["updated_at", "2014-07-01 04:56:16.476261"]]
9290
+  (1.7ms) commit transaction
9291
+  (0.1ms) begin transaction
9292
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"BCknj1mMOe5EC2teV7gCUA\":\"FWr_xtDSjDBa-rbttVO5TA\",\"test\":\"bang\",\"qPd_p8jb87n0qaItB3OkHg\":\"$2a$10$clFi91Rcjp8FzI3vejq6ZuTMovwEjl2Uyg1aLT.c0o1NpGFzeIPSC\",\"dPsMa22fATPBeD9tiZMPQQ\":\"$2a$10$waP72qzcaa2fR637odJ70udAVlGtZiWvC24.QCUJWwLEbQUMmkGjq\",\"4ZkphrWN2TdUm5ecxvT4IA\":\"$2a$10$jIEpglKfH20XiYytrRLMNe8XMns0hXbTHO3yYRoQq0P.XPqcSFv/6\",\"S9i_DeW7ibC2NqKTZontow\":\"$2a$10$JvoA5XMA2txzp0P.tirBOuGwvjg5CZs86VK/dlmjSFxva/TmcU47O\",\"CVW3IA1cwOha9DFX_NU0wQ\":\"$2a$10$K0S3m6lcXW8ctI9TNwbvM.Uj8/En9Y1pHw3.RNENtGMEjTjWAzWIC\",\"khKYTEn6P5Rg0Hw0YvQ6wA\":{\"token\":\"$2a$10$IS258ND/YEymZpzKYLY.1OCSlrFCsiW8ZWdtIyvkQc/ht6Eu0ifWi\",\"expiry\":\"2014-07-14 23:23:14 -0500\"},\"Q83v5Wwjk1ytln1Zl0IQjQ\":{\"token\":\"$2a$10$I/wpSDRhLVUpYzKwTTQuI.XXlhWYz4nyWzCxwiD1XI/c/jIDyTqG2\",\"expiry\":\"2014-07-14 23:24:11 -0500\"},\"EFk09-tpS03qv9tZ3cRokg\":{\"token\":\"$2a$10$Ap8zljKcwhTJfhYsXQGIFuR8ZfhrO7qOUnP368MVCu2bNVDfgePLe\",\"expiry\":\"2014-07-14 23:27:02 -0500\"},\"gYDp6xK2BeGpHn9-NbtsaA\":{\"token\":\"$2a$10$PSCWrPpEMFSZeUv.6FE4dOjAb/a5YcaimbH4Ykc4yMTM35FzcErp.\",\"expiry\":\"2014-07-14 23:29:16 -0500\"},\"8ydX0xUFhYu8sCiROLYLig\":{\"token\":\"$2a$10$2FORLOZnWtk1m0SNlRxDCOg5tzDchvCMJVu822YDOX0bc6254zDUK\",\"expiry\":\"2014-07-14 23:31:59 -0500\"},\"wwMjRZ2y7RfiPFEqGdbGOA\":{\"token\":\"$2a$10$.ReFaK2yk0lnyjAz29vvcO92MVP8zlbOIrcLPEgVcVPOSlfeZyxNK\",\"expiry\":\"2014-07-14 23:56:16 -0500\"}}"], ["updated_at", "2014-07-01 04:56:16.543405"]]
9293
+  (0.7ms) commit transaction
9294
+ Completed 200 OK in 134ms (Views: 0.9ms | ActiveRecord: 3.4ms)
9295
+
9296
+
9297
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-06-30 23:56:36 -0500
9298
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
9299
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
9300
+  (0.1ms) begin transaction
9301
+ SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-07-01 04:56:36.599442"], ["last_sign_in_at", "2014-07-01 04:56:16.475764"], ["sign_in_count", 25], ["tokens", "{\"BCknj1mMOe5EC2teV7gCUA\":\"FWr_xtDSjDBa-rbttVO5TA\",\"test\":\"bang\",\"qPd_p8jb87n0qaItB3OkHg\":\"$2a$10$clFi91Rcjp8FzI3vejq6ZuTMovwEjl2Uyg1aLT.c0o1NpGFzeIPSC\",\"dPsMa22fATPBeD9tiZMPQQ\":\"$2a$10$waP72qzcaa2fR637odJ70udAVlGtZiWvC24.QCUJWwLEbQUMmkGjq\",\"4ZkphrWN2TdUm5ecxvT4IA\":\"$2a$10$jIEpglKfH20XiYytrRLMNe8XMns0hXbTHO3yYRoQq0P.XPqcSFv/6\",\"S9i_DeW7ibC2NqKTZontow\":\"$2a$10$JvoA5XMA2txzp0P.tirBOuGwvjg5CZs86VK/dlmjSFxva/TmcU47O\",\"CVW3IA1cwOha9DFX_NU0wQ\":\"$2a$10$K0S3m6lcXW8ctI9TNwbvM.Uj8/En9Y1pHw3.RNENtGMEjTjWAzWIC\",\"khKYTEn6P5Rg0Hw0YvQ6wA\":{\"token\":\"$2a$10$IS258ND/YEymZpzKYLY.1OCSlrFCsiW8ZWdtIyvkQc/ht6Eu0ifWi\",\"expiry\":\"2014-07-14 23:23:14 -0500\"},\"Q83v5Wwjk1ytln1Zl0IQjQ\":{\"token\":\"$2a$10$I/wpSDRhLVUpYzKwTTQuI.XXlhWYz4nyWzCxwiD1XI/c/jIDyTqG2\",\"expiry\":\"2014-07-14 23:24:11 -0500\"},\"EFk09-tpS03qv9tZ3cRokg\":{\"token\":\"$2a$10$Ap8zljKcwhTJfhYsXQGIFuR8ZfhrO7qOUnP368MVCu2bNVDfgePLe\",\"expiry\":\"2014-07-14 23:27:02 -0500\"},\"gYDp6xK2BeGpHn9-NbtsaA\":{\"token\":\"$2a$10$PSCWrPpEMFSZeUv.6FE4dOjAb/a5YcaimbH4Ykc4yMTM35FzcErp.\",\"expiry\":\"2014-07-14 23:29:16 -0500\"},\"8ydX0xUFhYu8sCiROLYLig\":{\"token\":\"$2a$10$2FORLOZnWtk1m0SNlRxDCOg5tzDchvCMJVu822YDOX0bc6254zDUK\",\"expiry\":\"2014-07-14 23:31:59 -0500\"},\"wwMjRZ2y7RfiPFEqGdbGOA\":{\"token\":\"$2a$10$.ReFaK2yk0lnyjAz29vvcO92MVP8zlbOIrcLPEgVcVPOSlfeZyxNK\",\"expiry\":\"2014-07-14 23:56:16 -0500\"}}"], ["updated_at", "2014-07-01 04:56:36.599958"]]
9302
+  (1.6ms) commit transaction
9303
+  (0.1ms) begin transaction
9304
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"BCknj1mMOe5EC2teV7gCUA\":\"FWr_xtDSjDBa-rbttVO5TA\",\"test\":\"bang\",\"qPd_p8jb87n0qaItB3OkHg\":\"$2a$10$clFi91Rcjp8FzI3vejq6ZuTMovwEjl2Uyg1aLT.c0o1NpGFzeIPSC\",\"dPsMa22fATPBeD9tiZMPQQ\":\"$2a$10$waP72qzcaa2fR637odJ70udAVlGtZiWvC24.QCUJWwLEbQUMmkGjq\",\"4ZkphrWN2TdUm5ecxvT4IA\":\"$2a$10$jIEpglKfH20XiYytrRLMNe8XMns0hXbTHO3yYRoQq0P.XPqcSFv/6\",\"S9i_DeW7ibC2NqKTZontow\":\"$2a$10$JvoA5XMA2txzp0P.tirBOuGwvjg5CZs86VK/dlmjSFxva/TmcU47O\",\"CVW3IA1cwOha9DFX_NU0wQ\":\"$2a$10$K0S3m6lcXW8ctI9TNwbvM.Uj8/En9Y1pHw3.RNENtGMEjTjWAzWIC\",\"khKYTEn6P5Rg0Hw0YvQ6wA\":{\"token\":\"$2a$10$IS258ND/YEymZpzKYLY.1OCSlrFCsiW8ZWdtIyvkQc/ht6Eu0ifWi\",\"expiry\":\"2014-07-14 23:23:14 -0500\"},\"Q83v5Wwjk1ytln1Zl0IQjQ\":{\"token\":\"$2a$10$I/wpSDRhLVUpYzKwTTQuI.XXlhWYz4nyWzCxwiD1XI/c/jIDyTqG2\",\"expiry\":\"2014-07-14 23:24:11 -0500\"},\"EFk09-tpS03qv9tZ3cRokg\":{\"token\":\"$2a$10$Ap8zljKcwhTJfhYsXQGIFuR8ZfhrO7qOUnP368MVCu2bNVDfgePLe\",\"expiry\":\"2014-07-14 23:27:02 -0500\"},\"gYDp6xK2BeGpHn9-NbtsaA\":{\"token\":\"$2a$10$PSCWrPpEMFSZeUv.6FE4dOjAb/a5YcaimbH4Ykc4yMTM35FzcErp.\",\"expiry\":\"2014-07-14 23:29:16 -0500\"},\"8ydX0xUFhYu8sCiROLYLig\":{\"token\":\"$2a$10$2FORLOZnWtk1m0SNlRxDCOg5tzDchvCMJVu822YDOX0bc6254zDUK\",\"expiry\":\"2014-07-14 23:31:59 -0500\"},\"wwMjRZ2y7RfiPFEqGdbGOA\":{\"token\":\"$2a$10$nsUA3XZQiV.6xe1Ygf.tdOd7V8f2OjlbZHGP0dBGDqQx18l1Si.Zm\",\"expiry\":\"2014-07-14 23:56:36 -0500\"}}"], ["updated_at", "2014-07-01 04:56:36.665473"]]
9305
+  (0.6ms) commit transaction
9306
+ Completed 200 OK in 131ms (Views: 0.5ms | ActiveRecord: 3.0ms)
9307
+
9308
+
9309
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-06-30 23:58:14 -0500
9310
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
9311
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
9312
+  (0.1ms) begin transaction
9313
+ SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-07-01 04:58:14.971524"], ["last_sign_in_at", "2014-07-01 04:56:36.599442"], ["sign_in_count", 26], ["tokens", "{\"BCknj1mMOe5EC2teV7gCUA\":\"FWr_xtDSjDBa-rbttVO5TA\",\"test\":\"bang\",\"qPd_p8jb87n0qaItB3OkHg\":\"$2a$10$clFi91Rcjp8FzI3vejq6ZuTMovwEjl2Uyg1aLT.c0o1NpGFzeIPSC\",\"dPsMa22fATPBeD9tiZMPQQ\":\"$2a$10$waP72qzcaa2fR637odJ70udAVlGtZiWvC24.QCUJWwLEbQUMmkGjq\",\"4ZkphrWN2TdUm5ecxvT4IA\":\"$2a$10$jIEpglKfH20XiYytrRLMNe8XMns0hXbTHO3yYRoQq0P.XPqcSFv/6\",\"S9i_DeW7ibC2NqKTZontow\":\"$2a$10$JvoA5XMA2txzp0P.tirBOuGwvjg5CZs86VK/dlmjSFxva/TmcU47O\",\"CVW3IA1cwOha9DFX_NU0wQ\":\"$2a$10$K0S3m6lcXW8ctI9TNwbvM.Uj8/En9Y1pHw3.RNENtGMEjTjWAzWIC\",\"khKYTEn6P5Rg0Hw0YvQ6wA\":{\"token\":\"$2a$10$IS258ND/YEymZpzKYLY.1OCSlrFCsiW8ZWdtIyvkQc/ht6Eu0ifWi\",\"expiry\":\"2014-07-14 23:23:14 -0500\"},\"Q83v5Wwjk1ytln1Zl0IQjQ\":{\"token\":\"$2a$10$I/wpSDRhLVUpYzKwTTQuI.XXlhWYz4nyWzCxwiD1XI/c/jIDyTqG2\",\"expiry\":\"2014-07-14 23:24:11 -0500\"},\"EFk09-tpS03qv9tZ3cRokg\":{\"token\":\"$2a$10$Ap8zljKcwhTJfhYsXQGIFuR8ZfhrO7qOUnP368MVCu2bNVDfgePLe\",\"expiry\":\"2014-07-14 23:27:02 -0500\"},\"gYDp6xK2BeGpHn9-NbtsaA\":{\"token\":\"$2a$10$PSCWrPpEMFSZeUv.6FE4dOjAb/a5YcaimbH4Ykc4yMTM35FzcErp.\",\"expiry\":\"2014-07-14 23:29:16 -0500\"},\"8ydX0xUFhYu8sCiROLYLig\":{\"token\":\"$2a$10$2FORLOZnWtk1m0SNlRxDCOg5tzDchvCMJVu822YDOX0bc6254zDUK\",\"expiry\":\"2014-07-14 23:31:59 -0500\"},\"wwMjRZ2y7RfiPFEqGdbGOA\":{\"token\":\"$2a$10$nsUA3XZQiV.6xe1Ygf.tdOd7V8f2OjlbZHGP0dBGDqQx18l1Si.Zm\",\"expiry\":\"2014-07-14 23:56:36 -0500\"}}"], ["updated_at", "2014-07-01 04:58:14.972244"]]
9314
+  (1.7ms) commit transaction
9315
+  (0.1ms) begin transaction
9316
+ SQL (0.4ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"BCknj1mMOe5EC2teV7gCUA\":\"FWr_xtDSjDBa-rbttVO5TA\",\"test\":\"bang\",\"qPd_p8jb87n0qaItB3OkHg\":\"$2a$10$clFi91Rcjp8FzI3vejq6ZuTMovwEjl2Uyg1aLT.c0o1NpGFzeIPSC\",\"dPsMa22fATPBeD9tiZMPQQ\":\"$2a$10$waP72qzcaa2fR637odJ70udAVlGtZiWvC24.QCUJWwLEbQUMmkGjq\",\"4ZkphrWN2TdUm5ecxvT4IA\":\"$2a$10$jIEpglKfH20XiYytrRLMNe8XMns0hXbTHO3yYRoQq0P.XPqcSFv/6\",\"S9i_DeW7ibC2NqKTZontow\":\"$2a$10$JvoA5XMA2txzp0P.tirBOuGwvjg5CZs86VK/dlmjSFxva/TmcU47O\",\"CVW3IA1cwOha9DFX_NU0wQ\":\"$2a$10$K0S3m6lcXW8ctI9TNwbvM.Uj8/En9Y1pHw3.RNENtGMEjTjWAzWIC\",\"khKYTEn6P5Rg0Hw0YvQ6wA\":{\"token\":\"$2a$10$IS258ND/YEymZpzKYLY.1OCSlrFCsiW8ZWdtIyvkQc/ht6Eu0ifWi\",\"expiry\":\"2014-07-14 23:23:14 -0500\"},\"Q83v5Wwjk1ytln1Zl0IQjQ\":{\"token\":\"$2a$10$I/wpSDRhLVUpYzKwTTQuI.XXlhWYz4nyWzCxwiD1XI/c/jIDyTqG2\",\"expiry\":\"2014-07-14 23:24:11 -0500\"},\"EFk09-tpS03qv9tZ3cRokg\":{\"token\":\"$2a$10$Ap8zljKcwhTJfhYsXQGIFuR8ZfhrO7qOUnP368MVCu2bNVDfgePLe\",\"expiry\":\"2014-07-14 23:27:02 -0500\"},\"gYDp6xK2BeGpHn9-NbtsaA\":{\"token\":\"$2a$10$PSCWrPpEMFSZeUv.6FE4dOjAb/a5YcaimbH4Ykc4yMTM35FzcErp.\",\"expiry\":\"2014-07-14 23:29:16 -0500\"},\"8ydX0xUFhYu8sCiROLYLig\":{\"token\":\"$2a$10$2FORLOZnWtk1m0SNlRxDCOg5tzDchvCMJVu822YDOX0bc6254zDUK\",\"expiry\":\"2014-07-14 23:31:59 -0500\"},\"wwMjRZ2y7RfiPFEqGdbGOA\":{\"token\":\"$2a$10$/t96jOy5I.j3slVn1.DYUungFR3EKSlYTNmA5WS3/B5EHCa4.X6OO\",\"expiry\":\"2014-07-14 23:58:15 -0500\"}}"], ["updated_at", "2014-07-01 04:58:15.040471"]]
9317
+  (0.7ms) commit transaction
9318
+ Completed 200 OK in 136ms (Views: 0.9ms | ActiveRecord: 3.5ms)
9319
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9320
+ Migrating to DeviseTokenAuthCreateUsers (20140705000006)
9321
+  (0.1ms) begin transaction
9322
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "tokens" text DEFAULT '{}', "created_at" datetime, "updated_at" datetime) 
9323
+ SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "tokens" text DEFAULT '{}', "created_at" datetime, "updated_at" datetime)
9324
+  (0.0ms) rollback transaction
9325
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9326
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9327
+  (0.1ms)  SELECT sql
9328
+ FROM sqlite_master
9329
+ WHERE name='index_users_on_reset_password_token' AND type='index'
9330
+ UNION ALL
9331
+ SELECT sql
9332
+ FROM sqlite_temp_master
9333
+ WHERE name='index_users_on_reset_password_token' AND type='index'
9334
+ 
9335
+  (0.1ms) SELECT sql
9336
+ FROM sqlite_master
9337
+ WHERE name='index_users_on_email' AND type='index'
9338
+ UNION ALL
9339
+ SELECT sql
9340
+ FROM sqlite_temp_master
9341
+ WHERE name='index_users_on_email' AND type='index'
9342
+
9343
+  (0.1ms)  SELECT sql
9344
+ FROM sqlite_master
9345
+ WHERE name='index_users_on_uid' AND type='index'
9346
+ UNION ALL
9347
+ SELECT sql
9348
+ FROM sqlite_temp_master
9349
+ WHERE name='index_users_on_uid' AND type='index'
9350
+ 
9351
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9352
+ Migrating to DeviseTokenAuthCreateUsers (20140705000006)
9353
+  (0.0ms) begin transaction
9354
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "tokens" text DEFAULT '{}', "created_at" datetime, "updated_at" datetime) 
9355
+ SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "tokens" text DEFAULT '{}', "created_at" datetime, "updated_at" datetime)
9356
+  (0.0ms) rollback transaction
9357
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
9358
+  (0.0ms) select sqlite_version(*)
9359
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9360
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9361
+ Migrating to DeviseTokenAuthCreateUsers (20140705000006)
9362
+  (0.0ms) begin transaction
9363
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "tokens" text DEFAULT '{}', "created_at" datetime, "updated_at" datetime)
9364
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_uid" ON "users" ("uid")
9365
+  (0.1ms) SELECT sql
9366
+ FROM sqlite_master
9367
+ WHERE name='index_users_on_uid' AND type='index'
9368
+ UNION ALL
9369
+ SELECT sql
9370
+ FROM sqlite_temp_master
9371
+ WHERE name='index_users_on_uid' AND type='index'
9372
+
9373
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
9374
+  (0.0ms) SELECT sql
9375
+ FROM sqlite_master
9376
+ WHERE name='index_users_on_email' AND type='index'
9377
+ UNION ALL
9378
+ SELECT sql
9379
+ FROM sqlite_temp_master
9380
+ WHERE name='index_users_on_email' AND type='index'
9381
+
9382
+  (0.0ms)  SELECT sql
9383
+ FROM sqlite_master
9384
+ WHERE name='index_users_on_uid' AND type='index'
9385
+ UNION ALL
9386
+ SELECT sql
9387
+ FROM sqlite_temp_master
9388
+ WHERE name='index_users_on_uid' AND type='index'
9389
+ 
9390
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
9391
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140705000006"]]
9392
+  (0.7ms) commit transaction
9393
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9394
+  (0.1ms) SELECT sql
9395
+ FROM sqlite_master
9396
+ WHERE name='index_users_on_reset_password_token' AND type='index'
9397
+ UNION ALL
9398
+ SELECT sql
9399
+ FROM sqlite_temp_master
9400
+ WHERE name='index_users_on_reset_password_token' AND type='index'
9401
+
9402
+  (0.1ms)  SELECT sql
9403
+ FROM sqlite_master
9404
+ WHERE name='index_users_on_email' AND type='index'
9405
+ UNION ALL
9406
+ SELECT sql
9407
+ FROM sqlite_temp_master
9408
+ WHERE name='index_users_on_email' AND type='index'
9409
+ 
9410
+  (0.1ms) SELECT sql
9411
+ FROM sqlite_master
9412
+ WHERE name='index_users_on_uid' AND type='index'
9413
+ UNION ALL
9414
+ SELECT sql
9415
+ FROM sqlite_temp_master
9416
+ WHERE name='index_users_on_uid' AND type='index'
9417
+
9418
+
9419
+
9420
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-04 19:01:33 -0500
9421
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9422
+
9423
+
9424
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:01:33 -0500
9425
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
9426
+ Parameters: {"email"=>"test@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/", "registration"=>{"email"=>"test@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/"}}
9427
+ Unpermitted parameters: registration
9428
+ Unpermitted parameters: registration
9429
+  (0.1ms) begin transaction
9430
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
9431
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '379e0a96e308c9fd175dee1e118b6bb7a88b409446881627d7c5f1cdaaf5fc79' ORDER BY "users"."id" ASC LIMIT 1
9432
+ Binary data inserted for `string` type on column `confirmation_token`
9433
+ Binary data inserted for `string` type on column `encrypted_password`
9434
+ SQL (0.4ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/"], ["confirmation_sent_at", "2014-07-05 00:01:33.743075"], ["confirmation_token", "379e0a96e308c9fd175dee1e118b6bb7a88b409446881627d7c5f1cdaaf5fc79"], ["created_at", "2014-07-05 00:01:33.565276"], ["email", "test@test.com"], ["encrypted_password", "$2a$10$7zcZrG6HZyp28mpLy3MaXOjfTHz3aNYLxXhSQhdFrELf/vna.qEeC"], ["provider", "email"], ["tokens", "{}"], ["uid", "test@test.com"], ["updated_at", "2014-07-05 00:01:33.565276"]]
9435
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (3.6ms)
9436
+
9437
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 28.1ms
9438
+  (0.4ms) rollback transaction
9439
+ Completed 500 Internal Server Error in 307ms
9440
+
9441
+ ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):
9442
+ 2:
9443
+ 3: <p>You can confirm your account email through the link below:</p>
9444
+ 4:
9445
+ 5: <p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
9446
+ actionpack (4.1.2) lib/action_dispatch/http/url.rb:67:in `build_host_url'
9447
+ actionpack (4.1.2) lib/action_dispatch/http/url.rb:42:in `url_for'
9448
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:668:in `url_for'
9449
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:397:in `url_for'
9450
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:230:in `call'
9451
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:181:in `call'
9452
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:270:in `block (2 levels) in define_url_helper'
9453
+ actionpack (4.1.2) lib/action_dispatch/routing/routes_proxy.rb:31:in `user_confirmation_url'
9454
+ actionpack (4.1.2) lib/action_dispatch/routing/routes_proxy.rb:34:in `method_missing'
9455
+ devise (3.2.4) lib/devise/controllers/url_helpers.rb:50:in `confirmation_url'
9456
+ devise (3.2.4) app/views/devise/mailer/confirmation_instructions.html.erb:5:in `__opt_rubies_______lib_ruby_gems_______gems_devise_______app_views_devise_mailer_confirmation_instructions_html_erb__4416804415261744724_70277176713560'
9457
+ actionview (4.1.2) lib/action_view/template.rb:145:in `block in render'
9458
+ activesupport (4.1.2) lib/active_support/notifications.rb:161:in `instrument'
9459
+ actionview (4.1.2) lib/action_view/template.rb:339:in `instrument'
9460
+ actionview (4.1.2) lib/action_view/template.rb:143:in `render'
9461
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
9462
+ actionview (4.1.2) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
9463
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
9464
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9465
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
9466
+ actionview (4.1.2) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
9467
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
9468
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
9469
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
9470
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:17:in `render'
9471
+ actionview (4.1.2) lib/action_view/renderer/renderer.rb:42:in `render_template'
9472
+ actionview (4.1.2) lib/action_view/renderer/renderer.rb:23:in `render'
9473
+ actionview (4.1.2) lib/action_view/rendering.rb:99:in `_render_template'
9474
+ actionview (4.1.2) lib/action_view/rendering.rb:82:in `render_to_body'
9475
+ actionpack (4.1.2) lib/abstract_controller/rendering.rb:25:in `render'
9476
+ actionmailer (4.1.2) lib/action_mailer/base.rb:847:in `block in collect_responses'
9477
+ actionmailer (4.1.2) lib/action_mailer/base.rb:861:in `each'
9478
+ actionmailer (4.1.2) lib/action_mailer/base.rb:861:in `each_template'
9479
+ actionmailer (4.1.2) lib/action_mailer/base.rb:843:in `collect_responses'
9480
+ actionmailer (4.1.2) lib/action_mailer/base.rb:774:in `mail'
9481
+ devise (3.2.4) lib/devise/mailers/helpers.rb:16:in `devise_mail'
9482
+ devise (3.2.4) app/mailers/devise/mailer.rb:7:in `confirmation_instructions'
9483
+ actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action'
9484
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9485
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
9486
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
9487
+ actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process'
9488
+ actionview (4.1.2) lib/action_view/rendering.rb:30:in `process'
9489
+ actionmailer (4.1.2) lib/action_mailer/base.rb:580:in `block in process'
9490
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
9491
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9492
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
9493
+ actionmailer (4.1.2) lib/action_mailer/base.rb:577:in `process'
9494
+ actionmailer (4.1.2) lib/action_mailer/base.rb:568:in `initialize'
9495
+ actionmailer (4.1.2) lib/action_mailer/base.rb:551:in `new'
9496
+ actionmailer (4.1.2) lib/action_mailer/base.rb:551:in `method_missing'
9497
+ devise (3.2.4) lib/devise/models/authenticatable.rb:173:in `send_devise_notification'
9498
+ devise (3.2.4) lib/devise/models/confirmable.rb:102:in `send_confirmation_instructions'
9499
+ devise (3.2.4) lib/devise/models/confirmable.rb:158:in `send_on_create_confirmation_instructions'
9500
+ activesupport (4.1.2) lib/active_support/callbacks.rb:424:in `block in make_lambda'
9501
+ activesupport (4.1.2) lib/active_support/callbacks.rb:221:in `call'
9502
+ activesupport (4.1.2) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
9503
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
9504
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
9505
+ activerecord (4.1.2) lib/active_record/callbacks.rb:306:in `_create_record'
9506
+ activerecord (4.1.2) lib/active_record/timestamp.rb:57:in `_create_record'
9507
+ activerecord (4.1.2) lib/active_record/persistence.rb:482:in `create_or_update'
9508
+ activerecord (4.1.2) lib/active_record/callbacks.rb:302:in `block in create_or_update'
9509
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
9510
+ activerecord (4.1.2) lib/active_record/callbacks.rb:302:in `create_or_update'
9511
+ activerecord (4.1.2) lib/active_record/persistence.rb:103:in `save'
9512
+ activerecord (4.1.2) lib/active_record/validations.rb:51:in `save'
9513
+ activerecord (4.1.2) lib/active_record/attribute_methods/dirty.rb:21:in `save'
9514
+ activerecord (4.1.2) lib/active_record/transactions.rb:268:in `block (2 levels) in save'
9515
+ activerecord (4.1.2) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
9516
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
9517
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
9518
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
9519
+ activerecord (4.1.2) lib/active_record/transactions.rb:208:in `transaction'
9520
+ activerecord (4.1.2) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
9521
+ activerecord (4.1.2) lib/active_record/transactions.rb:268:in `block in save'
9522
+ activerecord (4.1.2) lib/active_record/transactions.rb:283:in `rollback_active_record_state!'
9523
+ activerecord (4.1.2) lib/active_record/transactions.rb:267:in `save'
9524
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/registrations_controller.rb:14:in `create'
9525
+ actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9526
+ actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action'
9527
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
9528
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9529
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
9530
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
9531
+ activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting'
9532
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
9533
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
9534
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
9535
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
9536
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `call'
9537
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
9538
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `call'
9539
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
9540
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
9541
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
9542
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
9543
+ actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
9544
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
9545
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
9546
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9547
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
9548
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9549
+ actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9550
+ activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9551
+ actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process'
9552
+ actionview (4.1.2) lib/action_view/rendering.rb:30:in `process'
9553
+ actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch'
9554
+ actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
9555
+ actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action'
9556
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call'
9557
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
9558
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call'
9559
+ actionpack (4.1.2) lib/action_dispatch/routing/mapper.rb:45:in `call'
9560
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
9561
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
9562
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
9563
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
9564
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
9565
+ railties (4.1.2) lib/rails/railtie.rb:194:in `public_send'
9566
+ railties (4.1.2) lib/rails/railtie.rb:194:in `method_missing'
9567
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
9568
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
9569
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
9570
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
9571
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
9572
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
9573
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
9574
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
9575
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
9576
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
9577
+ omniauth (1.2.1) lib/omniauth/builder.rb:59:in `call'
9578
+ rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
9579
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
9580
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
9581
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
9582
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
9583
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
9584
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
9585
+ actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
9586
+ actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call'
9587
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
9588
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
9589
+ actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
9590
+ activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call'
9591
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
9592
+ activerecord (4.1.2) lib/active_record/migration.rb:380:in `call'
9593
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
9594
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
9595
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
9596
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
9597
+ actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
9598
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
9599
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
9600
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
9601
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
9602
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
9603
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
9604
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
9605
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
9606
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
9607
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
9608
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
9609
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
9610
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
9611
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
9612
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
9613
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
9614
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
9615
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
9616
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
9617
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
9618
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
9619
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
9620
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
9621
+
9622
+
9623
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
9624
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
9625
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (7.7ms)
9626
+
9627
+
9628
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:04:10 -0500
9629
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9630
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
9631
+ Parameters: {"email"=>"test@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/", "registration"=>{"email"=>"test@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/"}}
9632
+ Unpermitted parameters: registration
9633
+ Unpermitted parameters: registration
9634
+  (0.1ms) begin transaction
9635
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
9636
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '5ecd792d066302eb3f5c5e71b4154ec13f20264cb19800b22d1d983004a2458f' ORDER BY "users"."id" ASC LIMIT 1
9637
+ Binary data inserted for `string` type on column `confirmation_token`
9638
+ Binary data inserted for `string` type on column `encrypted_password`
9639
+ SQL (0.4ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/"], ["confirmation_sent_at", "2014-07-05 00:04:10.370752"], ["confirmation_token", "5ecd792d066302eb3f5c5e71b4154ec13f20264cb19800b22d1d983004a2458f"], ["created_at", "2014-07-05 00:04:10.181630"], ["email", "test@test.com"], ["encrypted_password", "$2a$10$BdAiDINRcnJTqvesmf3AF.ekjgNlijzO83cNWepPebs9dieO/7nYy"], ["provider", "email"], ["tokens", "{}"], ["uid", "test@test.com"], ["updated_at", "2014-07-05 00:04:10.181630"]]
9640
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (1.5ms)
9641
+
9642
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 28.3ms
9643
+
9644
+ Sent mail to test@test.com (1017.3ms)
9645
+ Date: Fri, 04 Jul 2014 19:04:10 -0500
9646
+ From: please-change-me-at-config-initializers-devise@example.com
9647
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
9648
+ To: test@test.com
9649
+ Message-ID: <53b740fa63e35_144643fc3af561dc0523c4@Lynns-MacBook-Pro.local.mail>
9650
+ Subject: Confirmation instructions
9651
+ Mime-Version: 1.0
9652
+ Content-Type: text/html;
9653
+ charset=UTF-8
9654
+ Content-Transfer-Encoding: 7bit
9655
+
9656
+ <p>Welcome test@test.com!</p>
9657
+
9658
+ <p>You can confirm your account email through the link below:</p>
9659
+
9660
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=sWwTeB8n-Lsbjo5yePow">Confirm my account</a></p>
9661
+
9662
+  (1.4ms) rollback transaction
9663
+ Completed 500 Internal Server Error in 1342ms
9664
+
9665
+ SocketError (getaddrinfo: nodename nor servname provided, or not known):
9666
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/net/smtp.rb:541:in `initialize'
9667
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/net/smtp.rb:541:in `open'
9668
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/net/smtp.rb:541:in `tcp_socket'
9669
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/net/smtp.rb:551:in `block in do_start'
9670
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
9671
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/timeout.rb:101:in `call'
9672
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/timeout.rb:101:in `timeout'
9673
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/net/smtp.rb:550:in `do_start'
9674
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/net/smtp.rb:520:in `start'
9675
+ mail (2.5.4) lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'
9676
+ mail (2.5.4) lib/mail/message.rb:2129:in `do_delivery'
9677
+ mail (2.5.4) lib/mail/message.rb:232:in `block in deliver'
9678
+ actionmailer (4.1.2) lib/action_mailer/base.rb:527:in `block in deliver_mail'
9679
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
9680
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9681
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
9682
+ actionmailer (4.1.2) lib/action_mailer/base.rb:525:in `deliver_mail'
9683
+ mail (2.5.4) lib/mail/message.rb:232:in `deliver'
9684
+ devise (3.2.4) lib/devise/models/authenticatable.rb:173:in `send_devise_notification'
9685
+ devise (3.2.4) lib/devise/models/confirmable.rb:102:in `send_confirmation_instructions'
9686
+ devise (3.2.4) lib/devise/models/confirmable.rb:158:in `send_on_create_confirmation_instructions'
9687
+ activesupport (4.1.2) lib/active_support/callbacks.rb:424:in `block in make_lambda'
9688
+ activesupport (4.1.2) lib/active_support/callbacks.rb:221:in `call'
9689
+ activesupport (4.1.2) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
9690
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
9691
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
9692
+ activerecord (4.1.2) lib/active_record/callbacks.rb:306:in `_create_record'
9693
+ activerecord (4.1.2) lib/active_record/timestamp.rb:57:in `_create_record'
9694
+ activerecord (4.1.2) lib/active_record/persistence.rb:482:in `create_or_update'
9695
+ activerecord (4.1.2) lib/active_record/callbacks.rb:302:in `block in create_or_update'
9696
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
9697
+ activerecord (4.1.2) lib/active_record/callbacks.rb:302:in `create_or_update'
9698
+ activerecord (4.1.2) lib/active_record/persistence.rb:103:in `save'
9699
+ activerecord (4.1.2) lib/active_record/validations.rb:51:in `save'
9700
+ activerecord (4.1.2) lib/active_record/attribute_methods/dirty.rb:21:in `save'
9701
+ activerecord (4.1.2) lib/active_record/transactions.rb:268:in `block (2 levels) in save'
9702
+ activerecord (4.1.2) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
9703
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
9704
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
9705
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
9706
+ activerecord (4.1.2) lib/active_record/transactions.rb:208:in `transaction'
9707
+ activerecord (4.1.2) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
9708
+ activerecord (4.1.2) lib/active_record/transactions.rb:268:in `block in save'
9709
+ activerecord (4.1.2) lib/active_record/transactions.rb:283:in `rollback_active_record_state!'
9710
+ activerecord (4.1.2) lib/active_record/transactions.rb:267:in `save'
9711
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/registrations_controller.rb:14:in `create'
9712
+ actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9713
+ actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action'
9714
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
9715
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9716
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
9717
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
9718
+ activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting'
9719
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
9720
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
9721
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
9722
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
9723
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `call'
9724
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
9725
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `call'
9726
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
9727
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
9728
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
9729
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
9730
+ actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
9731
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
9732
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
9733
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9734
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
9735
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9736
+ actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9737
+ activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9738
+ actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process'
9739
+ actionview (4.1.2) lib/action_view/rendering.rb:30:in `process'
9740
+ actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch'
9741
+ actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
9742
+ actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action'
9743
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call'
9744
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
9745
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call'
9746
+ actionpack (4.1.2) lib/action_dispatch/routing/mapper.rb:45:in `call'
9747
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
9748
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
9749
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
9750
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
9751
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
9752
+ railties (4.1.2) lib/rails/railtie.rb:194:in `public_send'
9753
+ railties (4.1.2) lib/rails/railtie.rb:194:in `method_missing'
9754
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
9755
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
9756
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
9757
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
9758
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
9759
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
9760
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
9761
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
9762
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
9763
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
9764
+ omniauth (1.2.1) lib/omniauth/builder.rb:59:in `call'
9765
+ rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
9766
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
9767
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
9768
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
9769
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
9770
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
9771
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
9772
+ actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
9773
+ actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call'
9774
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
9775
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
9776
+ actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
9777
+ activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call'
9778
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
9779
+ activerecord (4.1.2) lib/active_record/migration.rb:380:in `call'
9780
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
9781
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
9782
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
9783
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
9784
+ actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
9785
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
9786
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
9787
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
9788
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
9789
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
9790
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
9791
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
9792
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
9793
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
9794
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
9795
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
9796
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
9797
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
9798
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
9799
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
9800
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
9801
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
9802
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
9803
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
9804
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
9805
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
9806
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
9807
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
9808
+
9809
+
9810
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
9811
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
9812
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
9813
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.5ms)
9814
+
9815
+
9816
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:06:55 -0500
9817
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9818
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
9819
+ Parameters: {"email"=>"test@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/", "registration"=>{"email"=>"test@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/"}}
9820
+ Unpermitted parameters: registration
9821
+ Unpermitted parameters: registration
9822
+  (0.1ms) begin transaction
9823
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test@test.com' LIMIT 1
9824
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'b78b51ba51b26f6995e0452b84d3ef3bf741e2da4d783a4383dee895f9e9a396' ORDER BY "users"."id" ASC LIMIT 1
9825
+ Binary data inserted for `string` type on column `confirmation_token`
9826
+ Binary data inserted for `string` type on column `encrypted_password`
9827
+ SQL (0.4ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/"], ["confirmation_sent_at", "2014-07-05 00:06:55.599096"], ["confirmation_token", "b78b51ba51b26f6995e0452b84d3ef3bf741e2da4d783a4383dee895f9e9a396"], ["created_at", "2014-07-05 00:06:55.424764"], ["email", "test@test.com"], ["encrypted_password", "$2a$10$SYjUrTSudgzZLQVWPuvNoOIt8VOUnKK8cgcMvItima/hk7T0YR1uS"], ["provider", "email"], ["tokens", "{}"], ["uid", "test@test.com"], ["updated_at", "2014-07-05 00:06:55.424764"]]
9828
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (1.5ms)
9829
+
9830
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 25.2ms
9831
+
9832
+ Sent mail to test@test.com (40.0ms)
9833
+ Date: Fri, 04 Jul 2014 19:06:55 -0500
9834
+ From: please-change-me-at-config-initializers-devise@example.com
9835
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
9836
+ To: test@test.com
9837
+ Message-ID: <53b7419f9a706_146063ff9d47d6d3490410@Lynns-MacBook-Pro.local.mail>
9838
+ Subject: Confirmation instructions
9839
+ Mime-Version: 1.0
9840
+ Content-Type: text/html;
9841
+ charset=UTF-8
9842
+ Content-Transfer-Encoding: 7bit
9843
+
9844
+ <p>Welcome test@test.com!</p>
9845
+
9846
+ <p>You can confirm your account email through the link below:</p>
9847
+
9848
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=DBtAHDpAkZHs-W_xDSPu">Confirm my account</a></p>
9849
+
9850
+  (0.9ms) commit transaction
9851
+ Completed 200 OK in 382ms (Views: 0.4ms | ActiveRecord: 2.0ms)
9852
+
9853
+
9854
+ Started GET "/auth/confirmation?confirmation_token=DBtAHDpAkZHs-W_xDSPu" for 127.0.0.1 at 2014-07-04 19:07:17 -0500
9855
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
9856
+ Parameters: {"confirmation_token"=>"DBtAHDpAkZHs-W_xDSPu"}
9857
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'b78b51ba51b26f6995e0452b84d3ef3bf741e2da4d783a4383dee895f9e9a396' ORDER BY "users"."id" ASC LIMIT 1
9858
+  (0.1ms) begin transaction
9859
+ SQL (0.8ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:07:17.638043"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:07:17.638441"]]
9860
+  (0.6ms) commit transaction
9861
+  (0.0ms) begin transaction
9862
+ Binary data inserted for `string` type on column `current_sign_in_ip`
9863
+ Binary data inserted for `string` type on column `last_sign_in_ip`
9864
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["confirmation_token", "DBtAHDpAkZHs-W_xDSPu"], ["current_sign_in_at", "2014-07-05 00:07:17.642348"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-05 00:07:17.642348"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["tokens", "{}"], ["updated_at", "2014-07-05 00:07:17.643150"]]
9865
+  (0.5ms) commit transaction
9866
+  (0.1ms) begin transaction
9867
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"A_EQCMO4CmOGGhHqb5FhNA\":{\"token\":\"$2a$10$MEyiI/fVfldSx.4pQbr/z.JElIDhxQVSKQGK8/MfQXqM7srQmD6ry\",\"expiry\":\"2014-07-18 19:07:17 -0500\"}}"], ["updated_at", "2014-07-05 00:07:17.706235"]]
9868
+  (0.6ms) commit transaction
9869
+ Redirected to http://localhost:7777/?client_id=A_EQCMO4CmOGGhHqb5FhNA&email=test%40test.com&token=kgWuwWK2YUF8bdyuvztvBA
9870
+  (0.1ms) begin transaction
9871
+ SQL (0.4ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["tokens", "{\"A_EQCMO4CmOGGhHqb5FhNA\":{\"token\":\"$2a$10$zq4yEK5EqR9SaOjDFF3t4eMpRbTTAVMRbMDXP8jT6j8KUhi/A5fju\",\"expiry\":\"2014-07-18 19:07:17 -0500\"}}"], ["updated_at", "2014-07-05 00:07:17.771693"]]
9872
+  (0.9ms) commit transaction
9873
+ Completed 302 Found in 141ms (ActiveRecord: 4.8ms)
9874
+
9875
+
9876
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:08:01 -0500
9877
+
9878
+
9879
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:08:01 -0500
9880
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
9881
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'undefined' LIMIT 1
9882
+ Completed 401 Unauthorized in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
9883
+
9884
+
9885
+ Started OPTIONS "/demo/members_only" for 127.0.0.1 at 2014-07-04 19:08:06 -0500
9886
+
9887
+
9888
+ Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-04 19:08:06 -0500
9889
+
9890
+ ActionController::RoutingError (No route matches [GET] "/demo/members_only"):
9891
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
9892
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
9893
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
9894
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
9895
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
9896
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
9897
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
9898
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
9899
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
9900
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
9901
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
9902
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
9903
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
9904
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
9905
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
9906
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
9907
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
9908
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
9909
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
9910
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
9911
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
9912
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
9913
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
9914
+
9915
+
9916
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
9917
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
9918
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
9919
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.7ms)
9920
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (32.8ms)
9921
+
9922
+
9923
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-04 19:08:33 -0500
9924
+
9925
+
9926
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:08:33 -0500
9927
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
9928
+ Parameters: {"email"=>"test+2@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/", "registration"=>{"email"=>"test+2@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/"}}
9929
+ Unpermitted parameters: registration
9930
+ Unpermitted parameters: registration
9931
+  (0.1ms) begin transaction
9932
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test+2@test.com' LIMIT 1
9933
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '3bc06a57c7a411d0a4512640e15a3039d86ff3e1a542a6a6ccd72f551b3992e4' ORDER BY "users"."id" ASC LIMIT 1
9934
+ Binary data inserted for `string` type on column `confirmation_token`
9935
+ Binary data inserted for `string` type on column `encrypted_password`
9936
+ SQL (0.3ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/"], ["confirmation_sent_at", "2014-07-05 00:08:33.318820"], ["confirmation_token", "3bc06a57c7a411d0a4512640e15a3039d86ff3e1a542a6a6ccd72f551b3992e4"], ["created_at", "2014-07-05 00:08:33.317932"], ["email", "test+2@test.com"], ["encrypted_password", "$2a$10$aHAhs.K1iPg7rMa/qpBuVuzYGP7yy.zpf9RdwTasXd1t0yeMlqFAS"], ["provider", "email"], ["tokens", "{}"], ["uid", "test+2@test.com"], ["updated_at", "2014-07-05 00:08:33.317932"]]
9937
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (0.4ms)
9938
+
9939
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 13.9ms
9940
+
9941
+ Sent mail to test+2@test.com (23.1ms)
9942
+ Date: Fri, 04 Jul 2014 19:08:33 -0500
9943
+ From: please-change-me-at-config-initializers-devise@example.com
9944
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
9945
+ To: test+2@test.com
9946
+ Message-ID: <53b7420157a0b_146063ff9d21899c490578@Lynns-MacBook-Pro.local.mail>
9947
+ Subject: Confirmation instructions
9948
+ Mime-Version: 1.0
9949
+ Content-Type: text/html;
9950
+ charset=UTF-8
9951
+ Content-Transfer-Encoding: 7bit
9952
+
9953
+ <p>Welcome test+2@test.com!</p>
9954
+
9955
+ <p>You can confirm your account email through the link below:</p>
9956
+
9957
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=MHCGJfbZNaCWxj3yCQrM">Confirm my account</a></p>
9958
+
9959
+  (0.8ms) commit transaction
9960
+ Completed 200 OK in 191ms (Views: 0.3ms | ActiveRecord: 1.4ms)
9961
+
9962
+
9963
+ Started GET "/auth/confirmation?confirmation_token=MHCGJfbZNaCWxj3yCQrM" for 127.0.0.1 at 2014-07-04 19:08:41 -0500
9964
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
9965
+ Parameters: {"confirmation_token"=>"MHCGJfbZNaCWxj3yCQrM"}
9966
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '3bc06a57c7a411d0a4512640e15a3039d86ff3e1a542a6a6ccd72f551b3992e4' ORDER BY "users"."id" ASC LIMIT 1
9967
+  (0.1ms) begin transaction
9968
+ SQL (0.4ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:08:41.161134"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:08:41.161515"]]
9969
+  (1.8ms) commit transaction
9970
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
9971
+  (0.0ms) begin transaction
9972
+ Binary data inserted for `string` type on column `current_sign_in_ip`
9973
+ Binary data inserted for `string` type on column `last_sign_in_ip`
9974
+ SQL (0.2ms) UPDATE "users" SET "confirmation_token" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["confirmation_token", "MHCGJfbZNaCWxj3yCQrM"], ["current_sign_in_at", "2014-07-05 00:08:41.166061"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-05 00:08:41.166061"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["tokens", "{}"], ["updated_at", "2014-07-05 00:08:41.166339"]]
9975
+  (0.6ms) commit transaction
9976
+  (0.1ms) begin transaction
9977
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["tokens", "{\"4M8_VQwaM1hbUxThVdwZEA\":{\"token\":\"$2a$10$MudSl/SGtt7PdGEXNw6kUetOE/YUoy.Xbuzc8SQBUbGYLJpfYJOH2\",\"expiry\":\"2014-07-18 19:08:41 -0500\"}}"], ["updated_at", "2014-07-05 00:08:41.228803"]]
9978
+  (0.6ms) commit transaction
9979
+ Redirected to http://localhost:7777/?client_id=4M8_VQwaM1hbUxThVdwZEA&email=test%2B2%40test.com&token=jnZlbYd9CgsPpvbIu-Sefg
9980
+  (0.1ms) begin transaction
9981
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 2 [["tokens", "{\"4M8_VQwaM1hbUxThVdwZEA\":{\"token\":\"$2a$10$aO/uzApxiNIsCcjDVO.5Cu7BNRZapxSm4rvJYRxvxBlKeslO7IZHG\",\"expiry\":\"2014-07-18 19:08:41 -0500\"}}"], ["updated_at", "2014-07-05 00:08:41.292559"]]
9982
+  (0.7ms) commit transaction
9983
+ Completed 302 Found in 134ms (ActiveRecord: 5.4ms)
9984
+
9985
+
9986
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:08:41 -0500
9987
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
9988
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'undefined' LIMIT 1
9989
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
9990
+
9991
+
9992
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:08:43 -0500
9993
+
9994
+
9995
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:08:43 -0500
9996
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
9997
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'undefined' LIMIT 1
9998
+ Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
9999
+
10000
+
10001
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:09:11 -0500
10002
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
10003
+ Parameters: {"email"=>"test+3@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=4M8_VQwaM1hbUxThVdwZEA&email=test%2B2%40test.com&token=jnZlbYd9CgsPpvbIu-Sefg", "registration"=>{"email"=>"test+3@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=4M8_VQwaM1hbUxThVdwZEA&email=test%2B2%40test.com&token=jnZlbYd9CgsPpvbIu-Sefg"}}
10004
+ Unpermitted parameters: registration
10005
+ Unpermitted parameters: registration
10006
+  (0.1ms) begin transaction
10007
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test+3@test.com' LIMIT 1
10008
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '44fcd388a1699dbd907df061a537630864bd77cf0b1e58c7b9ea1e311e0281f6' ORDER BY "users"."id" ASC LIMIT 1
10009
+ Binary data inserted for `string` type on column `confirmation_token`
10010
+ Binary data inserted for `string` type on column `encrypted_password`
10011
+ SQL (0.3ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/?client_id=4M8_VQwaM1hbUxThVdwZEA&email=test%2B2%40test.com&token=jnZlbYd9CgsPpvbIu-Sefg"], ["confirmation_sent_at", "2014-07-05 00:09:11.745987"], ["confirmation_token", "44fcd388a1699dbd907df061a537630864bd77cf0b1e58c7b9ea1e311e0281f6"], ["created_at", "2014-07-05 00:09:11.745344"], ["email", "test+3@test.com"], ["encrypted_password", "$2a$10$aNo8h/8ySmzfF7AVdMhOe.5m6VQxDSZOC52PEJniMrS5sIj7MqyBK"], ["provider", "email"], ["tokens", "{}"], ["uid", "test+3@test.com"], ["updated_at", "2014-07-05 00:09:11.745344"]]
10012
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
10013
+
10014
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 13.8ms
10015
+
10016
+ Sent mail to test+3@test.com (21.0ms)
10017
+ Date: Fri, 04 Jul 2014 19:09:11 -0500
10018
+ From: please-change-me-at-config-initializers-devise@example.com
10019
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
10020
+ To: test+3@test.com
10021
+ Message-ID: <53b74227c18a1_146063ff9d21899c4906e9@Lynns-MacBook-Pro.local.mail>
10022
+ Subject: Confirmation instructions
10023
+ Mime-Version: 1.0
10024
+ Content-Type: text/html;
10025
+ charset=UTF-8
10026
+ Content-Transfer-Encoding: 7bit
10027
+
10028
+ <p>Welcome test+3@test.com!</p>
10029
+
10030
+ <p>You can confirm your account email through the link below:</p>
10031
+
10032
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=D9fZyz1Bso-3rwyqKnQp">Confirm my account</a></p>
10033
+
10034
+  (1.9ms) commit transaction
10035
+ Completed 200 OK in 197ms (Views: 0.3ms | ActiveRecord: 2.5ms)
10036
+
10037
+
10038
+ Started GET "/auth/confirmation?confirmation_token=D9fZyz1Bso-3rwyqKnQp" for 127.0.0.1 at 2014-07-04 19:09:27 -0500
10039
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
10040
+ Parameters: {"confirmation_token"=>"D9fZyz1Bso-3rwyqKnQp"}
10041
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '44fcd388a1699dbd907df061a537630864bd77cf0b1e58c7b9ea1e311e0281f6' ORDER BY "users"."id" ASC LIMIT 1
10042
+  (0.0ms) begin transaction
10043
+ SQL (0.4ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:09:27.798421"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:09:27.798674"]]
10044
+  (1.6ms) commit transaction
10045
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 ORDER BY "users"."id" ASC LIMIT 1
10046
+  (0.1ms) begin transaction
10047
+ Binary data inserted for `string` type on column `current_sign_in_ip`
10048
+ Binary data inserted for `string` type on column `last_sign_in_ip`
10049
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["confirmation_token", "D9fZyz1Bso-3rwyqKnQp"], ["current_sign_in_at", "2014-07-05 00:09:27.803174"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-05 00:09:27.803174"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["tokens", "{}"], ["updated_at", "2014-07-05 00:09:27.803625"]]
10050
+  (0.5ms) commit transaction
10051
+  (0.1ms) begin transaction
10052
+ SQL (0.4ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["tokens", "{\"3eqpbJpEjUSijsLxicJbaQ\":{\"token\":\"$2a$10$wTH.i5v/A09t3kk25EjK0.i//9UpV5pkghlsHvZSUupSJJfnEJSM6\",\"expiry\":\"2014-07-18 19:09:27 -0500\"}}"], ["updated_at", "2014-07-05 00:09:27.867764"]]
10053
+  (0.6ms) commit transaction
10054
+ Redirected to http://localhost:7777/?client_id=3eqpbJpEjUSijsLxicJbaQ&email=test%2B3%40test.com&token=wIfIFINwLcwCjoA9PW3Bww
10055
+  (0.1ms) begin transaction
10056
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 3 [["tokens", "{\"3eqpbJpEjUSijsLxicJbaQ\":{\"token\":\"$2a$10$dAUy.9V5WMHvnpQMA0v00eU3vtn/bXhIX2jkPHVORYhG2/931Fvoa\",\"expiry\":\"2014-07-18 19:09:27 -0500\"}}"], ["updated_at", "2014-07-05 00:09:27.931216"]]
10057
+  (0.6ms) commit transaction
10058
+ Completed 302 Found in 136ms (ActiveRecord: 5.2ms)
10059
+
10060
+
10061
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:09:28 -0500
10062
+
10063
+
10064
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:09:28 -0500
10065
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10066
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'undefined' LIMIT 1
10067
+ Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
10068
+
10069
+
10070
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-04 19:11:32 -0500
10071
+
10072
+
10073
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:11:32 -0500
10074
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
10075
+ Parameters: {"email"=>"test+4@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=3eqpbJpEjUSijsLxicJbaQ&email=test%2B3%40test.com&token=wIfIFINwLcwCjoA9PW3Bww", "registration"=>{"email"=>"test+4@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=3eqpbJpEjUSijsLxicJbaQ&email=test%2B3%40test.com&token=wIfIFINwLcwCjoA9PW3Bww"}}
10076
+ Unpermitted parameters: registration
10077
+ Unpermitted parameters: registration
10078
+  (0.1ms) begin transaction
10079
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test+4@test.com' LIMIT 1
10080
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '9fb7adf17d4c776626ca59286dc4c3a4464e2b7272d7cb9ed0b73cdb43917714' ORDER BY "users"."id" ASC LIMIT 1
10081
+ Binary data inserted for `string` type on column `confirmation_token`
10082
+ Binary data inserted for `string` type on column `encrypted_password`
10083
+ SQL (0.4ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/?client_id=3eqpbJpEjUSijsLxicJbaQ&email=test%2B3%40test.com&token=wIfIFINwLcwCjoA9PW3Bww"], ["confirmation_sent_at", "2014-07-05 00:11:33.053204"], ["confirmation_token", "9fb7adf17d4c776626ca59286dc4c3a4464e2b7272d7cb9ed0b73cdb43917714"], ["created_at", "2014-07-05 00:11:33.052130"], ["email", "test+4@test.com"], ["encrypted_password", "$2a$10$O9OA9Zz4Xg0rPMQJG/l4n.W2TY9A3Xo41wEZbOCPyeZZL7vXN7CV6"], ["provider", "email"], ["tokens", "{}"], ["uid", "test+4@test.com"], ["updated_at", "2014-07-05 00:11:33.052130"]]
10084
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
10085
+
10086
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 13.9ms
10087
+
10088
+ Sent mail to test+4@test.com (19.8ms)
10089
+ Date: Fri, 04 Jul 2014 19:11:33 -0500
10090
+ From: please-change-me-at-config-initializers-devise@example.com
10091
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
10092
+ To: test+4@test.com
10093
+ Message-ID: <53b742b520a1c_146063ff9d360f448907a6@Lynns-MacBook-Pro.local.mail>
10094
+ Subject: Confirmation instructions
10095
+ Mime-Version: 1.0
10096
+ Content-Type: text/html;
10097
+ charset=UTF-8
10098
+ Content-Transfer-Encoding: 7bit
10099
+
10100
+ <p>Welcome test+4@test.com!</p>
10101
+
10102
+ <p>You can confirm your account email through the link below:</p>
10103
+
10104
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=DcoQkPMarsbr6ro94iCj">Confirm my account</a></p>
10105
+
10106
+  (1.9ms) commit transaction
10107
+ Completed 200 OK in 185ms (Views: 0.3ms | ActiveRecord: 3.1ms)
10108
+
10109
+
10110
+ Started GET "/auth/confirmation?confirmation_token=DcoQkPMarsbr6ro94iCj" for 127.0.0.1 at 2014-07-04 19:11:48 -0500
10111
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
10112
+ Parameters: {"confirmation_token"=>"DcoQkPMarsbr6ro94iCj"}
10113
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '9fb7adf17d4c776626ca59286dc4c3a4464e2b7272d7cb9ed0b73cdb43917714' ORDER BY "users"."id" ASC LIMIT 1
10114
+  (0.0ms) begin transaction
10115
+ SQL (0.2ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 4 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:11:48.066559"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:11:48.066859"]]
10116
+  (0.7ms) commit transaction
10117
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 ORDER BY "users"."id" ASC LIMIT 1
10118
+  (0.0ms) begin transaction
10119
+ Binary data inserted for `string` type on column `current_sign_in_ip`
10120
+ Binary data inserted for `string` type on column `last_sign_in_ip`
10121
+ SQL (0.2ms) UPDATE "users" SET "confirmation_token" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 4 [["confirmation_token", "DcoQkPMarsbr6ro94iCj"], ["current_sign_in_at", "2014-07-05 00:11:48.069480"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-05 00:11:48.069480"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["tokens", "{}"], ["updated_at", "2014-07-05 00:11:48.069770"]]
10122
+  (0.6ms) commit transaction
10123
+  (0.1ms) begin transaction
10124
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 4 [["tokens", "{\"QO1ctahPnDAQP1I4usAJ4Q\":{\"token\":\"$2a$10$8jO.l.hizzxPz0JIkLHEwuac13hZNDpu31C6GdzBcco5YzKpRI9Hq\",\"expiry\":\"2014-07-18 19:11:48 -0500\"}}"], ["updated_at", "2014-07-05 00:11:48.132496"]]
10125
+  (0.6ms) commit transaction
10126
+ Redirected to http://localhost:7777/?client_id=QO1ctahPnDAQP1I4usAJ4Q&token=MnNhPtZrzACbofidCX77FA&uid=test%2B4%40test.com
10127
+  (0.1ms) begin transaction
10128
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 4 [["tokens", "{\"QO1ctahPnDAQP1I4usAJ4Q\":{\"token\":\"$2a$10$QksVjx0e93hoXdRBtpqF3.Tcq1QgYHJ6Jdk2yk5tfSDWM/8yMPR0S\",\"expiry\":\"2014-07-18 19:11:48 -0500\"}}"], ["updated_at", "2014-07-05 00:11:48.194567"]]
10129
+  (0.6ms) commit transaction
10130
+ Completed 302 Found in 131ms (ActiveRecord: 3.9ms)
10131
+
10132
+
10133
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:11:48 -0500
10134
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10135
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+4@test.com' LIMIT 1
10136
+ Completed 401 Unauthorized in 65ms (Views: 0.2ms | ActiveRecord: 0.2ms)
10137
+
10138
+
10139
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:18:48 -0500
10140
+
10141
+
10142
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:18:48 -0500
10143
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10144
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+4@test.com' LIMIT 1
10145
+ Completed 401 Unauthorized in 76ms (Views: 0.2ms | ActiveRecord: 0.6ms)
10146
+
10147
+
10148
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:18:59 -0500
10149
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10150
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+4@test.com' LIMIT 1
10151
+ Completed 401 Unauthorized in 62ms (Views: 0.2ms | ActiveRecord: 0.2ms)
10152
+
10153
+
10154
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:19:02 -0500
10155
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10156
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+4@test.com' LIMIT 1
10157
+ Completed 401 Unauthorized in 63ms (Views: 0.2ms | ActiveRecord: 0.2ms)
10158
+
10159
+
10160
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-04 19:19:21 -0500
10161
+
10162
+
10163
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:19:21 -0500
10164
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
10165
+ Parameters: {"email"=>"test+5@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/", "registration"=>{"email"=>"test+5@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/"}}
10166
+ Unpermitted parameters: registration
10167
+ Unpermitted parameters: registration
10168
+  (0.1ms) begin transaction
10169
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test+5@test.com' LIMIT 1
10170
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '6ddc33803f5bab70cf9f8a98bae61acf8bc69684ba53babbd8202a0c1a9035b2' ORDER BY "users"."id" ASC LIMIT 1
10171
+ Binary data inserted for `string` type on column `confirmation_token`
10172
+ Binary data inserted for `string` type on column `encrypted_password`
10173
+ SQL (0.4ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/"], ["confirmation_sent_at", "2014-07-05 00:19:21.164771"], ["confirmation_token", "6ddc33803f5bab70cf9f8a98bae61acf8bc69684ba53babbd8202a0c1a9035b2"], ["created_at", "2014-07-05 00:19:21.163915"], ["email", "test+5@test.com"], ["encrypted_password", "$2a$10$VixIQq.sFL9n0XiYwioKJuMsABl7gJQXKV0n18qgRbN.rWHKnnYMK"], ["provider", "email"], ["tokens", "{}"], ["uid", "test+5@test.com"], ["updated_at", "2014-07-05 00:19:21.163915"]]
10174
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (0.5ms)
10175
+
10176
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 16.1ms
10177
+
10178
+ Sent mail to test+5@test.com (22.3ms)
10179
+ Date: Fri, 04 Jul 2014 19:19:21 -0500
10180
+ From: please-change-me-at-config-initializers-devise@example.com
10181
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
10182
+ To: test+5@test.com
10183
+ Message-ID: <53b744892e89a_146063ff9d47821309084d@Lynns-MacBook-Pro.local.mail>
10184
+ Subject: Confirmation instructions
10185
+ Mime-Version: 1.0
10186
+ Content-Type: text/html;
10187
+ charset=UTF-8
10188
+ Content-Transfer-Encoding: 7bit
10189
+
10190
+ <p>Welcome test+5@test.com!</p>
10191
+
10192
+ <p>You can confirm your account email through the link below:</p>
10193
+
10194
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=GHWtNaXDQw2wiHcmp6WR">Confirm my account</a></p>
10195
+
10196
+  (1.9ms) commit transaction
10197
+ Completed 200 OK in 177ms (Views: 0.3ms | ActiveRecord: 2.6ms)
10198
+
10199
+
10200
+ Started GET "/auth/confirmation?confirmation_token=GHWtNaXDQw2wiHcmp6WR" for 127.0.0.1 at 2014-07-04 19:19:34 -0500
10201
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
10202
+ Parameters: {"confirmation_token"=>"GHWtNaXDQw2wiHcmp6WR"}
10203
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '6ddc33803f5bab70cf9f8a98bae61acf8bc69684ba53babbd8202a0c1a9035b2' ORDER BY "users"."id" ASC LIMIT 1
10204
+  (0.0ms) begin transaction
10205
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 5 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:19:34.150769"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:19:34.151064"]]
10206
+  (1.6ms) commit transaction
10207
+  (0.1ms) begin transaction
10208
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 5 [["confirmation_token", "GHWtNaXDQw2wiHcmp6WR"], ["tokens", "{\"5F0Z0-WoxqvoYZe3kN945g\":{\"token\":\"$2a$10$0kltbpqXa0Z6.vn0Ozpp5u0KxXv9jLUzgDQm7xz/Lcup5jNRtxIKW\",\"expiry\":\"2014-07-18 19:19:34 -0500\"}}"], ["updated_at", "2014-07-05 00:19:34.217117"]]
10209
+  (0.5ms) commit transaction
10210
+ Redirected to http://localhost:7777/?client_id=5F0Z0-WoxqvoYZe3kN945g&token=lNsULlqiI9etDqgdZibajg&uid=test%2B5%40test.com
10211
+  (0.1ms) begin transaction
10212
+ SQL (0.4ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 5 [["tokens", "{\"5F0Z0-WoxqvoYZe3kN945g\":{\"token\":\"$2a$10$j3o56eLRFho1CVTIlGO7ueC5iJmJ2XalpmBEDn0ZKql4.tnWbO07S\",\"expiry\":\"2014-07-18 19:19:34 -0500\"}}"], ["updated_at", "2014-07-05 00:19:34.280496"]]
10213
+  (0.5ms) commit transaction
10214
+ Completed 302 Found in 133ms (ActiveRecord: 4.0ms)
10215
+
10216
+
10217
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:19:34 -0500
10218
+
10219
+
10220
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:19:34 -0500
10221
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10222
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+5@test.com' LIMIT 1
10223
+ Completed 401 Unauthorized in 64ms (Views: 0.2ms | ActiveRecord: 0.3ms)
10224
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+5@test.com' LIMIT 1
10225
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+5@test.com' LIMIT 1
10226
+
10227
+
10228
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-04 19:23:20 -0500
10229
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10230
+
10231
+
10232
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:23:20 -0500
10233
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
10234
+ Parameters: {"email"=>"test+6@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=5F0Z0-WoxqvoYZe3kN945g&token=lNsULlqiI9etDqgdZibajg&uid=test%2B5%40test.com", "registration"=>{"email"=>"test+6@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=5F0Z0-WoxqvoYZe3kN945g&token=lNsULlqiI9etDqgdZibajg&uid=test%2B5%40test.com"}}
10235
+ Unpermitted parameters: registration
10236
+ Unpermitted parameters: registration
10237
+  (0.1ms) begin transaction
10238
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test+6@test.com' LIMIT 1
10239
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '2282e1701c25879cb8b410213cfaf0f9733fcf5e4762085ecc454219af489c15' ORDER BY "users"."id" ASC LIMIT 1
10240
+ Binary data inserted for `string` type on column `confirmation_token`
10241
+ Binary data inserted for `string` type on column `encrypted_password`
10242
+ SQL (0.4ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/?client_id=5F0Z0-WoxqvoYZe3kN945g&token=lNsULlqiI9etDqgdZibajg&uid=test%2B5%40test.com"], ["confirmation_sent_at", "2014-07-05 00:23:21.152956"], ["confirmation_token", "2282e1701c25879cb8b410213cfaf0f9733fcf5e4762085ecc454219af489c15"], ["created_at", "2014-07-05 00:23:20.960960"], ["email", "test+6@test.com"], ["encrypted_password", "$2a$10$T6mrMq9K2BoMx6s3PKHmFueQ3JT0KPBA1UqlQw2uShKkApzBOp4Qy"], ["provider", "email"], ["tokens", "{}"], ["uid", "test+6@test.com"], ["updated_at", "2014-07-05 00:23:20.960960"]]
10243
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (2.1ms)
10244
+
10245
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 31.1ms
10246
+
10247
+ Sent mail to test+6@test.com (24.4ms)
10248
+ Date: Fri, 04 Jul 2014 19:23:21 -0500
10249
+ From: please-change-me-at-config-initializers-devise@example.com
10250
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
10251
+ To: test+6@test.com
10252
+ Message-ID: <53b745792f3a2_14e6c3fd9e47ebed810260@Lynns-MacBook-Pro.local.mail>
10253
+ Subject: Confirmation instructions
10254
+ Mime-Version: 1.0
10255
+ Content-Type: text/html;
10256
+ charset=UTF-8
10257
+ Content-Transfer-Encoding: 7bit
10258
+
10259
+ <p>Welcome test+6@test.com!</p>
10260
+
10261
+ <p>You can confirm your account email through the link below:</p>
10262
+
10263
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=NWsWxwh81eybTFsxRME1">Confirm my account</a></p>
10264
+
10265
+  (1.1ms) commit transaction
10266
+ Completed 200 OK in 388ms (Views: 0.4ms | ActiveRecord: 2.3ms)
10267
+
10268
+
10269
+ Started GET "/auth/confirmation?confirmation_token=NWsWxwh81eybTFsxRME1" for 127.0.0.1 at 2014-07-04 19:23:35 -0500
10270
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
10271
+ Parameters: {"confirmation_token"=>"NWsWxwh81eybTFsxRME1"}
10272
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '2282e1701c25879cb8b410213cfaf0f9733fcf5e4762085ecc454219af489c15' ORDER BY "users"."id" ASC LIMIT 1
10273
+  (0.1ms) begin transaction
10274
+ SQL (0.4ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 6 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:23:35.243864"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:23:35.244268"]]
10275
+  (0.6ms) commit transaction
10276
+  (0.1ms) begin transaction
10277
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 6 [["confirmation_token", "NWsWxwh81eybTFsxRME1"], ["tokens", "{\"y1K_SNYAluNY5qIobre9Vg\":{\"token\":\"$2a$10$8ZO.JYPMdFp7CNfxrRp0Mu/vCPk2EbL43.9viPN4CPVgUJBAPwwi2\",\"expiry\":\"2014-07-18 19:23:35 -0500\"}}"], ["updated_at", "2014-07-05 00:23:35.308820"]]
10278
+  (0.5ms) commit transaction
10279
+ Redirected to http://localhost:7777/?client_id=y1K_SNYAluNY5qIobre9Vg&token=AMBWkjCwtnP4l8u8c8Q79w&uid=test%2B6%40test.com
10280
+  (0.1ms) begin transaction
10281
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 6 [["tokens", "{\"y1K_SNYAluNY5qIobre9Vg\":{\"token\":\"$2a$10$YBdUJDILetfpYN68.z1BKOX/xcydAZKRD9M5DfUO64/dchwZqY2wG\",\"expiry\":\"2014-07-18 19:23:35 -0500\"}}"], ["updated_at", "2014-07-05 00:23:35.371787"]]
10282
+  (0.6ms) commit transaction
10283
+ Completed 302 Found in 132ms (ActiveRecord: 3.1ms)
10284
+
10285
+
10286
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:23:35 -0500
10287
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10288
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+6@test.com' LIMIT 1
10289
+ Completed 401 Unauthorized in 332249ms (Views: 0.3ms | ActiveRecord: 0.2ms)
10290
+
10291
+
10292
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:30:41 -0500
10293
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
10294
+ Parameters: {"email"=>"test+7@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=y1K_SNYAluNY5qIobre9Vg&token=AMBWkjCwtnP4l8u8c8Q79w&uid=test%2B6%40test.com", "registration"=>{"email"=>"test+7@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=y1K_SNYAluNY5qIobre9Vg&token=AMBWkjCwtnP4l8u8c8Q79w&uid=test%2B6%40test.com"}}
10295
+ Unpermitted parameters: registration
10296
+ Unpermitted parameters: registration
10297
+  (0.1ms) begin transaction
10298
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test+7@test.com' LIMIT 1
10299
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '6f8757c55c5b9e04f2c6aa0625f73a96d932db19522130e89c019a7161aef05c' ORDER BY "users"."id" ASC LIMIT 1
10300
+ Binary data inserted for `string` type on column `confirmation_token`
10301
+ Binary data inserted for `string` type on column `encrypted_password`
10302
+ SQL (0.3ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/?client_id=y1K_SNYAluNY5qIobre9Vg&token=AMBWkjCwtnP4l8u8c8Q79w&uid=test%2B6%40test.com"], ["confirmation_sent_at", "2014-07-05 00:30:41.640734"], ["confirmation_token", "6f8757c55c5b9e04f2c6aa0625f73a96d932db19522130e89c019a7161aef05c"], ["created_at", "2014-07-05 00:30:41.639774"], ["email", "test+7@test.com"], ["encrypted_password", "$2a$10$YFxOMEAkkm2l45x1Y1rOzuG52eB/mHjDBXKsx4aCbS.HJp6Qn7ZPO"], ["provider", "email"], ["tokens", "{}"], ["uid", "test+7@test.com"], ["updated_at", "2014-07-05 00:30:41.639774"]]
10303
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (0.4ms)
10304
+
10305
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 14.0ms
10306
+
10307
+ Sent mail to test+7@test.com (21.6ms)
10308
+ Date: Fri, 04 Jul 2014 19:30:41 -0500
10309
+ From: please-change-me-at-config-initializers-devise@example.com
10310
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
10311
+ To: test+7@test.com
10312
+ Message-ID: <53b74731a1057_14e6c3fd9e1ef4c50103a8@Lynns-MacBook-Pro.local.mail>
10313
+ Subject: Confirmation instructions
10314
+ Mime-Version: 1.0
10315
+ Content-Type: text/html;
10316
+ charset=UTF-8
10317
+ Content-Transfer-Encoding: 7bit
10318
+
10319
+ <p>Welcome test+7@test.com!</p>
10320
+
10321
+ <p>You can confirm your account email through the link below:</p>
10322
+
10323
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=sroxetxXmUGfk4sNmZWb">Confirm my account</a></p>
10324
+
10325
+  (1.7ms) commit transaction
10326
+ Completed 200 OK in 119ms (Views: 0.3ms | ActiveRecord: 2.9ms)
10327
+
10328
+
10329
+ Started GET "/auth/confirmation?confirmation_token=sroxetxXmUGfk4sNmZWb" for 127.0.0.1 at 2014-07-04 19:30:58 -0500
10330
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
10331
+ Parameters: {"confirmation_token"=>"sroxetxXmUGfk4sNmZWb"}
10332
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '6f8757c55c5b9e04f2c6aa0625f73a96d932db19522130e89c019a7161aef05c' ORDER BY "users"."id" ASC LIMIT 1
10333
+  (0.0ms) begin transaction
10334
+ SQL (0.2ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 7 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:30:58.488859"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:30:58.489108"]]
10335
+  (1.5ms) commit transaction
10336
+  (0.1ms) begin transaction
10337
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 7 [["confirmation_token", "sroxetxXmUGfk4sNmZWb"], ["tokens", "{\"_FW0DlcTtybv0NJkR59DsQ\":{\"token\":\"$2a$10$IUaG7oFohDOdjYBbjwAlqOzm6HnyhmytrZDEynKfo.6worsIQgVTi\",\"expiry\":\"2014-07-18 19:30:58 -0500\"}}"], ["updated_at", "2014-07-05 00:30:58.552817"]]
10338
+  (0.5ms) commit transaction
10339
+ Redirected to http://localhost:7777/?client_id=_FW0DlcTtybv0NJkR59DsQ&token=SIhr9gaSIRap8AJ8jRWoGg&uid=test%2B7%40test.com
10340
+  (0.1ms) begin transaction
10341
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 7 [["tokens", "{\"_FW0DlcTtybv0NJkR59DsQ\":{\"token\":\"$2a$10$hn8vU7ojLkb/rxXOoFC5WuIZY1HBEAa/vl50Z0pnDt91Mon6M8y0i\",\"expiry\":\"2014-07-18 19:31:34 -0500\"}}"], ["updated_at", "2014-07-05 00:31:34.961006"]]
10342
+  (1.7ms) commit transaction
10343
+ Completed 302 Found in 36476ms (ActiveRecord: 4.9ms)
10344
+
10345
+
10346
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:31:35 -0500
10347
+
10348
+
10349
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:31:35 -0500
10350
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10351
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+7@test.com' LIMIT 1
10352
+ Completed 401 Unauthorized in 75810ms (Views: 0.3ms | ActiveRecord: 0.3ms)
10353
+
10354
+
10355
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-04 19:37:05 -0500
10356
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10357
+
10358
+
10359
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:37:05 -0500
10360
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
10361
+ Parameters: {"email"=>"test+8@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=_FW0DlcTtybv0NJkR59DsQ&token=SIhr9gaSIRap8AJ8jRWoGg&uid=test%2B7%40test.com", "registration"=>{"email"=>"test+8@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=_FW0DlcTtybv0NJkR59DsQ&token=SIhr9gaSIRap8AJ8jRWoGg&uid=test%2B7%40test.com"}}
10362
+ Unpermitted parameters: registration
10363
+ Unpermitted parameters: registration
10364
+  (0.1ms) begin transaction
10365
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test+8@test.com' LIMIT 1
10366
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '0605bedc6028c763dc8e81266ef2841f2ae155d4873839aba80f4cb8f3f1edba' ORDER BY "users"."id" ASC LIMIT 1
10367
+ Binary data inserted for `string` type on column `confirmation_token`
10368
+ Binary data inserted for `string` type on column `encrypted_password`
10369
+ SQL (0.4ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/?client_id=_FW0DlcTtybv0NJkR59DsQ&token=SIhr9gaSIRap8AJ8jRWoGg&uid=test%2B7%40test.com"], ["confirmation_sent_at", "2014-07-05 00:37:05.675003"], ["confirmation_token", "0605bedc6028c763dc8e81266ef2841f2ae155d4873839aba80f4cb8f3f1edba"], ["created_at", "2014-07-05 00:37:05.483506"], ["email", "test+8@test.com"], ["encrypted_password", "$2a$10$17Gxdi.X.jQ9VQi3YuPfxuquOD8GC4ICO8CxCQSnLKDnULUtFqtTO"], ["provider", "email"], ["tokens", "{}"], ["uid", "test+8@test.com"], ["updated_at", "2014-07-05 00:37:05.483506"]]
10370
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (1.5ms)
10371
+
10372
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 26.3ms
10373
+
10374
+ Sent mail to test+8@test.com (28.4ms)
10375
+ Date: Fri, 04 Jul 2014 19:37:05 -0500
10376
+ From: please-change-me-at-config-initializers-devise@example.com
10377
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
10378
+ To: test+8@test.com
10379
+ Message-ID: <53b748b1ad82f_156f73ff9cd078d3c804a6@Lynns-MacBook-Pro.local.mail>
10380
+ Subject: Confirmation instructions
10381
+ Mime-Version: 1.0
10382
+ Content-Type: text/html;
10383
+ charset=UTF-8
10384
+ Content-Transfer-Encoding: 7bit
10385
+
10386
+ <p>Welcome test+8@test.com!</p>
10387
+
10388
+ <p>You can confirm your account email through the link below:</p>
10389
+
10390
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=RLjRs2Njw7_TscbiyREu">Confirm my account</a></p>
10391
+
10392
+  (1.9ms) commit transaction
10393
+ Completed 200 OK in 387ms (Views: 0.4ms | ActiveRecord: 3.1ms)
10394
+
10395
+
10396
+ Started GET "/auth/confirmation?confirmation_token=RLjRs2Njw7_TscbiyREu" for 127.0.0.1 at 2014-07-04 19:37:24 -0500
10397
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
10398
+ Parameters: {"confirmation_token"=>"RLjRs2Njw7_TscbiyREu"}
10399
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '0605bedc6028c763dc8e81266ef2841f2ae155d4873839aba80f4cb8f3f1edba' ORDER BY "users"."id" ASC LIMIT 1
10400
+  (0.0ms) begin transaction
10401
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 8 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:37:24.495313"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:37:24.495564"]]
10402
+  (0.5ms) commit transaction
10403
+  (0.1ms) begin transaction
10404
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 8 [["confirmation_token", "RLjRs2Njw7_TscbiyREu"], ["tokens", "{\"HiWRyODaC0dFsvf3l_r6aw\":{\"token\":\"$2a$10$s22myV16OMA1D.6hELPMFOn0PNgZALP/FPgmTNoQ5OsEl1ygg7zEu\",\"expiry\":\"2014-07-18 19:37:24 -0500\"}}"], ["updated_at", "2014-07-05 00:37:24.559123"]]
10405
+  (0.5ms) commit transaction
10406
+ Redirected to http://localhost:7777/?client_id=HiWRyODaC0dFsvf3l_r6aw&token=5jOujNB_188SPYb0o3FIJg&uid=test%2B8%40test.com
10407
+  (0.1ms) begin transaction
10408
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 8 [["tokens", "{\"HiWRyODaC0dFsvf3l_r6aw\":{\"token\":\"$2a$10$Jv/jMWl4T/XnQ922dUE4YOeovM20YZdsgwWqL3UXfftoRyeth067.\",\"expiry\":\"2014-07-18 19:37:24 -0500\"}}"], ["updated_at", "2014-07-05 00:37:24.622317"]]
10409
+  (0.5ms) commit transaction
10410
+ Completed 302 Found in 130ms (ActiveRecord: 2.8ms)
10411
+
10412
+
10413
+ Started OPTIONS "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:37:25 -0500
10414
+
10415
+
10416
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:37:25 -0500
10417
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10418
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+8@test.com' LIMIT 1
10419
+ Completed 401 Unauthorized in 64ms (Views: 0.3ms | ActiveRecord: 0.3ms)
10420
+
10421
+
10422
+ Started OPTIONS "/auth" for 127.0.0.1 at 2014-07-04 19:41:37 -0500
10423
+
10424
+
10425
+ Started POST "/auth" for 127.0.0.1 at 2014-07-04 19:41:37 -0500
10426
+ Processing by DeviseTokenAuth::RegistrationsController#create as HTML
10427
+ Parameters: {"email"=>"test+9@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=HiWRyODaC0dFsvf3l_r6aw&token=5jOujNB_188SPYb0o3FIJg&uid=test%2B8%40test.com", "registration"=>{"email"=>"test+9@test.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"http://localhost:7777/?client_id=HiWRyODaC0dFsvf3l_r6aw&token=5jOujNB_188SPYb0o3FIJg&uid=test%2B8%40test.com"}}
10428
+ Unpermitted parameters: registration
10429
+ Unpermitted parameters: registration
10430
+  (0.1ms) begin transaction
10431
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'test+9@test.com' LIMIT 1
10432
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '22525df34cd75a0bb0376975aac5ac3ec3d62d8035e8e87e06408f48b96c9637' ORDER BY "users"."id" ASC LIMIT 1
10433
+ Binary data inserted for `string` type on column `confirmation_token`
10434
+ Binary data inserted for `string` type on column `encrypted_password`
10435
+ SQL (0.3ms) INSERT INTO "users" ("confirm_success_url", "confirmation_sent_at", "confirmation_token", "created_at", "email", "encrypted_password", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirm_success_url", "http://localhost:7777/?client_id=HiWRyODaC0dFsvf3l_r6aw&token=5jOujNB_188SPYb0o3FIJg&uid=test%2B8%40test.com"], ["confirmation_sent_at", "2014-07-05 00:41:37.756518"], ["confirmation_token", "22525df34cd75a0bb0376975aac5ac3ec3d62d8035e8e87e06408f48b96c9637"], ["created_at", "2014-07-05 00:41:37.755689"], ["email", "test+9@test.com"], ["encrypted_password", "$2a$10$vu..8mMV6kSxVrg1qOf0U.gDxZaiPsuXy/4TJPoBjanL2/wLNjwRe"], ["provider", "email"], ["tokens", "{}"], ["uid", "test+9@test.com"], ["updated_at", "2014-07-05 00:41:37.755689"]]
10436
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/devise-3.2.4/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
10437
+
10438
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 13.2ms
10439
+
10440
+ Sent mail to test+9@test.com (21.2ms)
10441
+ Date: Fri, 04 Jul 2014 19:41:37 -0500
10442
+ From: please-change-me-at-config-initializers-devise@example.com
10443
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
10444
+ To: test+9@test.com
10445
+ Message-ID: <53b749c1bcfda_156f73ff9cd139a64805cc@Lynns-MacBook-Pro.local.mail>
10446
+ Subject: Confirmation instructions
10447
+ Mime-Version: 1.0
10448
+ Content-Type: text/html;
10449
+ charset=UTF-8
10450
+ Content-Transfer-Encoding: 7bit
10451
+
10452
+ <p>Welcome test+9@test.com!</p>
10453
+
10454
+ <p>You can confirm your account email through the link below:</p>
10455
+
10456
+ <p><a href="http://localhost:3000/auth/confirmation?confirmation_token=UpyYHnxLP22oPEq3dBek">Confirm my account</a></p>
10457
+
10458
+  (2.1ms) commit transaction
10459
+ Completed 200 OK in 117ms (Views: 0.5ms | ActiveRecord: 3.1ms)
10460
+
10461
+
10462
+ Started GET "/auth/confirmation?confirmation_token=UpyYHnxLP22oPEq3dBek" for 127.0.0.1 at 2014-07-04 19:41:47 -0500
10463
+ Processing by DeviseTokenAuth::ConfirmationsController#show as HTML
10464
+ Parameters: {"confirmation_token"=>"UpyYHnxLP22oPEq3dBek"}
10465
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '22525df34cd75a0bb0376975aac5ac3ec3d62d8035e8e87e06408f48b96c9637' ORDER BY "users"."id" ASC LIMIT 1
10466
+  (0.1ms) begin transaction
10467
+ SQL (0.4ms) UPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["confirmation_token", nil], ["confirmed_at", "2014-07-05 00:41:47.501695"], ["tokens", "{}"], ["updated_at", "2014-07-05 00:41:47.502186"]]
10468
+  (2.0ms) commit transaction
10469
+  (0.1ms) begin transaction
10470
+ SQL (0.3ms) UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["confirmation_token", "UpyYHnxLP22oPEq3dBek"], ["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$B1/F2h6LOM/jA6z7OzmE2OQR2mJX1Y7Di7kbAqJRErbTuauqPGf0a\",\"expiry\":\"2014-07-18 19:41:47 -0500\"}}"], ["updated_at", "2014-07-05 00:41:47.567486"]]
10471
+  (0.8ms) commit transaction
10472
+ Redirected to http://localhost:7777/?client_id=pzlFC0qCsyE8J9M5zwS5cQ&token=o06hqpuFFCE-Q_1hE0UVBQ&uid=test%2B9%40test.com
10473
+  (0.1ms) begin transaction
10474
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$B1/F2h6LOM/jA6z7OzmE2OQR2mJX1Y7Di7kbAqJRErbTuauqPGf0a\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"}}"], ["updated_at", "2014-07-05 00:41:47.630445"]]
10475
+  (0.8ms) commit transaction
10476
+ Completed 302 Found in 132ms (ActiveRecord: 5.1ms)
10477
+
10478
+
10479
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:41:48 -0500
10480
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10481
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+9@test.com' LIMIT 1
10482
+  (0.1ms) begin transaction
10483
+ Binary data inserted for `string` type on column `current_sign_in_ip`
10484
+ Binary data inserted for `string` type on column `last_sign_in_ip`
10485
+ SQL (0.4ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["current_sign_in_at", "2014-07-05 00:41:48.105137"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-07-05 00:41:48.105137"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$B1/F2h6LOM/jA6z7OzmE2OQR2mJX1Y7Di7kbAqJRErbTuauqPGf0a\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"}}"], ["updated_at", "2014-07-05 00:41:48.106547"]]
10486
+  (2.1ms) commit transaction
10487
+  (0.1ms) begin transaction
10488
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"}}"], ["updated_at", "2014-07-05 00:41:48.209735"]]
10489
+  (1.0ms) commit transaction
10490
+ Completed 200 OK in 171ms (Views: 0.4ms | ActiveRecord: 4.2ms)
10491
+
10492
+
10493
+ Started OPTIONS "/demo/members_only" for 127.0.0.1 at 2014-07-04 19:42:00 -0500
10494
+
10495
+
10496
+ Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-04 19:42:00 -0500
10497
+
10498
+ ActionController::RoutingError (No route matches [GET] "/demo/members_only"):
10499
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
10500
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
10501
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
10502
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
10503
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
10504
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
10505
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
10506
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
10507
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
10508
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
10509
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
10510
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
10511
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10512
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
10513
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
10514
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
10515
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
10516
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10517
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
10518
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
10519
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
10520
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
10521
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
10522
+
10523
+
10524
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
10525
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
10526
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
10527
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.1ms)
10528
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (28.1ms)
10529
+
10530
+
10531
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:44:18 -0500
10532
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10533
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+9@test.com' LIMIT 1
10534
+ Completed 401 Unauthorized in 77ms (Views: 0.3ms | ActiveRecord: 0.9ms)
10535
+
10536
+
10537
+ Started OPTIONS "/auth/sign_in" for 127.0.0.1 at 2014-07-04 19:44:30 -0500
10538
+
10539
+
10540
+ Started POST "/auth/sign_in" for 127.0.0.1 at 2014-07-04 19:44:30 -0500
10541
+ Processing by DeviseTokenAuth::SessionsController#create as HTML
10542
+ Parameters: {"email"=>"test+9@test.com", "password"=>"[FILTERED]", "session"=>{"email"=>"test+9@test.com", "password"=>"[FILTERED]"}}
10543
+ Unpermitted parameters: session
10544
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test+9@test.com' LIMIT 1
10545
+  (0.1ms) begin transaction
10546
+ SQL (0.4ms) UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["current_sign_in_at", "2014-07-05 00:44:30.556357"], ["sign_in_count", 2], ["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"}}"], ["updated_at", "2014-07-05 00:44:30.557031"]]
10547
+  (2.2ms) commit transaction
10548
+  (0.1ms) begin transaction
10549
+ SQL (0.4ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"}}"], ["updated_at", "2014-07-05 00:44:30.645023"]]
10550
+  (0.6ms) commit transaction
10551
+ Completed 500 Internal Server Error in 197ms
10552
+
10553
+ NoMethodError (undefined method `[]' for nil:NilClass):
10554
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/models/user.rb:18:in `serializable_hash'
10555
+ activemodel (4.1.2) lib/active_model/serializers/json.rb:99:in `as_json'
10556
+ /Users/lynnhurley/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/sessions_controller.rb:36:in `create'
10557
+ actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
10558
+ actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action'
10559
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
10560
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
10561
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
10562
+ activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call'
10563
+ activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting'
10564
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
10565
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
10566
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call'
10567
+ activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting'
10568
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `call'
10569
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
10570
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `call'
10571
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
10572
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `call'
10573
+ activesupport (4.1.2) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
10574
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call'
10575
+ activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks'
10576
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
10577
+ actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
10578
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
10579
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
10580
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
10581
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
10582
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
10583
+ actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
10584
+ activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
10585
+ actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process'
10586
+ actionview (4.1.2) lib/action_view/rendering.rb:30:in `process'
10587
+ actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch'
10588
+ actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
10589
+ actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action'
10590
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call'
10591
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
10592
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call'
10593
+ actionpack (4.1.2) lib/action_dispatch/routing/mapper.rb:45:in `call'
10594
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
10595
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
10596
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
10597
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
10598
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
10599
+ railties (4.1.2) lib/rails/railtie.rb:194:in `public_send'
10600
+ railties (4.1.2) lib/rails/railtie.rb:194:in `method_missing'
10601
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
10602
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
10603
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
10604
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
10605
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
10606
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
10607
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
10608
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
10609
+ omniauth (1.2.1) lib/omniauth/strategy.rb:186:in `call!'
10610
+ omniauth (1.2.1) lib/omniauth/strategy.rb:164:in `call'
10611
+ omniauth (1.2.1) lib/omniauth/builder.rb:59:in `call'
10612
+ rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
10613
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
10614
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
10615
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
10616
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
10617
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
10618
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
10619
+ actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
10620
+ actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call'
10621
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
10622
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
10623
+ actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
10624
+ activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call'
10625
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
10626
+ activerecord (4.1.2) lib/active_record/migration.rb:380:in `call'
10627
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
10628
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
10629
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
10630
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
10631
+ actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
10632
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
10633
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
10634
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
10635
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
10636
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
10637
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
10638
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
10639
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
10640
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
10641
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
10642
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
10643
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
10644
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10645
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
10646
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
10647
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
10648
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
10649
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10650
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
10651
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
10652
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
10653
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
10654
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
10655
+
10656
+
10657
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
10658
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
10659
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
10660
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.1ms)
10661
+
10662
+
10663
+ Started POST "/auth/sign_in" for 127.0.0.1 at 2014-07-04 19:45:07 -0500
10664
+ Processing by DeviseTokenAuth::SessionsController#create as HTML
10665
+ Parameters: {"email"=>"test+9@test.com", "password"=>"[FILTERED]", "session"=>{"email"=>"test+9@test.com", "password"=>"[FILTERED]"}}
10666
+ Unpermitted parameters: session
10667
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test+9@test.com' LIMIT 1
10668
+  (0.1ms) begin transaction
10669
+ SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["current_sign_in_at", "2014-07-05 00:45:07.219122"], ["last_sign_in_at", "2014-07-05 00:44:30.556357"], ["sign_in_count", 3], ["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"}}"], ["updated_at", "2014-07-05 00:45:07.219711"]]
10670
+  (1.6ms) commit transaction
10671
+  (0.1ms) begin transaction
10672
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$W7rxMs..GKUY6LUSXnaYq.2haQ3gHVx2hdd9tUufIrJY8KcnKrzDK\",\"expiry\":\"2014-07-18 19:45:07 -0500\"}}"], ["updated_at", "2014-07-05 00:45:07.284276"]]
10673
+  (0.5ms) commit transaction
10674
+  (0.1ms) begin transaction
10675
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"}}"], ["updated_at", "2014-07-05 00:45:07.354536"]]
10676
+  (0.7ms) commit transaction
10677
+ Completed 200 OK in 252ms (Views: 0.3ms | ActiveRecord: 4.7ms)
10678
+
10679
+
10680
+ Started GET "/demo/members_only" for 127.0.0.1 at 2014-07-04 19:45:11 -0500
10681
+
10682
+ ActionController::RoutingError (No route matches [GET] "/demo/members_only"):
10683
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
10684
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
10685
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
10686
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
10687
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
10688
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
10689
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
10690
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
10691
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
10692
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
10693
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
10694
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
10695
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10696
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
10697
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
10698
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
10699
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
10700
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10701
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
10702
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
10703
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
10704
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
10705
+ /opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
10706
+
10707
+
10708
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
10709
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
10710
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
10711
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms)
10712
+ Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (19.4ms)
10713
+
10714
+
10715
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:45:23 -0500
10716
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10717
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+9@test.com' LIMIT 1
10718
+ Completed 401 Unauthorized in 63ms (Views: 0.2ms | ActiveRecord: 0.2ms)
10719
+
10720
+
10721
+ Started POST "/auth/sign_in" for 127.0.0.1 at 2014-07-04 19:45:45 -0500
10722
+ Processing by DeviseTokenAuth::SessionsController#create as HTML
10723
+ Parameters: {"email"=>"test+9@test.com", "password"=>"[FILTERED]", "session"=>{"email"=>"test+9@test.com", "password"=>"[FILTERED]"}}
10724
+ Unpermitted parameters: session
10725
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test+9@test.com' LIMIT 1
10726
+  (0.1ms) begin transaction
10727
+ SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["current_sign_in_at", "2014-07-05 00:45:45.148253"], ["last_sign_in_at", "2014-07-05 00:45:07.219122"], ["sign_in_count", 4], ["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"}}"], ["updated_at", "2014-07-05 00:45:45.148778"]]
10728
+  (1.9ms) commit transaction
10729
+  (0.1ms) begin transaction
10730
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"},\"kADGLDMT9-EkUksPpcfAHg\":{\"token\":\"$2a$10$n9g6axVezsDvN2hk5OHageQw8xvAa2xolnKIpl16jRGGir1g1uXi6\",\"expiry\":\"2014-07-18 19:45:45 -0500\"}}"], ["updated_at", "2014-07-05 00:45:45.255296"]]
10731
+  (0.8ms) commit transaction
10732
+  (0.1ms) begin transaction
10733
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"},\"kADGLDMT9-EkUksPpcfAHg\":{\"token\":\"$2a$10$ZOJoR38lnAVBG29Y7kika.Oivkr2G4AsnI/.AlbU9HLNLoRDdN5iK\",\"expiry\":\"2014-07-18 19:45:45 -0500\"}}"], ["updated_at", "2014-07-05 00:45:45.351918"]]
10734
+  (1.0ms) commit transaction
10735
+ Completed 200 OK in 306ms (Views: 0.3ms | ActiveRecord: 4.9ms)
10736
+
10737
+
10738
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:45:49 -0500
10739
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10740
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+9@test.com' LIMIT 1
10741
+ Completed 401 Unauthorized in 63ms (Views: 0.2ms | ActiveRecord: 0.2ms)
10742
+
10743
+
10744
+ Started POST "/auth/sign_in" for 127.0.0.1 at 2014-07-04 19:46:18 -0500
10745
+ Processing by DeviseTokenAuth::SessionsController#create as HTML
10746
+ Parameters: {"email"=>"test+9@test.com", "password"=>"[FILTERED]", "session"=>{"email"=>"test+9@test.com", "password"=>"[FILTERED]"}}
10747
+ Unpermitted parameters: session
10748
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test+9@test.com' LIMIT 1
10749
+  (0.1ms) begin transaction
10750
+ SQL (0.2ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["current_sign_in_at", "2014-07-05 00:46:18.291699"], ["last_sign_in_at", "2014-07-05 00:45:45.148253"], ["sign_in_count", 5], ["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"},\"kADGLDMT9-EkUksPpcfAHg\":{\"token\":\"$2a$10$ZOJoR38lnAVBG29Y7kika.Oivkr2G4AsnI/.AlbU9HLNLoRDdN5iK\",\"expiry\":\"2014-07-18 19:45:45 -0500\"}}"], ["updated_at", "2014-07-05 00:46:18.292227"]]
10751
+  (1.0ms) commit transaction
10752
+  (0.1ms) begin transaction
10753
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"},\"kADGLDMT9-EkUksPpcfAHg\":{\"token\":\"$2a$10$ZOJoR38lnAVBG29Y7kika.Oivkr2G4AsnI/.AlbU9HLNLoRDdN5iK\",\"expiry\":\"2014-07-18 19:45:45 -0500\"},\"F-_eXekstqN82e0jEcCWZg\":{\"token\":\"$2a$10$96KFTqvxfhg391hLinEIquGW5t/sK0oUsGl5AmVH./tXTz3bcZTZ2\",\"expiry\":\"2014-07-18 19:46:18 -0500\"}}"], ["updated_at", "2014-07-05 00:46:18.388922"]]
10754
+  (0.7ms) commit transaction
10755
+  (0.1ms) begin transaction
10756
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"},\"kADGLDMT9-EkUksPpcfAHg\":{\"token\":\"$2a$10$ZOJoR38lnAVBG29Y7kika.Oivkr2G4AsnI/.AlbU9HLNLoRDdN5iK\",\"expiry\":\"2014-07-18 19:45:45 -0500\"},\"F-_eXekstqN82e0jEcCWZg\":{\"token\":\"$2a$10$./LAqhKcyCItYWLJPCAgCOY1G7vI.QTTj3IMr094PJXL9lx5gSWBi\",\"expiry\":\"2014-07-18 19:46:18 -0500\"}}"], ["updated_at", "2014-07-05 00:46:18.488422"]]
10757
+  (1.8ms) commit transaction
10758
+ Completed 200 OK in 302ms (Views: 0.3ms | ActiveRecord: 4.7ms)
10759
+
10760
+
10761
+ Started GET "/auth/validate_token" for 127.0.0.1 at 2014-07-04 19:46:23 -0500
10762
+ Processing by DeviseTokenAuth::AuthController#validate_token as HTML
10763
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'test+9@test.com' LIMIT 1
10764
+  (0.1ms) begin transaction
10765
+ SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["current_sign_in_at", "2014-07-05 00:46:23.526450"], ["last_sign_in_at", "2014-07-05 00:46:18.291699"], ["sign_in_count", 6], ["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"},\"kADGLDMT9-EkUksPpcfAHg\":{\"token\":\"$2a$10$ZOJoR38lnAVBG29Y7kika.Oivkr2G4AsnI/.AlbU9HLNLoRDdN5iK\",\"expiry\":\"2014-07-18 19:45:45 -0500\"},\"F-_eXekstqN82e0jEcCWZg\":{\"token\":\"$2a$10$./LAqhKcyCItYWLJPCAgCOY1G7vI.QTTj3IMr094PJXL9lx5gSWBi\",\"expiry\":\"2014-07-18 19:46:18 -0500\"}}"], ["updated_at", "2014-07-05 00:46:23.527179"]]
10766
+  (1.7ms) commit transaction
10767
+  (0.1ms) begin transaction
10768
+ SQL (0.3ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["tokens", "{\"pzlFC0qCsyE8J9M5zwS5cQ\":{\"token\":\"$2a$10$efRN2bolHvuDmJZvngCJgeFfRrColRWNKyiBo2O6AEuTK6h18cQHS\",\"expiry\":\"2014-07-18 19:41:48 -0500\"},\"\":{\"token\":\"$2a$10$C0UaN9QEwpIxCtx7wpjNY.d90wy4jRlAzA85ZFwAUXj2bJNP3byHi\",\"expiry\":\"2014-07-18 19:41:47 -0500\"},\"3lX50yTkw9nPtLn2OcfHnA\":{\"token\":\"$2a$10$/Mz3imGDacImVl09i1DTMu0p1OVsLHIVR3Mr9HSXxbjdD2wXOuICe\",\"expiry\":\"2014-07-18 19:44:30 -0500\"},\"miVoz6341BnD1AeVYuCt8w\":{\"token\":\"$2a$10$YLPjZ9ZwovdwqNX0x6OF9eUKy27uLrJpFmQIt83IAyW0O96iT9rEa\",\"expiry\":\"2014-07-18 19:45:07 -0500\"},\"kADGLDMT9-EkUksPpcfAHg\":{\"token\":\"$2a$10$ZOJoR38lnAVBG29Y7kika.Oivkr2G4AsnI/.AlbU9HLNLoRDdN5iK\",\"expiry\":\"2014-07-18 19:45:45 -0500\"},\"F-_eXekstqN82e0jEcCWZg\":{\"token\":\"$2a$10$.ALPQGltOeONC1n4jQZzteGIfcplbobGzhj48G.ZCJnFtw7pj2d9q\",\"expiry\":\"2014-07-18 19:46:23 -0500\"}}"], ["updated_at", "2014-07-05 00:46:23.645853"]]
10769
+  (1.9ms) commit transaction
10770
+ Completed 200 OK in 228ms (Views: 0.4ms | ActiveRecord: 4.5ms)