api_user_auth 0.1.5 → 0.1.6

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: 209991d6bc56fa10a8606d14e9394551bc37915333045915bf1d911840efa81e
4
- data.tar.gz: 9dbeb634d4e2c6a11c2e4fe1a0756d085264e4e6874702b58f7d9228f00c1d8d
3
+ metadata.gz: '08a8446fa629d3cf053166db6523f93427d6350cc7960e4ff2a221ad506bc32d'
4
+ data.tar.gz: 37796f8159c065853f3831049c557734a4385d519140f5e980af43c191c223ec
5
5
  SHA512:
6
- metadata.gz: cc9e776cb3ece78acacd4768fd75dcb41753178b0ab56be33d46c41bfa6c412cb179c2228fd41728aa3d5ba02b1544a0d7024dee42808fe5831019dcfcc3c928
7
- data.tar.gz: '08cc7844a7dbfa486c5139cb860b11deda175d77cd9657ea25cebd9cf8dce4bd101287200cd52649776c3d0645dbb05be2b80b61f565ec7af7f8884188672dea'
6
+ metadata.gz: 14768fbaf67800d2d91cd4e69b9311ebe9ec8e8624ad25501ed4291afe0b6d08c77e226a8fbd570c5c221902e6e5a2a4250669b19a5ddcc80ff623c5337cf6ec
7
+ data.tar.gz: 33ff1d1acf65b990e729813650a594c6c1ad02698b5ae16e641ab8a140cf166cfda7e73885fa0ae5bb5d3b5de66aecd1e183506428fab37a10e0a882d48471d8
@@ -28,7 +28,8 @@ module ApiUserAuth
28
28
 
29
29
  def user_data
