api_user_auth 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -67988,3 +67988,1333 @@ Processing by ApiUserAuth::AuthController#login as HTML
67988
67988
  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]]
67989
67989
  Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
67990
67990
   (0.2ms) ROLLBACK
67991
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
67992
+  (0.2ms) BEGIN
67993
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
67994
+ Processing by ApiUserAuth::AuthController#provider as HTML
67995
+ Parameters: {"provider"=>"google", "token"=>"token"}
67996
+ 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]]
67997
+ 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]]
67998
+  (0.1ms) SAVEPOINT active_record_1
67999
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{2da241c4-419d-4434-88c6-f367abe7508d}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 13:36:22.266316"], ["updated_at", "2018-07-27 13:36:22.266316"]]
68000
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68001
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.5ms)
68002
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 123.3ms
68003
+ Sent mail to user@mail.com (3.0ms)
68004
+ Date: Fri, 27 Jul 2018 16:36:22 +0300
68005
+ From: support@example.com
68006
+ To: user@mail.com
68007
+ Message-ID: <5b5b1fd66c744_7f958d6648367b9@merkulov.mail>
68008
+ Subject: Welcome !
68009
+ Mime-Version: 1.0
68010
+ Content-Type: text/html;
68011
+ charset=UTF-8
68012
+ Content-Transfer-Encoding: 7bit
68013
+
68014
+ <h1>Welcome</h1>
68015
+ user@mail.com
68016
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68017
+ Completed 200 OK in 190ms (Views: 0.1ms | ActiveRecord: 3.6ms)
68018
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68019
+ 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]]
68020
+ Processing by ApiUserAuth::AuthController#provider as HTML
68021
+ Parameters: {"provider"=>"google", "token"=>"token"}
68022
+ 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]]
68023
+ 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]]
68024
+  (0.1ms) SAVEPOINT active_record_1
68025
+ 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", "{2da241c4-419d-4434-88c6-f367abe7508d,a26eef56-36fb-4e0b-bae4-90e3fb8cf8d5}"], ["updated_at", "2018-07-27 13:36:22.450099"], ["id", 309]]
68026
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68027
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 4.6ms)
68028
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68029
+ 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]]
68030
+  (0.1ms) ROLLBACK
68031
+  (0.1ms) BEGIN
68032
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68033
+ Processing by ApiUserAuth::AuthController#provider as HTML
68034
+ Parameters: {"provider"=>"google", "token"=>"token"}
68035
+ Completed 422 Unprocessable Entity in 169ms (Views: 0.4ms | ActiveRecord: 0.0ms)
68036
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68037
+ Processing by ApiUserAuth::AuthController#provider as HTML
68038
+ Parameters: {"provider"=>"google2", "token"=>"token"}
68039
+ Completed 422 Unprocessable Entity in 170ms (Views: 0.3ms | ActiveRecord: 0.0ms)
68040
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68041
+ Processing by ApiUserAuth::AuthController#provider as HTML
68042
+ Parameters: {"provider"=>"google"}
68043
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
68044
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68045
+  (0.4ms) ROLLBACK
68046
+  (0.3ms) BEGIN
68047
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68048
+ Processing by ApiUserAuth::AuthController#provider as HTML
68049
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
68050
+ Completed 422 Unprocessable Entity in 303ms (Views: 0.4ms | ActiveRecord: 0.0ms)
68051
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68052
+ Processing by ApiUserAuth::AuthController#provider as HTML
68053
+ Parameters: {"provider"=>"facebook2", "token"=>"token"}
68054
+ Completed 422 Unprocessable Entity in 299ms (Views: 0.3ms | ActiveRecord: 0.0ms)
68055
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68056
+ Processing by ApiUserAuth::AuthController#provider as HTML
68057
+ Parameters: {"provider"=>"facebook"}
68058
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
68059
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68060
+  (0.4ms) ROLLBACK
68061
+  (0.3ms) BEGIN
68062
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68063
+ Processing by ApiUserAuth::AuthController#provider as HTML
68064
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
68065
+ ApiUserAuth::ProviderToken Load (0.7ms) 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]]
68066
+ ApiUserAuth::AuthUser Load (0.6ms) 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]]
68067
+  (0.4ms) SAVEPOINT active_record_1
68068
+ 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", "{56e3032d-ba1d-4bf3-9d53-37c2ef5d1d30}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 13:36:23.435776"], ["updated_at", "2018-07-27 13:36:23.435776"]]
68069
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68070
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.2ms)
68071
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.7ms
68072
+ Sent mail to user@mail.com (4.1ms)
68073
+ Date: Fri, 27 Jul 2018 16:36:23 +0300
68074
+ From: support@example.com
68075
+ To: user@mail.com
68076
+ Message-ID: <5b5b1fd76c737_7f958d664836879@merkulov.mail>
68077
+ Subject: Welcome !
68078
+ Mime-Version: 1.0
68079
+ Content-Type: text/html;
68080
+ charset=UTF-8
68081
+ Content-Transfer-Encoding: 7bit
68082
+
68083
+ <h1>Welcome</h1>
68084
+ user@mail.com
68085
+  (0.4ms) RELEASE SAVEPOINT active_record_1
68086
+ Completed 200 OK in 19ms (Views: 0.5ms | ActiveRecord: 2.8ms)
68087
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68088
+ ApiUserAuth::AuthUser Load (0.5ms) 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]]
68089
+ Processing by ApiUserAuth::AuthController#provider as HTML
68090
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
68091
+ 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]]
68092
+ 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]]
68093
+  (0.2ms) SAVEPOINT active_record_1
68094
+ 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", "{56e3032d-ba1d-4bf3-9d53-37c2ef5d1d30,0c795635-afa9-4fe2-b334-4e2a3bef2f8a}"], ["updated_at", "2018-07-27 13:36:23.457687"], ["id", 310]]
68095
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68096
+ Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 4.6ms)
68097
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68098
+ 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]]
68099
+  (0.2ms) ROLLBACK
68100
+  (0.2ms) BEGIN
68101
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68102
+ Processing by ApiUserAuth::AuthController#provider as HTML
68103
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
68104
+ 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]]
68105
+ 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]]
68106
+  (0.2ms) SAVEPOINT active_record_1
68107
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{023c2ba7-be46-453f-bbda-7f834682305f}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 13:36:23.469029"], ["updated_at", "2018-07-27 13:36:23.469029"]]
68108
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68109
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68110
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.2ms
68111
+ Sent mail to user@mail.com (1.4ms)
68112
+ Date: Fri, 27 Jul 2018 16:36:23 +0300
68113
+ From: support@example.com
68114
+ To: user@mail.com
68115
+ Message-ID: <5b5b1fd7735a9_7f958d66483699d@merkulov.mail>
68116
+ Subject: Welcome !
68117
+ Mime-Version: 1.0
68118
+ Content-Type: text/html;
68119
+ charset=UTF-8
68120
+ Content-Transfer-Encoding: 7bit
68121
+
68122
+ <h1>Welcome</h1>
68123
+ user@mail.com
68124
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68125
+ Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 1.0ms)
68126
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68127
+ 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]]
68128
+ Processing by ApiUserAuth::AuthController#provider as HTML
68129
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
68130
+ 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]]
68131
+ 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]]
68132
+  (0.1ms) SAVEPOINT active_record_1
68133
+ 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", "{023c2ba7-be46-453f-bbda-7f834682305f,5df64f03-88bd-483a-aff2-dacd894b6f00}"], ["updated_at", "2018-07-27 13:36:23.478195"], ["id", 311]]
68134
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68135
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.8ms)
68136
+  (0.4ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68137
+ 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]]
68138
+  (0.1ms) ROLLBACK
68139
+  (0.1ms) BEGIN
68140
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68141
+ Processing by ApiUserAuth::AuthController#provider as HTML
68142
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
68143
+ Completed 422 Unprocessable Entity in 391ms (Views: 0.4ms | ActiveRecord: 0.0ms)
68144
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68145
+ Processing by ApiUserAuth::AuthController#provider as HTML
68146
+ Parameters: {"provider"=>"instagram2", "token"=>"token"}
68147
+ Completed 422 Unprocessable Entity in 359ms (Views: 0.3ms | ActiveRecord: 0.0ms)
68148
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68149
+ Processing by ApiUserAuth::AuthController#provider as HTML
68150
+ Parameters: {"provider"=>"instagram"}
68151
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
68152
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68153
+  (0.4ms) ROLLBACK
68154
+  (0.3ms) BEGIN
68155
+ 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]]
68156
+  (0.3ms) SAVEPOINT active_record_1
68157
+ ApiUserAuth::AuthUser Create (0.7ms) 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", "{85de3c45-55e8-4532-8d7c-a4d88cf8324a}"], ["created_at", "2018-07-27 13:36:24.254155"], ["updated_at", "2018-07-27 13:36:24.254155"]]
68158
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68159
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
68160
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.8ms
68161
+ Sent mail to user@mail.com (4.1ms)
68162
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68163
+ From: support@example.com
68164
+ To: user@mail.com
68165
+ Message-ID: <5b5b1fd83fff0_7f958d66483707c@merkulov.mail>
68166
+ Subject: Welcome !
68167
+ Mime-Version: 1.0
68168
+ Content-Type: text/html;
68169
+ charset=UTF-8
68170
+ Content-Transfer-Encoding: 7bit
68171
+
68172
+ <h1>Welcome</h1>
68173
+ user@mail.com
68174
+  (0.4ms) RELEASE SAVEPOINT active_record_1
68175
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68176
+ ApiUserAuth::AuthUser Load (0.5ms) 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]]
68177
+ Processing by ApiUserAuth::AuthController#login as HTML
68178
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
68179
+ 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]]
68180
+  (0.3ms) SAVEPOINT active_record_1
68181
+ ApiUserAuth::AuthUser Update (0.6ms) UPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["auth_tokens", "{85de3c45-55e8-4532-8d7c-a4d88cf8324a,313af2c2-db9a-4f85-b776-988806b5d6f9}"], ["updated_at", "2018-07-27 13:36:24.275141"], ["id", 312]]
68182
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68183
+ Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.6ms)
68184
+ 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]]
68185
+  (0.3ms) ROLLBACK
68186
+  (0.2ms) BEGIN
68187
+ 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]]
68188
+  (0.1ms) SAVEPOINT active_record_1
68189
+ 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", "{c7826c6a-ddd2-448b-895e-80d4a92125c1}"], ["created_at", "2018-07-27 13:36:24.284655"], ["updated_at", "2018-07-27 13:36:24.284655"]]
68190
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68191
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68192
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.3ms
68193
+ Sent mail to user@mail.com (1.9ms)
68194
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68195
+ From: support@example.com
68196
+ To: user@mail.com
68197
+ Message-ID: <5b5b1fd8467de_7f958d6648371f2@merkulov.mail>
68198
+ Subject: Welcome !
68199
+ Mime-Version: 1.0
68200
+ Content-Type: text/html;
68201
+ charset=UTF-8
68202
+ Content-Transfer-Encoding: 7bit
68203
+
68204
+ <h1>Welcome</h1>
68205
+ user@mail.com
68206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68207
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68208
+ 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]]
68209
+ Processing by ApiUserAuth::AuthController#login as HTML
68210
+ Parameters: {"email"=>"user@mail.com"}
68211
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68212
+ Processing by ApiUserAuth::AuthController#login as HTML
68213
+ Parameters: {"password"=>"[FILTERED]"}
68214
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68215
+ Processing by ApiUserAuth::AuthController#login as HTML
68216
+ Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
68217
+ 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]]
68218
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
68219
+ Processing by ApiUserAuth::AuthController#login as HTML
68220
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
68221
+ 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]]
68222
+ Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.4ms)
68223
+  (0.2ms) ROLLBACK
68224
+  (0.1ms) BEGIN
68225
+ 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]]
68226
+  (0.1ms) SAVEPOINT active_record_1
68227
+ 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", "{983287f2-deed-45a5-b79c-892ef150a340}"], ["created_at", "2018-07-27 13:36:24.300303"], ["updated_at", "2018-07-27 13:36:24.300303"]]
68228
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68229
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68230
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
68231
+ Sent mail to user@mail.com (1.3ms)
68232
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68233
+ From: support@example.com
68234
+ To: user@mail.com
68235
+ Message-ID: <5b5b1fd849fd1_7f958d66483726e@merkulov.mail>
68236
+ Subject: Welcome !
68237
+ Mime-Version: 1.0
68238
+ Content-Type: text/html;
68239
+ charset=UTF-8
68240
+ Content-Transfer-Encoding: 7bit
68241
+
68242
+ <h1>Welcome</h1>
68243
+ user@mail.com
68244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68245
+  (0.1ms) SAVEPOINT active_record_1
68246
+ 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 13:36:24.304451"], ["id", 314]]
68247
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68248
+ Processing by ApiUserAuth::AuthController#password as HTML
68249
+ Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
68250
+ 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]]
68251
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
68252
+ Processing by ApiUserAuth::AuthController#password as HTML
68253
+ Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
68254
+ 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]]
68255
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
68256
+ Processing by ApiUserAuth::AuthController#password as HTML
68257
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
68258
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.3ms | ActiveRecord: 0.4ms)
68259
+ Processing by ApiUserAuth::AuthController#password as HTML
68260
+ Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
68261
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.4ms)
68262
+  (0.2ms) ROLLBACK
68263
+  (0.1ms) BEGIN
68264
+ 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]]
68265
+  (0.1ms) SAVEPOINT active_record_1
68266
+ 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", "{0ada209e-c824-48dd-9c91-9c5eb6911482}"], ["created_at", "2018-07-27 13:36:24.313358"], ["updated_at", "2018-07-27 13:36:24.313358"]]
68267
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68268
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68269
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
68270
+ Sent mail to user@mail.com (1.2ms)
68271
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68272
+ From: support@example.com
68273
+ To: user@mail.com
68274
+ Message-ID: <5b5b1fd84d0dc_7f958d66483734d@merkulov.mail>
68275
+ Subject: Welcome !
68276
+ Mime-Version: 1.0
68277
+ Content-Type: text/html;
68278
+ charset=UTF-8
68279
+ Content-Transfer-Encoding: 7bit
68280
+
68281
+ <h1>Welcome</h1>
68282
+ user@mail.com
68283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68284
+  (0.1ms) SAVEPOINT active_record_1
68285
+ ApiUserAuth::AuthUser Update (0.3ms) UPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3 [["code", "123456"], ["updated_at", "2018-07-27 13:36:24.316812"], ["id", 315]]
68286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68287
+ Processing by ApiUserAuth::AuthController#password as HTML
68288
+ Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
68289
+ 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]]
68290
+  (0.1ms) SAVEPOINT active_record_1
68291
+ 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", "{0ada209e-c824-48dd-9c91-9c5eb6911482,b676660a-9cc5-473d-babe-8676d4bf341a}"], ["updated_at", "2018-07-27 13:36:24.319568"], ["id", 315]]
68292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68293
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
68294
+ 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", 315], ["LIMIT", 1]]
68295
+  (0.2ms) ROLLBACK
68296
+  (0.1ms) BEGIN
68297
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68298
+ Processing by ApiUserAuth::AuthController#create as HTML
68299
+ Parameters: {"email"=>"user@mail.com"}
68300
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68301
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68302
+ Processing by ApiUserAuth::AuthController#create as HTML
68303
+ Parameters: {"password"=>"[FILTERED]"}
68304
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68305
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68306
+ Processing by ApiUserAuth::AuthController#create as HTML
68307
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
68308
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68309
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68310
+ Processing by ApiUserAuth::AuthController#create as HTML
68311
+ Parameters: {"email"=>"", "password"=>"[FILTERED]"}
68312
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68313
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68314
+ Processing by ApiUserAuth::AuthController#create as HTML
68315
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
68316
+ 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]]
68317
+  (0.1ms) SAVEPOINT active_record_1
68318
+ 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", "{bd9e538d-ac80-42f7-aa14-0dbad431a9f2}"], ["created_at", "2018-07-27 13:36:24.333465"], ["updated_at", "2018-07-27 13:36:24.333465"]]
68319
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68320
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68321
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
68322
+ Sent mail to user@mail.com (1.1ms)
68323
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68324
+ From: support@example.com
68325
+ To: user@mail.com
68326
+ Message-ID: <5b5b1fd852009_7f958d6648374ef@merkulov.mail>
68327
+ Subject: Welcome !
68328
+ Mime-Version: 1.0
68329
+ Content-Type: text/html;
68330
+ charset=UTF-8
68331
+ Content-Transfer-Encoding: 7bit
68332
+
68333
+ <h1>Welcome</h1>
68334
+ user@mail.com
68335
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68336
+ Completed 201 Created in 5ms (Views: 0.1ms | ActiveRecord: 0.6ms)
68337
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68338
+ Processing by ApiUserAuth::AuthController#create as HTML
68339
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
68340
+ 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]]
68341
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.8ms)
68342
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68343
+  (0.2ms) ROLLBACK
68344
+  (0.1ms) BEGIN
68345
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68346
+ Processing by ApiUserAuth::AuthController#create as HTML
68347
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
68348
+ 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]]
68349
+  (0.1ms) SAVEPOINT active_record_1
68350
+ 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", "{d653745d-919e-4367-a7dd-1bfc71d258e0}"], ["created_at", "2018-07-27 13:36:24.351315"], ["updated_at", "2018-07-27 13:36:24.351315"]]
68351
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68352
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68353
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
68354
+ Sent mail to user@mail.com (0.8ms)
68355
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68356
+ From: support@example.com
68357
+ To: user@mail.com
68358
+ Message-ID: <5b5b1fd8563f1_7f958d6648375fa@merkulov.mail>
68359
+ Subject: Welcome !
68360
+ Mime-Version: 1.0
68361
+ Content-Type: text/html;
68362
+ charset=UTF-8
68363
+ Content-Transfer-Encoding: 7bit
68364
+
68365
+ <h1>Welcome</h1>
68366
+ user@mail.com
68367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68368
+ Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
68369
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68370
+ 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]]
68371
+  (0.2ms) ROLLBACK
68372
+  (0.1ms) BEGIN
68373
+ 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]]
68374
+  (0.1ms) SAVEPOINT active_record_1
68375
+ 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", "{ee37d5b6-1afc-4e13-9d58-922b962cc57e}"], ["created_at", "2018-07-27 13:36:24.357658"], ["updated_at", "2018-07-27 13:36:24.357658"]]
68376
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68377
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
68378
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
68379
+ Sent mail to user@mail.com (0.9ms)
68380
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68381
+ From: support@example.com
68382
+ To: user@mail.com
68383
+ Message-ID: <5b5b1fd857ca1_7f958d664837657@merkulov.mail>
68384
+ Subject: Welcome !
68385
+ Mime-Version: 1.0
68386
+ Content-Type: text/html;
68387
+ charset=UTF-8
68388
+ Content-Transfer-Encoding: 7bit
68389
+
68390
+ <h1>Welcome</h1>
68391
+ user@mail.com
68392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68393
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68394
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 318]]
68395
+ Processing by ApiUserAuth::AuthController#add_provider as HTML
68396
+ Parameters: {"provider"=>"google", "token"=>"token"}
68397
+ ApiUserAuth::AuthUser Load (0.4ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('ee37d5b6-1afc-4e13-9d58-922b962cc57e' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
68398
+ 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]]
68399
+  (0.1ms) SAVEPOINT active_record_1
68400
+ 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", 318], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 13:36:24.376037"], ["updated_at", "2018-07-27 13:36:24.376037"]]
68401
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68402
+ Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 2.2ms)
68403
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 318]]
68404
+ Processing by ApiUserAuth::AuthController#provider as HTML
68405
+ Parameters: {"provider"=>"google", "token"=>"token"}
68406
+ 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]]
68407
+ 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", 318], ["LIMIT", 1]]
68408
+  (0.1ms) SAVEPOINT active_record_1
68409
+ 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", "{ee37d5b6-1afc-4e13-9d58-922b962cc57e,ea9f842f-f585-4d43-ba80-d1560bb8938e}"], ["updated_at", "2018-07-27 13:36:24.380560"], ["id", 318]]
68410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68411
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 3.1ms)
68412
+  (0.2ms) ROLLBACK
68413
+  (0.1ms) BEGIN
68414
+ 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]]
68415
+  (0.1ms) SAVEPOINT active_record_1
68416
+ 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", "{915b53a3-7f0b-4e33-b031-f704a79b1ebf}"], ["created_at", "2018-07-27 13:36:24.390009"], ["updated_at", "2018-07-27 13:36:24.390009"]]
68417
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68418
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68419
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
68420
+ Sent mail to user@mail.com (0.9ms)
68421
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68422
+ From: support@example.com
68423
+ To: user@mail.com
68424
+ Message-ID: <5b5b1fd85fb39_7f958d6648377de@merkulov.mail>
68425
+ Subject: Welcome !
68426
+ Mime-Version: 1.0
68427
+ Content-Type: text/html;
68428
+ charset=UTF-8
68429
+ Content-Transfer-Encoding: 7bit
68430
+
68431
+ <h1>Welcome</h1>
68432
+ user@mail.com
68433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68434
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
68435
+ Parameters: {"email"=>"user1@mail.com"}
68436
+ 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]]
68437
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
68438
+ 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", 319], ["LIMIT", 1]]
68439
+  (0.1ms) ROLLBACK
68440
+  (0.1ms) BEGIN
68441
+ 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]]
68442
+  (0.1ms) SAVEPOINT active_record_1
68443
+ 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", "{40fb2616-1ea2-417a-8ff7-82274e1b0a00}"], ["created_at", "2018-07-27 13:36:24.396643"], ["updated_at", "2018-07-27 13:36:24.396643"]]
68444
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68445
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68446
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
68447
+ Sent mail to user@mail.com (1.0ms)
68448
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68449
+ From: support@example.com
68450
+ To: user@mail.com
68451
+ Message-ID: <5b5b1fd8614b6_7f958d664837845@merkulov.mail>
68452
+ Subject: Welcome !
68453
+ Mime-Version: 1.0
68454
+ Content-Type: text/html;
68455
+ charset=UTF-8
68456
+ Content-Transfer-Encoding: 7bit
68457
+
68458
+ <h1>Welcome</h1>
68459
+ user@mail.com
68460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68461
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
68462
+ Parameters: {"email"=>"user@mail.com"}
68463
+ 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]]
68464
+  (0.1ms) SAVEPOINT active_record_1
68465
+ 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", "347585"], ["updated_at", "2018-07-27 13:36:24.401050"], ["id", 320]]
68466
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68467
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
68468
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.3ms)
68469
+ ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 6.0ms
68470
+ Sent mail to user@mail.com (0.9ms)
68471
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68472
+ From: support@example.com
68473
+ To: user@mail.com
68474
+ Message-ID: <5b5b1fd86439b_7f958d66483794d@merkulov.mail>
68475
+ Subject: Password Code Reset
68476
+ Mime-Version: 1.0
68477
+ Content-Type: text/html;
68478
+ charset=UTF-8
68479
+ Content-Transfer-Encoding: 7bit
68480
+
68481
+ user@mail.com
68482
+ </br>
68483
+ <strong>347585</strong>
68484
+ Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.7ms)
68485
+ 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", 320], ["LIMIT", 1]]
68486
+  (0.1ms) ROLLBACK
68487
+  (0.1ms) BEGIN
68488
+ 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]]
68489
+  (0.1ms) SAVEPOINT active_record_1
68490
+ 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", "{7affad40-4fce-4c05-94e8-40ff0acd7550}"], ["created_at", "2018-07-27 13:36:24.414399"], ["updated_at", "2018-07-27 13:36:24.414399"]]
68491
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68492
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68493
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
68494
+ Sent mail to user@mail.com (0.9ms)
68495
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68496
+ From: support@example.com
68497
+ To: user@mail.com
68498
+ Message-ID: <5b5b1fd865aab_7f958d664838098@merkulov.mail>
68499
+ Subject: Welcome !
68500
+ Mime-Version: 1.0
68501
+ Content-Type: text/html;
68502
+ charset=UTF-8
68503
+ Content-Transfer-Encoding: 7bit
68504
+
68505
+ <h1>Welcome</h1>
68506
+ user@mail.com
68507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68508
+ Processing by ApiUserAuth::AuthController#logout as HTML
68509
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('8fdc6ab3-1705-4eee-947e-39dbde61ad1d' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
68510
+ Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
68511
+ 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", 321], ["LIMIT", 1]]
68512
+  (0.2ms) ROLLBACK
68513
+  (0.1ms) BEGIN
68514
+ 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]]
68515
+  (0.1ms) SAVEPOINT active_record_1
68516
+ 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", "{1daa5aa4-866a-447a-82ec-8a9d168a4faf}"], ["created_at", "2018-07-27 13:36:24.421260"], ["updated_at", "2018-07-27 13:36:24.421260"]]
68517
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68518
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68519
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
68520
+ Sent mail to user@mail.com (0.9ms)
68521
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68522
+ From: support@example.com
68523
+ To: user@mail.com
68524
+ Message-ID: <5b5b1fd86753d_7f958d664838158@merkulov.mail>
68525
+ Subject: Welcome !
68526
+ Mime-Version: 1.0
68527
+ Content-Type: text/html;
68528
+ charset=UTF-8
68529
+ Content-Transfer-Encoding: 7bit
68530
+
68531
+ <h1>Welcome</h1>
68532
+ user@mail.com
68533
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68534
+ Processing by ApiUserAuth::AuthController#logout as HTML
68535
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('1daa5aa4-866a-447a-82ec-8a9d168a4faf' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
68536
+  (0.1ms) SAVEPOINT active_record_1
68537
+ 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 13:36:24.425594"], ["id", 322]]
68538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68539
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
68540
+ 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", 322], ["LIMIT", 1]]
68541
+  (0.1ms) ROLLBACK
68542
+  (0.1ms) BEGIN
68543
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68544
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68545
+  (0.1ms) ROLLBACK
68546
+  (0.1ms) BEGIN
68547
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68548
+ 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]]
68549
+  (0.1ms) SAVEPOINT active_record_1
68550
+ 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", "{523fe4c0-c157-4f27-9318-0dffef4e1501}"], ["created_at", "2018-07-27 13:36:24.432179"], ["updated_at", "2018-07-27 13:36:24.432179"]]
68551
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68552
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68553
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
68554
+ Sent mail to user@mail.com (0.9ms)
68555
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68556
+ From: support@example.com
68557
+ To: user@mail.com
68558
+ Message-ID: <5b5b1fd86a174_7f958d6648382dd@merkulov.mail>
68559
+ Subject: Welcome !
68560
+ Mime-Version: 1.0
68561
+ Content-Type: text/html;
68562
+ charset=UTF-8
68563
+ Content-Transfer-Encoding: 7bit
68564
+
68565
+ <h1>Welcome</h1>
68566
+ user@mail.com
68567
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68568
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68569
+  (0.1ms) ROLLBACK
68570
+  (0.1ms) BEGIN
68571
+ 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]]
68572
+  (0.1ms) SAVEPOINT active_record_1
68573
+ 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", "{720345ff-758b-487b-af7f-4d9d6b68cf45}"], ["created_at", "2018-07-27 13:36:24.437971"], ["updated_at", "2018-07-27 13:36:24.437971"]]
68574
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68575
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68576
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
68577
+ Sent mail to user@mail.com (0.9ms)
68578
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68579
+ From: support@example.com
68580
+ To: user@mail.com
68581
+ Message-ID: <5b5b1fd86b6a4_7f958d664838363@merkulov.mail>
68582
+ Subject: Welcome !
68583
+ Mime-Version: 1.0
68584
+ Content-Type: text/html;
68585
+ charset=UTF-8
68586
+ Content-Transfer-Encoding: 7bit
68587
+
68588
+ <h1>Welcome</h1>
68589
+ user@mail.com
68590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68591
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68592
+ 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]]
68593
+ Processing by TestController#index as HTML
68594
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('720345ff-758b-487b-af7f-4d9d6b68cf45' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
68595
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
68596
+  (0.1ms) ROLLBACK
68597
+  (0.1ms) BEGIN
68598
+ 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]]
68599
+  (0.0ms) SAVEPOINT active_record_1
68600
+ 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", "{707fa8cb-ffbb-4f30-bcfe-c00253a0b6ab}"], ["created_at", "2018-07-27 13:36:24.445275"], ["updated_at", "2018-07-27 13:36:24.445275"]]
68601
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68602
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68603
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
68604
+ Sent mail to user@mail.com (1.1ms)
68605
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68606
+ From: support@example.com
68607
+ To: user@mail.com
68608
+ Message-ID: <5b5b1fd86d2e4_7f958d664838416@merkulov.mail>
68609
+ Subject: Welcome !
68610
+ Mime-Version: 1.0
68611
+ Content-Type: text/html;
68612
+ charset=UTF-8
68613
+ Content-Transfer-Encoding: 7bit
68614
+
68615
+ <h1>Welcome</h1>
68616
+ user@mail.com
68617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68618
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68619
+ Processing by TestController#index as HTML
68620
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68621
+ Processing by TestController#index as HTML
68622
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68623
+ Processing by TestController#index as HTML
68624
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('6aac4ca8-ab45-40f7-aa49-b6716a6d631a' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
68625
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
68626
+  (0.1ms) ROLLBACK
68627
+  (0.1ms) BEGIN
68628
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
68629
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68630
+  (0.1ms) SAVEPOINT active_record_1
68631
+ 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", "18b331aa30c9b4042df27da1a431c16ff61b0b7f1c4d10c581a58fa4e7f0d490"], ["created_at", "2018-07-27 13:36:24.453531"], ["updated_at", "2018-07-27 13:36:24.453531"]]
68632
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68633
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68634
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
68635
+ Sent mail to 10101010@facebook.com (0.9ms)
68636
+ Date: Fri, 27 Jul 2018 16:36:24 +0300
68637
+ From: support@example.com
68638
+ To: 10101010@facebook.com
68639
+ Message-ID: <5b5b1fd86f2d0_7f958d66483856b@merkulov.mail>
68640
+ Subject: Welcome !
68641
+ Mime-Version: 1.0
68642
+ Content-Type: text/html;
68643
+ charset=UTF-8
68644
+ Content-Transfer-Encoding: 7bit
68645
+
68646
+ <h1>Welcome</h1>
68647
+ 10101010@facebook.com
68648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68649
+ 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]]
68650
+  (0.1ms) SAVEPOINT active_record_1
68651
+ 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", 326], ["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 13:36:24.457271"], ["updated_at", "2018-07-27 13:36:24.457271"]]
68652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68653
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
68654
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68655
+  (0.1ms) ROLLBACK
68656
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
68657
+  (0.2ms) BEGIN
68658
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68659
+ 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]]
68660
+  (0.2ms) SAVEPOINT active_record_1
68661
+ 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", "{723eec4a-27f7-4555-afa9-fd1008925c4b}"], ["created_at", "2018-07-27 13:37:16.461295"], ["updated_at", "2018-07-27 13:37:16.461295"]]
68662
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68663
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.5ms)
68664
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 119.2ms
68665
+ Sent mail to user@mail.com (3.2ms)
68666
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68667
+ From: support@example.com
68668
+ To: user@mail.com
68669
+ Message-ID: <5b5b200c9c2f6_17b57a6482992a@merkulov.mail>
68670
+ Subject: Welcome !
68671
+ Mime-Version: 1.0
68672
+ Content-Type: text/html;
68673
+ charset=UTF-8
68674
+ Content-Transfer-Encoding: 7bit
68675
+
68676
+ <h1>Welcome</h1>
68677
+ user@mail.com
68678
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68679
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68680
+  (0.2ms) ROLLBACK
68681
+  (0.1ms) BEGIN
68682
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68683
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68684
+  (0.1ms) ROLLBACK
68685
+  (0.1ms) BEGIN
68686
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
68687
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68688
+  (0.1ms) SAVEPOINT active_record_1
68689
+ 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", "ae8ccc909f9f7778cdfca56052a4249a579e5da65bd4671ef2d5e58746a9e8e9"], ["created_at", "2018-07-27 13:37:16.653338"], ["updated_at", "2018-07-27 13:37:16.653338"]]
68690
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68691
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68692
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
68693
+ Sent mail to 10101010@facebook.com (1.3ms)
68694
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68695
+ From: support@example.com
68696
+ To: 10101010@facebook.com
68697
+ Message-ID: <5b5b200ca02d6_17b57a6483007d@merkulov.mail>
68698
+ Subject: Welcome !
68699
+ Mime-Version: 1.0
68700
+ Content-Type: text/html;
68701
+ charset=UTF-8
68702
+ Content-Transfer-Encoding: 7bit
68703
+
68704
+ <h1>Welcome</h1>
68705
+ 10101010@facebook.com
68706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68707
+ 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]]
68708
+  (0.1ms) SAVEPOINT active_record_1
68709
+ 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", 328], ["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 13:37:16.673398"], ["updated_at", "2018-07-27 13:37:16.673398"]]
68710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68711
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens"
68712
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68713
+  (0.2ms) ROLLBACK
68714
+  (0.1ms) BEGIN
68715
+ 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]]
68716
+  (0.1ms) SAVEPOINT active_record_1
68717
+ 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", "{9f73156c-a088-49d0-ad29-be3919200daf}"], ["created_at", "2018-07-27 13:37:16.680100"], ["updated_at", "2018-07-27 13:37:16.680100"]]
68718
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68719
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68720
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
68721
+ Sent mail to user@mail.com (1.3ms)
68722
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68723
+ From: support@example.com
68724
+ To: user@mail.com
68725
+ Message-ID: <5b5b200ca6ad0_17b57a6483013e@merkulov.mail>
68726
+ Subject: Welcome !
68727
+ Mime-Version: 1.0
68728
+ Content-Type: text/html;
68729
+ charset=UTF-8
68730
+ Content-Transfer-Encoding: 7bit
68731
+
68732
+ <h1>Welcome</h1>
68733
+ user@mail.com
68734
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68735
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68736
+ 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]]
68737
+ Processing by TestController#index as HTML
68738
+ ApiUserAuth::AuthUser Load (0.5ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('9f73156c-a088-49d0-ad29-be3919200daf' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
68739
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.5ms)
68740
+  (0.2ms) ROLLBACK
68741
+  (0.1ms) BEGIN
68742
+ 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]]
68743
+  (0.1ms) SAVEPOINT active_record_1
68744
+ 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", "{bb2bf682-70bc-49e5-a92f-1f0b4d7f0ada}"], ["created_at", "2018-07-27 13:37:16.690558"], ["updated_at", "2018-07-27 13:37:16.690558"]]
68745
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68746
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68747
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
68748
+ Sent mail to user@mail.com (1.5ms)
68749
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68750
+ From: support@example.com
68751
+ To: user@mail.com
68752
+ Message-ID: <5b5b200ca9294_17b57a648302e0@merkulov.mail>
68753
+ Subject: Welcome !
68754
+ Mime-Version: 1.0
68755
+ Content-Type: text/html;
68756
+ charset=UTF-8
68757
+ Content-Transfer-Encoding: 7bit
68758
+
68759
+ <h1>Welcome</h1>
68760
+ user@mail.com
68761
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68762
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68763
+ Processing by TestController#index as HTML
68764
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68765
+ Processing by TestController#index as HTML
68766
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68767
+ Processing by TestController#index as HTML
68768
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('dc236c4c-9567-47e8-b824-a35925b98666' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
68769
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
68770
+  (0.1ms) ROLLBACK
68771
+  (0.1ms) BEGIN
68772
+ 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]]
68773
+  (0.1ms) SAVEPOINT active_record_1
68774
+ 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", "{43cbbc3c-dbe6-4037-a8b0-341e5d51834b}"], ["created_at", "2018-07-27 13:37:16.700848"], ["updated_at", "2018-07-27 13:37:16.700848"]]
68775
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68776
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68777
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
68778
+ Sent mail to user@mail.com (1.3ms)
68779
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68780
+ From: support@example.com
68781
+ To: user@mail.com
68782
+ Message-ID: <5b5b200cabb4e_17b57a6483031d@merkulov.mail>
68783
+ Subject: Welcome !
68784
+ Mime-Version: 1.0
68785
+ Content-Type: text/html;
68786
+ charset=UTF-8
68787
+ Content-Transfer-Encoding: 7bit
68788
+
68789
+ <h1>Welcome</h1>
68790
+ user@mail.com
68791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68792
+  (0.1ms) SAVEPOINT active_record_1
68793
+ 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 13:37:16.704577"], ["id", 331]]
68794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68795
+ Processing by ApiUserAuth::AuthController#password as HTML
68796
+ Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
68797
+ 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]]
68798
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
68799
+ Processing by ApiUserAuth::AuthController#password as HTML
68800
+ Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
68801
+ 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]]
68802
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
68803
+ Processing by ApiUserAuth::AuthController#password as HTML
68804
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
68805
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.4ms)
68806
+ Processing by ApiUserAuth::AuthController#password as HTML
68807
+ Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
68808
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.3ms | ActiveRecord: 0.4ms)
68809
+  (0.2ms) ROLLBACK
68810
+  (0.1ms) BEGIN
68811
+ 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]]
68812
+  (0.1ms) SAVEPOINT active_record_1
68813
+ 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", "{08a75839-2bdf-49c2-8f83-c3ec5cd20d5c}"], ["created_at", "2018-07-27 13:37:16.716535"], ["updated_at", "2018-07-27 13:37:16.716535"]]
68814
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68815
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68816
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
68817
+ Sent mail to user@mail.com (1.2ms)
68818
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68819
+ From: support@example.com
68820
+ To: user@mail.com
68821
+ Message-ID: <5b5b200caf878_17b57a6483046b@merkulov.mail>
68822
+ Subject: Welcome !
68823
+ Mime-Version: 1.0
68824
+ Content-Type: text/html;
68825
+ charset=UTF-8
68826
+ Content-Transfer-Encoding: 7bit
68827
+
68828
+ <h1>Welcome</h1>
68829
+ user@mail.com
68830
+  (0.2ms) RELEASE SAVEPOINT active_record_1
68831
+  (0.1ms) SAVEPOINT active_record_1
68832
+ 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 13:37:16.720221"], ["id", 332]]
68833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68834
+ Processing by ApiUserAuth::AuthController#password as HTML
68835
+ Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
68836
+ 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]]
68837
+  (0.1ms) SAVEPOINT active_record_1
68838
+ 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", "{08a75839-2bdf-49c2-8f83-c3ec5cd20d5c,60da10c4-9018-44c3-9888-1a791abde8e1}"], ["updated_at", "2018-07-27 13:37:16.722666"], ["id", 332]]
68839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68840
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
68841
+ 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", 332], ["LIMIT", 1]]
68842
+  (0.1ms) ROLLBACK
68843
+  (0.1ms) BEGIN
68844
+ 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]]
68845
+  (0.1ms) SAVEPOINT active_record_1
68846
+ 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", "{20933805-c315-4f6a-a8be-60048f78114b}"], ["created_at", "2018-07-27 13:37:16.734613"], ["updated_at", "2018-07-27 13:37:16.734613"]]
68847
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68848
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68849
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
68850
+ Sent mail to user@mail.com (0.9ms)
68851
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68852
+ From: support@example.com
68853
+ To: user@mail.com
68854
+ Message-ID: <5b5b200cb3d4d_17b57a64830577@merkulov.mail>
68855
+ Subject: Welcome !
68856
+ Mime-Version: 1.0
68857
+ Content-Type: text/html;
68858
+ charset=UTF-8
68859
+ Content-Transfer-Encoding: 7bit
68860
+
68861
+ <h1>Welcome</h1>
68862
+ user@mail.com
68863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68864
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
68865
+ Parameters: {"email"=>"user1@mail.com"}
68866
+ 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]]
68867
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
68868
+ 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", 333], ["LIMIT", 1]]
68869
+  (0.1ms) ROLLBACK
68870
+  (0.1ms) BEGIN
68871
+ 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]]
68872
+  (0.1ms) SAVEPOINT active_record_1
68873
+ 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", "{5982b91e-7a7b-4edb-bdbe-cbddeb62320a}"], ["created_at", "2018-07-27 13:37:16.740988"], ["updated_at", "2018-07-27 13:37:16.740988"]]
68874
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68875
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68876
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
68877
+ Sent mail to user@mail.com (0.9ms)
68878
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68879
+ From: support@example.com
68880
+ To: user@mail.com
68881
+ Message-ID: <5b5b200cb55e2_17b57a64830645@merkulov.mail>
68882
+ Subject: Welcome !
68883
+ Mime-Version: 1.0
68884
+ Content-Type: text/html;
68885
+ charset=UTF-8
68886
+ Content-Transfer-Encoding: 7bit
68887
+
68888
+ <h1>Welcome</h1>
68889
+ user@mail.com
68890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68891
+ Processing by ApiUserAuth::AuthController#forgot_password as HTML
68892
+ Parameters: {"email"=>"user@mail.com"}
68893
+ 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]]
68894
+  (0.1ms) SAVEPOINT active_record_1
68895
+ 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", "291626"], ["updated_at", "2018-07-27 13:37:16.745024"], ["id", 334]]
68896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68897
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
68898
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.2ms)
68899
+ ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 5.7ms
68900
+ Sent mail to user@mail.com (0.8ms)
68901
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68902
+ From: support@example.com
68903
+ To: user@mail.com
68904
+ Message-ID: <5b5b200cb805f_17b57a648307da@merkulov.mail>
68905
+ Subject: Password Code Reset
68906
+ Mime-Version: 1.0
68907
+ Content-Type: text/html;
68908
+ charset=UTF-8
68909
+ Content-Transfer-Encoding: 7bit
68910
+
68911
+ user@mail.com
68912
+ </br>
68913
+ <strong>291626</strong>
68914
+ Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms)
68915
+ 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", 334], ["LIMIT", 1]]
68916
+  (0.2ms) ROLLBACK
68917
+  (0.1ms) BEGIN
68918
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68919
+ Processing by ApiUserAuth::AuthController#provider as HTML
68920
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
68921
+ 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]]
68922
+ 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]]
68923
+  (0.1ms) SAVEPOINT active_record_1
68924
+ ApiUserAuth::AuthUser Create (0.3ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{56ea12a6-8c3a-46f6-aaa4-e7b49be8a03e}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 13:37:16.760475"], ["updated_at", "2018-07-27 13:37:16.760475"]]
68925
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68926
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
68927
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
68928
+ Sent mail to user@mail.com (0.9ms)
68929
+ Date: Fri, 27 Jul 2018 16:37:16 +0300
68930
+ From: support@example.com
68931
+ To: user@mail.com
68932
+ Message-ID: <5b5b200cba315_17b57a648308e6@merkulov.mail>
68933
+ Subject: Welcome !
68934
+ Mime-Version: 1.0
68935
+ Content-Type: text/html;
68936
+ charset=UTF-8
68937
+ Content-Transfer-Encoding: 7bit
68938
+
68939
+ <h1>Welcome</h1>
68940
+ user@mail.com
68941
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68942
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.8ms)
68943
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68944
+ 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]]
68945
+ Processing by ApiUserAuth::AuthController#provider as HTML
68946
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
68947
+ 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]]
68948
+ 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]]
68949
+  (0.1ms) SAVEPOINT active_record_1
68950
+ 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", "{56ea12a6-8c3a-46f6-aaa4-e7b49be8a03e,6ff55a91-5768-4999-9e96-035d6dc17ed8}"], ["updated_at", "2018-07-27 13:37:16.767362"], ["id", 335]]
68951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
68952
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.6ms)
68953
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68954
+ 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]]
68955
+  (0.1ms) ROLLBACK
68956
+  (0.1ms) BEGIN
68957
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68958
+ Processing by ApiUserAuth::AuthController#provider as HTML
68959
+ Parameters: {"provider"=>"facebook", "token"=>"token"}
68960
+ Completed 422 Unprocessable Entity in 299ms (Views: 0.4ms | ActiveRecord: 0.0ms)
68961
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68962
+ Processing by ApiUserAuth::AuthController#provider as HTML
68963
+ Parameters: {"provider"=>"facebook2", "token"=>"token"}
68964
+ Completed 422 Unprocessable Entity in 290ms (Views: 0.3ms | ActiveRecord: 0.0ms)
68965
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68966
+ Processing by ApiUserAuth::AuthController#provider as HTML
68967
+ Parameters: {"provider"=>"facebook"}
68968
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
68969
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68970
+  (0.4ms) ROLLBACK
68971
+  (0.3ms) BEGIN
68972
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68973
+ Processing by ApiUserAuth::AuthController#provider as HTML
68974
+ Parameters: {"provider"=>"google", "token"=>"token"}
68975
+ Completed 422 Unprocessable Entity in 170ms (Views: 0.5ms | ActiveRecord: 0.0ms)
68976
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68977
+ Processing by ApiUserAuth::AuthController#provider as HTML
68978
+ Parameters: {"provider"=>"google2", "token"=>"token"}
68979
+ Completed 422 Unprocessable Entity in 163ms (Views: 0.4ms | ActiveRecord: 0.0ms)
68980
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68981
+ Processing by ApiUserAuth::AuthController#provider as HTML
68982
+ Parameters: {"provider"=>"google"}
68983
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
68984
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68985
+  (0.4ms) ROLLBACK
68986
+  (0.3ms) BEGIN
68987
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
68988
+ Processing by ApiUserAuth::AuthController#provider as HTML
68989
+ Parameters: {"provider"=>"google", "token"=>"token"}
68990
+ 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]]
68991
+ 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]]
68992
+  (0.3ms) SAVEPOINT active_record_1
68993
+ 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", "{11c2fc0d-da3c-47bb-87e1-ce5821984aa5}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 13:37:17.733699"], ["updated_at", "2018-07-27 13:37:17.733699"]]
68994
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
68995
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
68996
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.3ms
68997
+ Sent mail to user@mail.com (3.6ms)
68998
+ Date: Fri, 27 Jul 2018 16:37:17 +0300
68999
+ From: support@example.com
69000
+ To: user@mail.com
69001
+ Message-ID: <5b5b200db4f51_17b57a6483094d@merkulov.mail>
69002
+ Subject: Welcome !
69003
+ Mime-Version: 1.0
69004
+ Content-Type: text/html;
69005
+ charset=UTF-8
69006
+ Content-Transfer-Encoding: 7bit
69007
+
69008
+ <h1>Welcome</h1>
69009
+ user@mail.com
69010
+  (0.4ms) RELEASE SAVEPOINT active_record_1
69011
+ Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 2.3ms)
69012
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69013
+ 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]]
69014
+ Processing by ApiUserAuth::AuthController#provider as HTML
69015
+ Parameters: {"provider"=>"google", "token"=>"token"}
69016
+ 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]]
69017
+ 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]]
69018
+  (0.3ms) SAVEPOINT active_record_1
69019
+ 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", "{11c2fc0d-da3c-47bb-87e1-ce5821984aa5,32badbdc-9fa1-4b4b-9a76-babee26b8117}"], ["updated_at", "2018-07-27 13:37:17.756087"], ["id", 336]]
69020
+  (0.4ms) RELEASE SAVEPOINT active_record_1
69021
+ Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 4.8ms)
69022
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69023
+ 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]]
69024
+  (0.3ms) ROLLBACK
69025
+  (0.2ms) BEGIN
69026
+  (0.4ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69027
+ Processing by ApiUserAuth::AuthController#provider as HTML
69028
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
69029
+ 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]]
69030
+ 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]]
69031
+  (0.2ms) SAVEPOINT active_record_1
69032
+ 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", "{4a71475e-6b1c-4e13-a19f-fde2e974cfae}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 13:37:17.772375"], ["updated_at", "2018-07-27 13:37:17.772375"]]
69033
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69034
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69035
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
69036
+ Sent mail to user@mail.com (1.4ms)
69037
+ Date: Fri, 27 Jul 2018 16:37:17 +0300
69038
+ From: support@example.com
69039
+ To: user@mail.com
69040
+ Message-ID: <5b5b200dbd6c3_17b57a64831034@merkulov.mail>
69041
+ Subject: Welcome !
69042
+ Mime-Version: 1.0
69043
+ Content-Type: text/html;
69044
+ charset=UTF-8
69045
+ Content-Transfer-Encoding: 7bit
69046
+
69047
+ <h1>Welcome</h1>
69048
+ user@mail.com
69049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69050
+ Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.3ms)
69051
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69052
+ 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]]
69053
+ Processing by ApiUserAuth::AuthController#provider as HTML
69054
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
69055
+ 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]]
69056
+ 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]]
69057
+  (0.1ms) SAVEPOINT active_record_1
69058
+ 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", "{4a71475e-6b1c-4e13-a19f-fde2e974cfae,2f91e49a-6bf7-4b8f-9914-065700eb27db}"], ["updated_at", "2018-07-27 13:37:17.781855"], ["id", 337]]
69059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69060
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 2.4ms)
69061
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69062
+ 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]]
69063
+  (0.1ms) ROLLBACK
69064
+  (0.1ms) BEGIN
69065
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69066
+ Processing by ApiUserAuth::AuthController#provider as HTML
69067
+ Parameters: {"provider"=>"instagram", "token"=>"token"}
69068
+ Completed 422 Unprocessable Entity in 351ms (Views: 0.4ms | ActiveRecord: 0.0ms)
69069
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69070
+ Processing by ApiUserAuth::AuthController#provider as HTML
69071
+ Parameters: {"provider"=>"instagram2", "token"=>"token"}
69072
+ Completed 422 Unprocessable Entity in 400ms (Views: 0.3ms | ActiveRecord: 0.0ms)
69073
+  (0.7ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69074
+ Processing by ApiUserAuth::AuthController#provider as HTML
69075
+ Parameters: {"provider"=>"instagram"}
69076
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
69077
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69078
+  (0.4ms) ROLLBACK
69079
+  (0.3ms) BEGIN
69080
+ 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]]
69081
+  (0.3ms) SAVEPOINT active_record_1
69082
+ ApiUserAuth::AuthUser Create (0.8ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{b6a6712f-be3f-4e90-a4af-2044a978477e}"], ["created_at", "2018-07-27 13:37:18.554822"], ["updated_at", "2018-07-27 13:37:18.554822"]]
69083
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69084
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
69085
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.4ms
69086
+ Sent mail to user@mail.com (3.4ms)
69087
+ Date: Fri, 27 Jul 2018 16:37:18 +0300
69088
+ From: support@example.com
69089
+ To: user@mail.com
69090
+ Message-ID: <5b5b200e8932e_17b57a6483118@merkulov.mail>
69091
+ Subject: Welcome !
69092
+ Mime-Version: 1.0
69093
+ Content-Type: text/html;
69094
+ charset=UTF-8
69095
+ Content-Transfer-Encoding: 7bit
69096
+
69097
+ <h1>Welcome</h1>
69098
+ user@mail.com
69099
+  (0.4ms) RELEASE SAVEPOINT active_record_1
69100
+  (0.6ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69101
+ 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]]
69102
+ Processing by ApiUserAuth::AuthController#login as HTML
69103
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69104
+ 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]]
69105
+  (0.3ms) SAVEPOINT active_record_1
69106
+ 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", "{b6a6712f-be3f-4e90-a4af-2044a978477e,0e6cfe34-1f68-45f5-80d1-962dfc8d990e}"], ["updated_at", "2018-07-27 13:37:18.573482"], ["id", 338]]
69107
+  (0.4ms) RELEASE SAVEPOINT active_record_1
69108
+ Completed 200 OK in 7ms (Views: 0.5ms | ActiveRecord: 2.0ms)
69109
+ 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]]
69110
+  (0.3ms) ROLLBACK
69111
+  (0.3ms) BEGIN
69112
+ 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]]
69113
+  (0.2ms) SAVEPOINT active_record_1
69114
+ ApiUserAuth::AuthUser Create (0.5ms) INSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{26a78eb0-0eed-4cdb-98c3-bec862cc6743}"], ["created_at", "2018-07-27 13:37:18.586069"], ["updated_at", "2018-07-27 13:37:18.586069"]]
69115
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69116
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
69117
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.3ms
69118
+ Sent mail to user@mail.com (1.8ms)
69119
+ Date: Fri, 27 Jul 2018 16:37:18 +0300
69120
+ From: support@example.com
69121
+ To: user@mail.com
69122
+ Message-ID: <5b5b200e9027a_17b57a648312cf@merkulov.mail>
69123
+ Subject: Welcome !
69124
+ Mime-Version: 1.0
69125
+ Content-Type: text/html;
69126
+ charset=UTF-8
69127
+ Content-Transfer-Encoding: 7bit
69128
+
69129
+ <h1>Welcome</h1>
69130
+ user@mail.com
69131
+  (0.2ms) RELEASE SAVEPOINT active_record_1
69132
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69133
+ 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]]
69134
+ Processing by ApiUserAuth::AuthController#login as HTML
69135
+ Parameters: {"email"=>"user@mail.com"}
69136
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
69137
+ Processing by ApiUserAuth::AuthController#login as HTML
69138
+ Parameters: {"password"=>"[FILTERED]"}
69139
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
69140
+ Processing by ApiUserAuth::AuthController#login as HTML
69141
+ Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
69142
+ 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]]
69143
+ Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
69144
+ Processing by ApiUserAuth::AuthController#login as HTML
69145
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69146
+ ApiUserAuth::AuthUser Load (1.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]]
69147
+ Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 1.3ms)
69148
+  (0.1ms) ROLLBACK
69149
+  (0.1ms) BEGIN
69150
+ 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]]
69151
+  (0.1ms) SAVEPOINT active_record_1
69152
+ 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", "{e078e1b3-af15-4a15-b471-b145e8a96785}"], ["created_at", "2018-07-27 13:37:18.603978"], ["updated_at", "2018-07-27 13:37:18.603978"]]
69153
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69154
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69155
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
69156
+ Sent mail to user@mail.com (1.1ms)
69157
+ Date: Fri, 27 Jul 2018 16:37:18 +0300
69158
+ From: support@example.com
69159
+ To: user@mail.com
69160
+ Message-ID: <5b5b200e9402f_17b57a6483134e@merkulov.mail>
69161
+ Subject: Welcome !
69162
+ Mime-Version: 1.0
69163
+ Content-Type: text/html;
69164
+ charset=UTF-8
69165
+ Content-Transfer-Encoding: 7bit
69166
+
69167
+ <h1>Welcome</h1>
69168
+ user@mail.com
69169
+  (0.2ms) RELEASE SAVEPOINT active_record_1
69170
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69171
+  (0.3ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 340]]
69172
+ Processing by ApiUserAuth::AuthController#add_provider as HTML
69173
+ Parameters: {"provider"=>"google", "token"=>"token"}
69174
+ ApiUserAuth::AuthUser Load (0.3ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('e078e1b3-af15-4a15-b471-b145e8a96785' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
69175
+ 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]]
69176
+  (0.1ms) SAVEPOINT active_record_1
69177
+ 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", 340], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 13:37:18.611795"], ["updated_at", "2018-07-27 13:37:18.611795"]]
69178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69179
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.0ms)
69180
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1 [["auth_user_id", 340]]
69181
+ Processing by ApiUserAuth::AuthController#provider as HTML
69182
+ Parameters: {"provider"=>"google", "token"=>"token"}
69183
+ 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]]
69184
+ 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", 340], ["LIMIT", 1]]
69185
+  (0.1ms) SAVEPOINT active_record_1
69186
+ 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", "{e078e1b3-af15-4a15-b471-b145e8a96785,807f50e4-2ca7-46bd-99fe-78ed4d5712f7}"], ["updated_at", "2018-07-27 13:37:18.616032"], ["id", 340]]
69187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69188
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.8ms)
69189
+  (0.1ms) ROLLBACK
69190
+  (0.1ms) BEGIN
69191
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69192
+ Processing by ApiUserAuth::AuthController#create as HTML
69193
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69194
+ 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]]
69195
+  (0.1ms) SAVEPOINT active_record_1
69196
+ 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", "{8ed07f5e-0d36-4582-afd7-a350b315633f}"], ["created_at", "2018-07-27 13:37:18.620436"], ["updated_at", "2018-07-27 13:37:18.620436"]]
69197
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69198
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69199
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
69200
+ Sent mail to user@mail.com (0.9ms)
69201
+ Date: Fri, 27 Jul 2018 16:37:18 +0300
69202
+ From: support@example.com
69203
+ To: user@mail.com
69204
+ Message-ID: <5b5b200e97f33_17b57a6483148@merkulov.mail>
69205
+ Subject: Welcome !
69206
+ Mime-Version: 1.0
69207
+ Content-Type: text/html;
69208
+ charset=UTF-8
69209
+ Content-Transfer-Encoding: 7bit
69210
+
69211
+ <h1>Welcome</h1>
69212
+ user@mail.com
69213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69214
+ Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms)
69215
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69216
+ 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]]
69217
+  (0.1ms) ROLLBACK
69218
+  (0.1ms) BEGIN
69219
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69220
+ Processing by ApiUserAuth::AuthController#create as HTML
69221
+ Parameters: {"email"=>"user@mail.com"}
69222
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69223
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69224
+ Processing by ApiUserAuth::AuthController#create as HTML
69225
+ Parameters: {"password"=>"[FILTERED]"}
69226
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69227
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69228
+ Processing by ApiUserAuth::AuthController#create as HTML
69229
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69230
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69231
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69232
+ Processing by ApiUserAuth::AuthController#create as HTML
69233
+ Parameters: {"email"=>"", "password"=>"[FILTERED]"}
69234
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
69235
+  (0.1ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69236
+ Processing by ApiUserAuth::AuthController#create as HTML
69237
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69238
+ 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]]
69239
+  (0.1ms) SAVEPOINT active_record_1
69240
+ 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", "{7800fd9a-0ee9-4561-aecb-ad8f5e67e960}"], ["created_at", "2018-07-27 13:37:18.632369"], ["updated_at", "2018-07-27 13:37:18.632369"]]
69241
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69242
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69243
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
69244
+ Sent mail to user@mail.com (0.9ms)
69245
+ Date: Fri, 27 Jul 2018 16:37:18 +0300
69246
+ From: support@example.com
69247
+ To: user@mail.com
69248
+ Message-ID: <5b5b200e9adf3_17b57a64831577@merkulov.mail>
69249
+ Subject: Welcome !
69250
+ Mime-Version: 1.0
69251
+ Content-Type: text/html;
69252
+ charset=UTF-8
69253
+ Content-Transfer-Encoding: 7bit
69254
+
69255
+ <h1>Welcome</h1>
69256
+ user@mail.com
69257
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69258
+ Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
69259
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69260
+ Processing by ApiUserAuth::AuthController#create as HTML
69261
+ Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
69262
+ 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]]
69263
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.7ms)
69264
+  (0.2ms) SELECT COUNT(*) FROM "api_user_auth_auth_users"
69265
+  (0.1ms) ROLLBACK
69266
+  (0.1ms) BEGIN
69267
+ 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]]
69268
+  (0.1ms) SAVEPOINT active_record_1
69269
+ 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", "{9f218862-e652-4a6e-ad20-eede78442a74}"], ["created_at", "2018-07-27 13:37:18.640166"], ["updated_at", "2018-07-27 13:37:18.640166"]]
69270
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69271
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69272
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.4ms
69273
+ Sent mail to user@mail.com (0.9ms)
69274
+ Date: Fri, 27 Jul 2018 16:37:18 +0300
69275
+ From: support@example.com
69276
+ To: user@mail.com
69277
+ Message-ID: <5b5b200e9d39a_17b57a64831695@merkulov.mail>
69278
+ Subject: Welcome !
69279
+ Mime-Version: 1.0
69280
+ Content-Type: text/html;
69281
+ charset=UTF-8
69282
+ Content-Transfer-Encoding: 7bit
69283
+
69284
+ <h1>Welcome</h1>
69285
+ user@mail.com
69286
+  (0.2ms) RELEASE SAVEPOINT active_record_1
69287
+ Processing by ApiUserAuth::AuthController#logout as HTML
69288
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('acc90361-1aed-4148-a6ad-a44b7bca64eb' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
69289
+ Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
69290
+ 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", 343], ["LIMIT", 1]]
69291
+  (0.1ms) ROLLBACK
69292
+  (0.1ms) BEGIN
69293
+ 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]]
69294
+  (0.1ms) SAVEPOINT active_record_1
69295
+ 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", "{812d466c-ad74-4f08-91ed-24e38eb78226}"], ["created_at", "2018-07-27 13:37:18.648917"], ["updated_at", "2018-07-27 13:37:18.648917"]]
69296
+ Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
69297
+ Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
69298
+ ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
69299
+ Sent mail to user@mail.com (0.9ms)
69300
+ Date: Fri, 27 Jul 2018 16:37:18 +0300
69301
+ From: support@example.com
69302
+ To: user@mail.com
69303
+ Message-ID: <5b5b200e9ee4b_17b57a6483171b@merkulov.mail>
69304
+ Subject: Welcome !
69305
+ Mime-Version: 1.0
69306
+ Content-Type: text/html;
69307
+ charset=UTF-8
69308
+ Content-Transfer-Encoding: 7bit
69309
+
69310
+ <h1>Welcome</h1>
69311
+ user@mail.com
69312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69313
+ Processing by ApiUserAuth::AuthController#logout as HTML
69314
+ ApiUserAuth::AuthUser Load (0.2ms) SELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('812d466c-ad74-4f08-91ed-24e38eb78226' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1 [["LIMIT", 1]]
69315
+  (0.1ms) SAVEPOINT active_record_1
69316
+ 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 13:37:18.653180"], ["id", 344]]
69317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69318
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
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
+  (0.1ms) ROLLBACK