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.
data/spec/dummy/log/test.log
CHANGED
@@ -67988,3 +67988,1333 @@ Processing by ApiUserAuth::AuthController#login as HTML
|
|
67988
67988
|
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
67989
67989
|
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
67990
67990
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
67991
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
67992
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
67993
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
67994
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
67995
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
67996
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
67997
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
67998
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
67999
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68017
|
+
Completed 200 OK in 190ms (Views: 0.1ms | ActiveRecord: 3.6ms)
|
68018
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68019
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68020
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68021
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
68022
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
68023
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68024
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68025
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{2da241c4-419d-4434-88c6-f367abe7508d,a26eef56-36fb-4e0b-bae4-90e3fb8cf8d5}"], ["updated_at", "2018-07-27 13:36:22.450099"], ["id", 309]]
|
68026
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68027
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 4.6ms)
|
68028
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68029
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68030
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68031
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68032
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68045
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
68046
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
68047
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68060
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
68061
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
68062
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68063
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68064
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
68065
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
68066
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68067
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68068
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{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
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68086
|
+
Completed 200 OK in 19ms (Views: 0.5ms | ActiveRecord: 2.8ms)
|
68087
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68088
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68089
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68090
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
68091
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
68092
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68093
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68094
|
+
[1m[36mApiUserAuth::AuthUser Update (0.5ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{56e3032d-ba1d-4bf3-9d53-37c2ef5d1d30,0c795635-afa9-4fe2-b334-4e2a3bef2f8a}"], ["updated_at", "2018-07-27 13:36:23.457687"], ["id", 310]]
|
68095
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68096
|
+
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 4.6ms)
|
68097
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68098
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68099
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68100
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
68101
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68102
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68103
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
68104
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
68105
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68106
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68107
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68125
|
+
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 1.0ms)
|
68126
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68127
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68128
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68129
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
68130
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
68131
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68132
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68133
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{023c2ba7-be46-453f-bbda-7f834682305f,5df64f03-88bd-483a-aff2-dacd894b6f00}"], ["updated_at", "2018-07-27 13:36:23.478195"], ["id", 311]]
|
68134
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68135
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.8ms)
|
68136
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68137
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68138
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68139
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68140
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68153
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
68154
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
68155
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68156
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68157
|
+
[1m[36mApiUserAuth::AuthUser Create (0.7ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68175
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68176
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68177
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
68178
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
68179
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68180
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68181
|
+
[1m[36mApiUserAuth::AuthUser Update (0.6ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{85de3c45-55e8-4532-8d7c-a4d88cf8324a,313af2c2-db9a-4f85-b776-988806b5d6f9}"], ["updated_at", "2018-07-27 13:36:24.275141"], ["id", 312]]
|
68182
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68183
|
+
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.6ms)
|
68184
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68185
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
68186
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
68187
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68188
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68189
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68207
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68208
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user2@mail.com"], ["LIMIT", 1]]
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68222
|
+
Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
68223
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68224
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68225
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68226
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68227
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68245
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68246
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 13:36:24.304451"], ["id", 314]]
|
68247
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68248
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
68249
|
+
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
|
68250
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68263
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68264
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68265
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68266
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68284
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68285
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 13:36:24.316812"], ["id", 315]]
|
68286
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68287
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
68288
|
+
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
68289
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68290
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68291
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4[0m [["encrypted_password", "12ade6a91f185f6f2901c1a542fea73a4c9e3598f6a4dfd18e2c3338eaf1d306"], ["auth_tokens", "{0ada209e-c824-48dd-9c91-9c5eb6911482,b676660a-9cc5-473d-babe-8676d4bf341a}"], ["updated_at", "2018-07-27 13:36:24.319568"], ["id", 315]]
|
68292
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68293
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
68294
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 315], ["LIMIT", 1]]
|
68295
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68296
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68297
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68314
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
68315
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
68316
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68317
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68318
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68336
|
+
Completed 201 Created in 5ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
68337
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68338
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
68339
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
68340
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68341
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.8ms)
|
68342
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68343
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68344
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68345
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68346
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
68347
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
68348
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68349
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68350
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68368
|
+
Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
68369
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68370
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68371
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68372
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68373
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68374
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68375
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68393
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68394
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 318]]
|
68395
|
+
Processing by ApiUserAuth::AuthController#add_provider as HTML
|
68396
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
68397
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
68398
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
|
68399
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68400
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68402
|
+
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 2.2ms)
|
68403
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 318]]
|
68404
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68405
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
68406
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
|
68407
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 318], ["LIMIT", 1]]
|
68408
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68409
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{ee37d5b6-1afc-4e13-9d58-922b962cc57e,ea9f842f-f585-4d43-ba80-d1560bb8938e}"], ["updated_at", "2018-07-27 13:36:24.380560"], ["id", 318]]
|
68410
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68411
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 3.1ms)
|
68412
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68413
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68414
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68415
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68416
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68434
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
68435
|
+
Parameters: {"email"=>"user1@mail.com"}
|
68436
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
68437
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
68438
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 319], ["LIMIT", 1]]
|
68439
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68440
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68441
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68442
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68443
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68461
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
68462
|
+
Parameters: {"email"=>"user@mail.com"}
|
68463
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68464
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68465
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "347585"], ["updated_at", "2018-07-27 13:36:24.401050"], ["id", 320]]
|
68466
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 320], ["LIMIT", 1]]
|
68486
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68487
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68488
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68489
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68490
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68508
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
68509
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
68510
|
+
Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
68511
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 321], ["LIMIT", 1]]
|
68512
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68513
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68514
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68515
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68516
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68534
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
68535
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
68536
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68537
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{}"], ["updated_at", "2018-07-27 13:36:24.425594"], ["id", 322]]
|
68538
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68539
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
68540
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 322], ["LIMIT", 1]]
|
68541
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68542
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68543
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68544
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68545
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68546
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68547
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68548
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68549
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68550
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68568
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68569
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68570
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68571
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68572
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68573
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68591
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68592
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68593
|
+
Processing by TestController#index as HTML
|
68594
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
68595
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
68596
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68597
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68598
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68599
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68600
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68618
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
68625
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
68626
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68627
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68628
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
68629
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68630
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68631
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "10101010@facebook.com"], ["encrypted_password", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68649
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 0], ["user_id", "10101010"], ["LIMIT", 1]]
|
68650
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68651
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68653
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
68654
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68655
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68656
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
68657
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
68658
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68659
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68660
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68661
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68679
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68680
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68681
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68682
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68683
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68684
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68685
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68686
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
68687
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68688
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68689
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "10101010@facebook.com"], ["encrypted_password", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68707
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 0], ["user_id", "10101010"], ["LIMIT", 1]]
|
68708
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68709
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68711
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
68712
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68713
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68714
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68715
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68716
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68717
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68735
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68736
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68737
|
+
Processing by TestController#index as HTML
|
68738
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
68739
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
68740
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68741
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68742
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68743
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68744
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68762
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
68769
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
68770
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68771
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68772
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68773
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68774
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68792
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68793
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 13:37:16.704577"], ["id", 331]]
|
68794
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68795
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
68796
|
+
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
|
68797
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68810
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68811
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68812
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68813
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68831
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68832
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 13:37:16.720221"], ["id", 332]]
|
68833
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68834
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
68835
|
+
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
68836
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68837
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68838
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4[0m [["encrypted_password", "12ade6a91f185f6f2901c1a542fea73a4c9e3598f6a4dfd18e2c3338eaf1d306"], ["auth_tokens", "{08a75839-2bdf-49c2-8f83-c3ec5cd20d5c,60da10c4-9018-44c3-9888-1a791abde8e1}"], ["updated_at", "2018-07-27 13:37:16.722666"], ["id", 332]]
|
68839
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68840
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
68841
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 332], ["LIMIT", 1]]
|
68842
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68843
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68844
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68845
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68846
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68864
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
68865
|
+
Parameters: {"email"=>"user1@mail.com"}
|
68866
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
68867
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
68868
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 333], ["LIMIT", 1]]
|
68869
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68870
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68871
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68872
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68873
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68891
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
68892
|
+
Parameters: {"email"=>"user@mail.com"}
|
68893
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68894
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68895
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "291626"], ["updated_at", "2018-07-27 13:37:16.745024"], ["id", 334]]
|
68896
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 334], ["LIMIT", 1]]
|
68916
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
68917
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68918
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68919
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68920
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
68921
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
68922
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68923
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68924
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68942
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
68943
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68944
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68945
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68946
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
68947
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
68948
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68949
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68950
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{56ea12a6-8c3a-46f6-aaa4-e7b49be8a03e,6ff55a91-5768-4999-9e96-035d6dc17ed8}"], ["updated_at", "2018-07-27 13:37:16.767362"], ["id", 335]]
|
68951
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68952
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.6ms)
|
68953
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68954
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
68955
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
68956
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68957
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68970
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
68971
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
68972
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68985
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
68986
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
68987
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
68988
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
68989
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
68990
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
68991
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
68992
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
68993
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{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
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69011
|
+
Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 2.3ms)
|
69012
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69013
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69014
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69015
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
69016
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69017
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69018
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69019
|
+
[1m[36mApiUserAuth::AuthUser Update (0.8ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{11c2fc0d-da3c-47bb-87e1-ce5821984aa5,32badbdc-9fa1-4b4b-9a76-babee26b8117}"], ["updated_at", "2018-07-27 13:37:17.756087"], ["id", 336]]
|
69020
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69021
|
+
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 4.8ms)
|
69022
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69023
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69024
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
69025
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
69026
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69027
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69028
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
69029
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69030
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69031
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69032
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69050
|
+
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.3ms)
|
69051
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69052
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69053
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69054
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
69055
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69056
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69057
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69058
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{4a71475e-6b1c-4e13-a19f-fde2e974cfae,2f91e49a-6bf7-4b8f-9914-065700eb27db}"], ["updated_at", "2018-07-27 13:37:17.781855"], ["id", 337]]
|
69059
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69060
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 2.4ms)
|
69061
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69062
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69063
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69064
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69065
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69078
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
69079
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
69080
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69081
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69082
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69100
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69101
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69102
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
69103
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69104
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69105
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69106
|
+
[1m[36mApiUserAuth::AuthUser Update (0.8ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{b6a6712f-be3f-4e90-a4af-2044a978477e,0e6cfe34-1f68-45f5-80d1-962dfc8d990e}"], ["updated_at", "2018-07-27 13:37:18.573482"], ["id", 338]]
|
69107
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69108
|
+
Completed 200 OK in 7ms (Views: 0.5ms | ActiveRecord: 2.0ms)
|
69109
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69110
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
69111
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
69112
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69113
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69114
|
+
[1m[36mApiUserAuth::AuthUser Create (0.5ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69132
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69133
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user2@mail.com"], ["LIMIT", 1]]
|
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
|
+
[1m[36mApiUserAuth::AuthUser Load (1.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69147
|
+
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 1.3ms)
|
69148
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69149
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69150
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69151
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69152
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69170
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69171
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 340]]
|
69172
|
+
Processing by ApiUserAuth::AuthController#add_provider as HTML
|
69173
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
69174
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
69175
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
|
69176
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69177
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69179
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.0ms)
|
69180
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 340]]
|
69181
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69182
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
69183
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
|
69184
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 340], ["LIMIT", 1]]
|
69185
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69186
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{e078e1b3-af15-4a15-b471-b145e8a96785,807f50e4-2ca7-46bd-99fe-78ed4d5712f7}"], ["updated_at", "2018-07-27 13:37:18.616032"], ["id", 340]]
|
69187
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69188
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.8ms)
|
69189
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69190
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69191
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69192
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69193
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69194
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69195
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69196
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69214
|
+
Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
69215
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69216
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69217
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69218
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69219
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69236
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69237
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69238
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69239
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69240
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69258
|
+
Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
69259
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69260
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69261
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69262
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69263
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
69264
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69265
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69266
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69267
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69268
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69269
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69287
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
69288
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
69289
|
+
Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
69290
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 343], ["LIMIT", 1]]
|
69291
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69292
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69293
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69294
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69295
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69313
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
69314
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "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[0m [["LIMIT", 1]]
|
69315
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69316
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{}"], ["updated_at", "2018-07-27 13:37:18.653180"], ["id", 344]]
|
69317
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69318
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
69319
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 344], ["LIMIT", 1]]
|
69320
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|