push_type_auth 0.1.0.beta3 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/push_type/profiles_controller.rb +50 -0
- data/app/views/push_type/profiles/edit.html.haml +46 -0
- data/config/routes.rb +2 -0
- data/lib/push_type/auth/engine.rb +0 -1
- data/lib/tasks/push_type_tasks.rake +26 -4
- data/test/controllers/concerns/push_type/authentication_methods_test.rb +15 -0
- data/test/controllers/concerns/push_type/invitation_methods_test.rb +11 -0
- data/test/controllers/push_type/profiles_controller_test.rb +33 -0
- data/test/controllers/push_type/users_controller_test.rb +24 -0
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20141205213533_create_push_type_users.push_type.rb → 20150102204443_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20141205213534_create_push_type_nodes.push_type.rb → 20150102204444_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20141205213535_create_push_type_node_hierarchies.push_type.rb → 20150102204445_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20141205213536_create_push_type_assets.push_type.rb → 20150102204446_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20141205213537_devise_extend_push_type_users.push_type_auth.rb → 20150102204447_devise_extend_push_type_users.push_type_auth.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +696 -269
- data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/admin.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/foundation_and_overrides.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/12375f1bf3d91db0a06c3fc436918949 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b3b2a83d3d7d735130f0b029e58b29b8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dd803fd7a93619599c7e703c2b307411 +0 -0
- data/test/factories.rb +7 -0
- data/test/models/concerns/push_type/authenticatable_test.rb +52 -0
- metadata +46 -18
data/test/dummy/log/test.log
CHANGED
@@ -1,394 +1,821 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
4
|
-
Migrating to CreatePushTypeUsers (
|
5
|
-
[1m[35m (0.
|
6
|
-
[1m[36mSQL (
|
7
|
-
[1m[35m (
|
8
|
-
[1m[36mSQL (0.
|
9
|
-
[1m[35m (0.
|
10
|
-
Migrating to CreatePushTypeNodes (
|
11
|
-
[1m[36m (0.
|
12
|
-
[1m[35m (
|
13
|
-
[1m[36mSQL (0.
|
14
|
-
[1m[35m (0.8ms)[0m COMMIT
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (20141205213535)
|
16
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
17
|
-
[1m[35m (1.2ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
|
-
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
19
|
-
[1m[35m (1.9ms)[0m CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205213535"]]
|
1
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
2
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreatePushTypeUsers (20150102204443)
|
5
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6
|
+
[1m[36mSQL (2.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying(255), "email" character varying(255), "field_store" json, "created_at" timestamp, "updated_at" timestamp)
|
8
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150102204443"]]
|
9
|
+
[1m[35m (0.7ms)[0m COMMIT
|
10
|
+
Migrating to CreatePushTypeNodes (20150102204444)
|
11
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
12
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying(255), "title" character varying(255), "slug" character varying(255), "field_store" json, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
13
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150102204444"]]
|
21
14
|
[1m[35m (0.6ms)[0m COMMIT
|
22
|
-
Migrating to
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150102204445)
|
23
16
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
24
|
-
[1m[35m (
|
25
|
-
[1m[
|
26
|
-
[1m[35m (
|
27
|
-
|
17
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
19
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150102204445"]]
|
21
|
+
[1m[35m (0.5ms)[0m COMMIT
|
22
|
+
Migrating to CreatePushTypeAssets (20150102204446)
|
28
23
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
29
|
-
[1m[35m (
|
30
|
-
[1m[
|
31
|
-
[1m[35m (0.
|
32
|
-
|
33
|
-
[1m[
|
34
|
-
[1m[
|
35
|
-
[1m[
|
36
|
-
[1m[
|
37
|
-
[1m[
|
38
|
-
[1m[
|
39
|
-
[1m[
|
40
|
-
[1m[
|
41
|
-
[1m[
|
42
|
-
[1m[
|
43
|
-
[1m[
|
44
|
-
[1m[
|
24
|
+
[1m[35m (2.9ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying(255), "file_name" character varying(255), "file_size" integer, "file_ext" character varying(255), "mime_type" character varying(255), "description" character varying(255), "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
25
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150102204446"]]
|
26
|
+
[1m[35m (0.5ms)[0m COMMIT
|
27
|
+
Migrating to DeviseExtendPushTypeUsers (20150102204447)
|
28
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
29
|
+
[1m[35m (6.2ms)[0m ALTER TABLE "push_type_users" ADD COLUMN "encrypted_password" character varying(255) DEFAULT '' NOT NULL
|
30
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "push_type_users" ADD COLUMN "reset_password_token" character varying(255)[0m
|
31
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ADD COLUMN "reset_password_sent_at" timestamp
|
32
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ADD COLUMN "remember_created_at" timestamp[0m
|
33
|
+
[1m[35m (3.5ms)[0m ALTER TABLE "push_type_users" ADD COLUMN "sign_in_count" integer DEFAULT 0 NOT NULL
|
34
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "push_type_users" ADD COLUMN "current_sign_in_at" timestamp[0m
|
35
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ADD COLUMN "last_sign_in_at" timestamp
|
36
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "push_type_users" ADD COLUMN "current_sign_in_ip" character varying(255)[0m
|
37
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "push_type_users" ADD COLUMN "last_sign_in_ip" character varying(255)
|
38
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ADD COLUMN "confirmation_token" character varying(255)[0m
|
39
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ADD COLUMN "confirmed_at" timestamp
|
40
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ADD COLUMN "confirmation_sent_at" timestamp[0m
|
41
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
|
42
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")[0m
|
43
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102204447"]]
|
44
|
+
[1m[36m (1.5ms)[0m [1mCOMMIT[0m
|
45
45
|
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
46
46
|
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
47
|
-
[1m[35m (
|
48
|
-
[1m[36m (
|
49
|
-
[1m[35mSQL (0.
|
50
|
-
[1m[36mSQL (
|
51
|
-
[1m[35m (
|
47
|
+
[1m[35m (122.2ms)[0m DROP DATABASE IF EXISTS "dummy_test"
|
48
|
+
[1m[36m (253.5ms)[0m [1mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
49
|
+
[1m[35mSQL (0.6ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
50
|
+
[1m[36mSQL (3.9ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
51
|
+
[1m[35m (6.0ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying(255), "file_name" character varying(255), "file_size" integer, "file_ext" character varying(255), "mime_type" character varying(255), "description" character varying(255), "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
52
52
|
[1m[36m (1.2ms)[0m [1mCREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
|
53
|
-
[1m[35m (1.
|
54
|
-
[1m[36m (1.
|
55
|
-
[1m[35m (3.
|
56
|
-
[1m[36m (3.
|
57
|
-
[1m[35m (1.
|
58
|
-
[1m[36m (1.
|
53
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" USING btree ("ancestor_id", "descendant_id", "generations")
|
54
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "desc_idx" ON "push_type_node_hierarchies" USING btree ("descendant_id")[0m
|
55
|
+
[1m[35m (3.3ms)[0m CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying(255), "title" character varying(255), "slug" character varying(255), "field_store" json, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
56
|
+
[1m[36m (3.3ms)[0m [1mCREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying(255), "email" character varying(255), "field_store" json, "created_at" timestamp, "updated_at" timestamp, "encrypted_password" character varying(255) DEFAULT '' NOT NULL, "reset_password_token" character varying(255), "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" character varying(255), "last_sign_in_ip" character varying(255), "confirmation_token" character varying(255), "confirmed_at" timestamp, "confirmation_sent_at" timestamp) [0m
|
57
|
+
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" USING btree ("email")
|
58
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" USING btree ("reset_password_token")[0m
|
59
59
|
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
60
|
-
[1m[36m (1.
|
60
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
61
61
|
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
62
|
-
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('
|
62
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150102204447')[0m
|
63
63
|
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141120155629')
|
64
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
64
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
65
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
|
66
|
+
[1m[36m (1.5ms)[0m [1mselect table_name from information_schema.views where table_schema = 'dummy_test'[0m
|
67
|
+
[1m[35m (16.2ms)[0m TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
|
68
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL[0m
|
65
69
|
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
66
70
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
67
|
-
|
68
|
-
PushType::
|
69
|
-
|
71
|
+
------------------------------------------------------------
|
72
|
+
PushType::ProfilesController::GET #edit: test_0001_anonymous
|
73
|
+
------------------------------------------------------------
|
70
74
|
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
71
|
-
[1m[
|
72
|
-
[1m[
|
73
|
-
[1m[
|
74
|
-
[1m[
|
75
|
-
|
75
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
77
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
|
78
|
+
[1m[35mPushType::User Exists (0.8ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
|
79
|
+
[1m[36mPushType::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1[0m
|
80
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:44:53.097779"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:44:53.097858"], ["created_at", "2015-01-02 20:44:53.112531"], ["email", "joe-1@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:44:53.112531"]]
|
81
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
82
|
+
Processing by PushType::ProfilesController#edit as HTML
|
83
|
+
[1m[35mPushType::User Load (0.9ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '407295a1-162b-49ad-a53f-3a7eb4ec5f84' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
84
|
+
Rendered /Users/aaron/dev/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (15.4ms)
|
85
|
+
Completed 200 OK in 11597ms (Views: 11580.9ms | ActiveRecord: 0.9ms)
|
86
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
88
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
89
|
+
------------------------------------------------------------
|
90
|
+
PushType::ProfilesController::GET #edit: test_0002_anonymous
|
91
|
+
------------------------------------------------------------
|
92
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
93
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
95
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
96
|
+
[1m[35mPushType::User Exists (0.7ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
|
97
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1[0m
|
98
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:04.724517"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:04.724603"], ["created_at", "2015-01-02 20:45:04.727747"], ["email", "joe-2@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:04.727747"]]
|
99
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
100
|
+
Processing by PushType::ProfilesController#edit as HTML
|
101
|
+
[1m[35mPushType::User Load (0.5ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '09b3b0ff-bf81-465b-9eee-c903d8eff9ab' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
102
|
+
Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.5ms)
|
103
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
104
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
105
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
106
|
+
--------------------------------------------------------------------------------------------------
|
107
|
+
PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
|
108
|
+
--------------------------------------------------------------------------------------------------
|
109
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
110
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
111
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
112
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
113
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
114
|
+
[1m[36mPushType::User Load (0.5ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '56b1e5a99343cfc29d2013012400e115cc7ef262c6fc0ced9859df9690d8546d' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
115
|
+
[1m[35mPushType::User Load (0.5ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '56b1e5a99343cfc29d2013012400e115cc7ef262c6fc0ced9859df9690d8546d' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
116
|
+
Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (3.6ms)
|
117
|
+
Completed 200 OK in 334ms (Views: 15.9ms | ActiveRecord: 1.0ms)
|
118
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
119
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
120
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
121
|
+
--------------------------------------------------------------------------------------------------
|
122
|
+
PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
|
123
|
+
--------------------------------------------------------------------------------------------------
|
124
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
125
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
127
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
128
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
129
|
+
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '56b1e5a99343cfc29d2013012400e115cc7ef262c6fc0ced9859df9690d8546d' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
130
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '56b1e5a99343cfc29d2013012400e115cc7ef262c6fc0ced9859df9690d8546d' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
131
|
+
Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
|
132
|
+
Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.7ms)
|
133
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
134
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136
|
+
---------------------------------------------------------------------------------
|
137
|
+
PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
|
138
|
+
---------------------------------------------------------------------------------
|
139
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
140
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
141
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
143
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
|
144
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1[0m
|
145
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.104145"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.104214"], ["created_at", "2015-01-02 20:45:05.106481"], ["email", "joe-3@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.106481"]]
|
146
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
147
|
+
Processing by PushType::ProfilesController#update as HTML
|
148
|
+
Parameters: {"user"=>{"name"=>""}}
|
149
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '7a6ce02a-b729-4d5e-a2a0-1ff1e1a49598' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
150
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
151
|
+
[1m[35mPushType::User Exists (0.4ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '7a6ce02a-b729-4d5e-a2a0-1ff1e1a49598') LIMIT 1
|
152
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
153
|
+
Completed 200 OK in 14ms (Views: 8.8ms | ActiveRecord: 1.1ms)
|
154
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
155
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
156
|
+
[1m[35m (0.1ms)[0m BEGIN
|
157
|
+
---------------------------------------------------------------------------------
|
158
|
+
PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
|
159
|
+
---------------------------------------------------------------------------------
|
160
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
161
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
162
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
163
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
164
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1[0m
|
165
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
|
166
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.126862"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.126919"], ["created_at", "2015-01-02 20:45:05.129259"], ["email", "joe-4@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.129259"]]
|
167
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
168
|
+
Processing by PushType::ProfilesController#update as HTML
|
169
|
+
Parameters: {"user"=>{"name"=>""}}
|
170
|
+
[1m[36mPushType::User Load (0.8ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'bcb1dc8b-4cbb-4dce-bed6-522c74f65b40' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
171
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
172
|
+
[1m[36mPushType::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != 'bcb1dc8b-4cbb-4dce-bed6-522c74f65b40') LIMIT 1[0m
|
173
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
174
|
+
Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 1.4ms)
|
175
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
176
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
177
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
178
|
+
--------------------------------------------------------------------------------------
|
179
|
+
PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
|
180
|
+
--------------------------------------------------------------------------------------
|
181
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
182
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
183
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
184
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
|
185
|
+
[1m[35mPushType::User Exists (0.5ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
|
186
|
+
[1m[36mPushType::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1[0m
|
187
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b3c6a6316a2ab3b686cd5ee3c5c9b44d3b43d1a72b22c909b183651b03f5f414' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
188
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.155764"], ["confirmation_token", "b3c6a6316a2ab3b686cd5ee3c5c9b44d3b43d1a72b22c909b183651b03f5f414"], ["created_at", "2015-01-02 20:45:05.153876"], ["email", "joe-5@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.153876"]]
|
76
189
|
|
77
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
190
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 175.3ms
|
78
191
|
|
79
|
-
Sent mail to joe-
|
80
|
-
Date: Fri,
|
192
|
+
Sent mail to joe-5@example.com (11.8ms)
|
193
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
81
194
|
From: please-change-me-at-config-initializers-devise@example.com
|
82
195
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
83
|
-
To: joe-
|
84
|
-
Message-ID: <
|
196
|
+
To: joe-5@example.com
|
197
|
+
Message-ID: <54a7035153ff1_8d13fe135065be898597@Aarons-MacBook-Air-3.local.mail>
|
85
198
|
Subject: Confirmation instructions
|
86
199
|
Mime-Version: 1.0
|
87
200
|
Content-Type: text/html;
|
88
201
|
charset=UTF-8
|
89
202
|
Content-Transfer-Encoding: 7bit
|
90
203
|
|
91
|
-
<p>Welcome joe-
|
204
|
+
<p>Welcome joe-5@example.com!</p>
|
92
205
|
|
93
206
|
<p>You can confirm your account email through the link below:</p>
|
94
207
|
|
95
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
208
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=ZDTDvhtn5ysYQ97PXjbF">Confirm my account</a></p>
|
96
209
|
|
97
|
-
[1m[
|
98
|
-
Processing by PushType::ConfirmationsController#
|
99
|
-
Parameters: {"confirmation_token"=>"
|
100
|
-
[1m[
|
101
|
-
|
102
|
-
Rendered /Users/aaron/dev/push_type/auth/app/views/
|
103
|
-
Completed 200 OK in
|
104
|
-
[1m[36m (
|
105
|
-
[1m[35m (
|
106
|
-
[1m[36m (
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
[1m[36m (0.
|
114
|
-
[1m[35mPushType::User Exists (0.
|
115
|
-
[1m[36mPushType::User Exists (0.
|
116
|
-
[1m[35mPushType::User Load (0.
|
117
|
-
[1m[36mSQL (0.
|
210
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_2
|
211
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
212
|
+
Parameters: {"user"=>{"confirmation_token"=>"ZDTDvhtn5ysYQ97PXjbF", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
213
|
+
[1m[36mPushType::User Load (0.7ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b3c6a6316a2ab3b686cd5ee3c5c9b44d3b43d1a72b22c909b183651b03f5f414' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
214
|
+
[1m[35mPushType::User Exists (0.5ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != 'da727247-dba0-425b-937d-4808bde97c05') LIMIT 1
|
215
|
+
Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
|
216
|
+
Completed 200 OK in 15ms (Views: 9.0ms | ActiveRecord: 1.2ms)
|
217
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
218
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
219
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
220
|
+
--------------------------------------------------------------------------------------
|
221
|
+
PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
|
222
|
+
--------------------------------------------------------------------------------------
|
223
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
224
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
225
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
226
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
227
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
|
228
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1[0m
|
229
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'd9a6ea7827783b7a9c214922d131281868d7088dcc1bfe923985ee412356fc5d' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
230
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.373576"], ["confirmation_token", "d9a6ea7827783b7a9c214922d131281868d7088dcc1bfe923985ee412356fc5d"], ["created_at", "2015-01-02 20:45:05.372384"], ["email", "joe-6@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.372384"]]
|
118
231
|
|
119
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
232
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.8ms
|
120
233
|
|
121
|
-
Sent mail to joe-
|
122
|
-
Date: Fri,
|
234
|
+
Sent mail to joe-6@example.com (2.2ms)
|
235
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
123
236
|
From: please-change-me-at-config-initializers-devise@example.com
|
124
237
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
125
|
-
To: joe-
|
126
|
-
Message-ID: <
|
238
|
+
To: joe-6@example.com
|
239
|
+
Message-ID: <54a703515c3e6_8d13fe135065be898614@Aarons-MacBook-Air-3.local.mail>
|
127
240
|
Subject: Confirmation instructions
|
128
241
|
Mime-Version: 1.0
|
129
242
|
Content-Type: text/html;
|
130
243
|
charset=UTF-8
|
131
244
|
Content-Transfer-Encoding: 7bit
|
132
245
|
|
133
|
-
<p>Welcome joe-
|
246
|
+
<p>Welcome joe-6@example.com!</p>
|
134
247
|
|
135
248
|
<p>You can confirm your account email through the link below:</p>
|
136
249
|
|
137
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
250
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=P5QvLNzPZY175zGvu_qs">Confirm my account</a></p>
|
138
251
|
|
139
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT
|
140
|
-
Processing by PushType::ConfirmationsController#
|
141
|
-
Parameters: {"confirmation_token"=>"
|
142
|
-
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '
|
252
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
253
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
254
|
+
Parameters: {"user"=>{"confirmation_token"=>"P5QvLNzPZY175zGvu_qs", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
255
|
+
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'd9a6ea7827783b7a9c214922d131281868d7088dcc1bfe923985ee412356fc5d' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
256
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != '98336eb4-7b82-4a8b-bc70-b547620e254d') LIMIT 1
|
143
257
|
Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
|
144
|
-
Completed 200 OK in 7ms (Views:
|
145
|
-
[1m[
|
146
|
-
[1m[
|
147
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
|
148
|
-
[1m[36m (2.4ms)[0m [1mROLLBACK[0m
|
149
|
-
[1m[35m (0.1ms)[0m BEGIN
|
150
|
-
--------------------------------------------------------------------------------------------------
|
151
|
-
PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
|
152
|
-
--------------------------------------------------------------------------------------------------
|
153
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
154
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
155
|
-
[1m[36mPushType::User Load (0.6ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '68865772f652a51673eabfb185ee85c0d5421263393cc3ac3edeccb7371a9b6b' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
156
|
-
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '68865772f652a51673eabfb185ee85c0d5421263393cc3ac3edeccb7371a9b6b' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
157
|
-
Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.6ms)
|
158
|
-
Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 1.0ms)
|
159
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
160
|
-
[1m[35m (7.5ms)[0m TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
|
161
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL[0m
|
162
|
-
[1m[35m (2.4ms)[0m ROLLBACK
|
258
|
+
Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.7ms)
|
259
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
260
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
163
261
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
164
|
-
|
165
|
-
PushType::ConfirmationsController::
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
[1m[
|
170
|
-
[1m[
|
171
|
-
|
172
|
-
|
173
|
-
[1m[
|
174
|
-
[1m[
|
175
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
|
176
|
-
[1m[36m (2.5ms)[0m [1mROLLBACK[0m
|
177
|
-
[1m[35m (0.2ms)[0m BEGIN
|
178
|
-
------------------------------------------------------------------------------------
|
179
|
-
PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
|
180
|
-
------------------------------------------------------------------------------------
|
181
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
182
|
-
[1m[35mPushType::User Exists (0.5ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
|
183
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1[0m
|
184
|
-
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '4e52633b9437b235dd28a4883c13e9c0db4cbd7298357ea3ea84f6de414f5e9e' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
185
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2014-12-05 21:35:53.803728"], ["confirmation_token", "4e52633b9437b235dd28a4883c13e9c0db4cbd7298357ea3ea84f6de414f5e9e"], ["created_at", "2014-12-05 21:35:53.802320"], ["email", "joe-3@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:53.802320"]]
|
262
|
+
--------------------------------------------------------------------------------------
|
263
|
+
PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
|
264
|
+
--------------------------------------------------------------------------------------
|
265
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
266
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
267
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
268
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
|
269
|
+
[1m[35mPushType::User Exists (0.4ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
|
270
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1[0m
|
271
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'df582e633d1879c8809ada0ddc7fc64ee08aeaac5c87311fc173c83c13f3623a' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
272
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.397260"], ["confirmation_token", "df582e633d1879c8809ada0ddc7fc64ee08aeaac5c87311fc173c83c13f3623a"], ["created_at", "2015-01-02 20:45:05.395726"], ["email", "joe-7@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.395726"]]
|
186
273
|
|
187
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
274
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.8ms
|
188
275
|
|
189
|
-
Sent mail to joe-
|
190
|
-
Date: Fri,
|
276
|
+
Sent mail to joe-7@example.com (3.2ms)
|
277
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
191
278
|
From: please-change-me-at-config-initializers-devise@example.com
|
192
279
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
193
|
-
To: joe-
|
194
|
-
Message-ID: <
|
280
|
+
To: joe-7@example.com
|
281
|
+
Message-ID: <54a70351621ee_8d13fe135065be8987f4@Aarons-MacBook-Air-3.local.mail>
|
195
282
|
Subject: Confirmation instructions
|
196
283
|
Mime-Version: 1.0
|
197
284
|
Content-Type: text/html;
|
198
285
|
charset=UTF-8
|
199
286
|
Content-Transfer-Encoding: 7bit
|
200
287
|
|
201
|
-
<p>Welcome joe-
|
288
|
+
<p>Welcome joe-7@example.com!</p>
|
202
289
|
|
203
290
|
<p>You can confirm your account email through the link below:</p>
|
204
291
|
|
205
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
292
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=ys-ZfLPnd59hA8x2o3e8">Confirm my account</a></p>
|
206
293
|
|
207
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT
|
294
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
208
295
|
Processing by PushType::ConfirmationsController#update as HTML
|
209
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
210
|
-
[1m[36mPushType::User Load (0.
|
211
|
-
[1m[35mPushType::User Exists (0.
|
212
|
-
|
213
|
-
|
296
|
+
Parameters: {"user"=>{"confirmation_token"=>"ys-ZfLPnd59hA8x2o3e8", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
297
|
+
[1m[36mPushType::User Load (0.5ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'df582e633d1879c8809ada0ddc7fc64ee08aeaac5c87311fc173c83c13f3623a' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
298
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != 'db15a8ac-e1f5-4363-b669-a4138f55ca69') LIMIT 1
|
299
|
+
Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
|
300
|
+
Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.8ms)
|
301
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
302
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
303
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
304
|
+
-----------------------------------------------------------
|
305
|
+
PushType::UsersController::PUT #invite: test_0001_anonymous
|
306
|
+
-----------------------------------------------------------
|
307
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
214
308
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
215
309
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
216
|
-
[1m[
|
217
|
-
[1m[
|
218
|
-
|
219
|
-
|
220
|
-
[1m[
|
221
|
-
[1m[35m (0.
|
222
|
-
[1m[
|
223
|
-
[1m[
|
224
|
-
[1m[
|
310
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
311
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
|
312
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1[0m
|
313
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.421193"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.421258"], ["created_at", "2015-01-02 20:45:05.423409"], ["email", "joe-8@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.423409"]]
|
314
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
315
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
316
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1[0m
|
317
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
|
318
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'd7f5fe6a7141e243190143f70b60f7c21f00c72ba988cc45c464b8640732cf11' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
319
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.428352"], ["confirmation_token", "d7f5fe6a7141e243190143f70b60f7c21f00c72ba988cc45c464b8640732cf11"], ["created_at", "2015-01-02 20:45:05.427259"], ["email", "joe-9@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.427259"]]
|
320
|
+
|
321
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
|
322
|
+
|
323
|
+
Sent mail to joe-9@example.com (4.2ms)
|
324
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
325
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
326
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
327
|
+
To: joe-9@example.com
|
328
|
+
Message-ID: <54a703516a436_8d13fe135065be8988f9@Aarons-MacBook-Air-3.local.mail>
|
329
|
+
Subject: Confirmation instructions
|
330
|
+
Mime-Version: 1.0
|
331
|
+
Content-Type: text/html;
|
332
|
+
charset=UTF-8
|
333
|
+
Content-Transfer-Encoding: 7bit
|
334
|
+
|
335
|
+
<p>Welcome joe-9@example.com!</p>
|
336
|
+
|
337
|
+
<p>You can confirm your account email through the link below:</p>
|
338
|
+
|
339
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=z8XSxf5ksEMtUauQ4Cgo">Confirm my account</a></p>
|
340
|
+
|
341
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
342
|
+
Processing by PushType::UsersController#invite as HTML
|
343
|
+
Parameters: {"id"=>"761cbf8e-a9a0-423b-9417-cf99e44f41d9"}
|
344
|
+
[1m[35mPushType::User Load (0.5ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '3cfaa897-ce55-42f3-817c-46d6303dc767' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
345
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "761cbf8e-a9a0-423b-9417-cf99e44f41d9"]]
|
346
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'c1ce7ab7450226cdc02fa80f6376f0c04f70e82b44d3e4fb7d1d3aeb7263db7f' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
347
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
348
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = '761cbf8e-a9a0-423b-9417-cf99e44f41d9' [["confirmation_sent_at", "2015-01-02 20:45:05.446173"], ["confirmation_token", "c1ce7ab7450226cdc02fa80f6376f0c04f70e82b44d3e4fb7d1d3aeb7263db7f"], ["updated_at", "2015-01-02 20:45:05.446669"]]
|
349
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
350
|
+
|
351
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.8ms
|
352
|
+
|
353
|
+
Sent mail to joe-9@example.com (2.2ms)
|
354
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
355
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
356
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
357
|
+
To: joe-9@example.com
|
358
|
+
Message-ID: <54a703516e6e5_8d13fe135065be8989e4@Aarons-MacBook-Air-3.local.mail>
|
359
|
+
Subject: Confirmation instructions
|
360
|
+
Mime-Version: 1.0
|
361
|
+
Content-Type: text/html;
|
362
|
+
charset=UTF-8
|
363
|
+
Content-Transfer-Encoding: 7bit
|
364
|
+
|
365
|
+
<p>Welcome joe-9@example.com!</p>
|
366
|
+
|
367
|
+
<p>You can confirm your account email through the link below:</p>
|
368
|
+
|
369
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=A_in-5PSGLczpCFn2zyL">Confirm my account</a></p>
|
370
|
+
|
371
|
+
Redirected to /push_type/users
|
372
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.7ms)
|
373
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
374
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
225
375
|
[1m[35m (0.1ms)[0m BEGIN
|
226
|
-
|
227
|
-
PushType::
|
228
|
-
|
376
|
+
-----------------------------------------------------------
|
377
|
+
PushType::UsersController::PUT #invite: test_0002_anonymous
|
378
|
+
-----------------------------------------------------------
|
379
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
380
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
229
381
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
230
|
-
[1m[
|
231
|
-
[1m[36mPushType::User Exists (0.
|
232
|
-
[1m[35mPushType::User
|
233
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "
|
382
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
383
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1[0m
|
384
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
|
385
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.457412"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.457471"], ["created_at", "2015-01-02 20:45:05.459576"], ["email", "joe-10@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.459576"]]
|
386
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
387
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
388
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
|
389
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1[0m
|
390
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '2cce1d7af9ac19813763fd56da4832235c8df4d23c41eaa6d3ef167e278d2dca' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
391
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.464697"], ["confirmation_token", "2cce1d7af9ac19813763fd56da4832235c8df4d23c41eaa6d3ef167e278d2dca"], ["created_at", "2015-01-02 20:45:05.463468"], ["email", "joe-11@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.463468"]]
|
234
392
|
|
235
393
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
|
236
394
|
|
237
|
-
Sent mail to joe-
|
238
|
-
Date: Fri,
|
395
|
+
Sent mail to joe-11@example.com (3.0ms)
|
396
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
239
397
|
From: please-change-me-at-config-initializers-devise@example.com
|
240
398
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
241
|
-
To: joe-
|
242
|
-
Message-ID: <
|
399
|
+
To: joe-11@example.com
|
400
|
+
Message-ID: <54a703517286f_8d13fe135065be899043@Aarons-MacBook-Air-3.local.mail>
|
243
401
|
Subject: Confirmation instructions
|
244
402
|
Mime-Version: 1.0
|
245
403
|
Content-Type: text/html;
|
246
404
|
charset=UTF-8
|
247
405
|
Content-Transfer-Encoding: 7bit
|
248
406
|
|
249
|
-
<p>Welcome joe-
|
407
|
+
<p>Welcome joe-11@example.com!</p>
|
250
408
|
|
251
409
|
<p>You can confirm your account email through the link below:</p>
|
252
410
|
|
253
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token
|
411
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=LWmBSjXV4LvyqLBtyz16">Confirm my account</a></p>
|
254
412
|
|
255
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT
|
256
|
-
Processing by PushType::
|
257
|
-
Parameters: {"
|
258
|
-
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."
|
259
|
-
[1m[35mPushType::User
|
260
|
-
[1m[
|
261
|
-
[1m[
|
413
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
414
|
+
Processing by PushType::UsersController#invite as HTML
|
415
|
+
Parameters: {"id"=>"435191e7-1983-4dc8-8908-c9e7e10ccf1f"}
|
416
|
+
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '95e247e9-0083-4c13-8106-c9be77c11257' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
417
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "435191e7-1983-4dc8-8908-c9e7e10ccf1f"]]
|
418
|
+
[1m[36mPushType::User Load (0.7ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '80e8a81ad9d4d3ac827f0055e86a8d39fc9a97da9c774a8f784e5759cf358b99' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
419
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
420
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = '435191e7-1983-4dc8-8908-c9e7e10ccf1f'[0m [["confirmation_sent_at", "2015-01-02 20:45:05.476599"], ["confirmation_token", "80e8a81ad9d4d3ac827f0055e86a8d39fc9a97da9c774a8f784e5759cf358b99"], ["updated_at", "2015-01-02 20:45:05.477389"]]
|
421
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
422
|
+
|
423
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
|
424
|
+
|
425
|
+
Sent mail to joe-11@example.com (2.1ms)
|
426
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
427
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
428
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
429
|
+
To: joe-11@example.com
|
430
|
+
Message-ID: <54a7035175b64_8d13fe135065be8991b@Aarons-MacBook-Air-3.local.mail>
|
431
|
+
Subject: Confirmation instructions
|
432
|
+
Mime-Version: 1.0
|
433
|
+
Content-Type: text/html;
|
434
|
+
charset=UTF-8
|
435
|
+
Content-Transfer-Encoding: 7bit
|
436
|
+
|
437
|
+
<p>Welcome joe-11@example.com!</p>
|
438
|
+
|
439
|
+
<p>You can confirm your account email through the link below:</p>
|
440
|
+
|
441
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=3rXub1sZkEmvMkLEfQ6c">Confirm my account</a></p>
|
442
|
+
|
443
|
+
Redirected to /push_type/users
|
444
|
+
Completed 302 Found in 12ms (ActiveRecord: 2.1ms)
|
445
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
446
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
447
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
448
|
+
-----------------------------------------------------------
|
449
|
+
PushType::UsersController::PUT #invite: test_0003_anonymous
|
450
|
+
-----------------------------------------------------------
|
451
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
262
452
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
263
453
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
264
|
-
[1m[
|
454
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
455
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
|
456
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1[0m
|
457
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.487675"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.487731"], ["created_at", "2015-01-02 20:45:05.489796"], ["email", "joe-12@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.489796"]]
|
458
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
459
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
460
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1[0m
|
461
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
|
462
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b21d7b610bb94a43533aece790eff4d30edce42e0102b48680a072fb83bdba74' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
463
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.494495"], ["confirmation_token", "b21d7b610bb94a43533aece790eff4d30edce42e0102b48680a072fb83bdba74"], ["created_at", "2015-01-02 20:45:05.493400"], ["email", "joe-13@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.493400"]]
|
464
|
+
|
465
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.4ms
|
466
|
+
|
467
|
+
Sent mail to joe-13@example.com (2.1ms)
|
468
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
469
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
470
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
471
|
+
To: joe-13@example.com
|
472
|
+
Message-ID: <54a70351799f8_8d13fe135065be89927d@Aarons-MacBook-Air-3.local.mail>
|
473
|
+
Subject: Confirmation instructions
|
474
|
+
Mime-Version: 1.0
|
475
|
+
Content-Type: text/html;
|
476
|
+
charset=UTF-8
|
477
|
+
Content-Transfer-Encoding: 7bit
|
478
|
+
|
479
|
+
<p>Welcome joe-13@example.com!</p>
|
480
|
+
|
481
|
+
<p>You can confirm your account email through the link below:</p>
|
482
|
+
|
483
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=QzWxtxeL-S58u9NiX_kb">Confirm my account</a></p>
|
484
|
+
|
485
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
486
|
+
Processing by PushType::UsersController#invite as HTML
|
487
|
+
Parameters: {"id"=>"f27c742a-69df-4a7e-800c-0e9a4d280b8f"}
|
488
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '42c3bc76-e406-4b2e-a4c2-ff0046aa24cf' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
489
|
+
[1m[36mPushType::User Load (0.5ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "f27c742a-69df-4a7e-800c-0e9a4d280b8f"]]
|
490
|
+
[1m[35mPushType::User Load (0.5ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '8a51f58c38a589b52584fb4a4e54117eebac4fb3405e91a90003a599ce985dd0' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
491
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
|
492
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = 'f27c742a-69df-4a7e-800c-0e9a4d280b8f' [["confirmation_sent_at", "2015-01-02 20:45:05.505227"], ["confirmation_token", "8a51f58c38a589b52584fb4a4e54117eebac4fb3405e91a90003a599ce985dd0"], ["updated_at", "2015-01-02 20:45:05.505886"]]
|
493
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
494
|
+
|
495
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.6ms
|
496
|
+
|
497
|
+
Sent mail to joe-13@example.com (2.3ms)
|
498
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
499
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
500
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
501
|
+
To: joe-13@example.com
|
502
|
+
Message-ID: <54a703517cc36_8d13fe135065be8993cf@Aarons-MacBook-Air-3.local.mail>
|
503
|
+
Subject: Confirmation instructions
|
504
|
+
Mime-Version: 1.0
|
505
|
+
Content-Type: text/html;
|
506
|
+
charset=UTF-8
|
507
|
+
Content-Transfer-Encoding: 7bit
|
508
|
+
|
509
|
+
<p>Welcome joe-13@example.com!</p>
|
510
|
+
|
511
|
+
<p>You can confirm your account email through the link below:</p>
|
512
|
+
|
513
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=rt2TqqU5Hyco1CaM9X-9">Confirm my account</a></p>
|
514
|
+
|
515
|
+
Redirected to /push_type/users
|
516
|
+
Completed 302 Found in 12ms (ActiveRecord: 2.1ms)
|
517
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
518
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
519
|
+
[1m[35m (0.2ms)[0m BEGIN
|
520
|
+
-------------------------------------------------------------------------------
|
521
|
+
PushType::ProfilesController::PUT #update::with valid user: test_0001_anonymous
|
522
|
+
-------------------------------------------------------------------------------
|
523
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
265
524
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
266
|
-
|
267
|
-
|
268
|
-
[1m[
|
269
|
-
[1m[
|
270
|
-
[1m[
|
271
|
-
[1m[35m (
|
525
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
526
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
527
|
+
[1m[36mPushType::User Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1[0m
|
528
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
|
529
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.518212"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.518416"], ["created_at", "2015-01-02 20:45:05.521816"], ["email", "joe-14@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.521816"]]
|
530
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
531
|
+
Processing by PushType::ProfilesController#update as HTML
|
532
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
533
|
+
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '0673c581-2284-4241-a3fd-5a4462d03f82' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
534
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
535
|
+
[1m[36mPushType::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != '0673c581-2284-4241-a3fd-5a4462d03f82') LIMIT 1[0m
|
536
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = '0673c581-2284-4241-a3fd-5a4462d03f82' [["name", "Test user ABC"], ["updated_at", "2015-01-02 20:45:05.529218"]]
|
537
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
538
|
+
Redirected to http://test.host/push_type/profile/edit
|
539
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
|
540
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "0673c581-2284-4241-a3fd-5a4462d03f82"]]
|
541
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
542
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
272
543
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
273
|
-
|
274
|
-
PushType::
|
275
|
-
|
276
|
-
[1m[35m (0.
|
277
|
-
[1m[
|
278
|
-
[1m[
|
279
|
-
[1m[
|
280
|
-
[1m[
|
544
|
+
-------------------------------------------------------------------------------
|
545
|
+
PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
|
546
|
+
-------------------------------------------------------------------------------
|
547
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
548
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
549
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
550
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
551
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
|
552
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1[0m
|
553
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.535851"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.535911"], ["created_at", "2015-01-02 20:45:05.538039"], ["email", "joe-15@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.538039"]]
|
554
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
555
|
+
Processing by PushType::ProfilesController#update as HTML
|
556
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
557
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '22b9794d-b109-474e-a726-7ed903a3466f' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
558
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
559
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != '22b9794d-b109-474e-a726-7ed903a3466f') LIMIT 1
|
560
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = '22b9794d-b109-474e-a726-7ed903a3466f'[0m [["name", "Test user ABC"], ["updated_at", "2015-01-02 20:45:05.543884"]]
|
561
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
562
|
+
Redirected to http://test.host/push_type/profile/edit
|
563
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
|
564
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
565
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
566
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
567
|
+
-------------------------------------------------------------------------------
|
568
|
+
PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
|
569
|
+
-------------------------------------------------------------------------------
|
570
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
571
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
572
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
573
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
|
574
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
|
575
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1[0m
|
576
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.550850"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.550927"], ["created_at", "2015-01-02 20:45:05.553332"], ["email", "joe-16@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.553332"]]
|
577
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
578
|
+
Processing by PushType::ProfilesController#update as HTML
|
579
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
580
|
+
[1m[35mPushType::User Load (0.5ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'e3ca7fe0-659b-402e-8b0b-22d901b54a4f' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
581
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
582
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != 'e3ca7fe0-659b-402e-8b0b-22d901b54a4f') LIMIT 1
|
583
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = 'e3ca7fe0-659b-402e-8b0b-22d901b54a4f'[0m [["name", "Test user ABC"], ["updated_at", "2015-01-02 20:45:05.560606"]]
|
584
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
585
|
+
Redirected to http://test.host/push_type/profile/edit
|
586
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.5ms)
|
587
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
588
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
589
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
590
|
+
------------------------------------------------------------------------------------------------
|
591
|
+
PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
|
592
|
+
------------------------------------------------------------------------------------------------
|
593
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
594
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
595
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
596
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
597
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
|
598
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1[0m
|
599
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '1359ab5dbbf794a02b138387eb264e24037ed4377c3348d076c81b42fd4b98ba' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
600
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.574364"], ["confirmation_token", "1359ab5dbbf794a02b138387eb264e24037ed4377c3348d076c81b42fd4b98ba"], ["created_at", "2015-01-02 20:45:05.573264"], ["email", "joe-17@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.573264"]]
|
281
601
|
|
282
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.
|
602
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
|
283
603
|
|
284
|
-
Sent mail to joe-
|
285
|
-
Date: Fri,
|
604
|
+
Sent mail to joe-17@example.com (2.2ms)
|
605
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
286
606
|
From: please-change-me-at-config-initializers-devise@example.com
|
287
607
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
288
|
-
To: joe-
|
289
|
-
Message-ID: <
|
608
|
+
To: joe-17@example.com
|
609
|
+
Message-ID: <54a703518d293_8d13fe135065be8994de@Aarons-MacBook-Air-3.local.mail>
|
290
610
|
Subject: Confirmation instructions
|
291
611
|
Mime-Version: 1.0
|
292
612
|
Content-Type: text/html;
|
293
613
|
charset=UTF-8
|
294
614
|
Content-Transfer-Encoding: 7bit
|
295
615
|
|
296
|
-
<p>Welcome joe-
|
616
|
+
<p>Welcome joe-17@example.com!</p>
|
297
617
|
|
298
618
|
<p>You can confirm your account email through the link below:</p>
|
299
619
|
|
300
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
620
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=x5ZT3pcxjbXy_9hKxgq5">Confirm my account</a></p>
|
301
621
|
|
302
|
-
[1m[
|
303
|
-
Processing by PushType::ConfirmationsController#
|
304
|
-
Parameters: {"
|
305
|
-
[1m[
|
306
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != '7c760a1f-15f6-4bcd-b891-458a1b0104f7') LIMIT 1[0m
|
622
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
623
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
624
|
+
Parameters: {"confirmation_token"=>"x5ZT3pcxjbXy_9hKxgq5"}
|
625
|
+
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '1359ab5dbbf794a02b138387eb264e24037ed4377c3348d076c81b42fd4b98ba' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
307
626
|
Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
|
308
|
-
Completed 200 OK in
|
309
|
-
[1m[35m (0.
|
310
|
-
[1m[36m (
|
311
|
-
[1m[35m (0.
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
[1m[36m (0.
|
318
|
-
[1m[
|
319
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
320
|
-
[1m[35mPushType::User
|
321
|
-
[1m[
|
627
|
+
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms)
|
628
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
629
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
630
|
+
[1m[35m (0.1ms)[0m BEGIN
|
631
|
+
------------------------------------------------------------------------------------------------
|
632
|
+
PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
|
633
|
+
------------------------------------------------------------------------------------------------
|
634
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
635
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
636
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
637
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
638
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1[0m
|
639
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
|
640
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b9b68473c76051e06c9a67fc54fb0807fa592806b7c3fcde2808665ba49a3351' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
641
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.593217"], ["confirmation_token", "b9b68473c76051e06c9a67fc54fb0807fa592806b7c3fcde2808665ba49a3351"], ["created_at", "2015-01-02 20:45:05.592109"], ["email", "joe-18@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.592109"]]
|
322
642
|
|
323
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.
|
643
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.6ms
|
324
644
|
|
325
|
-
Sent mail to joe-
|
326
|
-
Date: Fri,
|
645
|
+
Sent mail to joe-18@example.com (2.2ms)
|
646
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
327
647
|
From: please-change-me-at-config-initializers-devise@example.com
|
328
648
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
329
|
-
To: joe-
|
330
|
-
Message-ID: <
|
649
|
+
To: joe-18@example.com
|
650
|
+
Message-ID: <54a7035191c8f_8d13fe135065be8995c2@Aarons-MacBook-Air-3.local.mail>
|
331
651
|
Subject: Confirmation instructions
|
332
652
|
Mime-Version: 1.0
|
333
653
|
Content-Type: text/html;
|
334
654
|
charset=UTF-8
|
335
655
|
Content-Transfer-Encoding: 7bit
|
336
656
|
|
337
|
-
<p>Welcome joe-
|
657
|
+
<p>Welcome joe-18@example.com!</p>
|
338
658
|
|
339
659
|
<p>You can confirm your account email through the link below:</p>
|
340
660
|
|
341
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
661
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=shLXBRQqKqXp9X1Uujvz">Confirm my account</a></p>
|
342
662
|
|
343
|
-
[1m[
|
344
|
-
Processing by PushType::ConfirmationsController#
|
345
|
-
Parameters: {"
|
346
|
-
[1m[
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
[1m[
|
351
|
-
[1m[35m (6.5ms)[0m TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
|
352
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL[0m
|
353
|
-
[1m[35m (2.2ms)[0m ROLLBACK
|
663
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
664
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
665
|
+
Parameters: {"confirmation_token"=>"shLXBRQqKqXp9X1Uujvz"}
|
666
|
+
[1m[35mPushType::User Load (0.5ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b9b68473c76051e06c9a67fc54fb0807fa592806b7c3fcde2808665ba49a3351' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
667
|
+
Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.7ms)
|
668
|
+
Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.5ms)
|
669
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
670
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
354
671
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
[1m[
|
359
|
-
[1m[36mPushType::User Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1[0m
|
360
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
|
361
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'ac2ad016c5e6f23440534f40ea0374e4a95110611ea4074ba9f9b1f9c1af3b09' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
362
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2014-12-05 21:35:53.965085"], ["confirmation_token", "ac2ad016c5e6f23440534f40ea0374e4a95110611ea4074ba9f9b1f9c1af3b09"], ["created_at", "2014-12-05 21:35:53.963726"], ["email", "joe-7@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:53.963726"]]
|
672
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
|
673
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1[0m
|
674
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'eda13b4c20045dc3c522fbf4b102be6e49d25f147b728e6428bd6659a0c7ee68' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
675
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.613118"], ["confirmation_token", "eda13b4c20045dc3c522fbf4b102be6e49d25f147b728e6428bd6659a0c7ee68"], ["created_at", "2015-01-02 20:45:05.612023"], ["email", "joe-19@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.612023"]]
|
363
676
|
|
364
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.
|
677
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
|
365
678
|
|
366
|
-
Sent mail to joe-
|
367
|
-
Date: Fri,
|
679
|
+
Sent mail to joe-19@example.com (2.3ms)
|
680
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
368
681
|
From: please-change-me-at-config-initializers-devise@example.com
|
369
682
|
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
370
|
-
To: joe-
|
371
|
-
Message-ID: <
|
683
|
+
To: joe-19@example.com
|
684
|
+
Message-ID: <54a7035196a2b_8d13fe135065be89969e@Aarons-MacBook-Air-3.local.mail>
|
372
685
|
Subject: Confirmation instructions
|
373
686
|
Mime-Version: 1.0
|
374
687
|
Content-Type: text/html;
|
375
688
|
charset=UTF-8
|
376
689
|
Content-Transfer-Encoding: 7bit
|
377
690
|
|
378
|
-
<p>Welcome joe-
|
691
|
+
<p>Welcome joe-19@example.com!</p>
|
379
692
|
|
380
693
|
<p>You can confirm your account email through the link below:</p>
|
381
694
|
|
382
|
-
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
695
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=ts7P-zaEMqccYih6Ro2b">Confirm my account</a></p>
|
383
696
|
|
384
|
-
[1m[
|
697
|
+
[1m[35m (0.7ms)[0m COMMIT
|
698
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
699
|
+
[1m[35mPushType::User Exists (0.4ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
|
700
|
+
[1m[36mPushType::User Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
701
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '8b89df9a2474cabe5d367b13fad2c8ba51ebd2275227f276ea973126dad62e54' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
702
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.628862"], ["confirmation_token", "8b89df9a2474cabe5d367b13fad2c8ba51ebd2275227f276ea973126dad62e54"], ["created_at", "2015-01-02 20:45:05.627279"], ["email", "joe-20@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.627279"]]
|
703
|
+
|
704
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.6ms
|
705
|
+
|
706
|
+
Sent mail to joe-20@example.com (4.4ms)
|
707
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
708
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
709
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
710
|
+
To: joe-20@example.com
|
711
|
+
Message-ID: <54a703519ad4c_8d13fe135065be8997c2@Aarons-MacBook-Air-3.local.mail>
|
712
|
+
Subject: Confirmation instructions
|
713
|
+
Mime-Version: 1.0
|
714
|
+
Content-Type: text/html;
|
715
|
+
charset=UTF-8
|
716
|
+
Content-Transfer-Encoding: 7bit
|
717
|
+
|
718
|
+
<p>Welcome joe-20@example.com!</p>
|
719
|
+
|
720
|
+
<p>You can confirm your account email through the link below:</p>
|
721
|
+
|
722
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=-c8xwP79gugKtkCr_y5K">Confirm my account</a></p>
|
723
|
+
|
724
|
+
[1m[35m (0.7ms)[0m COMMIT
|
725
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
726
|
+
------------------------------------------------------------------------------------
|
727
|
+
PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
|
728
|
+
------------------------------------------------------------------------------------
|
729
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
730
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
731
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
732
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
733
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
|
734
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1[0m
|
735
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'bd41cf434d604a27093458c3f6cc9ccc2bc2c7ab6cc18608ef27ae4f0fa948d6' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
736
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["confirmation_sent_at", "2015-01-02 20:45:05.652019"], ["confirmation_token", "bd41cf434d604a27093458c3f6cc9ccc2bc2c7ab6cc18608ef27ae4f0fa948d6"], ["created_at", "2015-01-02 20:45:05.650641"], ["email", "joe-21@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.650641"]]
|
737
|
+
|
738
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.8ms
|
739
|
+
|
740
|
+
Sent mail to joe-21@example.com (2.5ms)
|
741
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
742
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
743
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
744
|
+
To: joe-21@example.com
|
745
|
+
Message-ID: <54a70351a04e7_8d13fe135065be899859@Aarons-MacBook-Air-3.local.mail>
|
746
|
+
Subject: Confirmation instructions
|
747
|
+
Mime-Version: 1.0
|
748
|
+
Content-Type: text/html;
|
749
|
+
charset=UTF-8
|
750
|
+
Content-Transfer-Encoding: 7bit
|
751
|
+
|
752
|
+
<p>Welcome joe-21@example.com!</p>
|
753
|
+
|
754
|
+
<p>You can confirm your account email through the link below:</p>
|
755
|
+
|
756
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=xG4sqYm3zHMGgY372Mkq">Confirm my account</a></p>
|
757
|
+
|
758
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
385
759
|
Processing by PushType::ConfirmationsController#update as HTML
|
386
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
387
|
-
[1m[
|
388
|
-
[1m[
|
389
|
-
|
390
|
-
|
391
|
-
[1m[
|
392
|
-
[1m[
|
393
|
-
[1m[
|
394
|
-
[1m[
|
760
|
+
Parameters: {"user"=>{"confirmation_token"=>"xG4sqYm3zHMGgY372Mkq", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
761
|
+
[1m[36mPushType::User Load (0.4ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'bd41cf434d604a27093458c3f6cc9ccc2bc2c7ab6cc18608ef27ae4f0fa948d6' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
762
|
+
[1m[35mPushType::User Exists (0.6ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != '3cc8107c-b44d-4b58-ba4e-81755405cb6f') LIMIT 1
|
763
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
|
764
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmed_at" = $2, "encrypted_password" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = '3cc8107c-b44d-4b58-ba4e-81755405cb6f' [["confirmation_token", nil], ["confirmed_at", "2015-01-02 20:45:05.665649"], ["encrypted_password", "$2a$04$JxKxYx6oyVzTc6pmODj0iuytY7NJKCpLiiPWR.1gUNaer7nj5b/X2"], ["updated_at", "2015-01-02 20:45:05.666183"]]
|
765
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
766
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
767
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "push_type_users" SET "current_sign_in_at" = $1, "current_sign_in_ip" = $2, "last_sign_in_at" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = '3cc8107c-b44d-4b58-ba4e-81755405cb6f'[0m [["current_sign_in_at", "2015-01-02 20:45:05.668861"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_at", "2015-01-02 20:45:05.668861"], ["last_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-01-02 20:45:05.669731"]]
|
768
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
769
|
+
Redirected to http://test.host/push_type/
|
770
|
+
Completed 302 Found in 13ms (ActiveRecord: 2.4ms)
|
771
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1[0m [["id", "3cc8107c-b44d-4b58-ba4e-81755405cb6f"]]
|
772
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
773
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
774
|
+
[1m[35m (0.1ms)[0m BEGIN
|
775
|
+
------------------------------------------------------------------------------------
|
776
|
+
PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
|
777
|
+
------------------------------------------------------------------------------------
|
778
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
779
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
780
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
781
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
782
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1[0m
|
783
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
|
784
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '31c4de417594e60939c14d23015186bdd41d9a59776af35840435c2381a04dcf' ORDER BY "push_type_users"."name" ASC LIMIT 1[0m
|
785
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.679855"], ["confirmation_token", "31c4de417594e60939c14d23015186bdd41d9a59776af35840435c2381a04dcf"], ["created_at", "2015-01-02 20:45:05.678750"], ["email", "joe-22@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.678750"]]
|
786
|
+
|
787
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
|
788
|
+
|
789
|
+
Sent mail to joe-22@example.com (2.1ms)
|
790
|
+
Date: Fri, 02 Jan 2015 20:45:05 +0000
|
791
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
792
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
793
|
+
To: joe-22@example.com
|
794
|
+
Message-ID: <54a70351a6e24_8d13fe135065be8999f1@Aarons-MacBook-Air-3.local.mail>
|
795
|
+
Subject: Confirmation instructions
|
796
|
+
Mime-Version: 1.0
|
797
|
+
Content-Type: text/html;
|
798
|
+
charset=UTF-8
|
799
|
+
Content-Transfer-Encoding: 7bit
|
800
|
+
|
801
|
+
<p>Welcome joe-22@example.com!</p>
|
802
|
+
|
803
|
+
<p>You can confirm your account email through the link below:</p>
|
804
|
+
|
805
|
+
<p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=5wabyiLCWPakzFMkSo2M">Confirm my account</a></p>
|
806
|
+
|
807
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
808
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
809
|
+
Parameters: {"user"=>{"confirmation_token"=>"5wabyiLCWPakzFMkSo2M", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
810
|
+
[1m[35mPushType::User Load (0.4ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '31c4de417594e60939c14d23015186bdd41d9a59776af35840435c2381a04dcf' ORDER BY "push_type_users"."name" ASC LIMIT 1
|
811
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-22@example.com' AND "push_type_users"."id" != '1ff42150-fad4-418b-8a69-6121f5a15308') LIMIT 1[0m
|
812
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
813
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "push_type_users" SET "confirmation_token" = $1, "confirmed_at" = $2, "encrypted_password" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = '1ff42150-fad4-418b-8a69-6121f5a15308'[0m [["confirmation_token", nil], ["confirmed_at", "2015-01-02 20:45:05.692662"], ["encrypted_password", "$2a$04$mHHabpFpWdZ3SY7mAmFd6.pqQHLynLB0mDvUnfCujQE0ggBVtjhyi"], ["updated_at", "2015-01-02 20:45:05.692995"]]
|
814
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
815
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
|
816
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "push_type_users" SET "current_sign_in_at" = $1, "current_sign_in_ip" = $2, "last_sign_in_at" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = '1ff42150-fad4-418b-8a69-6121f5a15308' [["current_sign_in_at", "2015-01-02 20:45:05.695584"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_at", "2015-01-02 20:45:05.695584"], ["last_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-01-02 20:45:05.696357"]]
|
817
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
818
|
+
Redirected to http://test.host/push_type/
|
819
|
+
Completed 302 Found in 11ms (ActiveRecord: 2.4ms)
|
820
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
821
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|