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: 3c361db01eddc3c4e3679474cdedd7df1e800cb22f4053b6625f6db9cad41e6c
4
- data.tar.gz: e47b8d653ff59fe59ac7f4c2af18fd4695fae1987ffc2d720faadb7422e684a9
3
+ metadata.gz: 7c326a01f2fbc039d9e897e091c0e1425eacc237e38e78a1d9f328befe20458c
4
+ data.tar.gz: 156155872b6d7bc3539e76413bc0cb68a86a14759a701600d8f47ff2a5145d7f
5
5
  SHA512:
6
- metadata.gz: b87a1ff220c0314813f57be18220b654126b64bdabcb587a3b1817be1eaef8d4cd4ee09522783add2b3f6408d28af6935d528dafa8f602727bfbe37d825606d7
7
- data.tar.gz: 98a0559e5079d05ac82098243388fed28d4361874b47e01e73c34fd9c1675ccdb2e297a0f7378b5ec28e7e6df62aae6b3061d6573c5e231dd53a8b979fa9e954
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
- prov = auth_user.add_provider_login(params)
62
- data = {}
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
@@ -155,6 +155,10 @@ module ApiUserAuth
155
155
  { id: id, email: email, auth_token: auth_tokens.last, is_new: is_new }
156
156
  end
157
157
 
158
+ def as_user_json
159
+ {}
160
+ end
161
+
158
162
  def generate_token
159
163
  auth_tokens << SecureRandom.uuid
160
164
  end
@@ -1,3 +1,3 @@
1
1
  module ApiUserAuth
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
@@ -367,7 +367,7 @@ module ApiUserAuth
367
367
 
368
368
  expect(auth_user.provider_tokens.count).to eq(1)
369
369
 
370
- expect(resp_json[:google_id]).to eq('102030')
370
+ # expect(resp_json[:google_id]).to eq('102030')
371
371
  end
372
372
 
373
373
  end