30
30
  {
31
- id: @data[:id], name: @data[:name], email: @data[:email],
31
+ id: @data[:id], name: @data[:name],
32
+ email: @data[:email] || "#{@data[:id]}@facebook.com",
32
33
  provider: 'facebook',
33
34
  img_url: (@data[:picture] || {}).try(:[], :data).try(:[], :url),
34
35
  info: {
@@ -1,3 +1,3 @@
1
1
  module ApiUserAuth
2
- VERSION = '0.1.5'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
@@ -69318,3 +69318,1333 @@ Processing by ApiUserAuth::AuthController#logout as HTML
69318
69318
  Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
69319
69319
  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", 344], ["LIMIT", 1]]
69320
69320
   (0.1ms) ROLLBACK
69321
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
69322
+  (0.2ms) BEGIN
69323
+ 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]]
69324
+  (0.2ms) SAVEPOINT active_record_1
69325
+ 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", "{e4d2e543-bf45-41c7-a19d-4ba0f2adbd5b}"], ["created_at", "2018-07-27 15:00:05.801649"], ["updated_at", "2018-07-27 15:00:05.801649"]]
69326
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69327
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.5ms)
69328
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 114.4ms
69329
+ Sent mail to user@mail.com (3.0ms)
69330
+ Date: Fri, 27 Jul 2018 18:00:05 +0300
69331
+ From: support@example.com
69332
+ To: user@mail.com
69333
+ Message-ID: <5b5b3375ecf74_3779e486445249c@merkulov.mail>
69334
+ Subject: Welcome !
69335
+ Mime-Version: 1.0
69336
+ Content-Type: text/html;
69337
+ charset=UTF-8
69338
+ Content-Transfer-Encoding: 7bit
69339
+
69340
+ <h1>Welcome</h1>
69341
+ user@mail.com
69342
+  (0.2ms) RELEASE SAVEPOINT active_record_1
69343
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69344
+ 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]]
69345
+ Processing by ApiUserAuth::AuthController#login as HTML
69346
+ Parameters: {"email"=>"user@mail.com"}
69347
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69348
+ Processing by ApiUserAuth::AuthController#login as HTML
69349
+ Parameters: {"password"=>"[FILTERED]"}
69350
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69351
+ Processing by ApiUserAuth::AuthController#login as HTML
69352
+ Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
69353
+ 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]]
69354
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
69355
+ Processing by ApiUserAuth::AuthController#login as HTML
69356
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69357
+ 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]]
69358
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.5ms)
69359
+  (0.2ms) ROLLBACK
69360
+  (0.1ms) BEGIN
69361
+ 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]]
69362
+  (0.1ms) SAVEPOINT active_record_1
69363
+ 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", "{60661830-2456-47a8-968c-7c00d67c5f29}"], ["created_at", "2018-07-27 15:00:05.983981"], ["updated_at", "2018-07-27 15:00:05.983981"]]
69364
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69365
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69366
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69367
+ Sent mail to user@mail.com (0.9ms)
69368
+ Date: Fri, 27 Jul 2018 18:00:05 +0300
69369
+ From: support@example.com
69370
+ To: user@mail.com
69371
+ Message-ID: <5b5b3375f0b24_3779e48644525e4@merkulov.mail>
69372
+ Subject: Welcome !
69373
+ Mime-Version: 1.0
69374
+ Content-Type: text/html;
69375
+ charset=UTF-8
69376
+ Content-Transfer-Encoding: 7bit
69377
+
69378
+ <h1>Welcome</h1>
69379
+ user@mail.com
69380
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69381
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69382
+ 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]]
69383
+ Processing by ApiUserAuth::AuthController#login as HTML
69384
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69385
+ 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]]
69386
+  (0.1ms) SAVEPOINT active_record_1
69387
+ 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", "{60661830-2456-47a8-968c-7c00d67c5f29,3a3c1a0b-4ce7-4c6d-b476-e7a62efa43fe}"], ["updated_at", "2018-07-27 15:00:05.988882"], ["id", 346]]
69388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69389
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
69390
+ 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]]
69391
+  (0.1ms) ROLLBACK
69392
+  (0.1ms) BEGIN
69393
+ 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]]
69394
+  (0.1ms) SAVEPOINT active_record_1
69395
+ 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", "{18bff9f2-cb59-4ffb-9ffd-2af0bbb2b89e}"], ["created_at", "2018-07-27 15:00:05.992832"], ["updated_at", "2018-07-27 15:00:05.992832"]]
69396
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69397
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
69398
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
69399
+ Sent mail to user@mail.com (0.9ms)
69400
+ Date: Fri, 27 Jul 2018 18:00:05 +0300
69401
+ From: support@example.com
69402
+ To: user@mail.com
69403
+ Message-ID: <5b5b3375f2e10_3779e48644526f5@merkulov.mail>
69404
+ Subject: Welcome !
69405
+ Mime-Version: 1.0
69406
+ Content-Type: text/html;
69407
+ charset=UTF-8
69408
+ Content-Transfer-Encoding: 7bit
69409
+
69410
+ <h1>Welcome</h1>
69411
+ user@mail.com
69412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69413
+ Processing by ApiUserAuth::AuthController#logout as HTML
69414
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('18bff9f2-cb59-4ffb-9ffd-2af0bbb2b89e' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
69415
+  (0.1ms) SAVEPOINT active_record_1
69416
+ 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 15:00:05.997481"], ["id", 347]]
69417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69418
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.8ms)
69419
+ 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", 347], ["LIMIT", 1]]
69420
+  (0.1ms) ROLLBACK
69421
+  (0.1ms) BEGIN
69422
+ 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]]
69423
+  (0.1ms) SAVEPOINT active_record_1
69424
+ 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", "{3a501e70-bac8-4c44-a18d-dd3678095c4f}"], ["created_at", "2018-07-27 15:00:06.001243"], ["updated_at", "2018-07-27 15:00:06.001243"]]
69425
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69426
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69427
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
69428
+ Sent mail to user@mail.com (0.9ms)
69429
+ Date: Fri, 27 Jul 2018 18:00:06 +0300
69430
+ From: support@example.com
69431
+ To: user@mail.com
69432
+ Message-ID: <5b5b3376c4f_3779e4864452792@merkulov.mail>
69433
+ Subject: Welcome !
69434
+ Mime-Version: 1.0
69435
+ Content-Type: text/html;
69436
+ charset=UTF-8
69437
+ Content-Transfer-Encoding: 7bit
69438
+
69439
+ <h1>Welcome</h1>
69440
+ user@mail.com
69441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69442
+ Processing by ApiUserAuth::AuthController#logout as HTML
69443
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('ba5f6adb-f18e-4dd9-ba23-11d78c9fbc22' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
69444
+ Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
69445
+ 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", 348], ["LIMIT", 1]]
69446
+  (0.1ms) ROLLBACK
69447
+  (0.1ms) BEGIN
69448
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69449
+ Processing by ApiUserAuth::AuthController#provider as HTML
69450
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
69451
+ Completed 422 Unprocessable Entity in 685ms (Views: 0.4ms | ActiveRecord: 0.0ms)
69452
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69453
+ Processing by ApiUserAuth::AuthController#provider as HTML
69454
+ Parameters: {"provider"=>"instagram2", "token"=>"token"}
69455
+ Completed 422 Unprocessable Entity in 397ms (Views: 0.4ms | ActiveRecord: 0.0ms)
69456
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69457
+ Processing by ApiUserAuth::AuthController#provider as HTML
69458
+ Parameters: {"provider"=>"instagram"}
69459
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
69460
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69461
+  (0.4ms) ROLLBACK
69462
+  (0.3ms) BEGIN
69463
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69464
+ Processing by ApiUserAuth::AuthController#provider as HTML
69465
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
69466
+ ApiUserAuth::ProviderToken Load (0.8ms) 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]]
69467
+ 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]]
69468
+  (0.4ms) SAVEPOINT active_record_1
69469
+ 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", "{1f06f90a-0c41-44bd-b6c7-c498e0862bc8}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 15:00:07.124348"], ["updated_at", "2018-07-27 15:00:07.124348"]]
69470
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69471
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
69472
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.3ms
69473
+ Sent mail to user@mail.com (3.4ms)
69474
+ Date: Fri, 27 Jul 2018 18:00:07 +0300
69475
+ From: support@example.com
69476
+ To: user@mail.com
69477
+ Message-ID: <5b5b3377203c8_3779e48644528a4@merkulov.mail>
69478
+ Subject: Welcome !
69479
+ Mime-Version: 1.0
69480
+ Content-Type: text/html;
69481
+ charset=UTF-8
69482
+ Content-Transfer-Encoding: 7bit
69483
+
69484
+ <h1>Welcome</h1>
69485
+ user@mail.com
69486
+  (0.4ms) RELEASE SAVEPOINT active_record_1
69487
+ Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 5.9ms)
69488
+  (0.5ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69489
+ ApiUserAuth::AuthUser Load (0.4ms) 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]]
69490
+ Processing by ApiUserAuth::AuthController#provider as HTML
69491
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
69492
+ 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]]
69493
+ 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]]
69494
+  (0.2ms) SAVEPOINT active_record_1
69495
+ ApiUserAuth::AuthUser Update (0.4ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{1f06f90a-0c41-44bd-b6c7-c498e0862bc8,dca4c1dc-0d38-4acc-8e6b-954d810077f1}"], ["updated_at", "2018-07-27 15:00:07.142521"], ["id", 349]]
69496
+  (0.2ms) RELEASE SAVEPOINT active_record_1
69497
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 7.3ms)
69498
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69499
+ 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]]
69500
+  (0.1ms) ROLLBACK
69501
+  (0.1ms) BEGIN
69502
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69503
+ Processing by ApiUserAuth::AuthController#provider as HTML
69504
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
69505
+ Completed 422 Unprocessable Entity in 289ms (Views: 0.4ms | ActiveRecord: 0.0ms)
69506
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69507
+ Processing by ApiUserAuth::AuthController#provider as HTML
69508
+ Parameters: {"provider"=>"facebook2", "token"=>"token"}
69509
+ Completed 422 Unprocessable Entity in 301ms (Views: 0.4ms | ActiveRecord: 0.0ms)
69510
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69511
+ Processing by ApiUserAuth::AuthController#provider as HTML
69512
+ Parameters: {"provider"=>"facebook"}
69513
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
69514
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69515
+  (0.4ms) ROLLBACK
69516
+  (0.3ms) BEGIN
69517
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69518
+ Processing by ApiUserAuth::AuthController#provider as HTML
69519
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
69520
+ 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]]
69521
+ 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]]
69522
+  (0.3ms) SAVEPOINT active_record_1
69523
+ 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", "{d8e0d536-bce0-4ec5-a6b5-8704a85cc5ae}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 15:00:07.762421"], ["updated_at", "2018-07-27 15:00:07.762421"]]
69524
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69525
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
69526
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.2ms
69527
+ Sent mail to user@mail.com (3.2ms)
69528
+ Date: Fri, 27 Jul 2018 18:00:07 +0300
69529
+ From: support@example.com
69530
+ To: user@mail.com
69531
+ Message-ID: <5b5b3377bbea8_3779e4864452973@merkulov.mail>
69532
+ Subject: Welcome !
69533
+ Mime-Version: 1.0
69534
+ Content-Type: text/html;
69535
+ charset=UTF-8
69536
+ Content-Transfer-Encoding: 7bit
69537
+
69538
+ <h1>Welcome</h1>
69539
+ user@mail.com
69540
+  (0.4ms) RELEASE SAVEPOINT active_record_1
69541
+ Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 2.5ms)
69542
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69543
+ 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]]
69544
+ Processing by ApiUserAuth::AuthController#provider as HTML
69545
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
69546
+ 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]]
69547
+ 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]]
69548
+  (0.4ms) SAVEPOINT active_record_1
69549
+ 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", "{d8e0d536-bce0-4ec5-a6b5-8704a85cc5ae,adbc6ae5-ffc8-4cfd-b588-16c34fec078a}"], ["updated_at", "2018-07-27 15:00:07.784465"], ["id", 350]]
69550
+  (0.4ms) RELEASE SAVEPOINT active_record_1
69551
+ Completed 200 OK in 19ms (Views: 0.5ms | ActiveRecord: 5.0ms)
69552
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69553
+ 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]]
69554
+  (0.4ms) ROLLBACK
69555
+  (0.3ms) BEGIN
69556
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69557
+ Processing by ApiUserAuth::AuthController#provider as HTML
69558
+ Parameters: {"provider"=>"google", "token"=>"token"}
69559
+ Completed 422 Unprocessable Entity in 164ms (Views: 0.4ms | ActiveRecord: 0.0ms)
69560
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69561
+ Processing by ApiUserAuth::AuthController#provider as HTML
69562
+ Parameters: {"provider"=>"google2", "token"=>"token"}
69563
+ Completed 422 Unprocessable Entity in 167ms (Views: 0.3ms | ActiveRecord: 0.0ms)
69564
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69565
+ Processing by ApiUserAuth::AuthController#provider as HTML
69566
+ Parameters: {"provider"=>"google"}
69567
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
69568
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69569
+  (0.3ms) ROLLBACK
69570
+  (0.3ms) BEGIN
69571
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69572
+ Processing by ApiUserAuth::AuthController#provider as HTML
69573
+ Parameters: {"provider"=>"google", "token"=>"token"}
69574
+ 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]]
69575
+ 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]]
69576
+  (0.3ms) SAVEPOINT active_record_1
69577
+ 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", "{004f61c1-fe55-4d14-ba04-e9f49c157deb}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 15:00:08.162848"], ["updated_at", "2018-07-27 15:00:08.162848"]]
69578
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69579
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.2ms)
69580
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.5ms
69581
+ Sent mail to user@mail.com (3.3ms)
69582
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69583
+ From: support@example.com
69584
+ To: user@mail.com
69585
+ Message-ID: <5b5b337829a86_3779e4864453082@merkulov.mail>
69586
+ Subject: Welcome !
69587
+ Mime-Version: 1.0
69588
+ Content-Type: text/html;
69589
+ charset=UTF-8
69590
+ Content-Transfer-Encoding: 7bit
69591
+
69592
+ <h1>Welcome</h1>
69593
+ user@mail.com
69594
+  (0.4ms) RELEASE SAVEPOINT active_record_1
69595
+ Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 2.5ms)
69596
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69597
+ 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]]
69598
+ Processing by ApiUserAuth::AuthController#provider as HTML
69599
+ Parameters: {"provider"=>"google", "token"=>"token"}
69600
+ ApiUserAuth::ProviderToken Load (0.4ms) 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]]
69601
+ 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]]
69602
+  (0.3ms) SAVEPOINT active_record_1
69603
+ ApiUserAuth::AuthUser Update (0.4ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{004f61c1-fe55-4d14-ba04-e9f49c157deb,51b39241-42bf-4697-8ba8-68c301bce48e}"], ["updated_at", "2018-07-27 15:00:08.183723"], ["id", 351]]
69604
+  (0.2ms) RELEASE SAVEPOINT active_record_1
69605
+ Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 4.2ms)
69606
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69607
+ 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]]
69608
+  (0.2ms) ROLLBACK
69609
+  (0.2ms) BEGIN
69610
+ 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]]
69611
+  (0.2ms) SAVEPOINT active_record_1
69612
+ 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", "{889f2f5c-790e-4b03-a232-a1da064ca5fa}"], ["created_at", "2018-07-27 15:00:08.192034"], ["updated_at", "2018-07-27 15:00:08.192034"]]
69613
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69614
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69615
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
69616
+ Sent mail to user@mail.com (1.2ms)
69617
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69618
+ From: support@example.com
69619
+ To: user@mail.com
69620
+ Message-ID: <5b5b33782f997_3779e48644531fd@merkulov.mail>
69621
+ Subject: Welcome !
69622
+ Mime-Version: 1.0
69623
+ Content-Type: text/html;
69624
+ charset=UTF-8
69625
+ Content-Transfer-Encoding: 7bit
69626
+
69627
+ <h1>Welcome</h1>
69628
+ user@mail.com
69629
+  (0.2ms) RELEASE SAVEPOINT active_record_1
69630
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69631
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 352]]
69632
+ Processing by ApiUserAuth::AuthController#add_provider as HTML
69633
+ Parameters: {"provider"=>"google", "token"=>"token"}
69634
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('889f2f5c-790e-4b03-a232-a1da064ca5fa' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
69635
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3 [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
69636
+  (0.1ms) SAVEPOINT active_record_1
69637
+ 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", 352], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 15:00:08.213469"], ["updated_at", "2018-07-27 15:00:08.213469"]]
69638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69639
+ Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 2.0ms)
69640
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 352]]
69641
+ Processing by ApiUserAuth::AuthController#provider as HTML
69642
+ Parameters: {"provider"=>"google", "token"=>"token"}
69643
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3 [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
69644
+ 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", 352], ["LIMIT", 1]]
69645
+  (0.1ms) SAVEPOINT active_record_1
69646
+ 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", "{889f2f5c-790e-4b03-a232-a1da064ca5fa,46f375c9-6d89-4ba9-a06a-26281990d9eb}"], ["updated_at", "2018-07-27 15:00:08.217992"], ["id", 352]]
69647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69648
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 2.8ms)
69649
+  (0.2ms) ROLLBACK
69650
+  (0.1ms) BEGIN
69651
+ 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]]
69652
+  (0.0ms) SAVEPOINT active_record_1
69653
+ ApiUserAuth::AuthUser Create (0.1ms) 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", "{018608ac-b949-4ba8-901b-8fbc344f8a55}"], ["created_at", "2018-07-27 15:00:08.221289"], ["updated_at", "2018-07-27 15:00:08.221289"]]
69654
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69655
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69656
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69657
+ Sent mail to user@mail.com (0.9ms)
69658
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69659
+ From: support@example.com
69660
+ To: user@mail.com
69661
+ Message-ID: <5b5b3378367e9_3779e48644532e0@merkulov.mail>
69662
+ Subject: Welcome !
69663
+ Mime-Version: 1.0
69664
+ Content-Type: text/html;
69665
+ charset=UTF-8
69666
+ Content-Transfer-Encoding: 7bit
69667
+
69668
+ <h1>Welcome</h1>
69669
+ user@mail.com
69670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69671
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
69672
+ Parameters: {"email"=>"user@mail.com"}
69673
+ 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]]
69674
+  (0.0ms) SAVEPOINT active_record_1
69675
+ 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", "564754"], ["updated_at", "2018-07-27 15:00:08.225283"], ["id", 353]]
69676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69677
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
69678
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.2ms)
69679
+ ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 5.8ms
69680
+ Sent mail to user@mail.com (0.8ms)
69681
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69682
+ From: support@example.com
69683
+ To: user@mail.com
69684
+ Message-ID: <5b5b337839355_3779e48644533f3@merkulov.mail>
69685
+ Subject: Password Code Reset
69686
+ Mime-Version: 1.0
69687
+ Content-Type: text/html;
69688
+ charset=UTF-8
69689
+ Content-Transfer-Encoding: 7bit
69690
+
69691
+ user@mail.com
69692
+ </br>
69693
+ <strong>564754</strong>
69694
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.5ms)
69695
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 353], ["LIMIT", 1]]
69696
+  (0.1ms) ROLLBACK
69697
+  (0.1ms) BEGIN
69698
+ 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]]
69699
+  (0.1ms) SAVEPOINT active_record_1
69700
+ 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", "{bb416e58-323b-4017-8938-9f27d1bef86e}"], ["created_at", "2018-07-27 15:00:08.237864"], ["updated_at", "2018-07-27 15:00:08.237864"]]
69701
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69702
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69703
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
69704
+ Sent mail to user@mail.com (0.8ms)
69705
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69706
+ From: support@example.com
69707
+ To: user@mail.com
69708
+ Message-ID: <5b5b33783a882_3779e4864453457@merkulov.mail>
69709
+ Subject: Welcome !
69710
+ Mime-Version: 1.0
69711
+ Content-Type: text/html;
69712
+ charset=UTF-8
69713
+ Content-Transfer-Encoding: 7bit
69714
+
69715
+ <h1>Welcome</h1>
69716
+ user@mail.com
69717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69718
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
69719
+ Parameters: {"email"=>"user1@mail.com"}
69720
+ 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]]
69721
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
69722
+ 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", 354], ["LIMIT", 1]]
69723
+  (0.1ms) ROLLBACK
69724
+  (0.1ms) BEGIN
69725
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69726
+ Processing by ApiUserAuth::AuthController#create as HTML
69727
+ Parameters: {"email"=>"user@mail.com"}
69728
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69729
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69730
+ Processing by ApiUserAuth::AuthController#create as HTML
69731
+ Parameters: {"password"=>"[FILTERED]"}
69732
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69733
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69734
+ Processing by ApiUserAuth::AuthController#create as HTML
69735
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69736
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69737
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69738
+ Processing by ApiUserAuth::AuthController#create as HTML
69739
+ Parameters: {"email"=>"", "password"=>"[FILTERED]"}
69740
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69741
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69742
+ Processing by ApiUserAuth::AuthController#create as HTML
69743
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69744
+ 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]]
69745
+  (0.1ms) SAVEPOINT active_record_1
69746
+ 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", "{78603b45-fd63-49f0-923f-efa841a04ed6}"], ["created_at", "2018-07-27 15:00:08.252757"], ["updated_at", "2018-07-27 15:00:08.252757"]]
69747
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69748
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69749
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
69750
+ Sent mail to user@mail.com (0.9ms)
69751
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69752
+ From: support@example.com
69753
+ To: user@mail.com
69754
+ Message-ID: <5b5b33783e2e0_3779e48644535ef@merkulov.mail>
69755
+ Subject: Welcome !
69756
+ Mime-Version: 1.0
69757
+ Content-Type: text/html;
69758
+ charset=UTF-8
69759
+ Content-Transfer-Encoding: 7bit
69760
+
69761
+ <h1>Welcome</h1>
69762
+ user@mail.com
69763
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69764
+ Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms)
69765
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69766
+ Processing by ApiUserAuth::AuthController#create as HTML
69767
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69768
+ 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]]
69769
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.7ms)
69770
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69771
+  (0.2ms) ROLLBACK
69772
+  (0.1ms) BEGIN
69773
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69774
+ Processing by ApiUserAuth::AuthController#create as HTML
69775
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69776
+ 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]]
69777
+  (0.1ms) SAVEPOINT active_record_1
69778
+ 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", "{f7ac2392-2c81-466c-a25e-393809c4f6af}"], ["created_at", "2018-07-27 15:00:08.261105"], ["updated_at", "2018-07-27 15:00:08.261105"]]
69779
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69780
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69781
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69782
+ Sent mail to user@mail.com (0.9ms)
69783
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69784
+ From: support@example.com
69785
+ To: user@mail.com
69786
+ Message-ID: <5b5b337840360_3779e486445368c@merkulov.mail>
69787
+ Subject: Welcome !
69788
+ Mime-Version: 1.0
69789
+ Content-Type: text/html;
69790
+ charset=UTF-8
69791
+ Content-Transfer-Encoding: 7bit
69792
+
69793
+ <h1>Welcome</h1>
69794
+ user@mail.com
69795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69796
+ Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
69797
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69798
+ 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]]
69799
+  (0.1ms) ROLLBACK
69800
+  (0.1ms) BEGIN
69801
+ 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]]
69802
+  (0.1ms) SAVEPOINT active_record_1
69803
+ 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", "{e92ccf49-c7c3-49b3-ae3f-e0bf1fd8a6a6}"], ["created_at", "2018-07-27 15:00:08.266805"], ["updated_at", "2018-07-27 15:00:08.266805"]]
69804
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69805
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69806
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69807
+ Sent mail to user@mail.com (0.8ms)
69808
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69809
+ From: support@example.com
69810
+ To: user@mail.com
69811
+ Message-ID: <5b5b337841968_3779e4864453787@merkulov.mail>
69812
+ Subject: Welcome !
69813
+ Mime-Version: 1.0
69814
+ Content-Type: text/html;
69815
+ charset=UTF-8
69816
+ Content-Transfer-Encoding: 7bit
69817
+
69818
+ <h1>Welcome</h1>
69819
+ user@mail.com
69820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69821
+  (0.1ms) SAVEPOINT active_record_1
69822
+ 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 15:00:08.269686"], ["id", 357]]
69823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69824
+ Processing by ApiUserAuth::AuthController#password as HTML
69825
+ Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
69826
+ 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]]
69827
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
69828
+ Processing by ApiUserAuth::AuthController#password as HTML
69829
+ Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
69830
+ 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]]
69831
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
69832
+ Processing by ApiUserAuth::AuthController#password as HTML
69833
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69834
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
69835
+ Processing by ApiUserAuth::AuthController#password as HTML
69836
+ Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
69837
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
69838
+  (0.1ms) ROLLBACK
69839
+  (0.1ms) BEGIN
69840
+ 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]]
69841
+  (0.1ms) SAVEPOINT active_record_1
69842
+ 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", "{f49bc010-b69e-4af1-ab2f-3be906afc705}"], ["created_at", "2018-07-27 15:00:08.276676"], ["updated_at", "2018-07-27 15:00:08.276676"]]
69843
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69844
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69845
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69846
+ Sent mail to user@mail.com (0.8ms)
69847
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69848
+ From: support@example.com
69849
+ To: user@mail.com
69850
+ Message-ID: <5b5b337844014_3779e4864453869@merkulov.mail>
69851
+ Subject: Welcome !
69852
+ Mime-Version: 1.0
69853
+ Content-Type: text/html;
69854
+ charset=UTF-8
69855
+ Content-Transfer-Encoding: 7bit
69856
+
69857
+ <h1>Welcome</h1>
69858
+ user@mail.com
69859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69860
+  (0.1ms) SAVEPOINT active_record_1
69861
+ 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 15:00:08.279544"], ["id", 358]]
69862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69863
+ Processing by ApiUserAuth::AuthController#password as HTML
69864
+ Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
69865
+ 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]]
69866
+  (0.1ms) SAVEPOINT active_record_1
69867
+ 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", "{f49bc010-b69e-4af1-ab2f-3be906afc705,f0ff2f9e-1b49-43da-b817-2fa224dac563}"], ["updated_at", "2018-07-27 15:00:08.281726"], ["id", 358]]
69868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69869
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
69870
+ 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", 358], ["LIMIT", 1]]
69871
+  (0.1ms) ROLLBACK
69872
+  (0.1ms) BEGIN
69873
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
69874
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69875
+  (0.1ms) SAVEPOINT active_record_1
69876
+ 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", "c6e6249f58ffc50b4a70579aa55893b5f68b0051578b54ce83ec182931263c6b"], ["created_at", "2018-07-27 15:00:08.285778"], ["updated_at", "2018-07-27 15:00:08.285778"]]
69877
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69878
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69879
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69880
+ Sent mail to 10101010@facebook.com (1.0ms)
69881
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69882
+ From: support@example.com
69883
+ To: 10101010@facebook.com
69884
+ Message-ID: <5b5b3378463bf_3779e486445393d@merkulov.mail>
69885
+ Subject: Welcome !
69886
+ Mime-Version: 1.0
69887
+ Content-Type: text/html;
69888
+ charset=UTF-8
69889
+ Content-Transfer-Encoding: 7bit
69890
+
69891
+ <h1>Welcome</h1>
69892
+ 10101010@facebook.com
69893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69894
+ ApiUserAuth::ProviderToken Load (0.1ms) SELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3 [["provider", 0], ["user_id", "10101010"], ["LIMIT", 1]]
69895
+  (0.1ms) SAVEPOINT active_record_1
69896
+ 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", 359], ["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 15:00:08.289797"], ["updated_at", "2018-07-27 15:00:08.289797"]]
69897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69898
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
69899
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69900
+  (0.1ms) ROLLBACK
69901
+  (0.1ms) BEGIN
69902
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69903
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69904
+  (0.1ms) ROLLBACK
69905
+  (0.0ms) BEGIN
69906
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69907
+ 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]]
69908
+  (0.1ms) SAVEPOINT active_record_1
69909
+ 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", "{e2eaf89d-3164-4e10-94bf-db058cd125b5}"], ["created_at", "2018-07-27 15:00:08.296307"], ["updated_at", "2018-07-27 15:00:08.296307"]]
69910
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69911
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69912
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69913
+ Sent mail to user@mail.com (0.9ms)
69914
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69915
+ From: support@example.com
69916
+ To: user@mail.com
69917
+ Message-ID: <5b5b337848d4d_3779e4864454054@merkulov.mail>
69918
+ Subject: Welcome !
69919
+ Mime-Version: 1.0
69920
+ Content-Type: text/html;
69921
+ charset=UTF-8
69922
+ Content-Transfer-Encoding: 7bit
69923
+
69924
+ <h1>Welcome</h1>
69925
+ user@mail.com
69926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69927
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69928
+  (0.1ms) ROLLBACK
69929
+  (0.1ms) BEGIN
69930
+ 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]]
69931
+  (0.1ms) SAVEPOINT active_record_1
69932
+ 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", "{15ac3f5f-046c-42c3-be31-f95935810fb7}"], ["created_at", "2018-07-27 15:00:08.301427"], ["updated_at", "2018-07-27 15:00:08.301427"]]
69933
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69934
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69935
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69936
+ Sent mail to user@mail.com (0.9ms)
69937
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69938
+ From: support@example.com
69939
+ To: user@mail.com
69940
+ Message-ID: <5b5b33784a0be_3779e48644541ba@merkulov.mail>
69941
+ Subject: Welcome !
69942
+ Mime-Version: 1.0
69943
+ Content-Type: text/html;
69944
+ charset=UTF-8
69945
+ Content-Transfer-Encoding: 7bit
69946
+
69947
+ <h1>Welcome</h1>
69948
+ user@mail.com
69949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69950
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69951
+ Processing by TestController#index as HTML
69952
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69953
+ Processing by TestController#index as HTML
69954
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69955
+ Processing by TestController#index as HTML
69956
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('179d2452-8e22-4342-bb6b-64a4c6360b3f' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
69957
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
69958
+  (0.1ms) ROLLBACK
69959
+  (0.1ms) BEGIN
69960
+ 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]]
69961
+  (0.1ms) SAVEPOINT active_record_1
69962
+ 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", "{071488fc-2d79-4a0e-9952-b267f8a8b265}"], ["created_at", "2018-07-27 15:00:08.309887"], ["updated_at", "2018-07-27 15:00:08.309887"]]
69963
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69964
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69965
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
69966
+ Sent mail to user@mail.com (0.9ms)
69967
+ Date: Fri, 27 Jul 2018 18:00:08 +0300
69968
+ From: support@example.com
69969
+ To: user@mail.com
69970
+ Message-ID: <5b5b33784c2e0_3779e48644542f5@merkulov.mail>
69971
+ Subject: Welcome !
69972
+ Mime-Version: 1.0
69973
+ Content-Type: text/html;
69974
+ charset=UTF-8
69975
+ Content-Transfer-Encoding: 7bit
69976
+
69977
+ <h1>Welcome</h1>
69978
+ user@mail.com
69979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69980
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69981
+ 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]]
69982
+ Processing by TestController#index as HTML
69983
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('071488fc-2d79-4a0e-9952-b267f8a8b265' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
69984
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
69985
+  (0.1ms) ROLLBACK
69986
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
69987
+  (0.2ms) BEGIN
69988
+ 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]]
69989
+  (0.1ms) SAVEPOINT active_record_1
69990
+ 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", "{913cf228-e0f0-47ee-b5fe-c270db6bc80a}"], ["created_at", "2018-07-27 15:00:13.751961"], ["updated_at", "2018-07-27 15:00:13.751961"]]
69991
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69992
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.5ms)
69993
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 118.0ms
69994
+ Sent mail to user@mail.com (3.1ms)
69995
+ Date: Fri, 27 Jul 2018 18:00:13 +0300
69996
+ From: support@example.com
69997
+ To: user@mail.com
69998
+ Message-ID: <5b5b337de2d79_378eef8648898d7@merkulov.mail>
69999
+ Subject: Welcome !
70000
+ Mime-Version: 1.0
70001
+ Content-Type: text/html;
70002
+ charset=UTF-8
70003
+ Content-Transfer-Encoding: 7bit
70004
+
70005
+ <h1>Welcome</h1>
70006
+ user@mail.com
70007
+  (0.2ms) RELEASE SAVEPOINT active_record_1
70008
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70009
+ 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]]
70010
+ Processing by TestController#index as HTML
70011
+ ApiUserAuth::AuthUser Load (0.5ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('913cf228-e0f0-47ee-b5fe-c270db6bc80a' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
70012
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms)
70013
+  (0.2ms) ROLLBACK
70014
+  (0.3ms) BEGIN
70015
+ 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]]
70016
+  (0.1ms) SAVEPOINT active_record_1
70017
+ 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", "{9e509a6c-9968-42dc-b57f-cb4c54db2b4a}"], ["created_at", "2018-07-27 15:00:13.938931"], ["updated_at", "2018-07-27 15:00:13.938931"]]
70018
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70019
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70020
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
70021
+ Sent mail to user@mail.com (1.3ms)
70022
+ Date: Fri, 27 Jul 2018 18:00:13 +0300
70023
+ From: support@example.com
70024
+ To: user@mail.com
70025
+ Message-ID: <5b5b337de5da2_378eef864889923@merkulov.mail>
70026
+ Subject: Welcome !
70027
+ Mime-Version: 1.0
70028
+ Content-Type: text/html;
70029
+ charset=UTF-8
70030
+ Content-Transfer-Encoding: 7bit
70031
+
70032
+ <h1>Welcome</h1>
70033
+ user@mail.com
70034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70035
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70036
+ Processing by TestController#index as HTML
70037
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
70038
+ Processing by TestController#index as HTML
70039
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
70040
+ Processing by TestController#index as HTML
70041
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('def13f14-dab9-42e2-baee-ee6261ee3ef6' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
70042
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
70043
+  (0.2ms) ROLLBACK
70044
+  (0.1ms) BEGIN
70045
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70046
+ Processing by ApiUserAuth::AuthController#create as HTML
70047
+ Parameters: {"email"=>"user@mail.com"}
70048
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
70049
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70050
+ Processing by ApiUserAuth::AuthController#create as HTML
70051
+ Parameters: {"password"=>"[FILTERED]"}
70052
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
70053
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70054
+ Processing by ApiUserAuth::AuthController#create as HTML
70055
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
70056
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
70057
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70058
+ Processing by ApiUserAuth::AuthController#create as HTML
70059
+ Parameters: {"email"=>"", "password"=>"[FILTERED]"}
70060
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
70061
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70062
+ Processing by ApiUserAuth::AuthController#create as HTML
70063
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
70064
+ 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]]
70065
+  (0.1ms) SAVEPOINT active_record_1
70066
+ 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", "{39dee018-8ca6-40c3-a7e9-682f20dd880f}"], ["created_at", "2018-07-27 15:00:13.962850"], ["updated_at", "2018-07-27 15:00:13.962850"]]
70067
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70068
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70069
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
70070
+ Sent mail to user@mail.com (1.3ms)
70071
+ Date: Fri, 27 Jul 2018 18:00:13 +0300
70072
+ From: support@example.com
70073
+ To: user@mail.com
70074
+ Message-ID: <5b5b337debb3b_378eef864890096@merkulov.mail>
70075
+ Subject: Welcome !
70076
+ Mime-Version: 1.0
70077
+ Content-Type: text/html;
70078
+ charset=UTF-8
70079
+ Content-Transfer-Encoding: 7bit
70080
+
70081
+ <h1>Welcome</h1>
70082
+ user@mail.com
70083
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70084
+ Completed 201 Created in 5ms (Views: 0.1ms | ActiveRecord: 0.7ms)
70085
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70086
+ Processing by ApiUserAuth::AuthController#create as HTML
70087
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
70088
+ 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]]
70089
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.9ms)
70090
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70091
+  (0.1ms) ROLLBACK
70092
+  (0.1ms) BEGIN
70093
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70094
+ Processing by ApiUserAuth::AuthController#create as HTML
70095
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
70096
+ 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]]
70097
+  (0.1ms) SAVEPOINT active_record_1
70098
+ 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", "{a967d9b1-58d5-4240-9c44-dd34be657f11}"], ["created_at", "2018-07-27 15:00:13.972753"], ["updated_at", "2018-07-27 15:00:13.972753"]]
70099
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70100
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70101
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
70102
+ Sent mail to user@mail.com (1.3ms)
70103
+ Date: Fri, 27 Jul 2018 18:00:13 +0300
70104
+ From: support@example.com
70105
+ To: user@mail.com
70106
+ Message-ID: <5b5b337dee1b0_378eef864890166@merkulov.mail>
70107
+ Subject: Welcome !
70108
+ Mime-Version: 1.0
70109
+ Content-Type: text/html;
70110
+ charset=UTF-8
70111
+ Content-Transfer-Encoding: 7bit
70112
+
70113
+ <h1>Welcome</h1>
70114
+ user@mail.com
70115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70116
+ Completed 201 Created in 5ms (Views: 0.1ms | ActiveRecord: 0.5ms)
70117
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70118
+ 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]]
70119
+  (0.1ms) ROLLBACK
70120
+  (0.1ms) BEGIN
70121
+ 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]]
70122
+  (0.1ms) SAVEPOINT active_record_1
70123
+ 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", "{1ef86909-a15f-4758-998d-b1c0dcb25326}"], ["created_at", "2018-07-27 15:00:13.980126"], ["updated_at", "2018-07-27 15:00:13.980126"]]
70124
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70125
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
70126
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
70127
+ Sent mail to user@mail.com (1.3ms)
70128
+ Date: Fri, 27 Jul 2018 18:00:13 +0300
70129
+ From: support@example.com
70130
+ To: user@mail.com
70131
+ Message-ID: <5b5b337deffdc_378eef864890265@merkulov.mail>
70132
+ Subject: Welcome !
70133
+ Mime-Version: 1.0
70134
+ Content-Type: text/html;
70135
+ charset=UTF-8
70136
+ Content-Transfer-Encoding: 7bit
70137
+
70138
+ <h1>Welcome</h1>
70139
+ user@mail.com
70140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70141
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
70142
+ Parameters: {"email"=>"user@mail.com"}
70143
+ 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]]
70144
+  (0.1ms) SAVEPOINT active_record_1
70145
+ 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", "532236"], ["updated_at", "2018-07-27 15:00:13.986228"], ["id", 367]]
70146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70147
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
70148
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.3ms)
70149
+ ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 6.4ms
70150
+ Sent mail to user@mail.com (1.3ms)
70151
+ Date: Fri, 27 Jul 2018 18:00:13 +0300
70152
+ From: support@example.com
70153
+ To: user@mail.com
70154
+ Message-ID: <5b5b337df3458_378eef86489031f@merkulov.mail>
70155
+ Subject: Password Code Reset
70156
+ Mime-Version: 1.0
70157
+ Content-Type: text/html;
70158
+ charset=UTF-8
70159
+ Content-Transfer-Encoding: 7bit
70160
+
70161
+ user@mail.com
70162
+ </br>
70163
+ <strong>532236</strong>
70164
+ Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.6ms)
70165
+ 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", 367], ["LIMIT", 1]]
70166
+  (0.1ms) ROLLBACK
70167
+  (0.1ms) BEGIN
70168
+ 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]]
70169
+  (0.1ms) SAVEPOINT active_record_1
70170
+ 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", "{40c5a6f7-d954-49cb-a8ae-5c12d3b6806c}"], ["created_at", "2018-07-27 15:00:14.000757"], ["updated_at", "2018-07-27 15:00:14.000757"]]
70171
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70172
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70173
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
70174
+ Sent mail to user@mail.com (1.0ms)
70175
+ Date: Fri, 27 Jul 2018 18:00:14 +0300
70176
+ From: support@example.com
70177
+ To: user@mail.com
70178
+ Message-ID: <5b5b337eb97_378eef86489045a@merkulov.mail>
70179
+ Subject: Welcome !
70180
+ Mime-Version: 1.0
70181
+ Content-Type: text/html;
70182
+ charset=UTF-8
70183
+ Content-Transfer-Encoding: 7bit
70184
+
70185
+ <h1>Welcome</h1>
70186
+ user@mail.com
70187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70188
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
70189
+ Parameters: {"email"=>"user1@mail.com"}
70190
+ 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]]
70191
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
70192
+ 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", 368], ["LIMIT", 1]]
70193
+  (0.1ms) ROLLBACK
70194
+  (0.1ms) BEGIN
70195
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70196
+ Processing by ApiUserAuth::AuthController#provider as HTML
70197
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
70198
+ Completed 422 Unprocessable Entity in 362ms (Views: 0.4ms | ActiveRecord: 0.0ms)
70199
+  (0.8ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70200
+ Processing by ApiUserAuth::AuthController#provider as HTML
70201
+ Parameters: {"provider"=>"instagram2", "token"=>"token"}
70202
+ Completed 422 Unprocessable Entity in 396ms (Views: 0.3ms | ActiveRecord: 0.0ms)
70203
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70204
+ Processing by ApiUserAuth::AuthController#provider as HTML
70205
+ Parameters: {"provider"=>"instagram"}
70206
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
70207
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70208
+  (0.5ms) ROLLBACK
70209
+  (0.4ms) BEGIN
70210
+  (0.5ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70211
+ Processing by ApiUserAuth::AuthController#provider as HTML
70212
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
70213
+ ApiUserAuth::ProviderToken Load (0.4ms) 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]]
70214
+ 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]]
70215
+  (0.2ms) SAVEPOINT active_record_1
70216
+ 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", "{d0841ec1-555e-4949-bd89-f510ac9654a6}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 15:00:14.815770"], ["updated_at", "2018-07-27 15:00:14.815770"]]
70217
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70218
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70219
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
70220
+ Sent mail to user@mail.com (1.4ms)
70221
+ Date: Fri, 27 Jul 2018 18:00:14 +0300
70222
+ From: support@example.com
70223
+ To: user@mail.com
70224
+ Message-ID: <5b5b337ec7fbc_378eef864890584@merkulov.mail>
70225
+ Subject: Welcome !
70226
+ Mime-Version: 1.0
70227
+ Content-Type: text/html;
70228
+ charset=UTF-8
70229
+ Content-Transfer-Encoding: 7bit
70230
+
70231
+ <h1>Welcome</h1>
70232
+ user@mail.com
70233
+  (0.2ms) RELEASE SAVEPOINT active_record_1
70234
+ Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 3.1ms)
70235
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70236
+ 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]]
70237
+ Processing by ApiUserAuth::AuthController#provider as HTML
70238
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
70239
+ 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]]
70240
+ 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]]
70241
+  (0.1ms) SAVEPOINT active_record_1
70242
+ 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", "{d0841ec1-555e-4949-bd89-f510ac9654a6,6d4a3aa5-3b3c-461a-880e-51d518ca3d48}"], ["updated_at", "2018-07-27 15:00:14.824727"], ["id", 369]]
70243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70244
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 3.9ms)
70245
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70246
+ 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]]
70247
+  (0.1ms) ROLLBACK
70248
+  (0.1ms) BEGIN
70249
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70250
+ Processing by ApiUserAuth::AuthController#provider as HTML
70251
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
70252
+ 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]]
70253
+ 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]]
70254
+  (0.1ms) SAVEPOINT active_record_1
70255
+ 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", "{3e5dcb58-99e3-4eb3-a47c-67fb8e2c34a5}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 15:00:14.831571"], ["updated_at", "2018-07-27 15:00:14.831571"]]
70256
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70257
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70258
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
70259
+ Sent mail to user@mail.com (1.0ms)
70260
+ Date: Fri, 27 Jul 2018 18:00:14 +0300
70261
+ From: support@example.com
70262
+ To: user@mail.com
70263
+ Message-ID: <5b5b337ecb93f_378eef864890638@merkulov.mail>
70264
+ Subject: Welcome !
70265
+ Mime-Version: 1.0
70266
+ Content-Type: text/html;
70267
+ charset=UTF-8
70268
+ Content-Transfer-Encoding: 7bit
70269
+
70270
+ <h1>Welcome</h1>
70271
+ user@mail.com
70272
+  (0.2ms) RELEASE SAVEPOINT active_record_1
70273
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.8ms)
70274
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70275
+ 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]]
70276
+ Processing by ApiUserAuth::AuthController#provider as HTML
70277
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
70278
+ 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]]
70279
+ 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]]
70280
+  (0.1ms) SAVEPOINT active_record_1
70281
+ 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", "{3e5dcb58-99e3-4eb3-a47c-67fb8e2c34a5,973a321e-2df1-4ea4-9b8a-c8ddea016229}"], ["updated_at", "2018-07-27 15:00:14.838194"], ["id", 370]]
70282
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70283
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.5ms)
70284
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70285
+ 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]]
70286
+  (0.1ms) ROLLBACK
70287
+  (0.1ms) BEGIN
70288
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70289
+ Processing by ApiUserAuth::AuthController#provider as HTML
70290
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
70291
+ Completed 422 Unprocessable Entity in 303ms (Views: 0.4ms | ActiveRecord: 0.0ms)
70292
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70293
+ Processing by ApiUserAuth::AuthController#provider as HTML
70294
+ Parameters: {"provider"=>"facebook2", "token"=>"token"}
70295
+ Completed 422 Unprocessable Entity in 291ms (Views: 0.3ms | ActiveRecord: 0.0ms)
70296
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70297
+ Processing by ApiUserAuth::AuthController#provider as HTML
70298
+ Parameters: {"provider"=>"facebook"}
70299
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
70300
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70301
+  (0.5ms) ROLLBACK
70302
+  (0.3ms) BEGIN
70303
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70304
+ Processing by ApiUserAuth::AuthController#provider as HTML
70305
+ Parameters: {"provider"=>"google", "token"=>"token"}
70306
+ Completed 422 Unprocessable Entity in 162ms (Views: 0.2ms | ActiveRecord: 0.0ms)
70307
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70308
+ Processing by ApiUserAuth::AuthController#provider as HTML
70309
+ Parameters: {"provider"=>"google2", "token"=>"token"}
70310
+ Completed 422 Unprocessable Entity in 171ms (Views: 0.3ms | ActiveRecord: 0.0ms)
70311
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70312
+ Processing by ApiUserAuth::AuthController#provider as HTML
70313
+ Parameters: {"provider"=>"google"}
70314
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
70315
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70316
+  (0.4ms) ROLLBACK
70317
+  (0.3ms) BEGIN
70318
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70319
+ Processing by ApiUserAuth::AuthController#provider as HTML
70320
+ Parameters: {"provider"=>"google", "token"=>"token"}
70321
+ 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]]
70322
+ 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]]
70323
+  (0.3ms) SAVEPOINT active_record_1
70324
+ 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", "{5cee6013-a517-446f-a904-b71f7f354fb8}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 15:00:15.806522"], ["updated_at", "2018-07-27 15:00:15.806522"]]
70325
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70326
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
70327
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.4ms
70328
+ Sent mail to user@mail.com (3.3ms)
70329
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70330
+ From: support@example.com
70331
+ To: user@mail.com
70332
+ Message-ID: <5b5b337fc6c82_378eef86489075@merkulov.mail>
70333
+ Subject: Welcome !
70334
+ Mime-Version: 1.0
70335
+ Content-Type: text/html;
70336
+ charset=UTF-8
70337
+ Content-Transfer-Encoding: 7bit
70338
+
70339
+ <h1>Welcome</h1>
70340
+ user@mail.com
70341
+  (0.4ms) RELEASE SAVEPOINT active_record_1
70342
+ Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 2.5ms)
70343
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70344
+ 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]]
70345
+ Processing by ApiUserAuth::AuthController#provider as HTML
70346
+ Parameters: {"provider"=>"google", "token"=>"token"}
70347
+ ApiUserAuth::ProviderToken Load (0.4ms) 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]]
70348
+ 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]]
70349
+  (0.3ms) SAVEPOINT active_record_1
70350
+ 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", "{5cee6013-a517-446f-a904-b71f7f354fb8,49b89875-22e7-4df5-b246-1daff964b94d}"], ["updated_at", "2018-07-27 15:00:15.827705"], ["id", 371]]
70351
+  (0.2ms) RELEASE SAVEPOINT active_record_1
70352
+ Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 4.2ms)
70353
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70354
+ 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]]
70355
+  (0.2ms) ROLLBACK
70356
+  (0.2ms) BEGIN
70357
+ 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]]
70358
+  (0.2ms) SAVEPOINT active_record_1
70359
+ 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", "{0027c6ad-fb19-424e-adc5-e589e2bf5324}"], ["created_at", "2018-07-27 15:00:15.836047"], ["updated_at", "2018-07-27 15:00:15.836047"]]
70360
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70361
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70362
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.1ms
70363
+ Sent mail to user@mail.com (1.4ms)
70364
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70365
+ From: support@example.com
70366
+ To: user@mail.com
70367
+ Message-ID: <5b5b337fcce5c_378eef864890872@merkulov.mail>
70368
+ Subject: Welcome !
70369
+ Mime-Version: 1.0
70370
+ Content-Type: text/html;
70371
+ charset=UTF-8
70372
+ Content-Transfer-Encoding: 7bit
70373
+
70374
+ <h1>Welcome</h1>
70375
+ user@mail.com
70376
+  (0.2ms) RELEASE SAVEPOINT active_record_1
70377
+ Processing by ApiUserAuth::AuthController#logout as HTML
70378
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('0027c6ad-fb19-424e-adc5-e589e2bf5324' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
70379
+  (0.1ms) SAVEPOINT active_record_1
70380
+ 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", "{}"], ["updated_at", "2018-07-27 15:00:15.842871"], ["id", 372]]
70381
+  (0.2ms) RELEASE SAVEPOINT active_record_1
70382
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.9ms)
70383
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 372], ["LIMIT", 1]]
70384
+  (0.2ms) ROLLBACK
70385
+  (0.1ms) BEGIN
70386
+ 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]]
70387
+  (0.1ms) SAVEPOINT active_record_1
70388
+ 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", "{b673b6be-a455-4a70-a248-cd58162c359c}"], ["created_at", "2018-07-27 15:00:15.848397"], ["updated_at", "2018-07-27 15:00:15.848397"]]
70389
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70390
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70391
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
70392
+ Sent mail to user@mail.com (1.4ms)
70393
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70394
+ From: support@example.com
70395
+ To: user@mail.com
70396
+ Message-ID: <5b5b337fcfdb3_378eef864890991@merkulov.mail>
70397
+ Subject: Welcome !
70398
+ Mime-Version: 1.0
70399
+ Content-Type: text/html;
70400
+ charset=UTF-8
70401
+ Content-Transfer-Encoding: 7bit
70402
+
70403
+ <h1>Welcome</h1>
70404
+ user@mail.com
70405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
70406
+ Processing by ApiUserAuth::AuthController#logout as HTML
70407
+ ApiUserAuth::AuthUser Load (0.7ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('e878b4aa-65ab-44f2-8a2b-c3c6bcebfb11' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
70408
+ Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.7ms)
70409
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2 [["id", 373], ["LIMIT", 1]]
70410
+  (0.1ms) ROLLBACK
70411
+  (0.1ms) BEGIN
70412
+ 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]]
70413
+  (0.2ms) SAVEPOINT active_record_1
70414
+ 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", "{b28b7491-fe94-4ebe-941d-da2487ab1e70}"], ["created_at", "2018-07-27 15:00:15.859297"], ["updated_at", "2018-07-27 15:00:15.859297"]]
70415
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70416
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70417
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
70418
+ Sent mail to user@mail.com (1.5ms)
70419
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70420
+ From: support@example.com
70421
+ To: user@mail.com
70422
+ Message-ID: <5b5b337fd2885_378eef864891042@merkulov.mail>
70423
+ Subject: Welcome !
70424
+ Mime-Version: 1.0
70425
+ Content-Type: text/html;
70426
+ charset=UTF-8
70427
+ Content-Transfer-Encoding: 7bit
70428
+
70429
+ <h1>Welcome</h1>
70430
+ user@mail.com
70431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70432
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70433
+ 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]]
70434
+ Processing by ApiUserAuth::AuthController#login as HTML
70435
+ Parameters: {"email"=>"user@mail.com"}
70436
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
70437
+ Processing by ApiUserAuth::AuthController#login as HTML
70438
+ Parameters: {"password"=>"[FILTERED]"}
70439
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
70440
+ Processing by ApiUserAuth::AuthController#login as HTML
70441
+ Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
70442
+ 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]]
70443
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
70444
+ Processing by ApiUserAuth::AuthController#login as HTML
70445
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
70446
+ 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]]
70447
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
70448
+  (0.2ms) ROLLBACK
70449
+  (0.1ms) BEGIN
70450
+ 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]]
70451
+  (0.1ms) SAVEPOINT active_record_1
70452
+ 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", "{af4422e1-78aa-42f2-b9cd-da5e044fa3ec}"], ["created_at", "2018-07-27 15:00:15.873501"], ["updated_at", "2018-07-27 15:00:15.873501"]]
70453
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70454
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70455
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
70456
+ Sent mail to user@mail.com (1.0ms)
70457
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70458
+ From: support@example.com
70459
+ To: user@mail.com
70460
+ Message-ID: <5b5b337fd5d64_378eef86489115b@merkulov.mail>
70461
+ Subject: Welcome !
70462
+ Mime-Version: 1.0
70463
+ Content-Type: text/html;
70464
+ charset=UTF-8
70465
+ Content-Transfer-Encoding: 7bit
70466
+
70467
+ <h1>Welcome</h1>
70468
+ user@mail.com
70469
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70470
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70471
+ 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]]
70472
+ Processing by ApiUserAuth::AuthController#login as HTML
70473
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
70474
+ 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]]
70475
+  (0.1ms) SAVEPOINT active_record_1
70476
+ 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", "{af4422e1-78aa-42f2-b9cd-da5e044fa3ec,9daf50c7-8e93-46ec-ab35-60e3da55d500}"], ["updated_at", "2018-07-27 15:00:15.879330"], ["id", 375]]
70477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70478
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.7ms)
70479
+ 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]]
70480
+  (0.1ms) ROLLBACK
70481
+  (0.1ms) BEGIN
70482
+ 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]]
70483
+  (0.1ms) SAVEPOINT active_record_1
70484
+ 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", "{1f916d4b-3fd1-4118-b63d-418fe474f178}"], ["created_at", "2018-07-27 15:00:15.883333"], ["updated_at", "2018-07-27 15:00:15.883333"]]
70485
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70486
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70487
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
70488
+ Sent mail to user@mail.com (1.2ms)
70489
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70490
+ From: support@example.com
70491
+ To: user@mail.com
70492
+ Message-ID: <5b5b337fd8304_378eef86489125e@merkulov.mail>
70493
+ Subject: Welcome !
70494
+ Mime-Version: 1.0
70495
+ Content-Type: text/html;
70496
+ charset=UTF-8
70497
+ Content-Transfer-Encoding: 7bit
70498
+
70499
+ <h1>Welcome</h1>
70500
+ user@mail.com
70501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70502
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70503
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 376]]
70504
+ Processing by ApiUserAuth::AuthController#add_provider as HTML
70505
+ Parameters: {"provider"=>"google", "token"=>"token"}
70506
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('1f916d4b-3fd1-4118-b63d-418fe474f178' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
70507
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3 [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
70508
+  (0.1ms) SAVEPOINT active_record_1
70509
+ 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", 376], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 15:00:15.901970"], ["updated_at", "2018-07-27 15:00:15.901970"]]
70510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70511
+ Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 1.8ms)
70512
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 376]]
70513
+ Processing by ApiUserAuth::AuthController#provider as HTML
70514
+ Parameters: {"provider"=>"google", "token"=>"token"}
70515
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3 [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
70516
+ 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", 376], ["LIMIT", 1]]
70517
+  (0.2ms) SAVEPOINT active_record_1
70518
+ 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", "{1f916d4b-3fd1-4118-b63d-418fe474f178,034bbb2c-42ea-4ec4-8989-f92c03d9def1}"], ["updated_at", "2018-07-27 15:00:15.906444"], ["id", 376]]
70519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70520
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 2.7ms)
70521
+  (0.1ms) ROLLBACK
70522
+  (0.1ms) BEGIN
70523
+ 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]]
70524
+  (0.1ms) SAVEPOINT active_record_1
70525
+ 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", "{a3712962-f9b0-41e5-b0df-a8d681a346b5}"], ["created_at", "2018-07-27 15:00:15.909881"], ["updated_at", "2018-07-27 15:00:15.909881"]]
70526
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70527
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70528
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
70529
+ Sent mail to user@mail.com (0.9ms)
70530
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70531
+ From: support@example.com
70532
+ To: user@mail.com
70533
+ Message-ID: <5b5b337fde9e5_378eef864891342@merkulov.mail>
70534
+ Subject: Welcome !
70535
+ Mime-Version: 1.0
70536
+ Content-Type: text/html;
70537
+ charset=UTF-8
70538
+ Content-Transfer-Encoding: 7bit
70539
+
70540
+ <h1>Welcome</h1>
70541
+ user@mail.com
70542
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70543
+  (0.1ms) SAVEPOINT active_record_1
70544
+ 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 15:00:15.912900"], ["id", 377]]
70545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70546
+ Processing by ApiUserAuth::AuthController#password as HTML
70547
+ Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
70548
+ 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]]
70549
+  (0.1ms) SAVEPOINT active_record_1
70550
+ 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", "{a3712962-f9b0-41e5-b0df-a8d681a346b5,95e60f7a-4967-4a81-b5c1-7bab33a54066}"], ["updated_at", "2018-07-27 15:00:15.915238"], ["id", 377]]
70551
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70552
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
70553
+ 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", 377], ["LIMIT", 1]]
70554
+  (0.1ms) ROLLBACK
70555
+  (0.1ms) BEGIN
70556
+ 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]]
70557
+  (0.1ms) SAVEPOINT active_record_1
70558
+ 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", "{fd318141-0f51-4d96-8243-bf1e605ad583}"], ["created_at", "2018-07-27 15:00:15.919605"], ["updated_at", "2018-07-27 15:00:15.919605"]]
70559
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70560
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70561
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
70562
+ Sent mail to user@mail.com (0.9ms)
70563
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70564
+ From: support@example.com
70565
+ To: user@mail.com
70566
+ Message-ID: <5b5b337fe0f83_378eef864891480@merkulov.mail>
70567
+ Subject: Welcome !
70568
+ Mime-Version: 1.0
70569
+ Content-Type: text/html;
70570
+ charset=UTF-8
70571
+ Content-Transfer-Encoding: 7bit
70572
+
70573
+ <h1>Welcome</h1>
70574
+ user@mail.com
70575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70576
+  (0.1ms) SAVEPOINT active_record_1
70577
+ 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 15:00:15.922549"], ["id", 378]]
70578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70579
+ Processing by ApiUserAuth::AuthController#password as HTML
70580
+ Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
70581
+ 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]]
70582
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
70583
+ Processing by ApiUserAuth::AuthController#password as HTML
70584
+ Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
70585
+ 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]]
70586
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
70587
+ Processing by ApiUserAuth::AuthController#password as HTML
70588
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
70589
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
70590
+ Processing by ApiUserAuth::AuthController#password as HTML
70591
+ Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
70592
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
70593
+  (0.1ms) ROLLBACK
70594
+  (0.1ms) BEGIN
70595
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70596
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70597
+  (0.1ms) ROLLBACK
70598
+  (0.1ms) BEGIN
70599
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70600
+ 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]]
70601
+  (0.1ms) SAVEPOINT active_record_1
70602
+ 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", "{f889d153-9f36-4acc-acc5-4ece82d37b49}"], ["created_at", "2018-07-27 15:00:15.933532"], ["updated_at", "2018-07-27 15:00:15.933532"]]
70603
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70604
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70605
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
70606
+ Sent mail to user@mail.com (0.8ms)
70607
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70608
+ From: support@example.com
70609
+ To: user@mail.com
70610
+ Message-ID: <5b5b337fe4644_378eef8648915eb@merkulov.mail>
70611
+ Subject: Welcome !
70612
+ Mime-Version: 1.0
70613
+ Content-Type: text/html;
70614
+ charset=UTF-8
70615
+ Content-Transfer-Encoding: 7bit
70616
+
70617
+ <h1>Welcome</h1>
70618
+ user@mail.com
70619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70620
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70621
+  (0.1ms) ROLLBACK
70622
+  (0.1ms) BEGIN
70623
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
70624
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70625
+  (0.1ms) SAVEPOINT active_record_1
70626
+ 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", "1f7a54138be61917b2f6fc5eef3d29343796137d853b2e6712e84632fde9cdd0"], ["created_at", "2018-07-27 15:00:15.938748"], ["updated_at", "2018-07-27 15:00:15.938748"]]
70627
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
70628
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
70629
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
70630
+ Sent mail to 10101010@facebook.com (0.8ms)
70631
+ Date: Fri, 27 Jul 2018 18:00:15 +0300
70632
+ From: support@example.com
70633
+ To: 10101010@facebook.com
70634
+ Message-ID: <5b5b337fe5a25_378eef864891694@merkulov.mail>
70635
+ Subject: Welcome !
70636
+ Mime-Version: 1.0
70637
+ Content-Type: text/html;
70638
+ charset=UTF-8
70639
+ Content-Transfer-Encoding: 7bit
70640
+
70641
+ <h1>Welcome</h1>
70642
+ 10101010@facebook.com
70643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70644
+ ApiUserAuth::ProviderToken Load (0.2ms) SELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3 [["provider", 0], ["user_id", "10101010"], ["LIMIT", 1]]
70645
+  (0.1ms) SAVEPOINT active_record_1
70646
+ 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", 380], ["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 15:00:15.942467"], ["updated_at", "2018-07-27 15:00:15.942467"]]
70647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70648
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
70649
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
70650
+  (0.1ms) ROLLBACK