api_user_auth 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c326a01f2fbc039d9e897e091c0e1425eacc237e38e78a1d9f328befe20458c
|
4
|
+
data.tar.gz: 156155872b6d7bc3539e76413bc0cb68a86a14759a701600d8f47ff2a5145d7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a45c7cdf1ba02fb75aaeace2dc656db36a1ae33221352c67585b3117eb005ece57ec6684e5e24555509f4a54e8e8defc40c22081a7ff324bfc54fe08a07750e0
|
7
|
+
data.tar.gz: 366390afefd5d00484157e5a57a2e8a3f07e008c72703e8eb72a8f862f380caf77f30d0a5a8c5529467aa0b64b584666c8205b732987b2bfe9053c56d18dc9af
|
@@ -58,10 +58,8 @@ module ApiUserAuth
|
|
58
58
|
token = request.headers['Authorization'].sub(/Bearer\s*=?/, '')
|
59
59
|
auth_user = AuthUser.find_fy_token(token)
|
60
60
|
if auth_user.present?
|
61
|
-
|
62
|
-
|
63
|
-
data["#{prov.provider}_id"] = prov.user_id
|
64
|
-
render json: data, status: 200
|
61
|
+
auth_user.add_provider_login(params)
|
62
|
+
render json: auth_user.as_user_json, status: 200
|
65
63
|
else
|
66
64
|
render json: {}, status: 400
|
67
65
|
end
|
data/spec/dummy/log/test.log
CHANGED
@@ -61423,3 +61423,1968 @@ user@mail.com
|
|
61423
61423
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61424
61424
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61425
61425
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61426
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
61427
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
61428
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61429
|
+
[1m[35m (1.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61430
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{f11b8d47-2d03-4b6e-b132-9e22103faf24}"], ["created_at", "2018-07-27 10:41:36.908364"], ["updated_at", "2018-07-27 10:41:36.908364"]]
|
61431
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61432
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.6ms)
|
61433
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 132.8ms
|
61434
|
+
Sent mail to user@mail.com (3.6ms)
|
61435
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61436
|
+
From: support@example.com
|
61437
|
+
To: user@mail.com
|
61438
|
+
Message-ID: <5b5af6e11b3b7_a6eb726401000ee@merkulov.mail>
|
61439
|
+
Subject: Welcome !
|
61440
|
+
Mime-Version: 1.0
|
61441
|
+
Content-Type: text/html;
|
61442
|
+
charset=UTF-8
|
61443
|
+
Content-Transfer-Encoding: 7bit
|
61444
|
+
|
61445
|
+
<h1>Welcome</h1>
|
61446
|
+
user@mail.com
|
61447
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61448
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61449
|
+
Processing by TestController#index as HTML
|
61450
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61451
|
+
Processing by TestController#index as HTML
|
61452
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61453
|
+
Processing by TestController#index as HTML
|
61454
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('ff4a558c-342f-42f3-bf73-3b79e58c114a' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
61455
|
+
Completed 401 Unauthorized in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
61456
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
61457
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61458
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61459
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61460
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{b43afdb7-d5cf-40c4-9b20-50bf39a94455}"], ["created_at", "2018-07-27 10:41:37.123241"], ["updated_at", "2018-07-27 10:41:37.123241"]]
|
61461
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61462
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61463
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
|
61464
|
+
Sent mail to user@mail.com (1.8ms)
|
61465
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61466
|
+
From: support@example.com
|
61467
|
+
To: user@mail.com
|
61468
|
+
Message-ID: <5b5af6e11ed7e_a6eb7264010016c@merkulov.mail>
|
61469
|
+
Subject: Welcome !
|
61470
|
+
Mime-Version: 1.0
|
61471
|
+
Content-Type: text/html;
|
61472
|
+
charset=UTF-8
|
61473
|
+
Content-Transfer-Encoding: 7bit
|
61474
|
+
|
61475
|
+
<h1>Welcome</h1>
|
61476
|
+
user@mail.com
|
61477
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61478
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61479
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
61480
|
+
Processing by TestController#index as HTML
|
61481
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('b43afdb7-d5cf-40c4-9b20-50bf39a94455' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
61482
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
61483
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61484
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61485
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61486
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61487
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61488
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61489
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61490
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61491
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61492
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{4581252a-fa6e-45b3-be33-512fa6de7404}"], ["created_at", "2018-07-27 10:41:37.142732"], ["updated_at", "2018-07-27 10:41:37.142732"]]
|
61493
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61494
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61495
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
|
61496
|
+
Sent mail to user@mail.com (1.4ms)
|
61497
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61498
|
+
From: support@example.com
|
61499
|
+
To: user@mail.com
|
61500
|
+
Message-ID: <5b5af6e12380a_a6eb726401002ac@merkulov.mail>
|
61501
|
+
Subject: Welcome !
|
61502
|
+
Mime-Version: 1.0
|
61503
|
+
Content-Type: text/html;
|
61504
|
+
charset=UTF-8
|
61505
|
+
Content-Transfer-Encoding: 7bit
|
61506
|
+
|
61507
|
+
<h1>Welcome</h1>
|
61508
|
+
user@mail.com
|
61509
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61510
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61511
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61512
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61513
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61514
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
61515
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
61516
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61517
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61518
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{c8491834-bf4d-4604-8666-9d9941652b8c}"], ["created_at", "2018-07-27 10:41:37.156790"], ["updated_at", "2018-07-27 10:41:37.156790"]]
|
61519
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61520
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61521
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
|
61522
|
+
Sent mail to user@mail.com (1.4ms)
|
61523
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61524
|
+
From: support@example.com
|
61525
|
+
To: user@mail.com
|
61526
|
+
Message-ID: <5b5af6e126ed5_a6eb726401003f0@merkulov.mail>
|
61527
|
+
Subject: Welcome !
|
61528
|
+
Mime-Version: 1.0
|
61529
|
+
Content-Type: text/html;
|
61530
|
+
charset=UTF-8
|
61531
|
+
Content-Transfer-Encoding: 7bit
|
61532
|
+
|
61533
|
+
<h1>Welcome</h1>
|
61534
|
+
user@mail.com
|
61535
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61536
|
+
Completed 201 Created in 6ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
61537
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61538
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
61539
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61540
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
61541
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61542
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
61543
|
+
Parameters: {"email"=>"user@mail.com"}
|
61544
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61545
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61546
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
61547
|
+
Parameters: {"password"=>"[FILTERED]"}
|
61548
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
61549
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61550
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
61551
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
61552
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61553
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61554
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
61555
|
+
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
|
61556
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
61557
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61558
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
61559
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
61560
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61561
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61562
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{c932cd66-d877-4e43-8d7f-8732167da77b}"], ["created_at", "2018-07-27 10:41:37.173404"], ["updated_at", "2018-07-27 10:41:37.173404"]]
|
61563
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61564
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61565
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.1ms
|
61566
|
+
Sent mail to user@mail.com (1.8ms)
|
61567
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61568
|
+
From: support@example.com
|
61569
|
+
To: user@mail.com
|
61570
|
+
Message-ID: <5b5af6e12b14f_a6eb7264010045a@merkulov.mail>
|
61571
|
+
Subject: Welcome !
|
61572
|
+
Mime-Version: 1.0
|
61573
|
+
Content-Type: text/html;
|
61574
|
+
charset=UTF-8
|
61575
|
+
Content-Transfer-Encoding: 7bit
|
61576
|
+
|
61577
|
+
<h1>Welcome</h1>
|
61578
|
+
user@mail.com
|
61579
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61580
|
+
Completed 201 Created in 6ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
61581
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61582
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
61583
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
61584
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61585
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.9ms)
|
61586
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61587
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61588
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
61589
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61590
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61591
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{b3b0fe79-6216-4ca9-91e6-49e9a3b4f511}"], ["created_at", "2018-07-27 10:41:37.185430"], ["updated_at", "2018-07-27 10:41:37.185430"]]
|
61592
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61593
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61594
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
|
61595
|
+
Sent mail to user@mail.com (1.2ms)
|
61596
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61597
|
+
From: support@example.com
|
61598
|
+
To: user@mail.com
|
61599
|
+
Message-ID: <5b5af6e12de3d_a6eb726401005f@merkulov.mail>
|
61600
|
+
Subject: Welcome !
|
61601
|
+
Mime-Version: 1.0
|
61602
|
+
Content-Type: text/html;
|
61603
|
+
charset=UTF-8
|
61604
|
+
Content-Transfer-Encoding: 7bit
|
61605
|
+
|
61606
|
+
<h1>Welcome</h1>
|
61607
|
+
user@mail.com
|
61608
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61609
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
61610
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('7a24900f-9a6c-4711-877f-ed69c1d3a204' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
61611
|
+
Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
61612
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 140], ["LIMIT", 1]]
|
61613
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61614
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61615
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61616
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61617
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{bca0cf54-8d58-4229-b321-5e80321bdff4}"], ["created_at", "2018-07-27 10:41:37.194393"], ["updated_at", "2018-07-27 10:41:37.194393"]]
|
61618
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61619
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61620
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
|
61621
|
+
Sent mail to user@mail.com (1.3ms)
|
61622
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61623
|
+
From: support@example.com
|
61624
|
+
To: user@mail.com
|
61625
|
+
Message-ID: <5b5af6e130307_a6eb726401006ba@merkulov.mail>
|
61626
|
+
Subject: Welcome !
|
61627
|
+
Mime-Version: 1.0
|
61628
|
+
Content-Type: text/html;
|
61629
|
+
charset=UTF-8
|
61630
|
+
Content-Transfer-Encoding: 7bit
|
61631
|
+
|
61632
|
+
<h1>Welcome</h1>
|
61633
|
+
user@mail.com
|
61634
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61635
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
61636
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('bca0cf54-8d58-4229-b321-5e80321bdff4' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
61637
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61638
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{}"], ["updated_at", "2018-07-27 10:41:37.200632"], ["id", 141]]
|
61639
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61640
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
61641
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 141], ["LIMIT", 1]]
|
61642
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61643
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61644
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61645
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61646
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
61647
|
+
Completed 422 Unprocessable Entity in 165ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61648
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61649
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61650
|
+
Parameters: {"provider"=>"google2", "token"=>"token"}
|
61651
|
+
Completed 422 Unprocessable Entity in 157ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61652
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61653
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61654
|
+
Parameters: {"provider"=>"google"}
|
61655
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61656
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61657
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61658
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61659
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61660
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61661
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
61662
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
61663
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61664
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61665
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{918d2d35-4130-418b-9fbb-adbe085ac673}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 10:41:37.547602"], ["updated_at", "2018-07-27 10:41:37.547602"]]
|
61666
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61667
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61668
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
61669
|
+
Sent mail to user@mail.com (1.5ms)
|
61670
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61671
|
+
From: support@example.com
|
61672
|
+
To: user@mail.com
|
61673
|
+
Message-ID: <5b5af6e1865cd_a6eb726401007d@merkulov.mail>
|
61674
|
+
Subject: Welcome !
|
61675
|
+
Mime-Version: 1.0
|
61676
|
+
Content-Type: text/html;
|
61677
|
+
charset=UTF-8
|
61678
|
+
Content-Transfer-Encoding: 7bit
|
61679
|
+
|
61680
|
+
<h1>Welcome</h1>
|
61681
|
+
user@mail.com
|
61682
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61683
|
+
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.9ms)
|
61684
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61685
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
61686
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61687
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
61688
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
61689
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61690
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61691
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{918d2d35-4130-418b-9fbb-adbe085ac673,818ca141-75fa-4473-9163-3e1397ec7ea7}"], ["updated_at", "2018-07-27 10:41:37.555787"], ["id", 142]]
|
61692
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61693
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 2.6ms)
|
61694
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61695
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
61696
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
61697
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61698
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61699
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61700
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
61701
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
61702
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61703
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61704
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{8a208a47-c7d7-43f7-93bf-ae03b99127ea}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 10:41:37.563613"], ["updated_at", "2018-07-27 10:41:37.563613"]]
|
61705
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61706
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61707
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
61708
|
+
Sent mail to user@mail.com (1.0ms)
|
61709
|
+
Date: Fri, 27 Jul 2018 13:41:37 +0300
|
61710
|
+
From: support@example.com
|
61711
|
+
To: user@mail.com
|
61712
|
+
Message-ID: <5b5af6e18a30e_a6eb72640100817@merkulov.mail>
|
61713
|
+
Subject: Welcome !
|
61714
|
+
Mime-Version: 1.0
|
61715
|
+
Content-Type: text/html;
|
61716
|
+
charset=UTF-8
|
61717
|
+
Content-Transfer-Encoding: 7bit
|
61718
|
+
|
61719
|
+
<h1>Welcome</h1>
|
61720
|
+
user@mail.com
|
61721
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61722
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
61723
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61724
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
61725
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61726
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
61727
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
61728
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61729
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61730
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{8a208a47-c7d7-43f7-93bf-ae03b99127ea,6574ed98-0be6-4565-87d0-4c0515cebe24}"], ["updated_at", "2018-07-27 10:41:37.570890"], ["id", 143]]
|
61731
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61732
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.4ms)
|
61733
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61734
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
61735
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61736
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61737
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61738
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61739
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
61740
|
+
Completed 422 Unprocessable Entity in 295ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61741
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61742
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61743
|
+
Parameters: {"provider"=>"facebook2", "token"=>"token"}
|
61744
|
+
Completed 422 Unprocessable Entity in 318ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
61745
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61746
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61747
|
+
Parameters: {"provider"=>"facebook"}
|
61748
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61749
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61750
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
61751
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61752
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61753
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61754
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
61755
|
+
Completed 422 Unprocessable Entity in 378ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61756
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61757
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61758
|
+
Parameters: {"provider"=>"instagram2", "token"=>"token"}
|
61759
|
+
Completed 422 Unprocessable Entity in 370ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61760
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61761
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61762
|
+
Parameters: {"provider"=>"instagram"}
|
61763
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
61764
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61765
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61766
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61767
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61768
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61769
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
61770
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
61771
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61772
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61773
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{df7a76c3-3eec-487c-94d3-bb72abc03f7f}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 10:41:38.951245"], ["updated_at", "2018-07-27 10:41:38.951245"]]
|
61774
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61775
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61776
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
61777
|
+
Sent mail to user@mail.com (1.0ms)
|
61778
|
+
Date: Fri, 27 Jul 2018 13:41:38 +0300
|
61779
|
+
From: support@example.com
|
61780
|
+
To: user@mail.com
|
61781
|
+
Message-ID: <5b5af6e2e8e86_a6eb726401009a5@merkulov.mail>
|
61782
|
+
Subject: Welcome !
|
61783
|
+
Mime-Version: 1.0
|
61784
|
+
Content-Type: text/html;
|
61785
|
+
charset=UTF-8
|
61786
|
+
Content-Transfer-Encoding: 7bit
|
61787
|
+
|
61788
|
+
<h1>Welcome</h1>
|
61789
|
+
user@mail.com
|
61790
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61791
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 1.1ms)
|
61792
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61793
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
61794
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
61795
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
61796
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
61797
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61798
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61799
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{df7a76c3-3eec-487c-94d3-bb72abc03f7f,bb4f5dee-e1f2-4e8f-b0d9-384b7de94005}"], ["updated_at", "2018-07-27 10:41:38.959186"], ["id", 144]]
|
61800
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61801
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.8ms)
|
61802
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61803
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
61804
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61805
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61806
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61807
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61808
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{40d20805-99d6-4208-9e47-8323a3aa26c8}"], ["created_at", "2018-07-27 10:41:38.966041"], ["updated_at", "2018-07-27 10:41:38.966041"]]
|
61809
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61810
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61811
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
61812
|
+
Sent mail to user@mail.com (1.0ms)
|
61813
|
+
Date: Fri, 27 Jul 2018 13:41:38 +0300
|
61814
|
+
From: support@example.com
|
61815
|
+
To: user@mail.com
|
61816
|
+
Message-ID: <5b5af6e2ec6bb_a6eb7264010106a@merkulov.mail>
|
61817
|
+
Subject: Welcome !
|
61818
|
+
Mime-Version: 1.0
|
61819
|
+
Content-Type: text/html;
|
61820
|
+
charset=UTF-8
|
61821
|
+
Content-Transfer-Encoding: 7bit
|
61822
|
+
|
61823
|
+
<h1>Welcome</h1>
|
61824
|
+
user@mail.com
|
61825
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61826
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61827
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 10:41:38.969719"], ["id", 145]]
|
61828
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61829
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
61830
|
+
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
61831
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61832
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61833
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4[0m [["encrypted_password", "12ade6a91f185f6f2901c1a542fea73a4c9e3598f6a4dfd18e2c3338eaf1d306"], ["auth_tokens", "{40d20805-99d6-4208-9e47-8323a3aa26c8,372f8d36-1960-4eae-9ab3-f8fd8536cb1f}"], ["updated_at", "2018-07-27 10:41:38.972948"], ["id", 145]]
|
61834
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61835
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.8ms)
|
61836
|
+
[1m[36mApiUserAuth::AuthUser Load (0.9ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 145], ["LIMIT", 1]]
|
61837
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61838
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
61839
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61840
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61841
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{e6b4e2c6-5e28-49ee-8513-1f4f1593f705}"], ["created_at", "2018-07-27 10:41:38.979608"], ["updated_at", "2018-07-27 10:41:38.979608"]]
|
61842
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61843
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61844
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
61845
|
+
Sent mail to user@mail.com (1.1ms)
|
61846
|
+
Date: Fri, 27 Jul 2018 13:41:38 +0300
|
61847
|
+
From: support@example.com
|
61848
|
+
To: user@mail.com
|
61849
|
+
Message-ID: <5b5af6e2efb68_a6eb72640101149@merkulov.mail>
|
61850
|
+
Subject: Welcome !
|
61851
|
+
Mime-Version: 1.0
|
61852
|
+
Content-Type: text/html;
|
61853
|
+
charset=UTF-8
|
61854
|
+
Content-Transfer-Encoding: 7bit
|
61855
|
+
|
61856
|
+
<h1>Welcome</h1>
|
61857
|
+
user@mail.com
|
61858
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61859
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61860
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 10:41:38.983272"], ["id", 146]]
|
61861
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61862
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
61863
|
+
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
|
61864
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
61865
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
61866
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
61867
|
+
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
61868
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61869
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
61870
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
61871
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
61872
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
61873
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
61874
|
+
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
|
61875
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
61876
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61877
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61878
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61879
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61880
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{dc03e593-016b-4caf-b5b3-27eb9ef428a3}"], ["created_at", "2018-07-27 10:41:38.990656"], ["updated_at", "2018-07-27 10:41:38.990656"]]
|
61881
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61882
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61883
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
|
61884
|
+
Sent mail to user@mail.com (1.1ms)
|
61885
|
+
Date: Fri, 27 Jul 2018 13:41:38 +0300
|
61886
|
+
From: support@example.com
|
61887
|
+
To: user@mail.com
|
61888
|
+
Message-ID: <5b5af6e2f29e1_a6eb7264010125d@merkulov.mail>
|
61889
|
+
Subject: Welcome !
|
61890
|
+
Mime-Version: 1.0
|
61891
|
+
Content-Type: text/html;
|
61892
|
+
charset=UTF-8
|
61893
|
+
Content-Transfer-Encoding: 7bit
|
61894
|
+
|
61895
|
+
<h1>Welcome</h1>
|
61896
|
+
user@mail.com
|
61897
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61898
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
61899
|
+
Parameters: {"email"=>"user@mail.com"}
|
61900
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61901
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61902
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "154621"], ["updated_at", "2018-07-27 10:41:38.996390"], ["id", 147]]
|
61903
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61904
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
|
61905
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.3ms)
|
61906
|
+
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 6.6ms
|
61907
|
+
Sent mail to user@mail.com (1.1ms)
|
61908
|
+
Date: Fri, 27 Jul 2018 13:41:39 +0300
|
61909
|
+
From: support@example.com
|
61910
|
+
To: user@mail.com
|
61911
|
+
Message-ID: <5b5af6e3192e_a6eb7264010138d@merkulov.mail>
|
61912
|
+
Subject: Password Code Reset
|
61913
|
+
Mime-Version: 1.0
|
61914
|
+
Content-Type: text/html;
|
61915
|
+
charset=UTF-8
|
61916
|
+
Content-Transfer-Encoding: 7bit
|
61917
|
+
|
61918
|
+
user@mail.com
|
61919
|
+
</br>
|
61920
|
+
<strong>154621</strong>
|
61921
|
+
Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
61922
|
+
[1m[36mApiUserAuth::AuthUser Load (0.9ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 147], ["LIMIT", 1]]
|
61923
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61924
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61925
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61926
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61927
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{8230773f-b331-4902-bc76-46006220a0d7}"], ["created_at", "2018-07-27 10:41:39.011689"], ["updated_at", "2018-07-27 10:41:39.011689"]]
|
61928
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61929
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61930
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
61931
|
+
Sent mail to user@mail.com (1.0ms)
|
61932
|
+
Date: Fri, 27 Jul 2018 13:41:39 +0300
|
61933
|
+
From: support@example.com
|
61934
|
+
To: user@mail.com
|
61935
|
+
Message-ID: <5b5af6e33714_a6eb7264010149@merkulov.mail>
|
61936
|
+
Subject: Welcome !
|
61937
|
+
Mime-Version: 1.0
|
61938
|
+
Content-Type: text/html;
|
61939
|
+
charset=UTF-8
|
61940
|
+
Content-Transfer-Encoding: 7bit
|
61941
|
+
|
61942
|
+
<h1>Welcome</h1>
|
61943
|
+
user@mail.com
|
61944
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61945
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
61946
|
+
Parameters: {"email"=>"user1@mail.com"}
|
61947
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
61948
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
61949
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 148], ["LIMIT", 1]]
|
61950
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
61951
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
61952
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61953
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61954
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{7f2559c6-e70d-4e1e-82db-1a2d461c2b2f}"], ["created_at", "2018-07-27 10:41:39.020262"], ["updated_at", "2018-07-27 10:41:39.020262"]]
|
61955
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61956
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
61957
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
61958
|
+
Sent mail to user@mail.com (1.0ms)
|
61959
|
+
Date: Fri, 27 Jul 2018 13:41:39 +0300
|
61960
|
+
From: support@example.com
|
61961
|
+
To: user@mail.com
|
61962
|
+
Message-ID: <5b5af6e358a9_a6eb7264010154f@merkulov.mail>
|
61963
|
+
Subject: Welcome !
|
61964
|
+
Mime-Version: 1.0
|
61965
|
+
Content-Type: text/html;
|
61966
|
+
charset=UTF-8
|
61967
|
+
Content-Transfer-Encoding: 7bit
|
61968
|
+
|
61969
|
+
<h1>Welcome</h1>
|
61970
|
+
user@mail.com
|
61971
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61972
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
61973
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 149]]
|
61974
|
+
Processing by ApiUserAuth::AuthController#add_provider as HTML
|
61975
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
61976
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('7f2559c6-e70d-4e1e-82db-1a2d461c2b2f' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
61977
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61978
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 149], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 10:41:39.041714"], ["updated_at", "2018-07-27 10:41:39.041714"]]
|
61979
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
61980
|
+
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 1.8ms)
|
61981
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 149]]
|
61982
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
61983
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
61984
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
61985
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
61986
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{ebae1b5f-e464-4bc4-a0d1-ecc45b370cf0}"], ["created_at", "2018-07-27 10:41:39.046701"], ["updated_at", "2018-07-27 10:41:39.046701"]]
|
61987
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
61988
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
61989
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
61990
|
+
Sent mail to user@mail.com (1.0ms)
|
61991
|
+
Date: Fri, 27 Jul 2018 13:41:39 +0300
|
61992
|
+
From: support@example.com
|
61993
|
+
To: user@mail.com
|
61994
|
+
Message-ID: <5b5af6e3c00f_a6eb7264010162e@merkulov.mail>
|
61995
|
+
Subject: Welcome !
|
61996
|
+
Mime-Version: 1.0
|
61997
|
+
Content-Type: text/html;
|
61998
|
+
charset=UTF-8
|
61999
|
+
Content-Transfer-Encoding: 7bit
|
62000
|
+
|
62001
|
+
<h1>Welcome</h1>
|
62002
|
+
user@mail.com
|
62003
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62004
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62005
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62006
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62007
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62008
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62009
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62010
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{ebae1b5f-e464-4bc4-a0d1-ecc45b370cf0,00c8cc66-ce51-43bd-8749-c9ca42d0af9b}"], ["updated_at", "2018-07-27 10:41:39.053107"], ["id", 150]]
|
62011
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62012
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
62013
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62014
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62015
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
62016
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62017
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62018
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{4278e188-4070-424b-a750-319d79e296c2}"], ["created_at", "2018-07-27 10:41:39.057815"], ["updated_at", "2018-07-27 10:41:39.057815"]]
|
62019
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62020
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
62021
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
62022
|
+
Sent mail to user@mail.com (1.0ms)
|
62023
|
+
Date: Fri, 27 Jul 2018 13:41:39 +0300
|
62024
|
+
From: support@example.com
|
62025
|
+
To: user@mail.com
|
62026
|
+
Message-ID: <5b5af6e3eb0f_a6eb726401017f1@merkulov.mail>
|
62027
|
+
Subject: Welcome !
|
62028
|
+
Mime-Version: 1.0
|
62029
|
+
Content-Type: text/html;
|
62030
|
+
charset=UTF-8
|
62031
|
+
Content-Transfer-Encoding: 7bit
|
62032
|
+
|
62033
|
+
<h1>Welcome</h1>
|
62034
|
+
user@mail.com
|
62035
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62036
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62037
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62038
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62039
|
+
Parameters: {"email"=>"user@mail.com"}
|
62040
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62041
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62042
|
+
Parameters: {"password"=>"[FILTERED]"}
|
62043
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62044
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62045
|
+
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
|
62046
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user2@mail.com"], ["LIMIT", 1]]
|
62047
|
+
Completed 401 Unauthorized in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
62048
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62049
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62050
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62051
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
62052
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62053
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62054
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
62055
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62056
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62057
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "10101010@facebook.com"], ["encrypted_password", "d941847750b1b89861fb5a25fea901232535556b6868f88481fad5af9829be24"], ["created_at", "2018-07-27 10:41:39.073002"], ["updated_at", "2018-07-27 10:41:39.073002"]]
|
62058
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62059
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62060
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
62061
|
+
Sent mail to 10101010@facebook.com (1.2ms)
|
62062
|
+
Date: Fri, 27 Jul 2018 13:41:39 +0300
|
62063
|
+
From: support@example.com
|
62064
|
+
To: 10101010@facebook.com
|
62065
|
+
Message-ID: <5b5af6e312655_a6eb726401018a0@merkulov.mail>
|
62066
|
+
Subject: Welcome !
|
62067
|
+
Mime-Version: 1.0
|
62068
|
+
Content-Type: text/html;
|
62069
|
+
charset=UTF-8
|
62070
|
+
Content-Transfer-Encoding: 7bit
|
62071
|
+
|
62072
|
+
<h1>Welcome</h1>
|
62073
|
+
10101010@facebook.com
|
62074
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62075
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62076
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 152], ["provider", 0], ["user_id", "10101010"], ["user_data", "{\"id\":\"10101010\",\"name\":\"Test\",\"provider\":\"facebook\",\"email\":\"mail@mail.com\",\"img_url\":\"img\"}"], ["created_at", "2018-07-27 10:41:39.077373"], ["updated_at", "2018-07-27 10:41:39.077373"]]
|
62077
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62078
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
62079
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62080
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62081
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
62082
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
62083
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62084
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62085
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62086
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{d7c35757-3498-4936-9dc3-2bd8fc9dd6d0}"], ["created_at", "2018-07-27 10:41:49.626925"], ["updated_at", "2018-07-27 10:41:49.626925"]]
|
62087
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62088
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.5ms)
|
62089
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 117.0ms
|
62090
|
+
Sent mail to user@mail.com (3.2ms)
|
62091
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62092
|
+
From: support@example.com
|
62093
|
+
To: user@mail.com
|
62094
|
+
Message-ID: <5b5af6edc42b2_a8767c6408502e@merkulov.mail>
|
62095
|
+
Subject: Welcome !
|
62096
|
+
Mime-Version: 1.0
|
62097
|
+
Content-Type: text/html;
|
62098
|
+
charset=UTF-8
|
62099
|
+
Content-Transfer-Encoding: 7bit
|
62100
|
+
|
62101
|
+
<h1>Welcome</h1>
|
62102
|
+
user@mail.com
|
62103
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62104
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62105
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62106
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
62107
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62108
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62109
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62110
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62111
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62112
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62113
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{51c1781e-f872-4a2f-b00a-8d12f467b42b}"], ["created_at", "2018-07-27 10:41:49.817475"], ["updated_at", "2018-07-27 10:41:49.817475"]]
|
62114
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62115
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62116
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
|
62117
|
+
Sent mail to user@mail.com (1.4ms)
|
62118
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62119
|
+
From: support@example.com
|
62120
|
+
To: user@mail.com
|
62121
|
+
Message-ID: <5b5af6edc83dc_a8767c640851da@merkulov.mail>
|
62122
|
+
Subject: Welcome !
|
62123
|
+
Mime-Version: 1.0
|
62124
|
+
Content-Type: text/html;
|
62125
|
+
charset=UTF-8
|
62126
|
+
Content-Transfer-Encoding: 7bit
|
62127
|
+
|
62128
|
+
<h1>Welcome</h1>
|
62129
|
+
user@mail.com
|
62130
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62131
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62132
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62133
|
+
Processing by TestController#index as HTML
|
62134
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('51c1781e-f872-4a2f-b00a-8d12f467b42b' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
62135
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
62136
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
62137
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62138
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62139
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62140
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{3e493fcf-fdc5-4a7c-9ed9-2b8b49c4d1f3}"], ["created_at", "2018-07-27 10:41:49.828366"], ["updated_at", "2018-07-27 10:41:49.828366"]]
|
62141
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62142
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62143
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
62144
|
+
Sent mail to user@mail.com (1.1ms)
|
62145
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62146
|
+
From: support@example.com
|
62147
|
+
To: user@mail.com
|
62148
|
+
Message-ID: <5b5af6edcaca1_a8767c6408526@merkulov.mail>
|
62149
|
+
Subject: Welcome !
|
62150
|
+
Mime-Version: 1.0
|
62151
|
+
Content-Type: text/html;
|
62152
|
+
charset=UTF-8
|
62153
|
+
Content-Transfer-Encoding: 7bit
|
62154
|
+
|
62155
|
+
<h1>Welcome</h1>
|
62156
|
+
user@mail.com
|
62157
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62158
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62159
|
+
Processing by TestController#index as HTML
|
62160
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62161
|
+
Processing by TestController#index as HTML
|
62162
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62163
|
+
Processing by TestController#index as HTML
|
62164
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('93439988-9055-4ce2-96c8-e84bbc038556' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
62165
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
62166
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62167
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62168
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
62169
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62170
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62171
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "10101010@facebook.com"], ["encrypted_password", "8a85e85e9a5b0aa127087d3e4ccd9df1f9eed13f85ae63394bb6dbb78eec3c68"], ["created_at", "2018-07-27 10:41:49.840130"], ["updated_at", "2018-07-27 10:41:49.840130"]]
|
62172
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62173
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62174
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
|
62175
|
+
Sent mail to 10101010@facebook.com (1.3ms)
|
62176
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62177
|
+
From: support@example.com
|
62178
|
+
To: 10101010@facebook.com
|
62179
|
+
Message-ID: <5b5af6edcdc02_a8767c640853dc@merkulov.mail>
|
62180
|
+
Subject: Welcome !
|
62181
|
+
Mime-Version: 1.0
|
62182
|
+
Content-Type: text/html;
|
62183
|
+
charset=UTF-8
|
62184
|
+
Content-Transfer-Encoding: 7bit
|
62185
|
+
|
62186
|
+
<h1>Welcome</h1>
|
62187
|
+
10101010@facebook.com
|
62188
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62189
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62190
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 156], ["provider", 0], ["user_id", "10101010"], ["user_data", "{\"id\":\"10101010\",\"name\":\"Test\",\"provider\":\"facebook\",\"email\":\"mail@mail.com\",\"img_url\":\"img\"}"], ["created_at", "2018-07-27 10:41:49.858515"], ["updated_at", "2018-07-27 10:41:49.858515"]]
|
62191
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62192
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
62193
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62194
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62195
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62196
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62197
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62198
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{298fd290-5b77-4680-9b13-c6ed85e057db}"], ["created_at", "2018-07-27 10:41:49.863224"], ["updated_at", "2018-07-27 10:41:49.863224"]]
|
62199
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62200
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
62201
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.1ms
|
62202
|
+
Sent mail to user@mail.com (1.4ms)
|
62203
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62204
|
+
From: support@example.com
|
62205
|
+
To: user@mail.com
|
62206
|
+
Message-ID: <5b5af6edd366c_a8767c64085430@merkulov.mail>
|
62207
|
+
Subject: Welcome !
|
62208
|
+
Mime-Version: 1.0
|
62209
|
+
Content-Type: text/html;
|
62210
|
+
charset=UTF-8
|
62211
|
+
Content-Transfer-Encoding: 7bit
|
62212
|
+
|
62213
|
+
<h1>Welcome</h1>
|
62214
|
+
user@mail.com
|
62215
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62216
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
62217
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('df37b1e5-5ad6-4d33-b8a7-4affc1d05724' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
62218
|
+
Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
62219
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 157], ["LIMIT", 1]]
|
62220
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62221
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62222
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62223
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62224
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{b2aadb31-6603-4b3d-854a-4c8278785470}"], ["created_at", "2018-07-27 10:41:49.874843"], ["updated_at", "2018-07-27 10:41:49.874843"]]
|
62225
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62226
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62227
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
62228
|
+
Sent mail to user@mail.com (1.0ms)
|
62229
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62230
|
+
From: support@example.com
|
62231
|
+
To: user@mail.com
|
62232
|
+
Message-ID: <5b5af6edd6248_a8767c64085562@merkulov.mail>
|
62233
|
+
Subject: Welcome !
|
62234
|
+
Mime-Version: 1.0
|
62235
|
+
Content-Type: text/html;
|
62236
|
+
charset=UTF-8
|
62237
|
+
Content-Transfer-Encoding: 7bit
|
62238
|
+
|
62239
|
+
<h1>Welcome</h1>
|
62240
|
+
user@mail.com
|
62241
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62242
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
62243
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('b2aadb31-6603-4b3d-854a-4c8278785470' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
62244
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62245
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{}"], ["updated_at", "2018-07-27 10:41:49.879980"], ["id", 158]]
|
62246
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62247
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
62248
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 158], ["LIMIT", 1]]
|
62249
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62250
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62251
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62252
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
62253
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62254
|
+
[1m[36mApiUserAuth::AuthUser Load (1.0ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62255
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62256
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{5c80f247-4150-4fd8-a12c-040811c80cde}"], ["created_at", "2018-07-27 10:41:49.886176"], ["updated_at", "2018-07-27 10:41:49.886176"]]
|
62257
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62258
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62259
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
62260
|
+
Sent mail to user@mail.com (7.7ms)
|
62261
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62262
|
+
From: support@example.com
|
62263
|
+
To: user@mail.com
|
62264
|
+
Message-ID: <5b5af6edd8f93_a8767c64085617@merkulov.mail>
|
62265
|
+
Subject: Welcome !
|
62266
|
+
Mime-Version: 1.0
|
62267
|
+
Content-Type: text/html;
|
62268
|
+
charset=UTF-8
|
62269
|
+
Content-Transfer-Encoding: 7bit
|
62270
|
+
|
62271
|
+
<h1>Welcome</h1>
|
62272
|
+
user@mail.com
|
62273
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62274
|
+
Completed 201 Created in 12ms (Views: 0.1ms | ActiveRecord: 1.5ms)
|
62275
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62276
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62277
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
62278
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62279
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62280
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
62281
|
+
Parameters: {"email"=>"user@mail.com"}
|
62282
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62283
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62284
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
62285
|
+
Parameters: {"password"=>"[FILTERED]"}
|
62286
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62287
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62288
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
62289
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62290
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62291
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62292
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
62293
|
+
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
|
62294
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62295
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62296
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
62297
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62298
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62299
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62300
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{d8057f12-e10c-48a8-9f62-73f4829ac6c7}"], ["created_at", "2018-07-27 10:41:49.905950"], ["updated_at", "2018-07-27 10:41:49.905950"]]
|
62301
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62302
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62303
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
62304
|
+
Sent mail to user@mail.com (0.9ms)
|
62305
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62306
|
+
From: support@example.com
|
62307
|
+
To: user@mail.com
|
62308
|
+
Message-ID: <5b5af6edddaaf_a8767c6408574b@merkulov.mail>
|
62309
|
+
Subject: Welcome !
|
62310
|
+
Mime-Version: 1.0
|
62311
|
+
Content-Type: text/html;
|
62312
|
+
charset=UTF-8
|
62313
|
+
Content-Transfer-Encoding: 7bit
|
62314
|
+
|
62315
|
+
<h1>Welcome</h1>
|
62316
|
+
user@mail.com
|
62317
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62318
|
+
Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
62319
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62320
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
62321
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62322
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62323
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.8ms)
|
62324
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62325
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62326
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62327
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62328
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62329
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
62330
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
62331
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62332
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62333
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{d4aa6ba3-da02-4bcb-a8c5-8b60aceb06e8}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 10:41:49.916318"], ["updated_at", "2018-07-27 10:41:49.916318"]]
|
62334
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62335
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62336
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
62337
|
+
Sent mail to user@mail.com (0.8ms)
|
62338
|
+
Date: Fri, 27 Jul 2018 13:41:49 +0300
|
62339
|
+
From: support@example.com
|
62340
|
+
To: user@mail.com
|
62341
|
+
Message-ID: <5b5af6ede02f4_a8767c640858fc@merkulov.mail>
|
62342
|
+
Subject: Welcome !
|
62343
|
+
Mime-Version: 1.0
|
62344
|
+
Content-Type: text/html;
|
62345
|
+
charset=UTF-8
|
62346
|
+
Content-Transfer-Encoding: 7bit
|
62347
|
+
|
62348
|
+
<h1>Welcome</h1>
|
62349
|
+
user@mail.com
|
62350
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62351
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
62352
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62353
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62354
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62355
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
62356
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
62357
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62358
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62359
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{d4aa6ba3-da02-4bcb-a8c5-8b60aceb06e8,bfdeda7d-fa4d-4c74-b491-8e1457507b19}"], ["updated_at", "2018-07-27 10:41:49.922259"], ["id", 161]]
|
62360
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62361
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.4ms)
|
62362
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62363
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62364
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62365
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62366
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62367
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62368
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
62369
|
+
Completed 422 Unprocessable Entity in 170ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
62370
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62371
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62372
|
+
Parameters: {"provider"=>"google2", "token"=>"token"}
|
62373
|
+
Completed 422 Unprocessable Entity in 161ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
62374
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62375
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62376
|
+
Parameters: {"provider"=>"google"}
|
62377
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
62378
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62379
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
62380
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
62381
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62382
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62383
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
62384
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
62385
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62386
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62387
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{d7b5c267-6e31-4b6d-bf4c-1f02bfbbc8c2}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 10:41:50.281099"], ["updated_at", "2018-07-27 10:41:50.281099"]]
|
62388
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62389
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
62390
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.3ms
|
62391
|
+
Sent mail to user@mail.com (3.2ms)
|
62392
|
+
Date: Fri, 27 Jul 2018 13:41:50 +0300
|
62393
|
+
From: support@example.com
|
62394
|
+
To: user@mail.com
|
62395
|
+
Message-ID: <5b5af6ee46747_a8767c640859f@merkulov.mail>
|
62396
|
+
Subject: Welcome !
|
62397
|
+
Mime-Version: 1.0
|
62398
|
+
Content-Type: text/html;
|
62399
|
+
charset=UTF-8
|
62400
|
+
Content-Transfer-Encoding: 7bit
|
62401
|
+
|
62402
|
+
<h1>Welcome</h1>
|
62403
|
+
user@mail.com
|
62404
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62405
|
+
Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 2.5ms)
|
62406
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62407
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62408
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62409
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
62410
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
62411
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62412
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62413
|
+
[1m[36mApiUserAuth::AuthUser Update (0.8ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{d7b5c267-6e31-4b6d-bf4c-1f02bfbbc8c2,9f68955b-3f77-40f0-9cfe-92fcf3449ab8}"], ["updated_at", "2018-07-27 10:41:50.303377"], ["id", 162]]
|
62414
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62415
|
+
Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 5.1ms)
|
62416
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62417
|
+
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62418
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
62419
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
62420
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62421
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62422
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
62423
|
+
Completed 422 Unprocessable Entity in 302ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
62424
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62425
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62426
|
+
Parameters: {"provider"=>"facebook2", "token"=>"token"}
|
62427
|
+
Completed 422 Unprocessable Entity in 292ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
62428
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62429
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62430
|
+
Parameters: {"provider"=>"facebook"}
|
62431
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
62432
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62433
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
62434
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
62435
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62436
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62437
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
62438
|
+
Completed 422 Unprocessable Entity in 361ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
62439
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62440
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62441
|
+
Parameters: {"provider"=>"instagram2", "token"=>"token"}
|
62442
|
+
Completed 422 Unprocessable Entity in 361ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
62443
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62444
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62445
|
+
Parameters: {"provider"=>"instagram"}
|
62446
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
62447
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62448
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
62449
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
62450
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62451
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62452
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
62453
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
62454
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62455
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62456
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{00f95f41-2289-48ec-8c7e-2a8160ee746d}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 10:41:51.675610"], ["updated_at", "2018-07-27 10:41:51.675610"]]
|
62457
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62458
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
62459
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.3ms
|
62460
|
+
Sent mail to user@mail.com (1.8ms)
|
62461
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62462
|
+
From: support@example.com
|
62463
|
+
To: user@mail.com
|
62464
|
+
Message-ID: <5b5af6efa6c58_a8767c64086089@merkulov.mail>
|
62465
|
+
Subject: Welcome !
|
62466
|
+
Mime-Version: 1.0
|
62467
|
+
Content-Type: text/html;
|
62468
|
+
charset=UTF-8
|
62469
|
+
Content-Transfer-Encoding: 7bit
|
62470
|
+
|
62471
|
+
<h1>Welcome</h1>
|
62472
|
+
user@mail.com
|
62473
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62474
|
+
Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 2.3ms)
|
62475
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62476
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62477
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
62478
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
62479
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
62480
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62481
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62482
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{00f95f41-2289-48ec-8c7e-2a8160ee746d,a1d8d0d0-4a4a-4057-8d7d-0e876a65b911}"], ["updated_at", "2018-07-27 10:41:51.687572"], ["id", 163]]
|
62483
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62484
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 3.1ms)
|
62485
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62486
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62487
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62488
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62489
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62490
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62491
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{7776e476-cde2-4580-9c48-88d6fbe0614b}"], ["created_at", "2018-07-27 10:41:51.692101"], ["updated_at", "2018-07-27 10:41:51.692101"]]
|
62492
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62493
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62494
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
62495
|
+
Sent mail to user@mail.com (0.9ms)
|
62496
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62497
|
+
From: support@example.com
|
62498
|
+
To: user@mail.com
|
62499
|
+
Message-ID: <5b5af6efa9781_a8767c6408611e@merkulov.mail>
|
62500
|
+
Subject: Welcome !
|
62501
|
+
Mime-Version: 1.0
|
62502
|
+
Content-Type: text/html;
|
62503
|
+
charset=UTF-8
|
62504
|
+
Content-Transfer-Encoding: 7bit
|
62505
|
+
|
62506
|
+
<h1>Welcome</h1>
|
62507
|
+
user@mail.com
|
62508
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62509
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62510
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 164]]
|
62511
|
+
Processing by ApiUserAuth::AuthController#add_provider as HTML
|
62512
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
62513
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('7776e476-cde2-4580-9c48-88d6fbe0614b' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
62514
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62515
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 164], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 10:41:51.698450"], ["updated_at", "2018-07-27 10:41:51.698450"]]
|
62516
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62517
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
62518
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 164]]
|
62519
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
62520
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62521
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62522
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62523
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{b84175da-1d36-40cf-9f88-abe084650c9e}"], ["created_at", "2018-07-27 10:41:51.702656"], ["updated_at", "2018-07-27 10:41:51.702656"]]
|
62524
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62525
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62526
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
62527
|
+
Sent mail to user@mail.com (0.9ms)
|
62528
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62529
|
+
From: support@example.com
|
62530
|
+
To: user@mail.com
|
62531
|
+
Message-ID: <5b5af6efac0d0_a8767c640862c3@merkulov.mail>
|
62532
|
+
Subject: Welcome !
|
62533
|
+
Mime-Version: 1.0
|
62534
|
+
Content-Type: text/html;
|
62535
|
+
charset=UTF-8
|
62536
|
+
Content-Transfer-Encoding: 7bit
|
62537
|
+
|
62538
|
+
<h1>Welcome</h1>
|
62539
|
+
user@mail.com
|
62540
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62541
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
62542
|
+
Parameters: {"email"=>"user1@mail.com"}
|
62543
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
62544
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
62545
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 165], ["LIMIT", 1]]
|
62546
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62547
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62548
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62549
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62550
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{4a49a404-b46d-4d8d-b82d-b44328ce3fd3}"], ["created_at", "2018-07-27 10:41:51.709557"], ["updated_at", "2018-07-27 10:41:51.709557"]]
|
62551
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62552
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62553
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
62554
|
+
Sent mail to user@mail.com (0.9ms)
|
62555
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62556
|
+
From: support@example.com
|
62557
|
+
To: user@mail.com
|
62558
|
+
Message-ID: <5b5af6efadb7c_a8767c64086317@merkulov.mail>
|
62559
|
+
Subject: Welcome !
|
62560
|
+
Mime-Version: 1.0
|
62561
|
+
Content-Type: text/html;
|
62562
|
+
charset=UTF-8
|
62563
|
+
Content-Transfer-Encoding: 7bit
|
62564
|
+
|
62565
|
+
<h1>Welcome</h1>
|
62566
|
+
user@mail.com
|
62567
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62568
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
62569
|
+
Parameters: {"email"=>"user@mail.com"}
|
62570
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62571
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62572
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "543812"], ["updated_at", "2018-07-27 10:41:51.713834"], ["id", 166]]
|
62573
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62574
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
|
62575
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.3ms)
|
62576
|
+
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 6.4ms
|
62577
|
+
Sent mail to user@mail.com (1.0ms)
|
62578
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62579
|
+
From: support@example.com
|
62580
|
+
To: user@mail.com
|
62581
|
+
Message-ID: <5b5af6efb0a37_a8767c640864b1@merkulov.mail>
|
62582
|
+
Subject: Password Code Reset
|
62583
|
+
Mime-Version: 1.0
|
62584
|
+
Content-Type: text/html;
|
62585
|
+
charset=UTF-8
|
62586
|
+
Content-Transfer-Encoding: 7bit
|
62587
|
+
|
62588
|
+
user@mail.com
|
62589
|
+
</br>
|
62590
|
+
<strong>543812</strong>
|
62591
|
+
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
62592
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 166], ["LIMIT", 1]]
|
62593
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62594
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62595
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62596
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62597
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{ebca2eec-3ba8-4351-80b4-1f4164f54d61}"], ["created_at", "2018-07-27 10:41:51.727373"], ["updated_at", "2018-07-27 10:41:51.727373"]]
|
62598
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62599
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62600
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
62601
|
+
Sent mail to user@mail.com (0.9ms)
|
62602
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62603
|
+
From: support@example.com
|
62604
|
+
To: user@mail.com
|
62605
|
+
Message-ID: <5b5af6efb2146_a8767c6408658f@merkulov.mail>
|
62606
|
+
Subject: Welcome !
|
62607
|
+
Mime-Version: 1.0
|
62608
|
+
Content-Type: text/html;
|
62609
|
+
charset=UTF-8
|
62610
|
+
Content-Transfer-Encoding: 7bit
|
62611
|
+
|
62612
|
+
<h1>Welcome</h1>
|
62613
|
+
user@mail.com
|
62614
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62615
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62616
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 10:41:51.730508"], ["id", 167]]
|
62617
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62618
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62619
|
+
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
|
62620
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
62621
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
62622
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62623
|
+
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62624
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62625
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
62626
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62627
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62628
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
62629
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62630
|
+
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
|
62631
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
62632
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62633
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62634
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62635
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62636
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{945c4eaf-40a5-4390-a61e-6d8216da6c32}"], ["created_at", "2018-07-27 10:41:51.737785"], ["updated_at", "2018-07-27 10:41:51.737785"]]
|
62637
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62638
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62639
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
62640
|
+
Sent mail to user@mail.com (0.9ms)
|
62641
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62642
|
+
From: support@example.com
|
62643
|
+
To: user@mail.com
|
62644
|
+
Message-ID: <5b5af6efb49c9_a8767c640866ab@merkulov.mail>
|
62645
|
+
Subject: Welcome !
|
62646
|
+
Mime-Version: 1.0
|
62647
|
+
Content-Type: text/html;
|
62648
|
+
charset=UTF-8
|
62649
|
+
Content-Transfer-Encoding: 7bit
|
62650
|
+
|
62651
|
+
<h1>Welcome</h1>
|
62652
|
+
user@mail.com
|
62653
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62654
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62655
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 10:41:51.740852"], ["id", 168]]
|
62656
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62657
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62658
|
+
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62659
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62660
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62661
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4[0m [["encrypted_password", "12ade6a91f185f6f2901c1a542fea73a4c9e3598f6a4dfd18e2c3338eaf1d306"], ["auth_tokens", "{945c4eaf-40a5-4390-a61e-6d8216da6c32,e4a44f27-d21a-43ca-a143-dad0a83561cb}"], ["updated_at", "2018-07-27 10:41:51.743061"], ["id", 168]]
|
62662
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62663
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
62664
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 168], ["LIMIT", 1]]
|
62665
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62666
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62667
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62668
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62669
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{2dcc648f-911f-4545-9928-cbe4d686f510}"], ["created_at", "2018-07-27 10:41:51.746833"], ["updated_at", "2018-07-27 10:41:51.746833"]]
|
62670
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62671
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62672
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
62673
|
+
Sent mail to user@mail.com (0.9ms)
|
62674
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62675
|
+
From: support@example.com
|
62676
|
+
To: user@mail.com
|
62677
|
+
Message-ID: <5b5af6efb6cdc_a8767c640867c1@merkulov.mail>
|
62678
|
+
Subject: Welcome !
|
62679
|
+
Mime-Version: 1.0
|
62680
|
+
Content-Type: text/html;
|
62681
|
+
charset=UTF-8
|
62682
|
+
Content-Transfer-Encoding: 7bit
|
62683
|
+
|
62684
|
+
<h1>Welcome</h1>
|
62685
|
+
user@mail.com
|
62686
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62687
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62688
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62689
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62690
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62691
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62692
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62693
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{2dcc648f-911f-4545-9928-cbe4d686f510,fc234ab3-7d8f-431b-8714-6e04382200d1}"], ["updated_at", "2018-07-27 10:41:51.752135"], ["id", 169]]
|
62694
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62695
|
+
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 1.0ms)
|
62696
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62697
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
62698
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62699
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62700
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62701
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{1e324562-f23e-4c19-97b4-3c39fdc5d7a4}"], ["created_at", "2018-07-27 10:41:51.758250"], ["updated_at", "2018-07-27 10:41:51.758250"]]
|
62702
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62703
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62704
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
62705
|
+
Sent mail to user@mail.com (0.9ms)
|
62706
|
+
Date: Fri, 27 Jul 2018 13:41:51 +0300
|
62707
|
+
From: support@example.com
|
62708
|
+
To: user@mail.com
|
62709
|
+
Message-ID: <5b5af6efb99a1_a8767c64086844@merkulov.mail>
|
62710
|
+
Subject: Welcome !
|
62711
|
+
Mime-Version: 1.0
|
62712
|
+
Content-Type: text/html;
|
62713
|
+
charset=UTF-8
|
62714
|
+
Content-Transfer-Encoding: 7bit
|
62715
|
+
|
62716
|
+
<h1>Welcome</h1>
|
62717
|
+
user@mail.com
|
62718
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62719
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62720
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62721
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62722
|
+
Parameters: {"email"=>"user@mail.com"}
|
62723
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62724
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62725
|
+
Parameters: {"password"=>"[FILTERED]"}
|
62726
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62727
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62728
|
+
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
|
62729
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user2@mail.com"], ["LIMIT", 1]]
|
62730
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
62731
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62732
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62733
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62734
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
62735
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62736
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
62737
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
62738
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62739
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62740
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{6f3d9137-b5e4-4e3f-b3a1-bcb29ef98e42}"], ["created_at", "2018-07-27 10:41:57.538060"], ["updated_at", "2018-07-27 10:41:57.538060"]]
|
62741
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62742
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.6ms)
|
62743
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 119.3ms
|
62744
|
+
Sent mail to user@mail.com (4.1ms)
|
62745
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62746
|
+
From: support@example.com
|
62747
|
+
To: user@mail.com
|
62748
|
+
Message-ID: <5b5af6f5aef29_a9a6de638413f1@merkulov.mail>
|
62749
|
+
Subject: Welcome !
|
62750
|
+
Mime-Version: 1.0
|
62751
|
+
Content-Type: text/html;
|
62752
|
+
charset=UTF-8
|
62753
|
+
Content-Transfer-Encoding: 7bit
|
62754
|
+
|
62755
|
+
<h1>Welcome</h1>
|
62756
|
+
user@mail.com
|
62757
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62758
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62759
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 171]]
|
62760
|
+
Processing by ApiUserAuth::AuthController#add_provider as HTML
|
62761
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
62762
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('6f3d9137-b5e4-4e3f-b3a1-bcb29ef98e42' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
62763
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62764
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 171], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 10:41:57.744375"], ["updated_at", "2018-07-27 10:41:57.744375"]]
|
62765
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62766
|
+
Completed 200 OK in 13ms (Views: 0.1ms | ActiveRecord: 2.0ms)
|
62767
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 171]]
|
62768
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
62769
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62770
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62771
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62772
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{4c7d9a6d-eccc-4fc6-bf38-d2aedbed108a}"], ["created_at", "2018-07-27 10:41:57.749515"], ["updated_at", "2018-07-27 10:41:57.749515"]]
|
62773
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62774
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62775
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
62776
|
+
Sent mail to user@mail.com (1.3ms)
|
62777
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62778
|
+
From: support@example.com
|
62779
|
+
To: user@mail.com
|
62780
|
+
Message-ID: <5b5af6f5b78cd_a9a6de638414e8@merkulov.mail>
|
62781
|
+
Subject: Welcome !
|
62782
|
+
Mime-Version: 1.0
|
62783
|
+
Content-Type: text/html;
|
62784
|
+
charset=UTF-8
|
62785
|
+
Content-Transfer-Encoding: 7bit
|
62786
|
+
|
62787
|
+
<h1>Welcome</h1>
|
62788
|
+
user@mail.com
|
62789
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62790
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62791
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 10:41:57.753111"], ["id", 172]]
|
62792
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62793
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62794
|
+
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62795
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62796
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62797
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4[0m [["encrypted_password", "12ade6a91f185f6f2901c1a542fea73a4c9e3598f6a4dfd18e2c3338eaf1d306"], ["auth_tokens", "{4c7d9a6d-eccc-4fc6-bf38-d2aedbed108a,0bb7da07-8bb7-4c2f-8a91-6aa68adb0020}"], ["updated_at", "2018-07-27 10:41:57.756279"], ["id", 172]]
|
62798
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62799
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
62800
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 172], ["LIMIT", 1]]
|
62801
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
62802
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62803
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62804
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62805
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{e1a77812-51e6-4b64-ba0a-b0551ff9aad6}"], ["created_at", "2018-07-27 10:41:57.761017"], ["updated_at", "2018-07-27 10:41:57.761017"]]
|
62806
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62807
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62808
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
62809
|
+
Sent mail to user@mail.com (1.6ms)
|
62810
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62811
|
+
From: support@example.com
|
62812
|
+
To: user@mail.com
|
62813
|
+
Message-ID: <5b5af6f5ba5be_a9a6de63841523@merkulov.mail>
|
62814
|
+
Subject: Welcome !
|
62815
|
+
Mime-Version: 1.0
|
62816
|
+
Content-Type: text/html;
|
62817
|
+
charset=UTF-8
|
62818
|
+
Content-Transfer-Encoding: 7bit
|
62819
|
+
|
62820
|
+
<h1>Welcome</h1>
|
62821
|
+
user@mail.com
|
62822
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62823
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62824
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 10:41:57.764836"], ["id", 173]]
|
62825
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62826
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62827
|
+
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
|
62828
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
62829
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
62830
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62831
|
+
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62832
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62833
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
62834
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62835
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62836
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
62837
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
62838
|
+
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
|
62839
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
62840
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
62841
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62842
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62843
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62844
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{3345d923-aa19-427b-8471-b445855efff8}"], ["created_at", "2018-07-27 10:41:57.773244"], ["updated_at", "2018-07-27 10:41:57.773244"]]
|
62845
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62846
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62847
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.1ms
|
62848
|
+
Sent mail to user@mail.com (1.2ms)
|
62849
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62850
|
+
From: support@example.com
|
62851
|
+
To: user@mail.com
|
62852
|
+
Message-ID: <5b5af6f5bd6cb_a9a6de63841632@merkulov.mail>
|
62853
|
+
Subject: Welcome !
|
62854
|
+
Mime-Version: 1.0
|
62855
|
+
Content-Type: text/html;
|
62856
|
+
charset=UTF-8
|
62857
|
+
Content-Transfer-Encoding: 7bit
|
62858
|
+
|
62859
|
+
<h1>Welcome</h1>
|
62860
|
+
user@mail.com
|
62861
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62862
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62863
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62864
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62865
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62866
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62867
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62868
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{3345d923-aa19-427b-8471-b445855efff8,edcf6e65-4ce5-49e2-9959-d9b3891f3a01}"], ["updated_at", "2018-07-27 10:41:57.780166"], ["id", 174]]
|
62869
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62870
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
62871
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62872
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62873
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62874
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62875
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62876
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{40128eca-3f77-4abb-8c0b-72f343780a0d}"], ["created_at", "2018-07-27 10:41:57.784148"], ["updated_at", "2018-07-27 10:41:57.784148"]]
|
62877
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62878
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62879
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
62880
|
+
Sent mail to user@mail.com (1.2ms)
|
62881
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62882
|
+
From: support@example.com
|
62883
|
+
To: user@mail.com
|
62884
|
+
Message-ID: <5b5af6f5c0059_a9a6de63841764@merkulov.mail>
|
62885
|
+
Subject: Welcome !
|
62886
|
+
Mime-Version: 1.0
|
62887
|
+
Content-Type: text/html;
|
62888
|
+
charset=UTF-8
|
62889
|
+
Content-Transfer-Encoding: 7bit
|
62890
|
+
|
62891
|
+
<h1>Welcome</h1>
|
62892
|
+
user@mail.com
|
62893
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62894
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
62895
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
62896
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62897
|
+
Parameters: {"email"=>"user@mail.com"}
|
62898
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62899
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62900
|
+
Parameters: {"password"=>"[FILTERED]"}
|
62901
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62902
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62903
|
+
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
|
62904
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user2@mail.com"], ["LIMIT", 1]]
|
62905
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
62906
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
62907
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
62908
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62909
|
+
Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
62910
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
62911
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62912
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62913
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62914
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{eb785988-66d1-4afb-9166-89e3878c8d5e}"], ["created_at", "2018-07-27 10:41:57.796326"], ["updated_at", "2018-07-27 10:41:57.796326"]]
|
62915
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62916
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62917
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
|
62918
|
+
Sent mail to user@mail.com (7.3ms)
|
62919
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62920
|
+
From: support@example.com
|
62921
|
+
To: user@mail.com
|
62922
|
+
Message-ID: <5b5af6f5c47cd_a9a6de63841866@merkulov.mail>
|
62923
|
+
Subject: Welcome !
|
62924
|
+
Mime-Version: 1.0
|
62925
|
+
Content-Type: text/html;
|
62926
|
+
charset=UTF-8
|
62927
|
+
Content-Transfer-Encoding: 7bit
|
62928
|
+
|
62929
|
+
<h1>Welcome</h1>
|
62930
|
+
user@mail.com
|
62931
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62932
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
62933
|
+
Parameters: {"email"=>"user@mail.com"}
|
62934
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62935
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62936
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "805824"], ["updated_at", "2018-07-27 10:41:57.807504"], ["id", 176]]
|
62937
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62938
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
|
62939
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.2ms)
|
62940
|
+
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 5.9ms
|
62941
|
+
Sent mail to user@mail.com (0.9ms)
|
62942
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62943
|
+
From: support@example.com
|
62944
|
+
To: user@mail.com
|
62945
|
+
Message-ID: <5b5af6f5c75e9_a9a6de6384195f@merkulov.mail>
|
62946
|
+
Subject: Password Code Reset
|
62947
|
+
Mime-Version: 1.0
|
62948
|
+
Content-Type: text/html;
|
62949
|
+
charset=UTF-8
|
62950
|
+
Content-Transfer-Encoding: 7bit
|
62951
|
+
|
62952
|
+
user@mail.com
|
62953
|
+
</br>
|
62954
|
+
<strong>805824</strong>
|
62955
|
+
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
62956
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 176], ["LIMIT", 1]]
|
62957
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62958
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62959
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62960
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62961
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{942c90e3-0a4b-4132-92b5-84a61f41cd18}"], ["created_at", "2018-07-27 10:41:57.820239"], ["updated_at", "2018-07-27 10:41:57.820239"]]
|
62962
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62963
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62964
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
62965
|
+
Sent mail to user@mail.com (1.1ms)
|
62966
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62967
|
+
From: support@example.com
|
62968
|
+
To: user@mail.com
|
62969
|
+
Message-ID: <5b5af6f5c8c6c_a9a6de638420a8@merkulov.mail>
|
62970
|
+
Subject: Welcome !
|
62971
|
+
Mime-Version: 1.0
|
62972
|
+
Content-Type: text/html;
|
62973
|
+
charset=UTF-8
|
62974
|
+
Content-Transfer-Encoding: 7bit
|
62975
|
+
|
62976
|
+
<h1>Welcome</h1>
|
62977
|
+
user@mail.com
|
62978
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
62979
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
62980
|
+
Parameters: {"email"=>"user1@mail.com"}
|
62981
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
62982
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
62983
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 177], ["LIMIT", 1]]
|
62984
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
62985
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
62986
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
62987
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
62988
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{23c94ac3-7653-4058-8a12-c27ae64e6c7f}"], ["created_at", "2018-07-27 10:41:57.827545"], ["updated_at", "2018-07-27 10:41:57.827545"]]
|
62989
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
62990
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
62991
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
62992
|
+
Sent mail to user@mail.com (0.9ms)
|
62993
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
62994
|
+
From: support@example.com
|
62995
|
+
To: user@mail.com
|
62996
|
+
Message-ID: <5b5af6f5ca87d_a9a6de63842176@merkulov.mail>
|
62997
|
+
Subject: Welcome !
|
62998
|
+
Mime-Version: 1.0
|
62999
|
+
Content-Type: text/html;
|
63000
|
+
charset=UTF-8
|
63001
|
+
Content-Transfer-Encoding: 7bit
|
63002
|
+
|
63003
|
+
<h1>Welcome</h1>
|
63004
|
+
user@mail.com
|
63005
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63006
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
63007
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('207948cb-a9da-4773-a880-33599ca90ad5' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
63008
|
+
Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
63009
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 178], ["LIMIT", 1]]
|
63010
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
63011
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63012
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63013
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63014
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{59aa7b67-7580-493a-8f7f-d9b507d14c8a}"], ["created_at", "2018-07-27 10:41:57.834123"], ["updated_at", "2018-07-27 10:41:57.834123"]]
|
63015
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63016
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
63017
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
63018
|
+
Sent mail to user@mail.com (0.9ms)
|
63019
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
63020
|
+
From: support@example.com
|
63021
|
+
To: user@mail.com
|
63022
|
+
Message-ID: <5b5af6f5cc211_a9a6de638422a3@merkulov.mail>
|
63023
|
+
Subject: Welcome !
|
63024
|
+
Mime-Version: 1.0
|
63025
|
+
Content-Type: text/html;
|
63026
|
+
charset=UTF-8
|
63027
|
+
Content-Transfer-Encoding: 7bit
|
63028
|
+
|
63029
|
+
<h1>Welcome</h1>
|
63030
|
+
user@mail.com
|
63031
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63032
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
63033
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('59aa7b67-7580-493a-8f7f-d9b507d14c8a' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
63034
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63035
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{}"], ["updated_at", "2018-07-27 10:41:57.838919"], ["id", 179]]
|
63036
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63037
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.8ms)
|
63038
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 179], ["LIMIT", 1]]
|
63039
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
63040
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63041
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63042
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
63043
|
+
Parameters: {"email"=>"user@mail.com"}
|
63044
|
+
Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
63045
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63046
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
63047
|
+
Parameters: {"password"=>"[FILTERED]"}
|
63048
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
63049
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63050
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
63051
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
63052
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
63053
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63054
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
63055
|
+
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
|
63056
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
63057
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63058
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
63059
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
63060
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63061
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63062
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{e263101c-f468-497f-a345-82b0890599db}"], ["created_at", "2018-07-27 10:41:57.851373"], ["updated_at", "2018-07-27 10:41:57.851373"]]
|
63063
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63064
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
63065
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
63066
|
+
Sent mail to user@mail.com (0.9ms)
|
63067
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
63068
|
+
From: support@example.com
|
63069
|
+
To: user@mail.com
|
63070
|
+
Message-ID: <5b5af6f5d059e_a9a6de63842386@merkulov.mail>
|
63071
|
+
Subject: Welcome !
|
63072
|
+
Mime-Version: 1.0
|
63073
|
+
Content-Type: text/html;
|
63074
|
+
charset=UTF-8
|
63075
|
+
Content-Transfer-Encoding: 7bit
|
63076
|
+
|
63077
|
+
<h1>Welcome</h1>
|
63078
|
+
user@mail.com
|
63079
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63080
|
+
Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
63081
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63082
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
63083
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
63084
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63085
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
63086
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63087
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
63088
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63089
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63090
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
63091
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
63092
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63093
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63094
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{b76b4c49-6e03-4f94-a491-82d31f8f518b}"], ["created_at", "2018-07-27 10:41:57.859573"], ["updated_at", "2018-07-27 10:41:57.859573"]]
|
63095
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63096
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
63097
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
63098
|
+
Sent mail to user@mail.com (1.0ms)
|
63099
|
+
Date: Fri, 27 Jul 2018 13:41:57 +0300
|
63100
|
+
From: support@example.com
|
63101
|
+
To: user@mail.com
|
63102
|
+
Message-ID: <5b5af6f5d25a6_a9a6de638424d9@merkulov.mail>
|
63103
|
+
Subject: Welcome !
|
63104
|
+
Mime-Version: 1.0
|
63105
|
+
Content-Type: text/html;
|
63106
|
+
charset=UTF-8
|
63107
|
+
Content-Transfer-Encoding: 7bit
|
63108
|
+
|
63109
|
+
<h1>Welcome</h1>
|
63110
|
+
user@mail.com
|
63111
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63112
|
+
Completed 201 Created in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
63113
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63114
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
63115
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
63116
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63117
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63118
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63119
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
63120
|
+
Completed 422 Unprocessable Entity in 656ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
63121
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63122
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63123
|
+
Parameters: {"provider"=>"instagram2", "token"=>"token"}
|
63124
|
+
Completed 422 Unprocessable Entity in 383ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
63125
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63126
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63127
|
+
Parameters: {"provider"=>"instagram"}
|
63128
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
63129
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63130
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
63131
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
63132
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63133
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63134
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
63135
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
63136
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63137
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63138
|
+
[1m[36mApiUserAuth::AuthUser Create (0.7ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{88e4e9bd-952e-415a-b430-c2af81c43818}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 10:41:58.927759"], ["updated_at", "2018-07-27 10:41:58.927759"]]
|
63139
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63140
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
63141
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.3ms
|
63142
|
+
Sent mail to user@mail.com (3.3ms)
|
63143
|
+
Date: Fri, 27 Jul 2018 13:41:58 +0300
|
63144
|
+
From: support@example.com
|
63145
|
+
To: user@mail.com
|
63146
|
+
Message-ID: <5b5af6f6e44fa_a9a6de6384258c@merkulov.mail>
|
63147
|
+
Subject: Welcome !
|
63148
|
+
Mime-Version: 1.0
|
63149
|
+
Content-Type: text/html;
|
63150
|
+
charset=UTF-8
|
63151
|
+
Content-Transfer-Encoding: 7bit
|
63152
|
+
|
63153
|
+
<h1>Welcome</h1>
|
63154
|
+
user@mail.com
|
63155
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63156
|
+
Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 2.4ms)
|
63157
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63158
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
63159
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63160
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
63161
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
63162
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63163
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63164
|
+
[1m[36mApiUserAuth::AuthUser Update (0.5ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{88e4e9bd-952e-415a-b430-c2af81c43818,0eb33f2e-8975-4980-b15a-9f2d2caa4838}"], ["updated_at", "2018-07-27 10:41:58.948785"], ["id", 182]]
|
63165
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63166
|
+
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 4.2ms)
|
63167
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63168
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
63169
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
63170
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
63171
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63172
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63173
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
63174
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
63175
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63176
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63177
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{1a7df885-d902-491e-ae16-0b051ea78ff7}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 10:41:58.960046"], ["updated_at", "2018-07-27 10:41:58.960046"]]
|
63178
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63179
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
63180
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
63181
|
+
Sent mail to user@mail.com (1.2ms)
|
63182
|
+
Date: Fri, 27 Jul 2018 13:41:58 +0300
|
63183
|
+
From: support@example.com
|
63184
|
+
To: user@mail.com
|
63185
|
+
Message-ID: <5b5af6f6eb13e_a9a6de638426c4@merkulov.mail>
|
63186
|
+
Subject: Welcome !
|
63187
|
+
Mime-Version: 1.0
|
63188
|
+
Content-Type: text/html;
|
63189
|
+
charset=UTF-8
|
63190
|
+
Content-Transfer-Encoding: 7bit
|
63191
|
+
|
63192
|
+
<h1>Welcome</h1>
|
63193
|
+
user@mail.com
|
63194
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63195
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 1.1ms)
|
63196
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63197
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
63198
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63199
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
63200
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
63201
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63202
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63203
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{1a7df885-d902-491e-ae16-0b051ea78ff7,559cc040-4c51-49b3-adca-4a0d9a566c60}"], ["updated_at", "2018-07-27 10:41:58.967757"], ["id", 183]]
|
63204
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63205
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.9ms)
|
63206
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63207
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
63208
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
63209
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63210
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63211
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63212
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
63213
|
+
Completed 422 Unprocessable Entity in 292ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
63214
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63215
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63216
|
+
Parameters: {"provider"=>"facebook2", "token"=>"token"}
|
63217
|
+
Completed 422 Unprocessable Entity in 294ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
63218
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63219
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63220
|
+
Parameters: {"provider"=>"facebook"}
|
63221
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
63222
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63223
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
63224
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
63225
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63226
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63227
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
63228
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
63229
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63230
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63231
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{59038a81-d46b-4ea3-b581-c2fbee195e3a}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 10:41:59.581261"], ["updated_at", "2018-07-27 10:41:59.581261"]]
|
63232
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63233
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
63234
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.3ms
|
63235
|
+
Sent mail to user@mail.com (3.4ms)
|
63236
|
+
Date: Fri, 27 Jul 2018 13:41:59 +0300
|
63237
|
+
From: support@example.com
|
63238
|
+
To: user@mail.com
|
63239
|
+
Message-ID: <5b5af6f78fc7f_a9a6de638427e5@merkulov.mail>
|
63240
|
+
Subject: Welcome !
|
63241
|
+
Mime-Version: 1.0
|
63242
|
+
Content-Type: text/html;
|
63243
|
+
charset=UTF-8
|
63244
|
+
Content-Transfer-Encoding: 7bit
|
63245
|
+
|
63246
|
+
<h1>Welcome</h1>
|
63247
|
+
user@mail.com
|
63248
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63249
|
+
Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 2.6ms)
|
63250
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63251
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
63252
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63253
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
63254
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
63255
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63256
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63257
|
+
[1m[36mApiUserAuth::AuthUser Update (0.6ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{59038a81-d46b-4ea3-b581-c2fbee195e3a,11739cc2-3038-4ec6-a9b0-9a56b1b22d7f}"], ["updated_at", "2018-07-27 10:41:59.602999"], ["id", 184]]
|
63258
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63259
|
+
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 4.4ms)
|
63260
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63261
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
63262
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
63263
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63264
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63265
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63266
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
63267
|
+
Completed 422 Unprocessable Entity in 169ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
63268
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63269
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63270
|
+
Parameters: {"provider"=>"google2", "token"=>"token"}
|
63271
|
+
Completed 422 Unprocessable Entity in 163ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
63272
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63273
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
63274
|
+
Parameters: {"provider"=>"google"}
|
63275
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
63276
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63277
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
63278
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
63279
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63280
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63281
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{02c545b2-8149-4e46-919d-5c7b417f8ed0}"], ["created_at", "2018-07-27 10:41:59.958875"], ["updated_at", "2018-07-27 10:41:59.958875"]]
|
63282
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63283
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
63284
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.4ms
|
63285
|
+
Sent mail to user@mail.com (3.4ms)
|
63286
|
+
Date: Fri, 27 Jul 2018 13:41:59 +0300
|
63287
|
+
From: support@example.com
|
63288
|
+
To: user@mail.com
|
63289
|
+
Message-ID: <5b5af6f7ebd8b_a9a6de638428e0@merkulov.mail>
|
63290
|
+
Subject: Welcome !
|
63291
|
+
Mime-Version: 1.0
|
63292
|
+
Content-Type: text/html;
|
63293
|
+
charset=UTF-8
|
63294
|
+
Content-Transfer-Encoding: 7bit
|
63295
|
+
|
63296
|
+
<h1>Welcome</h1>
|
63297
|
+
user@mail.com
|
63298
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63299
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63300
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
63301
|
+
Processing by TestController#index as HTML
|
63302
|
+
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('02c545b2-8149-4e46-919d-5c7b417f8ed0' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
63303
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.8ms)
|
63304
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
63305
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
63306
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63307
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63308
|
+
[1m[36mApiUserAuth::AuthUser Create (0.5ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{f6cdfbb1-ee49-4247-8b56-d4a4e18de9b1}"], ["created_at", "2018-07-27 10:41:59.983949"], ["updated_at", "2018-07-27 10:41:59.983949"]]
|
63309
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63310
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
63311
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.3ms
|
63312
|
+
Sent mail to user@mail.com (1.8ms)
|
63313
|
+
Date: Fri, 27 Jul 2018 13:41:59 +0300
|
63314
|
+
From: support@example.com
|
63315
|
+
To: user@mail.com
|
63316
|
+
Message-ID: <5b5af6f7f1493_a9a6de638429c6@merkulov.mail>
|
63317
|
+
Subject: Welcome !
|
63318
|
+
Mime-Version: 1.0
|
63319
|
+
Content-Type: text/html;
|
63320
|
+
charset=UTF-8
|
63321
|
+
Content-Transfer-Encoding: 7bit
|
63322
|
+
|
63323
|
+
<h1>Welcome</h1>
|
63324
|
+
user@mail.com
|
63325
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63326
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63327
|
+
Processing by TestController#index as HTML
|
63328
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
63329
|
+
Processing by TestController#index as HTML
|
63330
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
63331
|
+
Processing by TestController#index as HTML
|
63332
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('b1cb6388-6d15-4e4d-90d4-d9bc86178839' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
63333
|
+
Completed 401 Unauthorized in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
63334
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
63335
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63336
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63337
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63338
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
63339
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63340
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63341
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
63342
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63343
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{4f1d9994-51e6-478d-b3ae-a83beda9d380}"], ["created_at", "2018-07-27 10:42:00.003051"], ["updated_at", "2018-07-27 10:42:00.003051"]]
|
63344
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63345
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
63346
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
63347
|
+
Sent mail to user@mail.com (1.0ms)
|
63348
|
+
Date: Fri, 27 Jul 2018 13:42:00 +0300
|
63349
|
+
From: support@example.com
|
63350
|
+
To: user@mail.com
|
63351
|
+
Message-ID: <5b5af6f8147f_a9a6de638430b3@merkulov.mail>
|
63352
|
+
Subject: Welcome !
|
63353
|
+
Mime-Version: 1.0
|
63354
|
+
Content-Type: text/html;
|
63355
|
+
charset=UTF-8
|
63356
|
+
Content-Transfer-Encoding: 7bit
|
63357
|
+
|
63358
|
+
<h1>Welcome</h1>
|
63359
|
+
user@mail.com
|
63360
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63361
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63362
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
63363
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
63364
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
63365
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63366
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63367
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "10101010@facebook.com"], ["encrypted_password", "b8ab60b0dbc35423c3afe930d8a471c572f7f55da6b4506caa505c0f2c736f65"], ["created_at", "2018-07-27 10:42:00.008621"], ["updated_at", "2018-07-27 10:42:00.008621"]]
|
63368
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
63369
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
63370
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
63371
|
+
Sent mail to 10101010@facebook.com (0.9ms)
|
63372
|
+
Date: Fri, 27 Jul 2018 13:42:00 +0300
|
63373
|
+
From: support@example.com
|
63374
|
+
To: 10101010@facebook.com
|
63375
|
+
Message-ID: <5b5af6f8292b_a9a6de63843123@merkulov.mail>
|
63376
|
+
Subject: Welcome !
|
63377
|
+
Mime-Version: 1.0
|
63378
|
+
Content-Type: text/html;
|
63379
|
+
charset=UTF-8
|
63380
|
+
Content-Transfer-Encoding: 7bit
|
63381
|
+
|
63382
|
+
<h1>Welcome</h1>
|
63383
|
+
10101010@facebook.com
|
63384
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63385
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
63386
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 188], ["provider", 0], ["user_id", "10101010"], ["user_data", "{\"id\":\"10101010\",\"name\":\"Test\",\"provider\":\"facebook\",\"email\":\"mail@mail.com\",\"img_url\":\"img\"}"], ["created_at", "2018-07-27 10:42:00.012650"], ["updated_at", "2018-07-27 10:42:00.012650"]]
|
63387
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
63388
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
63389
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
63390
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|