@@ -61423,3 +61423,1968 @@ user@mail.com
61423
61423
   (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61424
61424
   (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61425
61425
   (0.1ms) ROLLBACK
61426
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
61427
+  (0.2ms) BEGIN
61428
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61429
+  (1.8ms) SAVEPOINT active_record_1
61430
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
61448
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+ ApiUserAuth::AuthUser Load (0.6ms) SELECT "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 [["LIMIT", 1]]
61455
+ Completed 401 Unauthorized in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
61456
+  (0.2ms) ROLLBACK
61457
+  (0.1ms) BEGIN
61458
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61459
+  (0.3ms) SAVEPOINT active_record_1
61460
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61478
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61479
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
61480
+ Processing by TestController#index as HTML
61481
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "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 [["LIMIT", 1]]
61482
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
61483
+  (0.1ms) ROLLBACK
61484
+  (0.1ms) BEGIN
61485
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61486
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61487
+  (0.1ms) ROLLBACK
61488
+  (0.1ms) BEGIN
61489
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61490
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61491
+  (0.1ms) SAVEPOINT active_record_1
61492
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61510
+  (1.5ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61511
+  (0.1ms) ROLLBACK
61512
+  (0.1ms) BEGIN
61513
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61514
+ Processing by ApiUserAuth::AuthController#create as HTML
61515
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
61516
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61517
+  (0.1ms) SAVEPOINT active_record_1
61518
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61536
+ Completed 201 Created in 6ms (Views: 0.1ms | ActiveRecord: 0.7ms)
61537
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61538
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
61539
+  (0.1ms) ROLLBACK
61540
+  (0.0ms) BEGIN
61541
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.5ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61558
+ Processing by ApiUserAuth::AuthController#create as HTML
61559
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
61560
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61561
+  (0.1ms) SAVEPOINT active_record_1
61562
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
61580
+ Completed 201 Created in 6ms (Views: 0.1ms | ActiveRecord: 0.7ms)
61581
+  (1.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61582
+ Processing by ApiUserAuth::AuthController#create as HTML
61583
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
61584
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61585
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.9ms)
61586
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61587
+  (0.1ms) ROLLBACK
61588
+  (0.0ms) BEGIN
61589
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61590
+  (0.1ms) SAVEPOINT active_record_1
61591
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61609
+ Processing by ApiUserAuth::AuthController#logout as HTML
61610
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "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 [["LIMIT", 1]]
61611
+ Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
61612
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 140], ["LIMIT", 1]]
61613
+  (0.1ms) ROLLBACK
61614
+  (0.1ms) BEGIN
61615
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61616
+  (0.1ms) SAVEPOINT active_record_1
61617
+ ApiUserAuth::AuthUser Create (0.4ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61635
+ Processing by ApiUserAuth::AuthController#logout as HTML
61636
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "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 [["LIMIT", 1]]
61637
+  (0.1ms) SAVEPOINT active_record_1
61638
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{}"], ["updated_at", "2018-07-27 10:41:37.200632"], ["id", 141]]
61639
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61640
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.7ms)
61641
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 141], ["LIMIT", 1]]
61642
+  (0.1ms) ROLLBACK
61643
+  (0.1ms) BEGIN
61644
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61657
+  (0.1ms) ROLLBACK
61658
+  (0.1ms) BEGIN
61659
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61660
+ Processing by ApiUserAuth::AuthController#provider as HTML
61661
+ Parameters: {"provider"=>"google", "token"=>"token"}
61662
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
61663
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61664
+  (0.1ms) SAVEPOINT active_record_1
61665
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61683
+ Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.9ms)
61684
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61685
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
61686
+ Processing by ApiUserAuth::AuthController#provider as HTML
61687
+ Parameters: {"provider"=>"google", "token"=>"token"}
61688
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
61689
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61690
+  (0.1ms) SAVEPOINT active_record_1
61691
+ ApiUserAuth::AuthUser Update (0.3ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{918d2d35-4130-418b-9fbb-adbe085ac673,818ca141-75fa-4473-9163-3e1397ec7ea7}"], ["updated_at", "2018-07-27 10:41:37.555787"], ["id", 142]]
61692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61693
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 2.6ms)
61694
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61695
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
61696
+  (0.2ms) ROLLBACK
61697
+  (0.1ms) BEGIN
61698
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61699
+ Processing by ApiUserAuth::AuthController#provider as HTML
61700
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
61701
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
61702
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61703
+  (0.1ms) SAVEPOINT active_record_1
61704
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61722
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.8ms)
61723
+  (0.4ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61724
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
61725
+ Processing by ApiUserAuth::AuthController#provider as HTML
61726
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
61727
+ ApiUserAuth::ProviderToken Load (0.1ms) SELECT "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 [["LIMIT", 1]]
61728
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61729
+  (0.1ms) SAVEPOINT active_record_1
61730
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{8a208a47-c7d7-43f7-93bf-ae03b99127ea,6574ed98-0be6-4565-87d0-4c0515cebe24}"], ["updated_at", "2018-07-27 10:41:37.570890"], ["id", 143]]
61731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61732
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.4ms)
61733
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61734
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
61735
+  (0.1ms) ROLLBACK
61736
+  (0.1ms) BEGIN
61737
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61750
+  (0.2ms) ROLLBACK
61751
+  (0.1ms) BEGIN
61752
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61765
+  (0.1ms) ROLLBACK
61766
+  (0.1ms) BEGIN
61767
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61768
+ Processing by ApiUserAuth::AuthController#provider as HTML
61769
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
61770
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
61771
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61772
+  (0.2ms) SAVEPOINT active_record_1
61773
+ ApiUserAuth::AuthUser Create (0.4ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61791
+ Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 1.1ms)
61792
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61793
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
61794
+ Processing by ApiUserAuth::AuthController#provider as HTML
61795
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
61796
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
61797
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61798
+  (0.1ms) SAVEPOINT active_record_1
61799
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{df7a76c3-3eec-487c-94d3-bb72abc03f7f,bb4f5dee-e1f2-4e8f-b0d9-384b7de94005}"], ["updated_at", "2018-07-27 10:41:38.959186"], ["id", 144]]
61800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61801
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.8ms)
61802
+  (1.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61803
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
61804
+  (0.1ms) ROLLBACK
61805
+  (0.1ms) BEGIN
61806
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61807
+  (0.1ms) SAVEPOINT active_record_1
61808
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
61826
+  (0.1ms) SAVEPOINT active_record_1
61827
+ ApiUserAuth::AuthUser Update (0.3ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "123456"], ["updated_at", "2018-07-27 10:41:38.969719"], ["id", 145]]
61828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61829
+ Processing by ApiUserAuth::AuthController#password as HTML
61830
+ Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
61831
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61832
+  (0.2ms) SAVEPOINT active_record_1
61833
+ ApiUserAuth::AuthUser Update (0.3ms) UPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61835
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.8ms)
61836
+ ApiUserAuth::AuthUser Load (0.9ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 145], ["LIMIT", 1]]
61837
+  (0.1ms) ROLLBACK
61838
+  (0.2ms) BEGIN
61839
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61840
+  (0.1ms) SAVEPOINT active_record_1
61841
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61859
+  (0.1ms) SAVEPOINT active_record_1
61860
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "123456"], ["updated_at", "2018-07-27 10:41:38.983272"], ["id", 146]]
61861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61862
+ Processing by ApiUserAuth::AuthController#password as HTML
61863
+ Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
61864
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+  (0.1ms) ROLLBACK
61877
+  (0.1ms) BEGIN
61878
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61879
+  (0.1ms) SAVEPOINT active_record_1
61880
+ ApiUserAuth::AuthUser Create (0.4ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61898
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
61899
+ Parameters: {"email"=>"user@mail.com"}
61900
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61901
+  (0.1ms) SAVEPOINT active_record_1
61902
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "154621"], ["updated_at", "2018-07-27 10:41:38.996390"], ["id", 147]]
61903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ ApiUserAuth::AuthUser Load (0.9ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 147], ["LIMIT", 1]]
61923
+  (0.1ms) ROLLBACK
61924
+  (0.1ms) BEGIN
61925
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61926
+  (0.1ms) SAVEPOINT active_record_1
61927
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
61945
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
61946
+ Parameters: {"email"=>"user1@mail.com"}
61947
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user1@mail.com"], ["LIMIT", 1]]
61948
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
61949
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 148], ["LIMIT", 1]]
61950
+  (0.1ms) ROLLBACK
61951
+  (0.1ms) BEGIN
61952
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61953
+  (0.1ms) SAVEPOINT active_record_1
61954
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
61972
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
61973
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 149]]
61974
+ Processing by ApiUserAuth::AuthController#add_provider as HTML
61975
+ Parameters: {"provider"=>"google", "token"=>"token"}
61976
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "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 [["LIMIT", 1]]
61977
+  (0.1ms) SAVEPOINT active_record_1
61978
+ ApiUserAuth::ProviderToken Create (0.3ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
61980
+ Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 1.8ms)
61981
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 149]]
61982
+  (0.2ms) ROLLBACK
61983
+  (0.0ms) BEGIN
61984
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
61985
+  (0.1ms) SAVEPOINT active_record_1
61986
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62004
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62005
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62006
+ Processing by ApiUserAuth::AuthController#login as HTML
62007
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
62008
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62009
+  (0.1ms) SAVEPOINT active_record_1
62010
+ ApiUserAuth::AuthUser Update (0.3ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{ebae1b5f-e464-4bc4-a0d1-ecc45b370cf0,00c8cc66-ce51-43bd-8749-c9ca42d0af9b}"], ["updated_at", "2018-07-27 10:41:39.053107"], ["id", 150]]
62011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62012
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.7ms)
62013
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62014
+  (0.1ms) ROLLBACK
62015
+  (0.0ms) BEGIN
62016
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62017
+  (0.1ms) SAVEPOINT active_record_1
62018
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62036
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62037
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["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
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62051
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
62052
+  (0.1ms) ROLLBACK
62053
+  (0.1ms) BEGIN
62054
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
62055
+  (0.8ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62056
+  (0.1ms) SAVEPOINT active_record_1
62057
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62075
+  (0.1ms) SAVEPOINT active_record_1
62076
+ ApiUserAuth::ProviderToken Create (0.4ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62078
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
62079
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62080
+  (0.1ms) ROLLBACK
62081
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
62082
+  (0.2ms) BEGIN
62083
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62084
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62085
+  (0.2ms) SAVEPOINT active_record_1
62086
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
62104
+  (0.5ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62105
+  (0.1ms) ROLLBACK
62106
+  (0.0ms) BEGIN
62107
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62108
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62109
+  (0.1ms) ROLLBACK
62110
+  (0.1ms) BEGIN
62111
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62112
+  (0.1ms) SAVEPOINT active_record_1
62113
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62131
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62132
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62133
+ Processing by TestController#index as HTML
62134
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "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 [["LIMIT", 1]]
62135
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
62136
+  (0.2ms) ROLLBACK
62137
+  (0.1ms) BEGIN
62138
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62139
+  (0.1ms) SAVEPOINT active_record_1
62140
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.4ms) RELEASE SAVEPOINT active_record_1
62158
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "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 [["LIMIT", 1]]
62165
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
62166
+  (0.1ms) ROLLBACK
62167
+  (0.1ms) BEGIN
62168
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
62169
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62170
+  (0.1ms) SAVEPOINT active_record_1
62171
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62189
+  (0.1ms) SAVEPOINT active_record_1
62190
+ ApiUserAuth::ProviderToken Create (0.3ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62192
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
62193
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62194
+  (0.1ms) ROLLBACK
62195
+  (0.1ms) BEGIN
62196
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62197
+  (0.1ms) SAVEPOINT active_record_1
62198
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62216
+ Processing by ApiUserAuth::AuthController#logout as HTML
62217
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "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 [["LIMIT", 1]]
62218
+ Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
62219
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 157], ["LIMIT", 1]]
62220
+  (0.1ms) ROLLBACK
62221
+  (0.1ms) BEGIN
62222
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62223
+  (0.1ms) SAVEPOINT active_record_1
62224
+ ApiUserAuth::AuthUser Create (0.4ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62242
+ Processing by ApiUserAuth::AuthController#logout as HTML
62243
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "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 [["LIMIT", 1]]
62244
+  (0.1ms) SAVEPOINT active_record_1
62245
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{}"], ["updated_at", "2018-07-27 10:41:49.879980"], ["id", 158]]
62246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62247
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.7ms)
62248
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 158], ["LIMIT", 1]]
62249
+  (0.1ms) ROLLBACK
62250
+  (0.1ms) BEGIN
62251
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62252
+ Processing by ApiUserAuth::AuthController#create as HTML
62253
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
62254
+ ApiUserAuth::AuthUser Load (1.0ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62255
+  (0.1ms) SAVEPOINT active_record_1
62256
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
62274
+ Completed 201 Created in 12ms (Views: 0.1ms | ActiveRecord: 1.5ms)
62275
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62276
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62277
+  (0.2ms) ROLLBACK
62278
+  (0.1ms) BEGIN
62279
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62296
+ Processing by ApiUserAuth::AuthController#create as HTML
62297
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
62298
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62299
+  (0.1ms) SAVEPOINT active_record_1
62300
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62318
+ Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
62319
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62320
+ Processing by ApiUserAuth::AuthController#create as HTML
62321
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
62322
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62323
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.8ms)
62324
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62325
+  (0.1ms) ROLLBACK
62326
+  (0.1ms) BEGIN
62327
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62328
+ Processing by ApiUserAuth::AuthController#provider as HTML
62329
+ Parameters: {"provider"=>"google", "token"=>"token"}
62330
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
62331
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62332
+  (0.1ms) SAVEPOINT active_record_1
62333
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62351
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
62352
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62353
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62354
+ Processing by ApiUserAuth::AuthController#provider as HTML
62355
+ Parameters: {"provider"=>"google", "token"=>"token"}
62356
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
62357
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62358
+  (0.1ms) SAVEPOINT active_record_1
62359
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{d4aa6ba3-da02-4bcb-a8c5-8b60aceb06e8,bfdeda7d-fa4d-4c74-b491-8e1457507b19}"], ["updated_at", "2018-07-27 10:41:49.922259"], ["id", 161]]
62360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62361
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.4ms)
62362
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62363
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62364
+  (0.1ms) ROLLBACK
62365
+  (0.1ms) BEGIN
62366
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62379
+  (0.5ms) ROLLBACK
62380
+  (0.3ms) BEGIN
62381
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62382
+ Processing by ApiUserAuth::AuthController#provider as HTML
62383
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
62384
+ ApiUserAuth::ProviderToken Load (0.6ms) SELECT "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 [["LIMIT", 1]]
62385
+ ApiUserAuth::AuthUser Load (0.5ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62386
+  (0.3ms) SAVEPOINT active_record_1
62387
+ ApiUserAuth::AuthUser Create (0.8ms) INSERT 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" [["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
+  (0.4ms) RELEASE SAVEPOINT active_record_1
62405
+ Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 2.5ms)
62406
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62407
+ ApiUserAuth::AuthUser Load (0.6ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62408
+ Processing by ApiUserAuth::AuthController#provider as HTML
62409
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
62410
+ ApiUserAuth::ProviderToken Load (0.6ms) SELECT "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 [["LIMIT", 1]]
62411
+ ApiUserAuth::AuthUser Load (0.5ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62412
+  (0.4ms) SAVEPOINT active_record_1
62413
+ ApiUserAuth::AuthUser Update (0.8ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{d7b5c267-6e31-4b6d-bf4c-1f02bfbbc8c2,9f68955b-3f77-40f0-9cfe-92fcf3449ab8}"], ["updated_at", "2018-07-27 10:41:50.303377"], ["id", 162]]
62414
+  (0.4ms) RELEASE SAVEPOINT active_record_1
62415
+ Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 5.1ms)
62416
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62417
+ ApiUserAuth::AuthUser Load (0.7ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62418
+  (0.4ms) ROLLBACK
62419
+  (0.3ms) BEGIN
62420
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62433
+  (0.4ms) ROLLBACK
62434
+  (0.3ms) BEGIN
62435
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62448
+  (0.4ms) ROLLBACK
62449
+  (0.3ms) BEGIN
62450
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62451
+ Processing by ApiUserAuth::AuthController#provider as HTML
62452
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
62453
+ ApiUserAuth::ProviderToken Load (0.5ms) SELECT "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 [["LIMIT", 1]]
62454
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62455
+  (0.4ms) SAVEPOINT active_record_1
62456
+ ApiUserAuth::AuthUser Create (0.8ms) INSERT 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" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
62474
+ Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 2.3ms)
62475
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62476
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62477
+ Processing by ApiUserAuth::AuthController#provider as HTML
62478
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
62479
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
62480
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62481
+  (0.1ms) SAVEPOINT active_record_1
62482
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{00f95f41-2289-48ec-8c7e-2a8160ee746d,a1d8d0d0-4a4a-4057-8d7d-0e876a65b911}"], ["updated_at", "2018-07-27 10:41:51.687572"], ["id", 163]]
62483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62484
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 3.1ms)
62485
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62486
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62487
+  (0.1ms) ROLLBACK
62488
+  (0.1ms) BEGIN
62489
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62490
+  (0.1ms) SAVEPOINT active_record_1
62491
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62509
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62510
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 164]]
62511
+ Processing by ApiUserAuth::AuthController#add_provider as HTML
62512
+ Parameters: {"provider"=>"google", "token"=>"token"}
62513
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "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 [["LIMIT", 1]]
62514
+  (0.1ms) SAVEPOINT active_record_1
62515
+ ApiUserAuth::ProviderToken Create (0.2ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62517
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.7ms)
62518
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 164]]
62519
+  (0.2ms) ROLLBACK
62520
+  (0.1ms) BEGIN
62521
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62522
+  (0.1ms) SAVEPOINT active_record_1
62523
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62541
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
62542
+ Parameters: {"email"=>"user1@mail.com"}
62543
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user1@mail.com"], ["LIMIT", 1]]
62544
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
62545
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 165], ["LIMIT", 1]]
62546
+  (0.1ms) ROLLBACK
62547
+  (0.1ms) BEGIN
62548
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62549
+  (0.1ms) SAVEPOINT active_record_1
62550
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62568
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
62569
+ Parameters: {"email"=>"user@mail.com"}
62570
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62571
+  (0.1ms) SAVEPOINT active_record_1
62572
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "543812"], ["updated_at", "2018-07-27 10:41:51.713834"], ["id", 166]]
62573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 166], ["LIMIT", 1]]
62593
+  (0.1ms) ROLLBACK
62594
+  (0.1ms) BEGIN
62595
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62596
+  (0.1ms) SAVEPOINT active_record_1
62597
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62615
+  (0.1ms) SAVEPOINT active_record_1
62616
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "123456"], ["updated_at", "2018-07-27 10:41:51.730508"], ["id", 167]]
62617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62618
+ Processing by ApiUserAuth::AuthController#password as HTML
62619
+ Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
62620
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+  (0.1ms) ROLLBACK
62633
+  (0.1ms) BEGIN
62634
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62635
+  (0.1ms) SAVEPOINT active_record_1
62636
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62654
+  (0.1ms) SAVEPOINT active_record_1
62655
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "123456"], ["updated_at", "2018-07-27 10:41:51.740852"], ["id", 168]]
62656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62657
+ Processing by ApiUserAuth::AuthController#password as HTML
62658
+ Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
62659
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62660
+  (0.1ms) SAVEPOINT active_record_1
62661
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62663
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
62664
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 168], ["LIMIT", 1]]
62665
+  (0.1ms) ROLLBACK
62666
+  (0.1ms) BEGIN
62667
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62668
+  (0.1ms) SAVEPOINT active_record_1
62669
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62687
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62688
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62689
+ Processing by ApiUserAuth::AuthController#login as HTML
62690
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
62691
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62692
+  (0.2ms) SAVEPOINT active_record_1
62693
+ ApiUserAuth::AuthUser Update (0.3ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{2dcc648f-911f-4545-9928-cbe4d686f510,fc234ab3-7d8f-431b-8714-6e04382200d1}"], ["updated_at", "2018-07-27 10:41:51.752135"], ["id", 169]]
62694
+  (0.4ms) RELEASE SAVEPOINT active_record_1
62695
+ Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 1.0ms)
62696
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62697
+  (0.2ms) ROLLBACK
62698
+  (0.1ms) BEGIN
62699
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62700
+  (0.1ms) SAVEPOINT active_record_1
62701
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62719
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62720
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["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
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62734
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
62735
+  (0.1ms) ROLLBACK
62736
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
62737
+  (0.2ms) BEGIN
62738
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62739
+  (0.1ms) SAVEPOINT active_record_1
62740
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
62758
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62759
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 171]]
62760
+ Processing by ApiUserAuth::AuthController#add_provider as HTML
62761
+ Parameters: {"provider"=>"google", "token"=>"token"}
62762
+ ApiUserAuth::AuthUser Load (0.5ms) SELECT "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 [["LIMIT", 1]]
62763
+  (0.2ms) SAVEPOINT active_record_1
62764
+ ApiUserAuth::ProviderToken Create (0.3ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62766
+ Completed 200 OK in 13ms (Views: 0.1ms | ActiveRecord: 2.0ms)
62767
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 171]]
62768
+  (0.2ms) ROLLBACK
62769
+  (0.1ms) BEGIN
62770
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62771
+  (0.1ms) SAVEPOINT active_record_1
62772
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62790
+  (0.1ms) SAVEPOINT active_record_1
62791
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "123456"], ["updated_at", "2018-07-27 10:41:57.753111"], ["id", 172]]
62792
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62793
+ Processing by ApiUserAuth::AuthController#password as HTML
62794
+ Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
62795
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62796
+  (0.1ms) SAVEPOINT active_record_1
62797
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4 [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62799
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
62800
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 172], ["LIMIT", 1]]
62801
+  (0.2ms) ROLLBACK
62802
+  (0.1ms) BEGIN
62803
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62804
+  (0.1ms) SAVEPOINT active_record_1
62805
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62823
+  (0.1ms) SAVEPOINT active_record_1
62824
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "123456"], ["updated_at", "2018-07-27 10:41:57.764836"], ["id", 173]]
62825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62826
+ Processing by ApiUserAuth::AuthController#password as HTML
62827
+ Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
62828
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+  (0.2ms) ROLLBACK
62841
+  (0.1ms) BEGIN
62842
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62843
+  (0.1ms) SAVEPOINT active_record_1
62844
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
62862
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62863
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62864
+ Processing by ApiUserAuth::AuthController#login as HTML
62865
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
62866
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62867
+  (0.1ms) SAVEPOINT active_record_1
62868
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{3345d923-aa19-427b-8471-b445855efff8,edcf6e65-4ce5-49e2-9959-d9b3891f3a01}"], ["updated_at", "2018-07-27 10:41:57.780166"], ["id", 174]]
62869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62870
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms)
62871
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
62872
+  (0.1ms) ROLLBACK
62873
+  (0.1ms) BEGIN
62874
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62875
+  (0.1ms) SAVEPOINT active_record_1
62876
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62894
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
62895
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["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
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["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
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62909
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.4ms)
62910
+  (0.2ms) ROLLBACK
62911
+  (0.1ms) BEGIN
62912
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62913
+  (0.1ms) SAVEPOINT active_record_1
62914
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62932
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
62933
+ Parameters: {"email"=>"user@mail.com"}
62934
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62935
+  (0.1ms) SAVEPOINT active_record_1
62936
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "805824"], ["updated_at", "2018-07-27 10:41:57.807504"], ["id", 176]]
62937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 176], ["LIMIT", 1]]
62957
+  (0.1ms) ROLLBACK
62958
+  (0.1ms) BEGIN
62959
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62960
+  (0.1ms) SAVEPOINT active_record_1
62961
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62979
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
62980
+ Parameters: {"email"=>"user1@mail.com"}
62981
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user1@mail.com"], ["LIMIT", 1]]
62982
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
62983
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 177], ["LIMIT", 1]]
62984
+  (0.1ms) ROLLBACK
62985
+  (0.1ms) BEGIN
62986
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
62987
+  (0.1ms) SAVEPOINT active_record_1
62988
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63006
+ Processing by ApiUserAuth::AuthController#logout as HTML
63007
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "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 [["LIMIT", 1]]
63008
+ Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
63009
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 178], ["LIMIT", 1]]
63010
+  (0.1ms) ROLLBACK
63011
+  (0.1ms) BEGIN
63012
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63013
+  (0.1ms) SAVEPOINT active_record_1
63014
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
63032
+ Processing by ApiUserAuth::AuthController#logout as HTML
63033
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "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 [["LIMIT", 1]]
63034
+  (0.1ms) SAVEPOINT active_record_1
63035
+ ApiUserAuth::AuthUser Update (0.2ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{}"], ["updated_at", "2018-07-27 10:41:57.838919"], ["id", 179]]
63036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63037
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.8ms)
63038
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 179], ["LIMIT", 1]]
63039
+  (0.1ms) ROLLBACK
63040
+  (0.1ms) BEGIN
63041
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63058
+ Processing by ApiUserAuth::AuthController#create as HTML
63059
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
63060
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63061
+  (0.1ms) SAVEPOINT active_record_1
63062
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63080
+ Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
63081
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63082
+ Processing by ApiUserAuth::AuthController#create as HTML
63083
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
63084
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63085
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.7ms)
63086
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63087
+  (0.1ms) ROLLBACK
63088
+  (0.1ms) BEGIN
63089
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63090
+ Processing by ApiUserAuth::AuthController#create as HTML
63091
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
63092
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63093
+  (0.1ms) SAVEPOINT active_record_1
63094
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63112
+ Completed 201 Created in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
63113
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63114
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
63115
+  (0.1ms) ROLLBACK
63116
+  (0.1ms) BEGIN
63117
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63130
+  (0.5ms) ROLLBACK
63131
+  (0.3ms) BEGIN
63132
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63133
+ Processing by ApiUserAuth::AuthController#provider as HTML
63134
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
63135
+ ApiUserAuth::ProviderToken Load (0.6ms) SELECT "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 [["LIMIT", 1]]
63136
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63137
+  (0.3ms) SAVEPOINT active_record_1
63138
+ ApiUserAuth::AuthUser Create (0.7ms) INSERT 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" [["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
+  (0.4ms) RELEASE SAVEPOINT active_record_1
63156
+ Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 2.4ms)
63157
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63158
+ ApiUserAuth::AuthUser Load (0.6ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
63159
+ Processing by ApiUserAuth::AuthController#provider as HTML
63160
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
63161
+ ApiUserAuth::ProviderToken Load (0.5ms) SELECT "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 [["LIMIT", 1]]
63162
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63163
+  (0.2ms) SAVEPOINT active_record_1
63164
+ ApiUserAuth::AuthUser Update (0.5ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{88e4e9bd-952e-415a-b430-c2af81c43818,0eb33f2e-8975-4980-b15a-9f2d2caa4838}"], ["updated_at", "2018-07-27 10:41:58.948785"], ["id", 182]]
63165
+  (0.2ms) RELEASE SAVEPOINT active_record_1
63166
+ Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 4.2ms)
63167
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63168
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
63169
+  (0.2ms) ROLLBACK
63170
+  (0.2ms) BEGIN
63171
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63172
+ Processing by ApiUserAuth::AuthController#provider as HTML
63173
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
63174
+ ApiUserAuth::ProviderToken Load (0.3ms) SELECT "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 [["LIMIT", 1]]
63175
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63176
+  (0.1ms) SAVEPOINT active_record_1
63177
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63195
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 1.1ms)
63196
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63197
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
63198
+ Processing by ApiUserAuth::AuthController#provider as HTML
63199
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
63200
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "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 [["LIMIT", 1]]
63201
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63202
+  (0.1ms) SAVEPOINT active_record_1
63203
+ ApiUserAuth::AuthUser Update (0.3ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{1a7df885-d902-491e-ae16-0b051ea78ff7,559cc040-4c51-49b3-adca-4a0d9a566c60}"], ["updated_at", "2018-07-27 10:41:58.967757"], ["id", 183]]
63204
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63205
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.9ms)
63206
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63207
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
63208
+  (0.1ms) ROLLBACK
63209
+  (0.1ms) BEGIN
63210
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63223
+  (0.4ms) ROLLBACK
63224
+  (0.3ms) BEGIN
63225
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63226
+ Processing by ApiUserAuth::AuthController#provider as HTML
63227
+ Parameters: {"provider"=>"google", "token"=>"token"}
63228
+ ApiUserAuth::ProviderToken Load (0.5ms) SELECT "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 [["LIMIT", 1]]
63229
+ ApiUserAuth::AuthUser Load (0.5ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63230
+  (0.4ms) SAVEPOINT active_record_1
63231
+ ApiUserAuth::AuthUser Create (0.8ms) INSERT 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" [["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
+  (0.4ms) RELEASE SAVEPOINT active_record_1
63249
+ Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 2.6ms)
63250
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63251
+ ApiUserAuth::AuthUser Load (0.6ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
63252
+ Processing by ApiUserAuth::AuthController#provider as HTML
63253
+ Parameters: {"provider"=>"google", "token"=>"token"}
63254
+ ApiUserAuth::ProviderToken Load (0.5ms) SELECT "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 [["LIMIT", 1]]
63255
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63256
+  (0.3ms) SAVEPOINT active_record_1
63257
+ ApiUserAuth::AuthUser Update (0.6ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{59038a81-d46b-4ea3-b581-c2fbee195e3a,11739cc2-3038-4ec6-a9b0-9a56b1b22d7f}"], ["updated_at", "2018-07-27 10:41:59.602999"], ["id", 184]]
63258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63259
+ Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 4.4ms)
63260
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63261
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
63262
+  (0.1ms) ROLLBACK
63263
+  (0.1ms) BEGIN
63264
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63277
+  (0.4ms) ROLLBACK
63278
+  (0.3ms) BEGIN
63279
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63280
+  (0.3ms) SAVEPOINT active_record_1
63281
+ ApiUserAuth::AuthUser Create (0.8ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.4ms) RELEASE SAVEPOINT active_record_1
63299
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63300
+ ApiUserAuth::AuthUser Load (0.6ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1 [["LIMIT", 1]]
63301
+ Processing by TestController#index as HTML
63302
+ ApiUserAuth::AuthUser Load (0.8ms) SELECT "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 [["LIMIT", 1]]
63303
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.8ms)
63304
+  (0.4ms) ROLLBACK
63305
+  (0.4ms) BEGIN
63306
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63307
+  (0.2ms) SAVEPOINT active_record_1
63308
+ ApiUserAuth::AuthUser Create (0.5ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
63326
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
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
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "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 [["LIMIT", 1]]
63333
+ Completed 401 Unauthorized in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
63334
+  (0.2ms) ROLLBACK
63335
+  (0.1ms) BEGIN
63336
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63337
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63338
+  (0.1ms) ROLLBACK
63339
+  (0.1ms) BEGIN
63340
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63341
+ ApiUserAuth::AuthUser Load (0.1ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2 [["email", "user@mail.com"], ["LIMIT", 1]]
63342
+  (0.1ms) SAVEPOINT active_record_1
63343
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63361
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63362
+  (0.1ms) ROLLBACK
63363
+  (0.1ms) BEGIN
63364
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
63365
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63366
+  (0.1ms) SAVEPOINT active_record_1
63367
+ ApiUserAuth::AuthUser Create (0.2ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63385
+  (0.2ms) SAVEPOINT active_record_1
63386
+ ApiUserAuth::ProviderToken Create (0.3ms) INSERT 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" [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63388
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
63389
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
63390
+  (0.1ms) ROLLBACK