[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (119.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
[1m[35m (472.2ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
[1m[35mSQL (15.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "api_user_auth_auth_users" CASCADE[0m
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "provider" character varying DEFAULT 'email', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "api_user_auth_provider_tokens" CASCADE[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "api_user_auth_provider_tokens" ("id" bigserial primary key, "auth_user_id" bigint, "provider" integer, "user_id" character varying NOT NULL, "user_data" jsonb DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_api_user_auth_provider_tokens_on_auth_user_id" ON "api_user_auth_provider_tokens" ("auth_user_id")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180726140712)[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-07-26 22:22:01.386813"], ["updated_at", "2018-07-26 22:22:01.386813"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (112.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
[1m[35m (353.3ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
[1m[35mSQL (9.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "api_user_auth_auth_users" CASCADE[0m
[1m[35m (10.0ms)[0m [1m[35mCREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "provider" character varying DEFAULT 'email', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "api_user_auth_provider_tokens" CASCADE[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "api_user_auth_provider_tokens" ("id" bigserial primary key, "auth_user_id" bigint, "provider" integer, "user_id" character varying NOT NULL, "user_data" jsonb DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE INDEX "index_api_user_auth_provider_tokens_on_auth_user_id" ON "api_user_auth_provider_tokens" ("auth_user_id")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180726140712)[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-07-26 22:22:03.892896"], ["updated_at", "2018-07-26 22:22:03.892896"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mApiUserAuth::AuthUser Load (0.9ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{65081254-fcaf-41b9-ba0d-c36e93d9c370}"], ["created_at", "2018-07-26 22:23:45.831930"], ["updated_at", "2018-07-26 22:23:45.831930"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.3ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 251.4ms
Sent mail to user@mail.com (9.7ms)
Date: Fri, 27 Jul 2018 01:23:46 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f234608_458a2ae497a8464c79784@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#logout as HTML
[1m[36mApiUserAuth::AuthUser Load (2.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('034fae7d-9b60-4886-bb08-1f0f27e470fd' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 400 Bad Request in 4ms (Views: 0.3ms | ActiveRecord: 2.6ms)
[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"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{6d9b12de-1b9a-413f-8340-2f15fbd47655}"], ["created_at", "2018-07-26 22:23:46.244802"], ["updated_at", "2018-07-26 22:23:46.244802"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.1ms
Sent mail to user@mail.com (3.0ms)
Date: Fri, 27 Jul 2018 01:23:46 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f23d561_458a2ae497a8464c7983d@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#logout as HTML
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('6d9b12de-1b9a-413f-8340-2f15fbd47655' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{}"], ["updated_at", "2018-07-26 22:23:46.258457"], ["id", 2]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.8ms)
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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", 2], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
Completed 422 Unprocessable Entity in 180ms (Views: 0.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google2", "token"=>"token"}
Completed 422 Unprocessable Entity in 156ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{53c7d1e5-0629-4e5c-bbf4-589f51c35f69}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-26 22:23:46.633326"], ["updated_at", "2018-07-26 22:23:46.633326"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.9ms
Sent mail to user@mail.com (2.9ms)
Date: Fri, 27 Jul 2018 01:23:46 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f29c451_458a2ae497a8464c79916@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 2.3ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (1.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]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{53c7d1e5-0629-4e5c-bbf4-589f51c35f69,5960e781-bf18-41ed-9010-f2296238ec4a}"], ["updated_at", "2018-07-26 22:23:46.652320"], ["id", 3]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 4.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
Completed 422 Unprocessable Entity in 305ms (Views: 0.5ms | ActiveRecord: 0.0ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook2", "token"=>"token"}
Completed 422 Unprocessable Entity in 280ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook"}
Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{44843003-a977-4932-bbbf-399c53ca11d5}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-26 22:23:47.276683"], ["updated_at", "2018-07-26 22:23:47.276683"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 13.0ms
Sent mail to user@mail.com (2.1ms)
Date: Fri, 27 Jul 2018 01:23:47 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f347ab4_458a2ae497a8464c800ec@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 2.6ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{44843003-a977-4932-bbbf-399c53ca11d5,ae1e032d-5d3f-46e4-8f8d-c1ab2408c91b}"], ["updated_at", "2018-07-26 22:23:47.303512"], ["id", 4]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 4.6ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
Completed 422 Unprocessable Entity in 331ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram2", "token"=>"token"}
Completed 422 Unprocessable Entity in 626ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
[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]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.7ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{c7cb1f19-5570-4f85-91b5-6b71463b2c53}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-26 22:23:48.298697"], ["updated_at", "2018-07-26 22:23:48.298697"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.4ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f44a3c3_458a2ae497a8464c80167@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 1.8ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.9ms)[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", "{c7cb1f19-5570-4f85-91b5-6b71463b2c53,93c15663-22f8-4bec-90ad-3b7ec856abc4}"], ["updated_at", "2018-07-26 22:23:48.313410"], ["id", 5]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 3.8ms)
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{73a1d166-a526-49bb-bd07-0368bfb8d5ba}"], ["created_at", "2018-07-26 22:23:48.327464"], ["updated_at", "2018-07-26 22:23:48.327464"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f45131b_458a2ae497a8464c80259@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{73a1d166-a526-49bb-bd07-0368bfb8d5ba,a6bc9d05-8371-4364-8f11-0f7018431e64}"], ["updated_at", "2018-07-26 22:23:48.340915"], ["id", 6]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 1.8ms)
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{432debf9-86b1-4810-80c8-eb19bd50921f}"], ["created_at", "2018-07-26 22:23:48.351906"], ["updated_at", "2018-07-26 22:23:48.351906"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f4572b3_458a2ae497a8464c8031f@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
[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", "user2@mail.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 0.6ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 1.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{0613f308-481a-4555-8803-a78ef679ed75}"], ["created_at", "2018-07-26 22:23:48.398514"], ["updated_at", "2018-07-26 22:23:48.398514"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.4ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f462974_458a2ae497a8464c804ea@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 201 Created in 11ms (Views: 0.3ms | ActiveRecord: 2.1ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 2.7ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{a7d225e4-4a5b-423e-9697-4484ce3a53ad}"], ["created_at", "2018-07-26 22:23:48.420736"], ["updated_at", "2018-07-26 22:23:48.420736"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f467eae_458a2ae497a8464c8057e@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 201 Created in 10ms (Views: 0.3ms | ActiveRecord: 1.7ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.0ms)[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", "{d545beeb-652b-472f-98f4-0c9dc21a5b5f}"], ["created_at", "2018-07-26 22:23:48.437104"], ["updated_at", "2018-07-26 22:23:48.437104"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.4ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f46c040_458a2ae497a8464c8067b@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#forgot_password as HTML
Parameters: {"email"=>"user@mail.com"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.9ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "107708"], ["updated_at", "2018-07-26 22:23:48.447982"], ["id", 10]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.5ms)
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 9.6ms
Sent mail to user@mail.com (1.9ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f47160d_458a2ae497a8464c80790@mercury.mail>
Subject: Password Code Reset
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
user@mail.com
107708
Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 1.9ms)
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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", 10], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{54e91ee2-4352-4267-9ac8-994460bb5ef3}"], ["created_at", "2018-07-26 22:23:48.473913"], ["updated_at", "2018-07-26 22:23:48.473913"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to user@mail.com (2.0ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f474e11_458a2ae497a8464c808fc@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#forgot_password as HTML
Parameters: {"email"=>"user1@mail.com"}
[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", "user1@mail.com"], ["LIMIT", 1]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 0.5ms)
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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", 11], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{940261e9-a5f6-4c93-8da8-4e3d21ef0e81}"], ["created_at", "2018-07-26 22:23:48.491663"], ["updated_at", "2018-07-26 22:23:48.491663"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f4793dd_458a2ae497a8464c809d4@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.6ms)[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-26 22:23:48.499585"], ["id", 12]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
[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", "user1@mail.com"], ["LIMIT", 1]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 0.5ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 1.1ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 1.1ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 1.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.1ms)[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", "{c7de403b-87cf-491d-b4b4-c1675b346612}"], ["created_at", "2018-07-26 22:23:48.517844"], ["updated_at", "2018-07-26 22:23:48.517844"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to user@mail.com (1.9ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f47fa05_458a2ae497a8464c81076@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.9ms)[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-26 22:23:48.525684"], ["id", 13]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.6ms)[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", "{c7de403b-87cf-491d-b4b4-c1675b346612,5b958220-ab37-49af-a6e4-1202002884ec}"], ["updated_at", "2018-07-26 22:23:48.531850"], ["id", 13]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.7ms)
[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"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "0946f9fc9b0da74a1dad27c022366a0e7e3988fddb176e1401497f7f4eec18a6"], ["created_at", "2018-07-26 22:23:48.546920"], ["updated_at", "2018-07-26 22:23:48.546920"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.7ms
Sent mail to 10101010@facebook.com (2.6ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: 10101010@facebook.com
Message-ID: <5b5a49f486c31_458a2ae497a8464c81148@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
10101010@facebook.com
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::ProviderToken Create (1.4ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 14], ["provider", 0], ["user_id", "10101010"], ["user_data", "{\"id\":\"10101010\",\"name\":\"Test\",\"provider\":\"facebook\",\"email\":\"mail@mail.com\",\"img_url\":\"img\"}"], ["created_at", "2018-07-26 22:23:48.595520"], ["updated_at", "2018-07-26 22:23:48.595520"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{a0b8700c-98cf-4e5c-996d-f9d470c00243}"], ["created_at", "2018-07-26 22:23:48.607723"], ["updated_at", "2018-07-26 22:23:48.607723"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f4958f7_458a2ae497a8464c812ad@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{4286fab4-c774-48b1-9039-350ca7d4da45}"], ["created_at", "2018-07-26 22:23:48.621569"], ["updated_at", "2018-07-26 22:23:48.621569"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.3ms
Sent mail to user@mail.com (2.0ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f498cd3_458a2ae497a8464c8138e@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (1.0ms)[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]]
Processing by TestController#index as HTML
[1m[36mApiUserAuth::AuthUser Load (1.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('4286fab4-c774-48b1-9039-350ca7d4da45' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 1.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{c46938bd-b3e8-40d1-997d-d943fdc66ef7}"], ["created_at", "2018-07-26 22:23:48.644666"], ["updated_at", "2018-07-26 22:23:48.644666"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 01:23:48 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a49f49e9b2_458a2ae497a8464c81427@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by TestController#index as HTML
Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Processing by TestController#index as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by TestController#index as HTML
[1m[36mApiUserAuth::AuthUser Load (1.0ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('bf1b6b89-5207-41a1-a95a-2de458497f22' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 1.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{e500094c-264c-4860-a3be-7ceada78a507}"], ["created_at", "2018-07-26 22:42:58.719577"], ["updated_at", "2018-07-26 22:42:58.719577"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.0ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 232.9ms
Sent mail to user@mail.com (8.8ms)
Date: Fri, 27 Jul 2018 01:42:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a4e7311245_48992b1df3fb264c87787@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{0bd7ca97-3a80-405e-8928-6001a19f446b}"], ["created_at", "2018-07-26 22:49:13.275064"], ["updated_at", "2018-07-26 22:49:13.275064"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.0ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 232.8ms
Sent mail to user@mail.com (8.0ms)
Date: Fri, 27 Jul 2018 01:49:13 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a4fe994201_4a072abde11ba6607005e@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.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", "{8e5a4314-57c5-49a1-a5e2-cb13b0d8baab}"], ["created_at", "2018-07-26 22:54:24.665966"], ["updated_at", "2018-07-26 22:54:24.665966"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 217.1ms
Sent mail to user@mail.com (5.9ms)
Date: Fri, 27 Jul 2018 01:54:24 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a5120ef679_4b092afa2c776644650f6@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.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", "{e4bc522b-1c11-44f0-abc2-9a7065902bc2}"], ["created_at", "2018-07-26 22:55:44.396528"], ["updated_at", "2018-07-26 22:55:44.396528"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.2ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 216.0ms
Sent mail to user@mail.com (5.8ms)
Date: Fri, 27 Jul 2018 01:55:44 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a5170afad8_4b502b23722c865090a8@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{ce55a9c4-0b8e-40d4-b049-e734b8525fc4}"], ["created_at", "2018-07-26 22:59:02.087219"], ["updated_at", "2018-07-26 22:59:02.087219"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 231.0ms
Sent mail to user@mail.com (8.1ms)
Date: Fri, 27 Jul 2018 01:59:02 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a523665b57_4b8a2b27e0246660829cf@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.1ms)[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", "{fed1d533-1cd3-4192-aa25-b1982fa6f829}"], ["created_at", "2018-07-26 23:04:05.097639"], ["updated_at", "2018-07-26 23:04:05.097639"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.0ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 216.8ms
Sent mail to user@mail.com (5.8ms)
Date: Fri, 27 Jul 2018 02:04:05 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a536564708_4bf52af7da3ac64878596@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.1ms)[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", "{26e2541d-e516-45e8-a811-7a9cbeb99513}"], ["created_at", "2018-07-27 02:33:38.654835"], ["updated_at", "2018-07-27 02:33:38.654835"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 227.8ms
Sent mail to user@mail.com (7.4ms)
Date: Fri, 27 Jul 2018 05:33:38 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8482f1b06_4e8a2ab1bb0cc640547ce@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.1ms)[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", "{2daa523f-666c-419f-af83-02b8c01134de}"], ["created_at", "2018-07-27 02:34:59.598243"], ["updated_at", "2018-07-27 02:34:59.598243"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 236.1ms
Sent mail to user@mail.com (8.5ms)
Date: Fri, 27 Jul 2018 05:34:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a84d3e4ed0_4ec92abc70c3c65090660@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.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", "{d3981274-2e63-4eb0-8c6d-4c7e5b3715e0}"], ["created_at", "2018-07-27 02:41:36.839868"], ["updated_at", "2018-07-27 02:41:36.839868"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 237.4ms
Sent mail to user@mail.com (8.7ms)
Date: Fri, 27 Jul 2018 05:41:37 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a86612b2b0_4fcd2b1e060a464c57f0@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{aae07fd1-ea27-438a-a003-147962011428}"], ["created_at", "2018-07-27 03:02:59.022983"], ["updated_at", "2018-07-27 03:02:59.022983"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.0ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 229.8ms
Sent mail to user@mail.com (8.6ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b635889d_53982b1a022306303367a@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{c6f78084-a56a-4587-bc49-46fb589d84e2}"], ["created_at", "2018-07-27 03:02:59.397513"], ["updated_at", "2018-07-27 03:02:59.397513"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.8ms
Sent mail to user@mail.com (2.6ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b636266d_53982b1a02230630337fc@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
Processing by TestController#index as HTML
[1m[36mApiUserAuth::AuthUser Load (1.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('c6f78084-a56a-4587-bc49-46fb589d84e2' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 1.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{33d90937-65e2-437b-a41e-71065bae8582}"], ["created_at", "2018-07-27 03:02:59.424287"], ["updated_at", "2018-07-27 03:02:59.424287"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.9ms
Sent mail to user@mail.com (2.9ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b63691c2_53982b1a0223063033881@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by TestController#index as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by TestController#index as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by TestController#index as HTML
[1m[36mApiUserAuth::AuthUser Load (1.0ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('d889815e-f493-49ec-a148-6b91df943934' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 1.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{e9aa2c35-0be2-43c4-9875-365a81ee3a64}"], ["created_at", "2018-07-27 03:02:59.448558"], ["updated_at", "2018-07-27 03:02:59.448558"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.2ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b636eb35_53982b1a022306303394c@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 0.8ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[1m[36mApiUserAuth::AuthUser Load (0.9ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 1.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{bc9f7620-17fd-413e-a907-b700e2fd85ab}"], ["created_at", "2018-07-27 03:02:59.483822"], ["updated_at", "2018-07-27 03:02:59.483822"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.2ms
Sent mail to user@mail.com (2.7ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b637759a_53982b1a02230630340f3@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{bc9f7620-17fd-413e-a907-b700e2fd85ab,4103fcc4-fcf4-45ba-9953-38e1b60a1633}"], ["updated_at", "2018-07-27 03:02:59.499002"], ["id", 31]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 1.8ms)
[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]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{0871f4f8-edb7-4e31-9368-35a115416056}"], ["created_at", "2018-07-27 03:02:59.514821"], ["updated_at", "2018-07-27 03:02:59.514821"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to user@mail.com (3.1ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b637f116_53982b1a02230630341bc@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 201 Created in 13ms (Views: 1.2ms | ActiveRecord: 1.5ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com"}
Completed 422 Unprocessable Entity in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.0ms)[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", "{d375e12d-e96e-4909-8608-a9479730261e}"], ["created_at", "2018-07-27 03:02:59.560636"], ["updated_at", "2018-07-27 03:02:59.560636"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.7ms
Sent mail to user@mail.com (2.6ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b638a916_53982b1a022306303424@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 201 Created in 29ms (Views: 14.4ms | ActiveRecord: 2.5ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 3.0ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{fa009559-d565-47c5-851e-7a7af2c74b55}"], ["created_at", "2018-07-27 03:02:59.597363"], ["updated_at", "2018-07-27 03:02:59.597363"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b6393194_53982b1a022306303433d@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#logout as HTML
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('fa009559-d565-47c5-851e-7a7af2c74b55' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{}"], ["updated_at", "2018-07-27 03:02:59.608872"], ["id", 34]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.9ms)
[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"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{e8380e5a-559b-4217-82d4-62b42d51b68b}"], ["created_at", "2018-07-27 03:02:59.618577"], ["updated_at", "2018-07-27 03:02:59.618577"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (2.0ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b6398383_53982b1a02230630344e6@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#logout as HTML
[1m[36mApiUserAuth::AuthUser Load (0.9ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('923504b5-b46a-45fc-b878-18b468efca08' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.9ms)
[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"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
[1m[36mApiUserAuth::ProviderToken Load (0.8ms)[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]]
[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]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.0ms)[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", "{9119fb8f-d662-437f-805a-088258ba78ad}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 03:02:59.650328"], ["updated_at", "2018-07-27 03:02:59.650328"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.9ms
Sent mail to user@mail.com (2.5ms)
Date: Fri, 27 Jul 2018 06:02:59 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b63a0672_53982b1a022306303451a@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 5.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.9ms)[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", "{9119fb8f-d662-437f-805a-088258ba78ad,2c89fda5-b14b-4742-a321-5e8aeba9c1db}"], ["updated_at", "2018-07-27 03:02:59.667880"], ["id", 36]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 7.5ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
Completed 422 Unprocessable Entity in 601ms (Views: 0.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram2", "token"=>"token"}
Completed 422 Unprocessable Entity in 329ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.0ms)[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", "{40de9e89-85df-45fa-bf23-8033ea30d7db}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 03:03:00.637797"], ["updated_at", "2018-07-27 03:03:00.637797"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.1ms)
Date: Fri, 27 Jul 2018 06:03:00 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b649d0b7_53982b1a02230630346d4@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 2.5ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{40de9e89-85df-45fa-bf23-8033ea30d7db,acdc7cab-d6aa-4ec8-8a03-34f0e849a5ce}"], ["updated_at", "2018-07-27 03:03:00.654085"], ["id", 37]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 4.6ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
Completed 422 Unprocessable Entity in 177ms (Views: 0.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google2", "token"=>"token"}
Completed 422 Unprocessable Entity in 155ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
Completed 422 Unprocessable Entity in 252ms (Views: 0.5ms | ActiveRecord: 0.0ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook2", "token"=>"token"}
Completed 422 Unprocessable Entity in 233ms (Views: 0.5ms | ActiveRecord: 0.0ms)
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{80ada129-f5cf-4dc1-8f0a-b2ad03d92cef}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 03:03:01.525579"], ["updated_at", "2018-07-27 03:03:01.525579"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 06:03:01 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b6581a71_53982b1a0223063034791@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 2.9ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{80ada129-f5cf-4dc1-8f0a-b2ad03d92cef,e06b68cd-c60e-4da3-866b-d369d1946453}"], ["updated_at", "2018-07-27 03:03:01.542419"], ["id", 38]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 5.2ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.1ms)[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", "{a6b1dbd5-6da0-4c4e-bf09-88ec875c298e}"], ["created_at", "2018-07-27 03:03:01.555125"], ["updated_at", "2018-07-27 03:03:01.555125"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (2.0ms)
Date: Fri, 27 Jul 2018 06:03:01 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b6588d8f_53982b1a02230630348f3@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#forgot_password as HTML
Parameters: {"email"=>"user1@mail.com"}
[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", "user1@mail.com"], ["LIMIT", 1]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
[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"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.0ms)[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", "{e3de15c5-91a6-454b-99ec-110eba122ab0}"], ["created_at", "2018-07-27 03:03:01.572435"], ["updated_at", "2018-07-27 03:03:01.572435"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.3ms
Sent mail to user@mail.com (1.9ms)
Date: Fri, 27 Jul 2018 06:03:01 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b658cf47_53982b1a0223063034932@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#forgot_password as HTML
Parameters: {"email"=>"user@mail.com"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (1.1ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "202019"], ["updated_at", "2018-07-27 03:03:01.582865"], ["id", 40]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.6ms)
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 11.3ms
Sent mail to user@mail.com (1.9ms)
Date: Fri, 27 Jul 2018 06:03:01 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b6592e32_53982b1a0223063035087@mercury.mail>
Subject: Password Code Reset
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
user@mail.com
202019
Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 2.4ms)
[1m[36mApiUserAuth::AuthUser Load (1.0ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.0ms)[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", "{57f501fa-0ebe-42cb-8b7c-456d1601c587}"], ["created_at", "2018-07-27 03:03:01.614358"], ["updated_at", "2018-07-27 03:03:01.614358"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.9ms
Sent mail to user@mail.com (2.4ms)
Date: Fri, 27 Jul 2018 06:03:01 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b6597849_53982b1a0223063035122@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.5ms)[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 03:03:01.623861"], ["id", 41]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
[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", "user1@mail.com"], ["LIMIT", 1]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 0.7ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.7ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{9b37c284-4480-4d82-90f1-516e4a5819f4}"], ["created_at", "2018-07-27 03:03:01.641984"], ["updated_at", "2018-07-27 03:03:01.641984"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (1.9ms)
Date: Fri, 27 Jul 2018 06:03:01 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8b659de72_53982b1a022306303524@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.6ms)[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 03:03:01.649552"], ["id", 42]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.7ms)[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", "{9b37c284-4480-4d82-90f1-516e4a5819f4,9f2b69c2-7e36-4b80-9d5a-e8831aed022c}"], ["updated_at", "2018-07-27 03:03:01.655452"], ["id", 42]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 1.9ms)
[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"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "0368c962c786b6aa65d302ca7a6538ecdbe35c35692c3d822f18cfcc3b2736b9"], ["created_at", "2018-07-27 03:03:01.666320"], ["updated_at", "2018-07-27 03:03:01.666320"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to 10101010@facebook.com (2.0ms)
Date: Fri, 27 Jul 2018 06:03:01 +0300
From: support@example.com
To: 10101010@facebook.com
Message-ID: <5b5a8b65a3ba4_53982b1a0223063035325@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
10101010@facebook.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::ProviderToken Create (0.6ms)[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", 43], ["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 03:03:01.706395"], ["updated_at", "2018-07-27 03:03:01.706395"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{8fc2e9ef-e44f-49db-916e-f46c90b0f99a}"], ["created_at", "2018-07-27 03:06:10.113056"], ["updated_at", "2018-07-27 03:06:10.113056"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (1.0ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 233.0ms
Sent mail to user@mail.com (8.3ms)
Date: Fri, 27 Jul 2018 06:06:10 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c226ca34_54292afe38b726483968c@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#forgot_password as HTML
Parameters: {"email"=>"user@mail.com"}
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (1.1ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "937341"], ["updated_at", "2018-07-27 03:06:10.462706"], ["id", 44]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.5ms)
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 12.2ms
Sent mail to user@mail.com (3.5ms)
Date: Fri, 27 Jul 2018 06:06:10 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c2276075_54292afe38b72648397bb@mercury.mail>
Subject: Password Code Reset
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
user@mail.com
937341
Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 2.5ms)
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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", 44], ["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{b2d3a217-8ab2-4c5f-9174-076774a6931c}"], ["created_at", "2018-07-27 03:06:10.496670"], ["updated_at", "2018-07-27 03:06:10.496670"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.0ms
Sent mail to user@mail.com (2.9ms)
Date: Fri, 27 Jul 2018 06:06:10 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c227acaf_54292afe38b72648398aa@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#forgot_password as HTML
Parameters: {"email"=>"user1@mail.com"}
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
Completed 422 Unprocessable Entity in 3ms (Views: 0.5ms | ActiveRecord: 0.8ms)
[1m[36mApiUserAuth::AuthUser Load (0.9ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
Completed 422 Unprocessable Entity in 257ms (Views: 1.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook2", "token"=>"token"}
Completed 422 Unprocessable Entity in 226ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{ea553353-cf85-48ef-973e-5a0a0183bf4a}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 03:06:11.041861"], ["updated_at", "2018-07-27 03:06:11.041861"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.0ms
Sent mail to user@mail.com (3.3ms)
Date: Fri, 27 Jul 2018 06:06:11 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c23bb3d_54292afe38b72648399cb@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 4.6ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"facebook", "token"=>"token"}
[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]]
[1m[36mApiUserAuth::AuthUser Load (0.8ms)[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.9ms)[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", "{ea553353-cf85-48ef-973e-5a0a0183bf4a,56dcf082-d8e0-4856-9586-9448fbd9023b}"], ["updated_at", "2018-07-27 03:06:11.062402"], ["id", 46]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 7.7ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
Completed 422 Unprocessable Entity in 173ms (Views: 0.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google2", "token"=>"token"}
Completed 422 Unprocessable Entity in 160ms (Views: 0.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.0ms)[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", "{e99621d0-7050-4ced-b7e4-e7738d54ab08}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 03:06:11.448698"], ["updated_at", "2018-07-27 03:06:11.448698"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.2ms)
Date: Fri, 27 Jul 2018 06:06:11 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c236eede_54292afe38b7264840030@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 2.6ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"google", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.9ms)[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", "{e99621d0-7050-4ced-b7e4-e7738d54ab08,8da77889-501e-452a-a96e-f340838b867f}"], ["updated_at", "2018-07-27 03:06:11.465972"], ["id", 47]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 5.4ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{7d9bce0b-5703-4261-8223-30286021dae4}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 03:06:11.489171"], ["updated_at", "2018-07-27 03:06:11.489171"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.2ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 3.7ms
Sent mail to user@mail.com (4.2ms)
Date: Fri, 27 Jul 2018 06:06:11 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c237a072_54292afe38b7264840188@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 2.8ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
[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]]
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.9ms)[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", "{7d9bce0b-5703-4261-8223-30286021dae4,fc21f971-98fe-42bd-9052-bf7341b6534b}"], ["updated_at", "2018-07-27 03:06:11.512236"], ["id", 48]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 5.7ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram", "token"=>"token"}
Completed 422 Unprocessable Entity in 648ms (Views: 0.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram2", "token"=>"token"}
Completed 422 Unprocessable Entity in 591ms (Views: 0.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#provider as HTML
Parameters: {"provider"=>"instagram"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (1.0ms)[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", "{51c5e61b-4e18-4fbb-8097-51f156175d94}"], ["created_at", "2018-07-27 03:06:12.781157"], ["updated_at", "2018-07-27 03:06:12.781157"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.9ms
Sent mail to user@mail.com (2.7ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c24c0385_54292afe38b726484025b@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#logout as HTML
[1m[36mApiUserAuth::AuthUser Load (1.9ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('51c5e61b-4e18-4fbb-8097-51f156175d94' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.9ms)[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 03:06:12.795574"], ["id", 49]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.6ms)
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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", 49], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{83a4f437-7a77-43a8-bdb9-0db48185afbd}"], ["created_at", "2018-07-27 03:06:12.806127"], ["updated_at", "2018-07-27 03:06:12.806127"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.7ms
Sent mail to user@mail.com (2.4ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c24c60e2_54292afe38b7264840339@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#logout as HTML
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('bf02d676-d23b-4859-977a-52eb01945b4e' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.7ms)
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 50], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{0bb6b92c-0913-4dfa-a861-93f450fe7df4}"], ["created_at", "2018-07-27 03:06:12.826861"], ["updated_at", "2018-07-27 03:06:12.826861"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.3ms
Sent mail to user@mail.com (1.7ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c24cafbf_54292afe38b726484045a@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 201 Created in 10ms (Views: 0.3ms | ActiveRecord: 2.3ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com"}
Completed 422 Unprocessable Entity in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{b8312320-fdf8-4441-b5ad-2d31acb3571d}"], ["created_at", "2018-07-27 03:06:12.866165"], ["updated_at", "2018-07-27 03:06:12.866165"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to user@mail.com (1.9ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c24d486e_54292afe38b7264840564@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 201 Created in 11ms (Views: 0.2ms | ActiveRecord: 1.8ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by ApiUserAuth::AuthController#create as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 2.3ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{bf725308-e15c-4c8d-9ef5-e99cec2b213f}"], ["created_at", "2018-07-27 03:06:12.885139"], ["updated_at", "2018-07-27 03:06:12.885139"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.6ms
Sent mail to user@mail.com (2.3ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c24d94f0_54292afe38b726484066b@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.6ms)[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 03:06:12.893288"], ["id", 53]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
[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", "user1@mail.com"], ["LIMIT", 1]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms | ActiveRecord: 0.8ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.8ms)
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{5e61b936-3766-4b88-a36d-621b2c11c200}"], ["created_at", "2018-07-27 03:06:12.914750"], ["updated_at", "2018-07-27 03:06:12.914750"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to user@mail.com (1.9ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c24e064c_54292afe38b726484074b@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.5ms)[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 03:06:12.921881"], ["id", 54]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by ApiUserAuth::AuthController#password as HTML
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
[1m[36mApiUserAuth::AuthUser Load (0.9ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Update (0.6ms)[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", "{5e61b936-3766-4b88-a36d-621b2c11c200,3f53463a-f1ae-46dd-b088-d15ac657743f}"], ["updated_at", "2018-07-27 03:06:12.928620"], ["id", 54]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.2ms)
[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"."id" = $1 LIMIT $2[0m [["id", 54], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{be081cc5-b6ca-48b4-9b8a-0758b86b9e18}"], ["created_at", "2018-07-27 03:06:12.938429"], ["updated_at", "2018-07-27 03:06:12.938429"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.5ms
Sent mail to user@mail.com (1.9ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c24e631d_54292afe38b72648408c1@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{be081cc5-b6ca-48b4-9b8a-0758b86b9e18,dbc062b6-a328-4bed-a604-01a19b1fc4fc}"], ["updated_at", "2018-07-27 03:06:12.950838"], ["id", 55]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 1.7ms)
[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]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{daa1dc31-28b4-4b11-ad34-d96c451b8af0}"], ["created_at", "2018-07-27 03:06:12.961172"], ["updated_at", "2018-07-27 03:06:12.961172"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to user@mail.com (2.1ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c24ebc5e_54292afe38b72648409cf@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"password"=>"[FILTERED]"}
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
[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", "user2@mail.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 0.6ms)
Processing by ApiUserAuth::AuthController#login as HTML
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
[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]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 1.1ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "ebfb85d2f934dca090e62360b84a3f56bde89a6d79833e59c03c368344a35576"], ["created_at", "2018-07-27 03:06:12.991065"], ["updated_at", "2018-07-27 03:06:12.991065"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to 10101010@facebook.com (2.0ms)
Date: Fri, 27 Jul 2018 06:06:12 +0300
From: support@example.com
To: 10101010@facebook.com
Message-ID: <5b5a8c24f321c_54292afe38b726484103e@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
10101010@facebook.com
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::ProviderToken Create (1.0ms)[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", 57], ["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 03:06:13.028036"], ["updated_at", "2018-07-27 03:06:13.028036"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[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", "{8e249393-f2a7-4b8d-8aab-94a411c7454f}"], ["created_at", "2018-07-27 03:06:13.038673"], ["updated_at", "2018-07-27 03:06:13.038673"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 3.9ms
Sent mail to user@mail.com (4.2ms)
Date: Fri, 27 Jul 2018 06:06:13 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c25bd29_54292afe38b7264841148@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
Processing by TestController#index as HTML
Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by TestController#index as HTML
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Processing by TestController#index as HTML
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('25ad8885-45e2-4d01-98f9-fed6dce8578f' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 0.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.6ms)[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", "{92f0035a-30a1-4e5d-a0a2-6458d919583f}"], ["created_at", "2018-07-27 03:06:13.064563"], ["updated_at", "2018-07-27 03:06:13.064563"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.4ms
Sent mail to user@mail.com (1.8ms)
Date: Fri, 27 Jul 2018 06:06:13 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c2510cd6_54292afe38b7264841252@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
Processing by TestController#index as HTML
[1m[36mApiUserAuth::AuthUser Load (1.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('92f0035a-30a1-4e5d-a0a2-6458d919583f' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 1.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[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]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mApiUserAuth::AuthUser Create (0.9ms)[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", "{69de58b5-f015-4300-9225-b428df5576b5}"], ["created_at", "2018-07-27 03:06:13.087910"], ["updated_at", "2018-07-27 03:06:13.087910"]]
Rendering /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
Rendered /home/doneit/bit-forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.7ms
Sent mail to user@mail.com (2.1ms)
Date: Fri, 27 Jul 2018 06:06:13 +0300
From: support@example.com
To: user@mail.com
Message-ID: <5b5a8c2516d1a_54292afe38b7264841322@mercury.mail>
Subject: Welcome !
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Welcome
user@mail.com
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m