devise_token_auth 0.1.30.beta1 → 0.1.30.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +12 -6
- data/app/models/devise_token_auth/concerns/user.rb +4 -2
- data/lib/devise_token_auth/version.rb +1 -1
- data/test/dummy/config/application.yml.bk +8 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +1060 -0
- data/test/dummy/log/test.log +18321 -0
- data/test/dummy/tmp/generators/app/models/mang.rb +3 -0
- data/test/dummy/tmp/generators/app/models/user.rb +0 -4
- data/test/dummy/tmp/generators/config/routes.rb +9 -0
- data/test/dummy/tmp/generators/db/migrate/20141028204705_devise_token_auth_create_mangs.rb +54 -0
- data/test/dummy/tmp/generators/db/migrate/{20141028035257_devise_token_auth_create_users.rb → 20141028204705_devise_token_auth_create_users.rb} +0 -0
- metadata +11 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 982b22a2cc2e24bd3b6286948ab4160e0d1c7751
|
4
|
+
data.tar.gz: 6ba5fc15caabf80790858374ba43c2d220eaed92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 809f842f73b5abbd8a5ec8d2fece47c5377097ca9eb625857d01cb31573874f967e79b12eed42f916588526f720bfa97cd07fbf18f8b94c836cd39a6456f207b
|
7
|
+
data.tar.gz: 55d6732fd4b3b94fc64caef6bce055a866f07c731f71da8d341a9a7d59d2d245989dc8e6155da7eb5bcf7cb96306262ab760a94f74f4a76937d8e77e0b18eedd
|
@@ -18,6 +18,8 @@ module DeviseTokenAuth::Concerns::SetUserByToken
|
|
18
18
|
# determine target authentication class
|
19
19
|
rc = resource_class(mapping)
|
20
20
|
|
21
|
+
logger.debug "@-->setting user by token for #{mapping}"
|
22
|
+
|
21
23
|
# no default user defined
|
22
24
|
return unless rc
|
23
25
|
|
@@ -29,6 +31,8 @@ module DeviseTokenAuth::Concerns::SetUserByToken
|
|
29
31
|
@token = request.headers['access-token']
|
30
32
|
@client_id = request.headers['client']
|
31
33
|
|
34
|
+
logger.debug "@-->token #{@token}"
|
35
|
+
|
32
36
|
return false unless @token
|
33
37
|
|
34
38
|
# client_id isn't required, set to 'default' if absent
|
@@ -52,14 +56,16 @@ module DeviseTokenAuth::Concerns::SetUserByToken
|
|
52
56
|
# cannot save object if model has invalid params
|
53
57
|
return unless @user and @user.valid? and @client_id
|
54
58
|
|
55
|
-
# Lock the user record during any auth_header updates to ensure
|
59
|
+
# Lock the user record during any auth_header updates to ensure
|
56
60
|
# we don't have write contention from multiple threads
|
57
61
|
@user.with_lock do
|
58
|
-
|
59
|
-
# determine batch request status after request processing, in case
|
62
|
+
|
63
|
+
# determine batch request status after request processing, in case
|
60
64
|
# another processes has updated it during that processing
|
61
65
|
@is_batch_request = is_batch_request?(@user, @client_id)
|
62
66
|
|
67
|
+
logger.debug "@-->is batched request #{@is_batch_request.to_s}"
|
68
|
+
|
63
69
|
auth_header = {}
|
64
70
|
|
65
71
|
if not DeviseTokenAuth.change_headers_on_each_request
|
@@ -73,10 +79,10 @@ module DeviseTokenAuth::Concerns::SetUserByToken
|
|
73
79
|
# update Authorization response header with new token
|
74
80
|
else
|
75
81
|
auth_header = @user.create_new_auth_token(@client_id)
|
76
|
-
end
|
77
82
|
|
78
|
-
|
79
|
-
|
83
|
+
# update the response header
|
84
|
+
response.headers.merge!(auth_header)
|
85
|
+
end
|
80
86
|
|
81
87
|
end # end lock
|
82
88
|
|
@@ -141,7 +141,9 @@ module DeviseTokenAuth::Concerns::User
|
|
141
141
|
expiry: expiry,
|
142
142
|
last_token: last_token,
|
143
143
|
updated_at: Time.now
|
144
|
-
|
144
|
+
}
|
145
|
+
|
146
|
+
logger.debug "@-->created new auth token #{token}"
|
145
147
|
|
146
148
|
self.save!
|
147
149
|
|
@@ -185,7 +187,7 @@ module DeviseTokenAuth::Concerns::User
|
|
185
187
|
protected
|
186
188
|
|
187
189
|
|
188
|
-
# ensure that fragment comes AFTER querystring for proper $location
|
190
|
+
# NOTE: ensure that fragment comes AFTER querystring for proper $location
|
189
191
|
# parsing using AngularJS.
|
190
192
|
def generate_url(url, params = {})
|
191
193
|
uri = URI(url)
|
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -3071,3 +3071,1063 @@ Unpermitted parameters: confirm_success_url, config_name, registration
|
|
3071
3071
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."provider" = 'email' AND "users"."email" = 'test@test.com'
|
3072
3072
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3073
3073
|
Completed 403 Forbidden in 335ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
3074
|
+
|
3075
|
+
|
3076
|
+
Started GET "/auth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-10-28 14:40:01 -0500
|
3077
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3078
|
+
|
3079
|
+
|
3080
|
+
Started GET "/omniauth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-10-28 14:40:05 -0500
|
3081
|
+
|
3082
|
+
|
3083
|
+
Started GET "/omniauth/github/callback?code=8c43a35f4e64e5f4b90a&state=0070016ac6eeb42935648b56af26fd6c87451d62c5b07d14" for 127.0.0.1 at 2014-10-28 14:40:05 -0500
|
3084
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks as HTML
|
3085
|
+
Parameters: {"code"=>"8c43a35f4e64e5f4b90a", "state"=>"0070016ac6eeb42935648b56af26fd6c87451d62c5b07d14", "provider"=>"github"}
|
3086
|
+
Redirected to https://devise-token-auth.dev/auth/github/callback
|
3087
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3088
|
+
|
3089
|
+
|
3090
|
+
Started GET "/auth/github/callback" for 127.0.0.1 at 2014-10-28 14:40:06 -0500
|
3091
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#omniauth_success as HTML
|
3092
|
+
Parameters: {"provider"=>"github"}
|
3093
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' ORDER BY "users"."id" ASC LIMIT 1
|
3094
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3095
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
3096
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "image", "name", "nickname", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-10-28 19:40:06.454972"], ["created_at", "2014-10-28 19:40:06.457510"], ["email", "lynn.dylan.hurley+github@gmail.com"], ["encrypted_password", "$2a$10$//1QWeMVPw8Fki4oKV2wPezDQ9qEpjC8aMvfTXuGAiBGCCcLXD/Pe"], ["image", "https://avatars.githubusercontent.com/u/468037?v=2"], ["name", "Lynn Dylan Hurley"], ["nickname", "lynndylanhurley"], ["provider", "github"], ["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"expiry\":1415738406}}"], ["uid", "468037"], ["updated_at", "2014-10-28 19:40:06.457510"]]
|
3097
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
3098
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (1.4ms)
|
3099
|
+
Completed 200 OK in 159ms (Views: 7.0ms | ActiveRecord: 4.7ms)
|
3100
|
+
|
3101
|
+
|
3102
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 14:47:57 -0500
|
3103
|
+
Processing by DemoUserController#members_only as HTML
|
3104
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3106
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3107
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:57.442-05:00\"}}"], ["updated_at", "2014-10-28 19:47:57.443059"]]
|
3108
|
+
[1m[35m (1.6ms)[0m commit transaction
|
3109
|
+
Completed 200 OK in 131ms (Views: 0.7ms | ActiveRecord: 2.3ms)
|
3110
|
+
|
3111
|
+
|
3112
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 14:47:59 -0500
|
3113
|
+
Processing by DemoUserController#members_only as HTML
|
3114
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3116
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3117
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"}}"], ["updated_at", "2014-10-28 19:47:59.577310"]]
|
3118
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
3119
|
+
Completed 200 OK in 143ms (Views: 0.5ms | ActiveRecord: 2.1ms)
|
3120
|
+
|
3121
|
+
|
3122
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 14:49:46 -0500
|
3123
|
+
|
3124
|
+
|
3125
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 14:49:46 -0500
|
3126
|
+
Processing by DemoUserController#members_only as HTML
|
3127
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3128
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3129
|
+
Processing by DemoUserController#members_only as HTML
|
3130
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3131
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
3132
|
+
Completed 401 Unauthorized in 62ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
3133
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
3134
|
+
Completed 401 Unauthorized in 83ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
3135
|
+
|
3136
|
+
|
3137
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-10-28 15:28:40 -0500
|
3138
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3139
|
+
Processing by DeviseTokenAuth::TokenValidationsController#validate_token as HTML
|
3140
|
+
@-->setting user by token for
|
3141
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3142
|
+
Completed 401 Unauthorized in 83ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
3143
|
+
|
3144
|
+
|
3145
|
+
Started GET "/auth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-10-28 15:28:40 -0500
|
3146
|
+
|
3147
|
+
|
3148
|
+
Started GET "/omniauth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-10-28 15:28:40 -0500
|
3149
|
+
|
3150
|
+
|
3151
|
+
Started GET "/omniauth/github/callback?code=23bb69349671e05dd755&state=eec9fb3d34938afe636e5505bfee1737fb5972e43c1e4d47" for 127.0.0.1 at 2014-10-28 15:28:40 -0500
|
3152
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks as HTML
|
3153
|
+
Parameters: {"code"=>"23bb69349671e05dd755", "state"=>"eec9fb3d34938afe636e5505bfee1737fb5972e43c1e4d47", "provider"=>"github"}
|
3154
|
+
Redirected to https://devise-token-auth.dev/auth/github/callback
|
3155
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3156
|
+
|
3157
|
+
|
3158
|
+
Started GET "/auth/github/callback" for 127.0.0.1 at 2014-10-28 15:28:41 -0500
|
3159
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#omniauth_success as HTML
|
3160
|
+
Parameters: {"provider"=>"github"}
|
3161
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3162
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3163
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["confirmed_at", "2014-10-28 20:28:41.468645"], ["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"expiry\":1415741321}}"], ["updated_at", "2014-10-28 20:28:41.471221"]]
|
3164
|
+
[1m[35m (1.8ms)[0m commit transaction
|
3165
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (1.5ms)
|
3166
|
+
Completed 200 OK in 77ms (Views: 7.1ms | ActiveRecord: 2.4ms)
|
3167
|
+
|
3168
|
+
|
3169
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:29:22 -0500
|
3170
|
+
Processing by DemoUserController#members_only as HTML
|
3171
|
+
@-->setting user by token for user
|
3172
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3173
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3174
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3175
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:22.164-05:00\"}}"], ["updated_at", "2014-10-28 20:29:22.164996"]]
|
3176
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
3177
|
+
Completed 200 OK in 132ms (Views: 0.7ms | ActiveRecord: 2.5ms)
|
3178
|
+
|
3179
|
+
|
3180
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:29:24 -0500
|
3181
|
+
Processing by DemoUserController#members_only as HTML
|
3182
|
+
@-->setting user by token for user
|
3183
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3184
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3185
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3186
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"}}"], ["updated_at", "2014-10-28 20:29:24.202070"]]
|
3187
|
+
[1m[35m (2.0ms)[0m commit transaction
|
3188
|
+
Completed 200 OK in 125ms (Views: 0.5ms | ActiveRecord: 2.6ms)
|
3189
|
+
|
3190
|
+
|
3191
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:32:00 -0500
|
3192
|
+
|
3193
|
+
|
3194
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:32:00 -0500
|
3195
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3196
|
+
Processing by DemoUserController#members_only as HTML
|
3197
|
+
@-->setting user by token for user
|
3198
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3199
|
+
Processing by DemoUserController#members_only as HTML
|
3200
|
+
@-->setting user by token for user
|
3201
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3202
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
3203
|
+
Completed 401 Unauthorized in 74ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
3204
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
3205
|
+
Completed 401 Unauthorized in 81ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
3206
|
+
|
3207
|
+
|
3208
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-10-28 15:33:35 -0500
|
3209
|
+
Processing by DeviseTokenAuth::TokenValidationsController#validate_token as HTML
|
3210
|
+
@-->setting user by token for
|
3211
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3212
|
+
Completed 401 Unauthorized in 63ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3213
|
+
|
3214
|
+
|
3215
|
+
Started GET "/auth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-10-28 15:33:37 -0500
|
3216
|
+
|
3217
|
+
|
3218
|
+
Started GET "/omniauth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-10-28 15:33:37 -0500
|
3219
|
+
|
3220
|
+
|
3221
|
+
Started GET "/omniauth/github/callback?code=5af9933e1b6f98aee202&state=e78e17fc0abc397a6ee42bedbfd1fd3e26dd2ada61066a0a" for 127.0.0.1 at 2014-10-28 15:33:40 -0500
|
3222
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks as HTML
|
3223
|
+
Parameters: {"code"=>"5af9933e1b6f98aee202", "state"=>"e78e17fc0abc397a6ee42bedbfd1fd3e26dd2ada61066a0a", "provider"=>"github"}
|
3224
|
+
Redirected to https://devise-token-auth.dev/auth/github/callback
|
3225
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3226
|
+
|
3227
|
+
|
3228
|
+
Started GET "/auth/github/callback" for 127.0.0.1 at 2014-10-28 15:33:42 -0500
|
3229
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#omniauth_success as HTML
|
3230
|
+
Parameters: {"provider"=>"github"}
|
3231
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3232
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3233
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["confirmed_at", "2014-10-28 20:33:42.789416"], ["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$eQozAbIeur8iSSTzvtd75uocK3YlOrVvHhZ5lew.EHkaqoJ99ikai\",\"expiry\":1415741622}}"], ["updated_at", "2014-10-28 20:33:42.790227"]]
|
3234
|
+
[1m[35m (2.4ms)[0m commit transaction
|
3235
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.4ms)
|
3236
|
+
Completed 200 OK in 71ms (Views: 1.9ms | ActiveRecord: 3.0ms)
|
3237
|
+
|
3238
|
+
|
3239
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:33:58 -0500
|
3240
|
+
|
3241
|
+
|
3242
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:33:58 -0500
|
3243
|
+
Processing by DemoUserController#members_only as HTML
|
3244
|
+
@-->setting user by token for user
|
3245
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3246
|
+
Processing by DemoUserController#members_only as HTML
|
3247
|
+
@-->setting user by token for user
|
3248
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3249
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3250
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3251
|
+
@-->is batched request
|
3252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3253
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3254
|
+
@-->is batched request
|
3255
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$4Hi5rJqvBIosi4NGc/wzyOwD066/.4yk7nr9VT10NvKIbuX86Crce\",\"expiry\":1415741639,\"last_token\":\"$2a$10$eQozAbIeur8iSSTzvtd75uocK3YlOrVvHhZ5lew.EHkaqoJ99ikai\",\"updated_at\":\"2014-10-28T15:33:59.076-05:00\"}}"], ["updated_at", "2014-10-28 20:33:59.077402"]]
|
3256
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$R.QY3Kt1MjszB1wf3QDwG.qRCJVC95XqlPzebzXkZiSzrAoLiJsLW\",\"expiry\":1415741639,\"last_token\":\"$2a$10$eQozAbIeur8iSSTzvtd75uocK3YlOrVvHhZ5lew.EHkaqoJ99ikai\",\"updated_at\":\"2014-10-28T15:33:59.091-05:00\"}}"], ["updated_at", "2014-10-28 20:33:59.091955"]]
|
3257
|
+
SQLite3::BusyException: database is locked: UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26
|
3258
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3259
|
+
Completed 500 Internal Server Error in 140ms
|
3260
|
+
[1m[36m (17.2ms)[0m [1mcommit transaction[0m
|
3261
|
+
Completed 200 OK in 144ms (Views: 0.6ms | ActiveRecord: 17.9ms)
|
3262
|
+
|
3263
|
+
ActiveRecord::StatementInvalid (SQLite3::BusyException: database is locked: UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26):
|
3264
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:108:in `step'
|
3265
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:108:in `block in each'
|
3266
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:107:in `loop'
|
3267
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:107:in `each'
|
3268
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:319:in `to_a'
|
3269
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:319:in `block in exec_query'
|
3270
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
|
3271
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
3272
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log'
|
3273
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:298:in `exec_query'
|
3274
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:324:in `exec_delete'
|
3275
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:101:in `update'
|
3276
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
|
3277
|
+
activerecord (4.1.6) lib/active_record/relation.rb:84:in `_update_record'
|
3278
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:494:in `_update_record'
|
3279
|
+
activerecord (4.1.6) lib/active_record/locking/optimistic.rb:70:in `_update_record'
|
3280
|
+
activerecord (4.1.6) lib/active_record/attribute_methods/dirty.rb:83:in `_update_record'
|
3281
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:310:in `block in _update_record'
|
3282
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3283
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3284
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
|
3285
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `call'
|
3286
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
|
3287
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
3288
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
3289
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:310:in `_update_record'
|
3290
|
+
activerecord (4.1.6) lib/active_record/timestamp.rb:70:in `_update_record'
|
3291
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:483:in `create_or_update'
|
3292
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:302:in `block in create_or_update'
|
3293
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3294
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3295
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
|
3296
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `call'
|
3297
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
|
3298
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
3299
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
3300
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:302:in `create_or_update'
|
3301
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:125:in `save!'
|
3302
|
+
activerecord (4.1.6) lib/active_record/validations.rb:57:in `save!'
|
3303
|
+
activerecord (4.1.6) lib/active_record/attribute_methods/dirty.rb:29:in `save!'
|
3304
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:273:in `block in save!'
|
3305
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
|
3306
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
|
3307
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:208:in `transaction'
|
3308
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
|
3309
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:273:in `save!'
|
3310
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/models/devise_token_auth/concerns/user.rb:146:in `create_new_auth_token'
|
3311
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/concerns/set_user_by_token.rb:79:in `block in update_auth_header'
|
3312
|
+
activerecord (4.1.6) lib/active_record/locking/pessimistic.rb:72:in `block in with_lock'
|
3313
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
|
3314
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
|
3315
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
|
3316
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:208:in `transaction'
|
3317
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:259:in `transaction'
|
3318
|
+
activerecord (4.1.6) lib/active_record/locking/pessimistic.rb:70:in `with_lock'
|
3319
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/concerns/set_user_by_token.rb:59:in `update_auth_header'
|
3320
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:424:in `block in make_lambda'
|
3321
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:231:in `call'
|
3322
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:231:in `block in halting'
|
3323
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
|
3324
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
|
3325
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
3326
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
3327
|
+
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
3328
|
+
actionpack (4.1.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
3329
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
3330
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
|
3331
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
3332
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
|
3333
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
3334
|
+
actionpack (4.1.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
3335
|
+
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
3336
|
+
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
|
3337
|
+
actionview (4.1.6) lib/action_view/rendering.rb:30:in `process'
|
3338
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
|
3339
|
+
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
3340
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
|
3341
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
3342
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
3343
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
3344
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
3345
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
3346
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
3347
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
3348
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
3349
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
3350
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
3351
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
3352
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
3353
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
3354
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
3355
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
3356
|
+
omniauth (1.2.2) lib/omniauth/builder.rb:59:in `call'
|
3357
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
3358
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
3359
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
3360
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
3361
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
3362
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
3363
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
3364
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
3365
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
3366
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
3367
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
3368
|
+
activerecord (4.1.6) lib/active_record/query_cache.rb:36:in `call'
|
3369
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
3370
|
+
activerecord (4.1.6) lib/active_record/migration.rb:380:in `call'
|
3371
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
3372
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
3373
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
3374
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
3375
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
3376
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
3377
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
3378
|
+
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
|
3379
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
|
3380
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
3381
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3382
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
3383
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
|
3384
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
3385
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
3386
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
3387
|
+
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
3388
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
3389
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
|
3390
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
3391
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
3392
|
+
railties (4.1.6) lib/rails/application.rb:144:in `call'
|
3393
|
+
rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
|
3394
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
|
3395
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
|
3396
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
|
3397
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `each'
|
3398
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
|
3399
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `loop'
|
3400
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
|
3401
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
|
3402
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
|
3403
|
+
|
3404
|
+
|
3405
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
|
3406
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
|
3407
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
|
3408
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.4ms)
|
3409
|
+
|
3410
|
+
|
3411
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:36:04 -0500
|
3412
|
+
Processing by DemoUserController#members_only as HTML
|
3413
|
+
@-->setting user by token for user
|
3414
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3415
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3416
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3417
|
+
@-->is batched request false
|
3418
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$Dk9MiYNEmRqLui2S08uN1uKdDv8KFQfC39VkjXT2oLx3WmgiyGVV.\",\"expiry\":1415741764,\"last_token\":\"$2a$10$4Hi5rJqvBIosi4NGc/wzyOwD066/.4yk7nr9VT10NvKIbuX86Crce\",\"updated_at\":\"2014-10-28T15:36:04.473-05:00\"}}"], ["updated_at", "2014-10-28 20:36:04.473760"]]
|
3419
|
+
[1m[35m (1.8ms)[0m commit transaction
|
3420
|
+
Completed 200 OK in 149ms (Views: 0.7ms | ActiveRecord: 3.2ms)
|
3421
|
+
|
3422
|
+
|
3423
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-10-28 15:36:18 -0500
|
3424
|
+
Processing by DeviseTokenAuth::TokenValidationsController#validate_token as HTML
|
3425
|
+
@-->setting user by token for
|
3426
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3427
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3428
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3429
|
+
@-->is batched request false
|
3430
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$69dMiIf8mc.kz28wgP.gje5obSdGUZEt/YagQPv6qhbal3roDGGlK\",\"expiry\":1415741778,\"last_token\":\"$2a$10$Dk9MiYNEmRqLui2S08uN1uKdDv8KFQfC39VkjXT2oLx3WmgiyGVV.\",\"updated_at\":\"2014-10-28T15:36:18.480-05:00\"}}"], ["updated_at", "2014-10-28 20:36:18.481454"]]
|
3431
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
3432
|
+
Completed 200 OK in 130ms (Views: 0.2ms | ActiveRecord: 2.7ms)
|
3433
|
+
|
3434
|
+
|
3435
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:36:24 -0500
|
3436
|
+
Processing by DemoUserController#members_only as HTML
|
3437
|
+
@-->setting user by token for user
|
3438
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3439
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3440
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3441
|
+
@-->is batched request false
|
3442
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"expiry\":1415741784,\"last_token\":\"$2a$10$69dMiIf8mc.kz28wgP.gje5obSdGUZEt/YagQPv6qhbal3roDGGlK\",\"updated_at\":\"2014-10-28T15:36:24.605-05:00\"}}"], ["updated_at", "2014-10-28 20:36:24.605909"]]
|
3443
|
+
[1m[35m (0.6ms)[0m commit transaction
|
3444
|
+
Completed 200 OK in 127ms (Views: 0.5ms | ActiveRecord: 1.2ms)
|
3445
|
+
|
3446
|
+
|
3447
|
+
|
3448
|
+
|
3449
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:36:32 -0500
|
3450
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:36:32 -0500
|
3451
|
+
Processing by DemoUserController#members_only as HTML
|
3452
|
+
@-->setting user by token for user
|
3453
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3454
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3455
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3456
|
+
@-->is batched request false
|
3457
|
+
Processing by DemoUserController#members_only as HTML
|
3458
|
+
@-->setting user by token for user
|
3459
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3460
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.234-05:00\"}}"], ["updated_at", "2014-10-28 20:36:32.235129"]]
|
3461
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
3462
|
+
Completed 200 OK in 126ms (Views: 0.5ms | ActiveRecord: 2.2ms)
|
3463
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3464
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3465
|
+
@-->is batched request true
|
3466
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"}}"], ["updated_at", "2014-10-28 20:36:32.254559"]]
|
3467
|
+
[1m[35m (0.6ms)[0m commit transaction
|
3468
|
+
Completed 200 OK in 78ms (Views: 0.6ms | ActiveRecord: 1.7ms)
|
3469
|
+
|
3470
|
+
|
3471
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:36:40 -0500
|
3472
|
+
|
3473
|
+
|
3474
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:36:40 -0500
|
3475
|
+
Processing by DemoUserController#members_only as HTML
|
3476
|
+
@-->setting user by token for user
|
3477
|
+
Processing by DemoUserController#members_only as HTML
|
3478
|
+
@-->setting user by token for user
|
3479
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3480
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3481
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
3482
|
+
Completed 401 Unauthorized in 62ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
3483
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
3484
|
+
Completed 401 Unauthorized in 62ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3485
|
+
|
3486
|
+
|
3487
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-10-28 15:40:22 -0500
|
3488
|
+
Processing by DeviseTokenAuth::TokenValidationsController#validate_token as HTML
|
3489
|
+
@-->setting user by token for
|
3490
|
+
@-->token u1kG0wKwzBQLwxOd3PIubg
|
3491
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3492
|
+
Completed 401 Unauthorized in 75ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
3493
|
+
|
3494
|
+
|
3495
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:40:26 -0500
|
3496
|
+
Processing by DemoUserController#members_only as HTML
|
3497
|
+
@-->setting user by token for user
|
3498
|
+
@-->token
|
3499
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
3500
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
3501
|
+
|
3502
|
+
|
3503
|
+
Started GET "/auth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-10-28 15:40:30 -0500
|
3504
|
+
|
3505
|
+
|
3506
|
+
Started GET "/omniauth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-10-28 15:40:30 -0500
|
3507
|
+
|
3508
|
+
|
3509
|
+
Started GET "/omniauth/github/callback?code=8717bc2316a9342654fd&state=0b1f8c29bda133ad62f3e0c4e9da51b44b72eb35d4651218" for 127.0.0.1 at 2014-10-28 15:40:31 -0500
|
3510
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks as HTML
|
3511
|
+
Parameters: {"code"=>"8717bc2316a9342654fd", "state"=>"0b1f8c29bda133ad62f3e0c4e9da51b44b72eb35d4651218", "provider"=>"github"}
|
3512
|
+
Redirected to https://devise-token-auth.dev/auth/github/callback
|
3513
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3514
|
+
|
3515
|
+
|
3516
|
+
Started GET "/auth/github/callback" for 127.0.0.1 at 2014-10-28 15:40:31 -0500
|
3517
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#omniauth_success as HTML
|
3518
|
+
Parameters: {"provider"=>"github"}
|
3519
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' ORDER BY "users"."id" ASC LIMIT 1
|
3520
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3521
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["confirmed_at", "2014-10-28 20:40:31.665059"], ["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$yMAQpMWYpTH0wEkCZP7OJOTAr3XQDFE7DGBFImsUzYsmCYByg5Nd2\",\"expiry\":1415742031}}"], ["updated_at", "2014-10-28 20:40:31.665960"]]
|
3522
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
3523
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.3ms)
|
3524
|
+
Completed 200 OK in 72ms (Views: 1.8ms | ActiveRecord: 2.4ms)
|
3525
|
+
|
3526
|
+
|
3527
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:40:35 -0500
|
3528
|
+
Processing by DemoUserController#members_only as HTML
|
3529
|
+
@-->setting user by token for user
|
3530
|
+
@-->token D9M1kfJ48JLqjKP59xbmfw
|
3531
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3533
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3534
|
+
@-->is batched request
|
3535
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"expiry\":1415742035,\"last_token\":\"$2a$10$yMAQpMWYpTH0wEkCZP7OJOTAr3XQDFE7DGBFImsUzYsmCYByg5Nd2\",\"updated_at\":\"2014-10-28T15:40:35.746-05:00\"}}"], ["updated_at", "2014-10-28 20:40:35.746694"]]
|
3536
|
+
[1m[35m (1.6ms)[0m commit transaction
|
3537
|
+
Completed 200 OK in 138ms (Views: 2.5ms | ActiveRecord: 2.3ms)
|
3538
|
+
|
3539
|
+
|
3540
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:40:40 -0500
|
3541
|
+
Processing by DemoUserController#members_only as HTML
|
3542
|
+
@-->setting user by token for user
|
3543
|
+
@-->token TtJiiiSAOxJiwtbpY_vmKA
|
3544
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3545
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3546
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3547
|
+
@-->is batched request true
|
3548
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"expiry\":1415742035,\"last_token\":\"$2a$10$yMAQpMWYpTH0wEkCZP7OJOTAr3XQDFE7DGBFImsUzYsmCYByg5Nd2\",\"updated_at\":\"2014-10-28T15:40:40.377-05:00\"}}"], ["updated_at", "2014-10-28 20:40:40.378306"]]
|
3549
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
3550
|
+
Completed 200 OK in 70ms (Views: 0.8ms | ActiveRecord: 2.7ms)
|
3551
|
+
|
3552
|
+
|
3553
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:40:52 -0500
|
3554
|
+
Processing by DemoUserController#members_only as HTML
|
3555
|
+
@-->setting user by token for user
|
3556
|
+
@-->token TtJiiiSAOxJiwtbpY_vmKA
|
3557
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3558
|
+
|
3559
|
+
|
3560
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:40:52 -0500
|
3561
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3562
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3563
|
+
@-->is batched request false
|
3564
|
+
Processing by DemoUserController#members_only as HTML
|
3565
|
+
@-->setting user by token for user
|
3566
|
+
@-->token TtJiiiSAOxJiwtbpY_vmKA
|
3567
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3568
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.482-05:00\"}}"], ["updated_at", "2014-10-28 20:40:52.482808"]]
|
3569
|
+
[1m[35m (2.0ms)[0m commit transaction
|
3570
|
+
Completed 200 OK in 128ms (Views: 0.5ms | ActiveRecord: 2.6ms)
|
3571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3572
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3573
|
+
@-->is batched request true
|
3574
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"}}"], ["updated_at", "2014-10-28 20:40:52.507175"]]
|
3575
|
+
[1m[35m (0.6ms)[0m commit transaction
|
3576
|
+
Completed 200 OK in 78ms (Views: 0.6ms | ActiveRecord: 1.8ms)
|
3577
|
+
|
3578
|
+
|
3579
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:53:26 -0500
|
3580
|
+
Processing by DemoUserController#members_only as HTML
|
3581
|
+
@-->setting user by token for user
|
3582
|
+
@-->token TtJiiiSAOxJiwtbpY_vmKA
|
3583
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3584
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
3585
|
+
Completed 401 Unauthorized in 79ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
3586
|
+
|
3587
|
+
|
3588
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-10-28 15:53:29 -0500
|
3589
|
+
Processing by DeviseTokenAuth::TokenValidationsController#validate_token as HTML
|
3590
|
+
@-->setting user by token for
|
3591
|
+
@-->token TtJiiiSAOxJiwtbpY_vmKA
|
3592
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3593
|
+
Completed 401 Unauthorized in 63ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
3594
|
+
|
3595
|
+
|
3596
|
+
Started GET "/auth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-10-28 15:53:38 -0500
|
3597
|
+
|
3598
|
+
|
3599
|
+
Started GET "/omniauth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-10-28 15:53:38 -0500
|
3600
|
+
|
3601
|
+
|
3602
|
+
Started GET "/omniauth/github/callback?code=fe013d082a5966863cfe&state=6354e9ef78107624facd35dca514d7d32768c1b6928c861d" for 127.0.0.1 at 2014-10-28 15:53:38 -0500
|
3603
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks as HTML
|
3604
|
+
Parameters: {"code"=>"fe013d082a5966863cfe", "state"=>"6354e9ef78107624facd35dca514d7d32768c1b6928c861d", "provider"=>"github"}
|
3605
|
+
Redirected to https://devise-token-auth.dev/auth/github/callback
|
3606
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3607
|
+
|
3608
|
+
|
3609
|
+
Started GET "/auth/github/callback" for 127.0.0.1 at 2014-10-28 15:53:39 -0500
|
3610
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#omniauth_success as HTML
|
3611
|
+
Parameters: {"provider"=>"github"}
|
3612
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3613
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3614
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["confirmed_at", "2014-10-28 20:53:39.309869"], ["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$1J99E4mu7T/JIwdNsZUzOu2K8BZKlFZH1sJqbMFW5e0AL/c6yold6\",\"expiry\":1415742819}}"], ["updated_at", "2014-10-28 20:53:39.310909"]]
|
3615
|
+
[1m[35m (2.6ms)[0m commit transaction
|
3616
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.3ms)
|
3617
|
+
Completed 200 OK in 72ms (Views: 2.0ms | ActiveRecord: 3.2ms)
|
3618
|
+
|
3619
|
+
|
3620
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:53:45 -0500
|
3621
|
+
Processing by DemoUserController#members_only as HTML
|
3622
|
+
@-->setting user by token for user
|
3623
|
+
@-->token gJxPfxix8lYfWXgUow3wng
|
3624
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3625
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3626
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3627
|
+
@-->is batched request
|
3628
|
+
@-->created new auth token yRb62TxQ7DoE_DtXpLBO6Q
|
3629
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"expiry\":1415742825,\"last_token\":\"$2a$10$1J99E4mu7T/JIwdNsZUzOu2K8BZKlFZH1sJqbMFW5e0AL/c6yold6\",\"updated_at\":\"2014-10-28T15:53:45.796-05:00\"}}"], ["updated_at", "2014-10-28 20:53:45.796876"]]
|
3630
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
3631
|
+
Completed 200 OK in 137ms (Views: 0.6ms | ActiveRecord: 2.9ms)
|
3632
|
+
|
3633
|
+
|
3634
|
+
|
3635
|
+
|
3636
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:53:52 -0500
|
3637
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 15:53:52 -0500
|
3638
|
+
Processing by DemoUserController#members_only as HTML
|
3639
|
+
@-->setting user by token for user
|
3640
|
+
@-->token yRb62TxQ7DoE_DtXpLBO6Q
|
3641
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3642
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3643
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3644
|
+
@-->is batched request false
|
3645
|
+
Processing by DemoUserController#members_only as HTML
|
3646
|
+
@-->setting user by token for user
|
3647
|
+
@-->token yRb62TxQ7DoE_DtXpLBO6Q
|
3648
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3649
|
+
@-->created new auth token X6ZVQOezA57zcExxbXz_mQ
|
3650
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.430-05:00\"}}"], ["updated_at", "2014-10-28 20:53:52.430723"]]
|
3651
|
+
[1m[35m (1.9ms)[0m commit transaction
|
3652
|
+
Completed 200 OK in 127ms (Views: 0.6ms | ActiveRecord: 2.4ms)
|
3653
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3654
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3655
|
+
@-->is batched request true
|
3656
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"}}"], ["updated_at", "2014-10-28 20:53:52.457651"]]
|
3657
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
3658
|
+
Completed 200 OK in 88ms (Views: 0.9ms | ActiveRecord: 9.8ms)
|
3659
|
+
|
3660
|
+
|
3661
|
+
Started GET "/auth/validate_token" for 127.0.0.1 at 2014-10-28 16:15:35 -0500
|
3662
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3663
|
+
Processing by DeviseTokenAuth::TokenValidationsController#validate_token as HTML
|
3664
|
+
@-->setting user by token for
|
3665
|
+
@-->token yRb62TxQ7DoE_DtXpLBO6Q
|
3666
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3667
|
+
Completed 401 Unauthorized in 81ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
3668
|
+
|
3669
|
+
|
3670
|
+
Started GET "/auth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-10-28 16:15:36 -0500
|
3671
|
+
|
3672
|
+
|
3673
|
+
Started GET "/omniauth/github?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-10-28 16:15:36 -0500
|
3674
|
+
|
3675
|
+
|
3676
|
+
Started GET "/omniauth/github/callback?code=e9b4af1558bc9f547bd0&state=eccd696ae5e3a3109cfbaacd7beb84ded31924f699fa33fc" for 127.0.0.1 at 2014-10-28 16:15:37 -0500
|
3677
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#redirect_callbacks as HTML
|
3678
|
+
Parameters: {"code"=>"e9b4af1558bc9f547bd0", "state"=>"eccd696ae5e3a3109cfbaacd7beb84ded31924f699fa33fc", "provider"=>"github"}
|
3679
|
+
Redirected to https://devise-token-auth.dev/auth/github/callback
|
3680
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3681
|
+
|
3682
|
+
|
3683
|
+
Started GET "/auth/github/callback" for 127.0.0.1 at 2014-10-28 16:15:37 -0500
|
3684
|
+
Processing by DeviseTokenAuth::OmniauthCallbacksController#omniauth_success as HTML
|
3685
|
+
Parameters: {"provider"=>"github"}
|
3686
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3688
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["confirmed_at", "2014-10-28 21:15:37.747664"], ["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"expiry\":1415744137}}"], ["updated_at", "2014-10-28 21:15:37.750298"]]
|
3689
|
+
[1m[35m (1.8ms)[0m commit transaction
|
3690
|
+
Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (1.5ms)
|
3691
|
+
Completed 200 OK in 80ms (Views: 7.2ms | ActiveRecord: 2.4ms)
|
3692
|
+
|
3693
|
+
|
3694
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:15:41 -0500
|
3695
|
+
Processing by DemoUserController#members_only as HTML
|
3696
|
+
@-->setting user by token for user
|
3697
|
+
@-->token 3JtN_ZoZe5p0VZnJXlnd5Q
|
3698
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3699
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3700
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3701
|
+
@-->is batched request
|
3702
|
+
@-->created new auth token cAoFu0vRgD7bLH3A9Qg78g
|
3703
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"expiry\":1415744141,\"last_token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"updated_at\":\"2014-10-28T16:15:41.776-05:00\"}}"], ["updated_at", "2014-10-28 21:15:41.777003"]]
|
3704
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
3705
|
+
Completed 200 OK in 129ms (Views: 0.6ms | ActiveRecord: 2.6ms)
|
3706
|
+
|
3707
|
+
|
3708
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:15:43 -0500
|
3709
|
+
Processing by DemoUserController#members_only as HTML
|
3710
|
+
@-->setting user by token for user
|
3711
|
+
@-->token 3JtN_ZoZe5p0VZnJXlnd5Q
|
3712
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3714
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3715
|
+
@-->is batched request true
|
3716
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"expiry\":1415744141,\"last_token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"updated_at\":\"2014-10-28T16:15:44.006-05:00\"}}"], ["updated_at", "2014-10-28 21:15:44.006921"]]
|
3717
|
+
[1m[35m (2.0ms)[0m commit transaction
|
3718
|
+
Completed 200 OK in 136ms (Views: 0.5ms | ActiveRecord: 2.5ms)
|
3719
|
+
|
3720
|
+
|
3721
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:15:46 -0500
|
3722
|
+
|
3723
|
+
|
3724
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:15:46 -0500
|
3725
|
+
Processing by DemoUserController#members_only as HTML
|
3726
|
+
@-->setting user by token for user
|
3727
|
+
@-->token cAoFu0vRgD7bLH3A9Qg78g
|
3728
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3729
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3730
|
+
Processing by DemoUserController#members_only as HTML
|
3731
|
+
@-->setting user by token for user
|
3732
|
+
@-->token cAoFu0vRgD7bLH3A9Qg78g
|
3733
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3734
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3735
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3736
|
+
@-->is batched request true
|
3737
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"expiry\":1415744141,\"last_token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"updated_at\":\"2014-10-28T16:15:46.957-05:00\"}}"], ["updated_at", "2014-10-28 21:15:46.957496"]]
|
3738
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
3739
|
+
Completed 200 OK in 67ms (Views: 0.5ms | ActiveRecord: 2.5ms)
|
3740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3741
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3742
|
+
@-->is batched request true
|
3743
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"expiry\":1415744141,\"last_token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"updated_at\":\"2014-10-28T16:15:47.023-05:00\"}}"], ["updated_at", "2014-10-28 21:15:47.023854"]]
|
3744
|
+
[1m[35m (0.9ms)[0m commit transaction
|
3745
|
+
Completed 200 OK in 102ms (Views: 0.8ms | ActiveRecord: 2.0ms)
|
3746
|
+
|
3747
|
+
|
3748
|
+
|
3749
|
+
|
3750
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:15:49 -0500
|
3751
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:15:49 -0500
|
3752
|
+
Processing by DemoUserController#members_only as HTML
|
3753
|
+
@-->setting user by token for user
|
3754
|
+
@-->token cAoFu0vRgD7bLH3A9Qg78g
|
3755
|
+
Processing by DemoUserController#members_only as HTML
|
3756
|
+
@-->setting user by token for user
|
3757
|
+
@-->token cAoFu0vRgD7bLH3A9Qg78g
|
3758
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3759
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3762
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3763
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3764
|
+
@-->is batched request true
|
3765
|
+
@-->is batched request true
|
3766
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"expiry\":1415744141,\"last_token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"updated_at\":\"2014-10-28T16:15:49.099-05:00\"}}"], ["updated_at", "2014-10-28 21:15:49.100153"]]
|
3767
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"expiry\":1415744141,\"last_token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"updated_at\":\"2014-10-28T16:15:49.099-05:00\"}}"], ["updated_at", "2014-10-28 21:15:49.100328"]]
|
3768
|
+
SQLite3::BusyException: database is locked: UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26
|
3769
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3770
|
+
Completed 500 Internal Server Error in 66ms
|
3771
|
+
[1m[35m (2.1ms)[0m commit transaction
|
3772
|
+
Completed 200 OK in 68ms (Views: 0.5ms | ActiveRecord: 2.7ms)
|
3773
|
+
|
3774
|
+
ActiveRecord::StatementInvalid (SQLite3::BusyException: database is locked: UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26):
|
3775
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:108:in `step'
|
3776
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:108:in `block in each'
|
3777
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:107:in `loop'
|
3778
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:107:in `each'
|
3779
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:319:in `to_a'
|
3780
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:319:in `block in exec_query'
|
3781
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
|
3782
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
3783
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log'
|
3784
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:298:in `exec_query'
|
3785
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:324:in `exec_delete'
|
3786
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:101:in `update'
|
3787
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
|
3788
|
+
activerecord (4.1.6) lib/active_record/relation.rb:84:in `_update_record'
|
3789
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:494:in `_update_record'
|
3790
|
+
activerecord (4.1.6) lib/active_record/locking/optimistic.rb:70:in `_update_record'
|
3791
|
+
activerecord (4.1.6) lib/active_record/attribute_methods/dirty.rb:83:in `_update_record'
|
3792
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:310:in `block in _update_record'
|
3793
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3794
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3795
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
|
3796
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `call'
|
3797
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
|
3798
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
3799
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
3800
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:310:in `_update_record'
|
3801
|
+
activerecord (4.1.6) lib/active_record/timestamp.rb:70:in `_update_record'
|
3802
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:483:in `create_or_update'
|
3803
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:302:in `block in create_or_update'
|
3804
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3805
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3806
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
|
3807
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `call'
|
3808
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
|
3809
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
3810
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
3811
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:302:in `create_or_update'
|
3812
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:125:in `save!'
|
3813
|
+
activerecord (4.1.6) lib/active_record/validations.rb:57:in `save!'
|
3814
|
+
activerecord (4.1.6) lib/active_record/attribute_methods/dirty.rb:29:in `save!'
|
3815
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:273:in `block in save!'
|
3816
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
|
3817
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
|
3818
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:208:in `transaction'
|
3819
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
|
3820
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:273:in `save!'
|
3821
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/models/devise_token_auth/concerns/user.rb:181:in `extend_batch_buffer'
|
3822
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/concerns/set_user_by_token.rb:77:in `block in update_auth_header'
|
3823
|
+
activerecord (4.1.6) lib/active_record/locking/pessimistic.rb:72:in `block in with_lock'
|
3824
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
|
3825
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
|
3826
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
|
3827
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:208:in `transaction'
|
3828
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:259:in `transaction'
|
3829
|
+
activerecord (4.1.6) lib/active_record/locking/pessimistic.rb:70:in `with_lock'
|
3830
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/concerns/set_user_by_token.rb:61:in `update_auth_header'
|
3831
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:424:in `block in make_lambda'
|
3832
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:231:in `call'
|
3833
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:231:in `block in halting'
|
3834
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
|
3835
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
|
3836
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
3837
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
3838
|
+
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
3839
|
+
actionpack (4.1.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
3840
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
3841
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
|
3842
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
3843
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
|
3844
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
3845
|
+
actionpack (4.1.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
3846
|
+
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
3847
|
+
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
|
3848
|
+
actionview (4.1.6) lib/action_view/rendering.rb:30:in `process'
|
3849
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
|
3850
|
+
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
3851
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
|
3852
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
3853
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
3854
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
3855
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
3856
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
3857
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
3858
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
3859
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
3860
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
3861
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
3862
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
3863
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
3864
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
3865
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
3866
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
3867
|
+
omniauth (1.2.2) lib/omniauth/builder.rb:59:in `call'
|
3868
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
3869
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
3870
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
3871
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
3872
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
3873
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
3874
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
3875
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
3876
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
3877
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
3878
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
3879
|
+
activerecord (4.1.6) lib/active_record/query_cache.rb:36:in `call'
|
3880
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
3881
|
+
activerecord (4.1.6) lib/active_record/migration.rb:380:in `call'
|
3882
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
3883
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
3884
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
3885
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
3886
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
3887
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
3888
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
3889
|
+
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
|
3890
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
|
3891
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
3892
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3893
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
3894
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
|
3895
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
3896
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
3897
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
3898
|
+
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
3899
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
3900
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
|
3901
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
3902
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
3903
|
+
railties (4.1.6) lib/rails/application.rb:144:in `call'
|
3904
|
+
rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
|
3905
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
|
3906
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
|
3907
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
|
3908
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `each'
|
3909
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
|
3910
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `loop'
|
3911
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
|
3912
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
|
3913
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
|
3914
|
+
|
3915
|
+
|
3916
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.4ms)
|
3917
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
|
3918
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
|
3919
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.5ms)
|
3920
|
+
|
3921
|
+
|
3922
|
+
|
3923
|
+
|
3924
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:15:53 -0500
|
3925
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:15:53 -0500
|
3926
|
+
Processing by DemoUserController#members_only as HTML
|
3927
|
+
Processing by DemoUserController#members_only as HTML
|
3928
|
+
@-->setting user by token for user
|
3929
|
+
@-->token cAoFu0vRgD7bLH3A9Qg78g
|
3930
|
+
@-->setting user by token for user
|
3931
|
+
@-->token cAoFu0vRgD7bLH3A9Qg78g
|
3932
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
3933
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
3934
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3936
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
3937
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
3938
|
+
@-->is batched request true
|
3939
|
+
@-->is batched request true
|
3940
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"expiry\":1415744141,\"last_token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"updated_at\":\"2014-10-28T16:15:54.002-05:00\"}}"], ["updated_at", "2014-10-28 21:15:54.002885"]]
|
3941
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"expiry\":1415744141,\"last_token\":\"$2a$10$8Jn/dww047qOOtXLMIOJXODEVQX0wutR3mvOd28zE5AjjPbvsVcV6\",\"updated_at\":\"2014-10-28T16:15:54.002-05:00\"}}"], ["updated_at", "2014-10-28 21:15:54.003152"]]
|
3942
|
+
SQLite3::BusyException: database is locked: UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26
|
3943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3944
|
+
Completed 500 Internal Server Error in 65ms
|
3945
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
3946
|
+
Completed 200 OK in 67ms (Views: 0.6ms | ActiveRecord: 2.7ms)
|
3947
|
+
|
3948
|
+
ActiveRecord::StatementInvalid (SQLite3::BusyException: database is locked: UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26):
|
3949
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:108:in `step'
|
3950
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:108:in `block in each'
|
3951
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:107:in `loop'
|
3952
|
+
sqlite3 (1.3.9) lib/sqlite3/statement.rb:107:in `each'
|
3953
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:319:in `to_a'
|
3954
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:319:in `block in exec_query'
|
3955
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
|
3956
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
3957
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log'
|
3958
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:298:in `exec_query'
|
3959
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/sqlite3_adapter.rb:324:in `exec_delete'
|
3960
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:101:in `update'
|
3961
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
|
3962
|
+
activerecord (4.1.6) lib/active_record/relation.rb:84:in `_update_record'
|
3963
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:494:in `_update_record'
|
3964
|
+
activerecord (4.1.6) lib/active_record/locking/optimistic.rb:70:in `_update_record'
|
3965
|
+
activerecord (4.1.6) lib/active_record/attribute_methods/dirty.rb:83:in `_update_record'
|
3966
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:310:in `block in _update_record'
|
3967
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3968
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3969
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
|
3970
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `call'
|
3971
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
|
3972
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
3973
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
3974
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:310:in `_update_record'
|
3975
|
+
activerecord (4.1.6) lib/active_record/timestamp.rb:70:in `_update_record'
|
3976
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:483:in `create_or_update'
|
3977
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:302:in `block in create_or_update'
|
3978
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3979
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
|
3980
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
|
3981
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `call'
|
3982
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
|
3983
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
3984
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
3985
|
+
activerecord (4.1.6) lib/active_record/callbacks.rb:302:in `create_or_update'
|
3986
|
+
activerecord (4.1.6) lib/active_record/persistence.rb:125:in `save!'
|
3987
|
+
activerecord (4.1.6) lib/active_record/validations.rb:57:in `save!'
|
3988
|
+
activerecord (4.1.6) lib/active_record/attribute_methods/dirty.rb:29:in `save!'
|
3989
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:273:in `block in save!'
|
3990
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
|
3991
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
|
3992
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:208:in `transaction'
|
3993
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
|
3994
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:273:in `save!'
|
3995
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/models/devise_token_auth/concerns/user.rb:181:in `extend_batch_buffer'
|
3996
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/concerns/set_user_by_token.rb:77:in `block in update_auth_header'
|
3997
|
+
activerecord (4.1.6) lib/active_record/locking/pessimistic.rb:72:in `block in with_lock'
|
3998
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
|
3999
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
|
4000
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
|
4001
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:208:in `transaction'
|
4002
|
+
activerecord (4.1.6) lib/active_record/transactions.rb:259:in `transaction'
|
4003
|
+
activerecord (4.1.6) lib/active_record/locking/pessimistic.rb:70:in `with_lock'
|
4004
|
+
/Users/lynn/Code/Auth/devise_token_auth/app/controllers/devise_token_auth/concerns/set_user_by_token.rb:61:in `update_auth_header'
|
4005
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:424:in `block in make_lambda'
|
4006
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:231:in `call'
|
4007
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:231:in `block in halting'
|
4008
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
|
4009
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
|
4010
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
|
4011
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
4012
|
+
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
4013
|
+
actionpack (4.1.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
4014
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
4015
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
|
4016
|
+
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
4017
|
+
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
|
4018
|
+
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
4019
|
+
actionpack (4.1.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
4020
|
+
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
4021
|
+
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
|
4022
|
+
actionview (4.1.6) lib/action_view/rendering.rb:30:in `process'
|
4023
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
|
4024
|
+
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
4025
|
+
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
|
4026
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
4027
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
4028
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
4029
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
4030
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
|
4031
|
+
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
|
4032
|
+
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
4033
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
4034
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
4035
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
4036
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
4037
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
4038
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
4039
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
|
4040
|
+
omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
|
4041
|
+
omniauth (1.2.2) lib/omniauth/builder.rb:59:in `call'
|
4042
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
4043
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
4044
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
4045
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
4046
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
4047
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
4048
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
4049
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
4050
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
4051
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
4052
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
4053
|
+
activerecord (4.1.6) lib/active_record/query_cache.rb:36:in `call'
|
4054
|
+
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
4055
|
+
activerecord (4.1.6) lib/active_record/migration.rb:380:in `call'
|
4056
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
4057
|
+
activesupport (4.1.6) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
4058
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
4059
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
4060
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
4061
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
4062
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
4063
|
+
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
|
4064
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
|
4065
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
4066
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
|
4067
|
+
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
|
4068
|
+
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
|
4069
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
4070
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
4071
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
4072
|
+
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
4073
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
4074
|
+
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
|
4075
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
4076
|
+
railties (4.1.6) lib/rails/engine.rb:514:in `call'
|
4077
|
+
railties (4.1.6) lib/rails/application.rb:144:in `call'
|
4078
|
+
rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
|
4079
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
|
4080
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
|
4081
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
|
4082
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `each'
|
4083
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
|
4084
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `loop'
|
4085
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
|
4086
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
|
4087
|
+
/Users/lynn/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
|
4088
|
+
|
4089
|
+
|
4090
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
|
4091
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
|
4092
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
|
4093
|
+
Rendered /Users/lynn/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.2ms)
|
4094
|
+
|
4095
|
+
|
4096
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:16:03 -0500
|
4097
|
+
Processing by DemoUserController#members_only as HTML
|
4098
|
+
@-->setting user by token for user
|
4099
|
+
@-->token cAoFu0vRgD7bLH3A9Qg78g
|
4100
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1
|
4101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4102
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 26]]
|
4103
|
+
@-->is batched request false
|
4104
|
+
@-->created new auth token NlBZMZxAp6Fbb_httI0jqw
|
4105
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26[0m [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$jIJvMaXxDB.dbWPqkeNxmuriTV62jVw8.WKBbYOnBYvZZOQcGjuBO\",\"expiry\":1415744163,\"last_token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"updated_at\":\"2014-10-28T16:16:03.495-05:00\"}}"], ["updated_at", "2014-10-28 21:16:03.496334"]]
|
4106
|
+
[1m[35m (1.7ms)[0m commit transaction
|
4107
|
+
Completed 200 OK in 133ms (Views: 0.5ms | ActiveRecord: 2.3ms)
|
4108
|
+
|
4109
|
+
|
4110
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:16:07 -0500
|
4111
|
+
|
4112
|
+
|
4113
|
+
Started GET "/demo/members_only" for 127.0.0.1 at 2014-10-28 16:16:07 -0500
|
4114
|
+
Processing by DemoUserController#members_only as HTML
|
4115
|
+
@-->setting user by token for user
|
4116
|
+
@-->token NlBZMZxAp6Fbb_httI0jqw
|
4117
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
4118
|
+
Processing by DemoUserController#members_only as HTML
|
4119
|
+
@-->setting user by token for user
|
4120
|
+
@-->token NlBZMZxAp6Fbb_httI0jqw
|
4121
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' LIMIT 1[0m
|
4122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4123
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
4124
|
+
@-->is batched request true
|
4125
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$jIJvMaXxDB.dbWPqkeNxmuriTV62jVw8.WKBbYOnBYvZZOQcGjuBO\",\"expiry\":1415744163,\"last_token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"updated_at\":\"2014-10-28T16:16:07.183-05:00\"}}"], ["updated_at", "2014-10-28 21:16:07.184225"]]
|
4126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4127
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
4128
|
+
[1m[36mUser Load (1.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 26]]
|
4129
|
+
Completed 200 OK in 67ms (Views: 0.5ms | ActiveRecord: 2.3ms)
|
4130
|
+
@-->is batched request true
|
4131
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 26 [["tokens", "{\"tpUTVaqJutJrKEQgb4Dd6w\":{\"token\":\"$2a$10$dMimcQPhA5vKUu8igmCdd.fFBXuMlPl2aoeC1WbwRnM7UIsPO.Mt6\",\"expiry\":1415738877,\"last_token\":\"$2a$10$mAl8vxSksJ6jqEojifHVFe.jFFl/9hOLE8MZeC34mMuj.EXvWPezq\",\"updated_at\":\"2014-10-28T14:47:59.576-05:00\"},\"KotWLaecZSkr8YriqNXdXA\":{\"token\":\"$2a$10$IgkLox2pTj4TndFd/FP8x.RA3QuYPRa/9lwp5hGh6f7pSktwxj346\",\"expiry\":1415741362,\"last_token\":\"$2a$10$hY36q9005WGYtK.mrRszXub9nfjBxNlEaXRhPYXxh/UqO4vAf4rYm\",\"updated_at\":\"2014-10-28T15:29:24.201-05:00\"},\"k2cRSpGLWhlYrSTCOkZjqQ\":{\"token\":\"$2a$10$C2FoEisx4QZIqg..83tZL.g6LbAQK6wh1fXKJ7/czIWmPfYXttXH2\",\"expiry\":1415741792,\"last_token\":\"$2a$10$wiktOVcu.Kk0Amy.buWlH.y3rLfqkCBSSJOQOSxlB2Z9UgnCUpBsu\",\"updated_at\":\"2014-10-28T15:36:32.254-05:00\"},\"DabGLpwYfXZg07nnbqLhtQ\":{\"token\":\"$2a$10$Cp94x7WCukeaV/HOvhN/Ru3B8cSGM7G3m27HF1wGGHXruCDvGB0sa\",\"expiry\":1415742052,\"last_token\":\"$2a$10$aKOE/T7Cl94IEyFu4MxDje3oTiHqfLa1tx5mjEbhwmuQ.HPjWSiCq\",\"updated_at\":\"2014-10-28T15:40:52.506-05:00\"},\"4TsbpR74idHvoIA2gWa-BQ\":{\"token\":\"$2a$10$V48VPpOaJD2WLYwMeJR/N.Rg/CKZwCAfaPoT/EXZ2nyxqgBAEfADm\",\"expiry\":1415742832,\"last_token\":\"$2a$10$uC4ZeFgm.DeLbcD07ROHHOZ44e.5Z0UPAPI4ZiGWv4RvyuSt5qZ7S\",\"updated_at\":\"2014-10-28T15:53:52.457-05:00\"},\"Olm1NmBaoPukiadCUbpFgg\":{\"token\":\"$2a$10$jIJvMaXxDB.dbWPqkeNxmuriTV62jVw8.WKBbYOnBYvZZOQcGjuBO\",\"expiry\":1415744163,\"last_token\":\"$2a$10$a7ARL30wcwh9xx25zg/2R.WB7A872.j/AH1YEdGbrOSaC9URTKxTe\",\"updated_at\":\"2014-10-28T16:16:07.187-05:00\"}}"], ["updated_at", "2014-10-28 21:16:07.187767"]]
|
4132
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4133
|
+
Completed 200 OK in 67ms (Views: 0.5ms | ActiveRecord: 2.3ms)
|