push_type_auth 0.4.0.beta.3 → 0.4.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.
Files changed (20) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/config/initializers/push_type.rb +1 -1
  3. data/test/dummy/config/secrets.yml +2 -2
  4. data/test/dummy/db/migrate/{20150406131621_create_push_type_users.push_type.rb → 20150423122808_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20150406131622_create_push_type_nodes.push_type.rb → 20150423122809_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20150406131623_create_push_type_node_hierarchies.push_type.rb → 20150423122810_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20150406131624_create_push_type_assets.push_type.rb → 20150423122811_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20150406131625_create_push_type_taxonomies.push_type.rb → 20150423122812_create_push_type_taxonomies.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20150406131626_create_push_type_taxonomy_hierarchies.push_type.rb → 20150423122813_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20150406131627_devise_extend_push_type_users.push_type_auth.rb → 20150423122814_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  11. data/test/dummy/db/schema.rb +1 -1
  12. data/test/dummy/log/test.log +645 -645
  13. data/test/dummy/tmp/cache/assets/test/sass/ddc338bd04efa4c6ae329e9f4f514bc8d0636fb5/admin.scssc +0 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/26a5499486141a1cfbcd492fca683376 +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/755a8cd3fa84cdf03061014ccc2dd621 +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/80c23adecc9454798ddea565b6e2f955 +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/9fa1a48cec5e59b8081516d8f1979087 +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/c642987b1e8317371d1fc3b3e1a7b55e +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/cda72f48ef5c694d8c96c8fe2d854629 +0 -0
  20. metadata +22 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6952a914ad4702e0f0a41ab6408ee723e6594032
4
- data.tar.gz: 3bb9f4e3acba3004d2646bbf9ea9fa23d2a4d931
3
+ metadata.gz: 29a72f8a6d0e65b129728ec901e9835eba6b6816
4
+ data.tar.gz: 6fc86571f3e854840295a937292a396dd3541b9b
5
5
  SHA512:
6
- metadata.gz: a2b8dfb61eba9614c53942ab7c4027da9d8a7616b9702ac9e31d16e35b7b4770c4a46a4dd8226e65fb9506a8a630b5a5e8e3242c68707de0020c4849c6b2a6f6
7
- data.tar.gz: 283450dadb7ead87f74a178df08d926b624bb5d3722a66ff53508153ce424e35ec8538c15b5620196ba17387fc62d91a369d5c0dd830e5f765df22247b5497e7
6
+ metadata.gz: 3bfc9ac8278167023b8f0618ccfc8fc264fe4449ad06e080b8cd61432b08b6128a09888a6862a417a3c8b4f976f49709ef93c1ed2c94eec5d14c7e25ff132774
7
+ data.tar.gz: db758bafb85735aceb149f82e7b6cdee04b7fb353295877f288201279a7b042fb4b56a40ba3d34da7a6e2199c0fd79bf5ef73de341b57410e553f5b5a36e9e6e
@@ -33,6 +33,6 @@ PushType.setup do |config|
33
33
  # secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
34
34
  # }
35
35
 
36
- # config.dragonfly_secret = 'c104ccb1f64ef1a2d0f3f5dfd701ead5aa5ad2d824fb5368cba205458d689a20'
36
+ # config.dragonfly_secret = '2b713fa7e6753eee0c32f42b45827a6a3205f8409ccf9a02aa822270652fee08'
37
37
 
38
38
  end
@@ -11,10 +11,10 @@
11
11
  # if you're sharing your code publicly.
12
12
 
13
13
  development:
14
- secret_key_base: 9a93195c303d09e625ed640974c7945f20270a728fe008e768008e716a3431ba0661aa0cee6fe5111a37c31b3eb41f40ec94f5663f325bd3190c8efe2a15ed30
14
+ secret_key_base: f64b514732cccf57099a2631263609d8f56cc6ca4d9beb46f51649dc843b6931c909f734c0a0de776b7bec081c13edc7425e4e51dad871051122f366edb6cfbf
15
15
 
16
16
  test:
17
- secret_key_base: 234adaefb7aef39593925963e34b02eb72d6bbf562c0c1d1cbdc2b11d41a91414cfa96d5da7c1da25b5c5c90cfac34ad16e716ac5b29824889e080bf83e4bd65
17
+ secret_key_base: 3a69049c95e9e8cec5fc7a42ad0c19e0a5ee75ed6d5df3a5f5abc636f878bd1c5e7f049625a7e66df99dc56e2bd29f76dd93d863eb4c95ca8dc384c6501a8247
18
18
 
19
19
  # Do not keep production secrets in the repository,
20
20
  # instead read values from the environment.
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150406131627) do
14
+ ActiveRecord::Schema.define(version: 20150423122814) do
15
15
 
16
16
  # These are extensions that must be enabled in order to support this database
17
17
  enable_extension "plpgsql"
@@ -1,61 +1,61 @@
1
-  (14.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (11.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
3
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreatePushTypeUsers (20150406131621)
4
+ Migrating to CreatePushTypeUsers (20150423122808)
5
5
   (0.2ms) BEGIN
6
- SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
-  (13.7ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131621"]]
9
-  (5.8ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20150406131622)
6
+ SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
+  (2.5ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150423122808"]]
9
+  (0.6ms) COMMIT
10
+ Migrating to CreatePushTypeNodes (20150423122809)
11
11
   (0.1ms) BEGIN
12
-  (13.2ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131622"]]
14
-  (5.5ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20150406131623)
12
+  (2.3ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150423122809"]]
14
+  (0.4ms) COMMIT
15
+ Migrating to CreatePushTypeNodeHierarchies (20150423122810)
16
16
   (0.1ms) BEGIN
17
-  (0.6ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
-  (6.1ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
-  (6.0ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131623"]]
21
-  (5.9ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20150406131624)
17
+  (0.4ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
+  (0.7ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
+  (0.6ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150423122810"]]
21
+  (0.4ms) COMMIT
22
+ Migrating to CreatePushTypeAssets (20150423122811)
23
23
   (0.1ms) BEGIN
24
-  (13.0ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131624"]]
26
-  (31.6ms) COMMIT
27
- Migrating to CreatePushTypeTaxonomies (20150406131625)
24
+  (1.9ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150423122811"]]
26
+  (0.4ms) COMMIT
27
+ Migrating to CreatePushTypeTaxonomies (20150423122812)
28
28
   (0.1ms) BEGIN
29
-  (13.1ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
29
+  (3.0ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
30
30
   (0.2ms) ALTER TABLE "push_type_assets" ADD "tags" character varying[]
31
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131625"]]
32
-  (8.1ms) COMMIT
33
- Migrating to CreatePushTypeTaxonomyHierarchies (20150406131626)
31
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150423122812"]]
32
+  (0.4ms) COMMIT
33
+ Migrating to CreatePushTypeTaxonomyHierarchies (20150423122813)
34
34
   (0.1ms) BEGIN
35
-  (0.6ms) CREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
36
-  (8.6ms) CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
37
-  (10.8ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131626"]]
39
-  (9.1ms) COMMIT
40
- Migrating to DeviseExtendPushTypeUsers (20150406131627)
35
+  (0.4ms) CREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
36
+  (0.6ms) CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
37
+  (0.5ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150423122813"]]
39
+  (0.4ms) COMMIT
40
+ Migrating to DeviseExtendPushTypeUsers (20150423122814)
41
41
   (0.1ms) BEGIN
42
-  (16.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
42
+  (2.5ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
43
43
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
44
44
   (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
45
45
   (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
46
-  (13.8ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
46
+  (2.1ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
47
47
   (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
48
-  (0.2ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
48
+  (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
49
49
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
50
50
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
51
51
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
52
-  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
53
-  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
54
-  (6.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
55
-  (6.4ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
56
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131627"]]
57
-  (6.8ms) COMMIT
58
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
+  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
53
+  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
54
+  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
55
+  (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
56
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150423122814"]]
57
+  (1.0ms) COMMIT
58
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
59
59
   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
60
60
  FROM pg_constraint c
61
61
  JOIN pg_class t1 ON c.conrelid = t1.oid
@@ -68,7 +68,7 @@ WHERE c.contype = 'f'
68
68
  AND t3.nspname = ANY (current_schemas(false))
69
69
  ORDER BY c.conname
70
70
 
71
-  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
71
+  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
72
72
  FROM pg_constraint c
73
73
  JOIN pg_class t1 ON c.conrelid = t1.oid
74
74
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -80,7 +80,7 @@ WHERE c.contype = 'f'
80
80
  AND t3.nspname = ANY (current_schemas(false))
81
81
  ORDER BY c.conname
82
82
  
83
-  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
83
+  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
84
84
  FROM pg_constraint c
85
85
  JOIN pg_class t1 ON c.conrelid = t1.oid
86
86
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -92,7 +92,7 @@ WHERE c.contype = 'f'
92
92
  AND t3.nspname = ANY (current_schemas(false))
93
93
  ORDER BY c.conname
94
94
 
95
-  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
95
+  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
96
96
  FROM pg_constraint c
97
97
  JOIN pg_class t1 ON c.conrelid = t1.oid
98
98
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -104,7 +104,7 @@ WHERE c.contype = 'f'
104
104
  AND t3.nspname = ANY (current_schemas(false))
105
105
  ORDER BY c.conname
106
106
  
107
-  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
107
+  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
108
108
  FROM pg_constraint c
109
109
  JOIN pg_class t1 ON c.conrelid = t1.oid
110
110
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -116,7 +116,7 @@ WHERE c.contype = 'f'
116
116
  AND t3.nspname = ANY (current_schemas(false))
117
117
  ORDER BY c.conname
118
118
 
119
-  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
119
+  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
120
120
  FROM pg_constraint c
121
121
  JOIN pg_class t1 ON c.conrelid = t1.oid
122
122
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -129,115 +129,38 @@ WHERE c.contype = 'f'
129
129
  ORDER BY c.conname
130
130
  
131
131
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
132
-  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
133
-  (1.1ms)  SELECT schemaname || '.' || tablename
132
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
133
+  (0.9ms)  SELECT schemaname || '.' || tablename
134
134
  FROM pg_tables
135
135
  WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
136
136
  
137
-  (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'
138
-  (11.6ms) TRUNCATE TABLE "public"."schema_migrations", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
139
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
140
-  (0.2ms) BEGIN
141
- -------------------------------------------------------------------------------
142
- PushType::ProfilesController::PUT #update::with valid user: test_0001_anonymous
143
- -------------------------------------------------------------------------------
144
-  (0.1ms) SAVEPOINT active_record_1
145
-  (0.1ms) RELEASE SAVEPOINT active_record_1
146
-  (0.0ms) SAVEPOINT active_record_1
147
-  (0.1ms) SAVEPOINT active_record_2
137
+  (1.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'
138
+  (10.4ms) TRUNCATE TABLE "public"."schema_migrations", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
139
+  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
140
+  (0.1ms) BEGIN
148
141
  PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
149
142
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
150
- SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:27.356286"], ["confirmed_at", "2015-04-06 13:16:27.356407"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:27.373678"], ["updated_at", "2015-04-06 13:16:27.373678"]]
151
-  (0.1ms) RELEASE SAVEPOINT active_record_2
152
- Processing by PushType::ProfilesController#update as HTML
153
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
154
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "828baf34-81c5-44e3-b10f-4b96b2b3e34f"]]
155
-  (0.1ms) SAVEPOINT active_record_2
156
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '828baf34-81c5-44e3-b10f-4b96b2b3e34f') LIMIT 1
157
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-06 13:16:27.395980"], ["id", "828baf34-81c5-44e3-b10f-4b96b2b3e34f"]]
158
-  (0.1ms) RELEASE SAVEPOINT active_record_2
159
- Redirected to http://test.host/push_type/profile/edit
160
- Completed 302 Found in 18ms (ActiveRecord: 0.9ms)
161
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "828baf34-81c5-44e3-b10f-4b96b2b3e34f"]]
162
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
163
-  (0.1ms) ROLLBACK
164
-  (0.1ms) BEGIN
165
- -------------------------------------------------------------------------------
166
- PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
167
- -------------------------------------------------------------------------------
168
-  (0.1ms) SAVEPOINT active_record_1
169
-  (0.0ms) RELEASE SAVEPOINT active_record_1
170
-  (0.0ms) SAVEPOINT active_record_1
171
-  (0.1ms) SAVEPOINT active_record_2
172
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
173
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
174
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:27.403076"], ["confirmed_at", "2015-04-06 13:16:27.403195"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:27.404806"], ["updated_at", "2015-04-06 13:16:27.404806"]]
175
-  (0.1ms) RELEASE SAVEPOINT active_record_2
176
- Processing by PushType::ProfilesController#update as HTML
177
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
178
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "f9357325-2b4c-43f7-bf55-25f4ccff5f79"]]
179
-  (0.1ms) SAVEPOINT active_record_2
180
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != 'f9357325-2b4c-43f7-bf55-25f4ccff5f79') LIMIT 1
181
- SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-06 13:16:27.412228"], ["id", "f9357325-2b4c-43f7-bf55-25f4ccff5f79"]]
182
-  (0.1ms) RELEASE SAVEPOINT active_record_2
183
- Redirected to http://test.host/push_type/profile/edit
184
- Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
185
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
186
-  (0.1ms) ROLLBACK
187
-  (0.1ms) BEGIN
188
- -------------------------------------------------------------------------------
189
- PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
190
- -------------------------------------------------------------------------------
191
-  (0.1ms) SAVEPOINT active_record_1
192
-  (0.1ms) RELEASE SAVEPOINT active_record_1
193
-  (0.1ms) SAVEPOINT active_record_1
194
-  (0.1ms) SAVEPOINT active_record_2
195
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
196
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
197
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:27.417233"], ["confirmed_at", "2015-04-06 13:16:27.417345"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:27.419103"], ["updated_at", "2015-04-06 13:16:27.419103"]]
198
-  (0.1ms) RELEASE SAVEPOINT active_record_2
199
- Processing by PushType::ProfilesController#update as HTML
200
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
201
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "c3526234-91f3-4aaa-80f6-3c5294b571f1"]]
202
-  (0.1ms) SAVEPOINT active_record_2
203
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != 'c3526234-91f3-4aaa-80f6-3c5294b571f1') LIMIT 1
204
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-06 13:16:27.426344"], ["id", "c3526234-91f3-4aaa-80f6-3c5294b571f1"]]
205
-  (0.1ms) RELEASE SAVEPOINT active_record_2
206
- Redirected to http://test.host/push_type/profile/edit
207
- Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
208
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
209
-  (0.1ms) ROLLBACK
210
-  (0.1ms) BEGIN
211
- ------------------------------------------------------------------------------------------------
212
- PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
213
- ------------------------------------------------------------------------------------------------
214
-  (0.1ms) SAVEPOINT active_record_1
215
-  (0.1ms) RELEASE SAVEPOINT active_record_1
216
-  (0.0ms) SAVEPOINT active_record_1
217
-  (0.1ms) SAVEPOINT active_record_2
218
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
219
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
220
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "a2ecaaed9a6b57b193fa6f69dd05e64f7ce35cc1009569b84eba674281c54a9e"]]
221
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-04-06 13:16:27.436171"], ["updated_at", "2015-04-06 13:16:27.436171"], ["confirmation_token", "a2ecaaed9a6b57b193fa6f69dd05e64f7ce35cc1009569b84eba674281c54a9e"], ["confirmation_sent_at", "2015-04-06 13:16:27.596168"]]
222
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (3.7ms)
143
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "68ee81f560b8ff227ed9bc081a78fb6d2bd099ab5f945c35ae58ef8e7c09499e"]]
144
+ SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", "2015-04-23 12:28:13.057489"], ["updated_at", "2015-04-23 12:28:13.057489"], ["confirmation_token", "68ee81f560b8ff227ed9bc081a78fb6d2bd099ab5f945c35ae58ef8e7c09499e"], ["confirmation_sent_at", "2015-04-23 12:28:13.225558"]]
145
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (3.6ms)
223
146
 
224
- Devise::Mailer#confirmation_instructions: processed outbound mail in 150.7ms
147
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 157.9ms
225
148
 
226
- Sent mail to joe-4@example.com (6.6ms)
227
- Date: Mon, 06 Apr 2015 14:16:27 +0100
149
+ Sent mail to joe-1@example.com (6.4ms)
150
+ Date: Thu, 23 Apr 2015 13:28:13 +0100
228
151
  From: pushtype@example.com
229
152
  Reply-To: pushtype@example.com
230
- To: joe-4@example.com
231
- Message-ID: <5522872bbfd32_58a13fddd0465be857883@Aarons-iMac.local.mail>
153
+ To: joe-1@example.com
154
+ Message-ID: <5538e55d6762b_15a33ff788c65bf097524@Aarons-iMac.local.mail>
232
155
  Subject: [PushType] Confirm your account
233
156
  Mime-Version: 1.0
234
157
  Content-Type: multipart/alternative;
235
- boundary="--==_mimepart_5522872bbeeaa_58a13fddd0465be857766";
158
+ boundary="--==_mimepart_5538e55d667db_15a33ff788c65bf097495";
236
159
  charset=UTF-8
237
160
  Content-Transfer-Encoding: 7bit
238
161
 
239
162
 
240
- ----==_mimepart_5522872bbeeaa_58a13fddd0465be857766
163
+ ----==_mimepart_5538e55d667db_15a33ff788c65bf097495
241
164
  Content-Type: text/plain;
242
165
  charset=UTF-8
243
166
  Content-Transfer-Encoding: 7bit
@@ -252,11 +175,11 @@ created for you.
252
175
  To get started, confirm your account and set your own password by
253
176
  clicking the link below:
254
177
 
255
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=G5Gk7EsMjoYj3Cx1TjLW )
178
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=SZzToioJNK-NAPWrjvMS )
256
179
 
257
180
  PushType is brought to you by Push Code:
258
181
  type.pushcode.com ( http://type.pushcode.com ).
259
- ----==_mimepart_5522872bbeeaa_58a13fddd0465be857766
182
+ ----==_mimepart_5538e55d667db_15a33ff788c65bf097495
260
183
  Content-Type: text/html;
261
184
  charset=UTF-8
262
185
  Content-Transfer-Encoding: 7bit
@@ -289,7 +212,7 @@ body {
289
212
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
290
213
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
291
214
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
292
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
215
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
293
216
  </tr>
294
217
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
295
218
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -302,7 +225,7 @@ body {
302
225
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
303
226
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
304
227
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
305
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=G5Gk7EsMjoYj3Cx1TjLW" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
228
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=SZzToioJNK-NAPWrjvMS" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
306
229
  </td>
307
230
  </tr>
308
231
  </table>
@@ -347,48 +270,40 @@ body {
347
270
  </body>
348
271
  </html>
349
272
 
350
- ----==_mimepart_5522872bbeeaa_58a13fddd0465be857766--
273
+ ----==_mimepart_5538e55d667db_15a33ff788c65bf097495--
351
274
 
352
-  (0.1ms) RELEASE SAVEPOINT active_record_2
353
- Processing by PushType::ConfirmationsController#show as HTML
354
- Parameters: {"confirmation_token"=>"G5Gk7EsMjoYj3Cx1TjLW"}
355
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "a2ecaaed9a6b57b193fa6f69dd05e64f7ce35cc1009569b84eba674281c54a9e"]]
356
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (5.5ms)
357
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (16.2ms)
358
- Completed 200 OK in 6486ms (Views: 6484.7ms | ActiveRecord: 0.2ms)
359
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
360
-  (0.2ms) ROLLBACK
275
+  (0.6ms) COMMIT
361
276
   (0.1ms) BEGIN
362
- ------------------------------------------------------------------------------------------------
363
- PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
364
- ------------------------------------------------------------------------------------------------
277
+ --------------------------------------------------------------------------------------
278
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
279
+ --------------------------------------------------------------------------------------
365
280
   (0.1ms) SAVEPOINT active_record_1
366
281
   (0.1ms) RELEASE SAVEPOINT active_record_1
367
282
   (0.1ms) SAVEPOINT active_record_1
368
283
   (0.1ms) SAVEPOINT active_record_2
369
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
370
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
371
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "9721bda11ac22d31cdc50063e4fd379970228157f18619f5d683157cd8352f29"]]
372
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", "2015-04-06 13:16:34.283494"], ["updated_at", "2015-04-06 13:16:34.283494"], ["confirmation_token", "9721bda11ac22d31cdc50063e4fd379970228157f18619f5d683157cd8352f29"], ["confirmation_sent_at", "2015-04-06 13:16:34.284586"]]
373
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
284
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
285
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
286
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "219826d0c7206eee293f9527f28a77099cb813c25a8845aa5aaf9295bef2c6d0"]]
287
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", "2015-04-23 12:28:13.434000"], ["updated_at", "2015-04-23 12:28:13.434000"], ["confirmation_token", "219826d0c7206eee293f9527f28a77099cb813c25a8845aa5aaf9295bef2c6d0"], ["confirmation_sent_at", "2015-04-23 12:28:13.434955"]]
288
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
374
289
 
375
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.2ms
290
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
376
291
 
377
- Sent mail to joe-5@example.com (3.2ms)
378
- Date: Mon, 06 Apr 2015 14:16:34 +0100
292
+ Sent mail to joe-2@example.com (3.0ms)
293
+ Date: Thu, 23 Apr 2015 13:28:13 +0100
379
294
  From: pushtype@example.com
380
295
  Reply-To: pushtype@example.com
381
- To: joe-5@example.com
382
- Message-ID: <552287324dbe2_58a13fddd0465be8581aa@Aarons-iMac.local.mail>
296
+ To: joe-2@example.com
297
+ Message-ID: <5538e55d728a3_15a33ff788c65bf0978cd@Aarons-iMac.local.mail>
383
298
  Subject: [PushType] Confirm your account
384
299
  Mime-Version: 1.0
385
300
  Content-Type: multipart/alternative;
386
- boundary="--==_mimepart_552287324d5f1_58a13fddd0465be8580c";
301
+ boundary="--==_mimepart_5538e55d7233d_15a33ff788c65bf097746";
387
302
  charset=UTF-8
388
303
  Content-Transfer-Encoding: 7bit
389
304
 
390
305
 
391
- ----==_mimepart_552287324d5f1_58a13fddd0465be8580c
306
+ ----==_mimepart_5538e55d7233d_15a33ff788c65bf097746
392
307
  Content-Type: text/plain;
393
308
  charset=UTF-8
394
309
  Content-Transfer-Encoding: 7bit
@@ -403,11 +318,11 @@ created for you.
403
318
  To get started, confirm your account and set your own password by
404
319
  clicking the link below:
405
320
 
406
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=eqwWUMcyS-x-V7yrxFzL )
321
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=XLGsCxJt5abbSujkCoyA )
407
322
 
408
323
  PushType is brought to you by Push Code:
409
324
  type.pushcode.com ( http://type.pushcode.com ).
410
- ----==_mimepart_552287324d5f1_58a13fddd0465be8580c
325
+ ----==_mimepart_5538e55d7233d_15a33ff788c65bf097746
411
326
  Content-Type: text/html;
412
327
  charset=UTF-8
413
328
  Content-Transfer-Encoding: 7bit
@@ -440,7 +355,7 @@ body {
440
355
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
441
356
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
442
357
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
443
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
358
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
444
359
  </tr>
445
360
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
446
361
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -453,7 +368,7 @@ body {
453
368
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
454
369
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
455
370
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
456
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=eqwWUMcyS-x-V7yrxFzL" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
371
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=XLGsCxJt5abbSujkCoyA" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
457
372
  </td>
458
373
  </tr>
459
374
  </table>
@@ -498,48 +413,49 @@ body {
498
413
  </body>
499
414
  </html>
500
415
 
501
- ----==_mimepart_552287324d5f1_58a13fddd0465be8580c--
416
+ ----==_mimepart_5538e55d7233d_15a33ff788c65bf097746--
502
417
 
503
418
   (0.1ms) RELEASE SAVEPOINT active_record_2
504
- Processing by PushType::ConfirmationsController#show as HTML
505
- Parameters: {"confirmation_token"=>"eqwWUMcyS-x-V7yrxFzL"}
506
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "9721bda11ac22d31cdc50063e4fd379970228157f18619f5d683157cd8352f29"]]
507
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.0ms)
508
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.2ms)
509
- Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
510
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
511
-  (0.1ms) ROLLBACK
512
-  (0.1ms) BEGIN
419
+ Processing by PushType::ConfirmationsController#update as HTML
420
+ Parameters: {"user"=>{"confirmation_token"=>"XLGsCxJt5abbSujkCoyA", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
421
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "219826d0c7206eee293f9527f28a77099cb813c25a8845aa5aaf9295bef2c6d0"]]
422
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != '17ef207e-0d43-4132-bbdd-f887fa62648c') LIMIT 1
423
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (4.9ms)
424
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (14.9ms)
425
+ Completed 200 OK in 6547ms (Views: 6543.4ms | ActiveRecord: 0.5ms)
426
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
427
+  (0.2ms) ROLLBACK
428
+  (0.1ms) BEGIN
513
429
  --------------------------------------------------------------------------------------
514
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
430
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
515
431
  --------------------------------------------------------------------------------------
516
-  (0.1ms) SAVEPOINT active_record_1
517
-  (0.1ms) RELEASE SAVEPOINT active_record_1
518
-  (0.1ms) SAVEPOINT active_record_1
519
-  (0.1ms) SAVEPOINT active_record_2
520
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
521
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
522
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "badf3605cec75a361708623a077f04fbd111e59c29eaf954d04210c3d67749c2"]]
523
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-04-06 13:16:34.338919"], ["updated_at", "2015-04-06 13:16:34.338919"], ["confirmation_token", "badf3605cec75a361708623a077f04fbd111e59c29eaf954d04210c3d67749c2"], ["confirmation_sent_at", "2015-04-06 13:16:34.339877"]]
524
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
432
+  (0.0ms) SAVEPOINT active_record_1
433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
434
+  (0.0ms) SAVEPOINT active_record_1
435
+  (0.1ms) SAVEPOINT active_record_2
436
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
437
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
438
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "53c03aff9a5be24c712209d397933872295c41f34024c82c8ec107f36b9da91c"]]
439
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", "2015-04-23 12:28:20.028110"], ["updated_at", "2015-04-23 12:28:20.028110"], ["confirmation_token", "53c03aff9a5be24c712209d397933872295c41f34024c82c8ec107f36b9da91c"], ["confirmation_sent_at", "2015-04-23 12:28:20.029241"]]
440
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.4ms)
525
441
 
526
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.9ms
442
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.4ms
527
443
 
528
- Sent mail to joe-6@example.com (3.1ms)
529
- Date: Mon, 06 Apr 2015 14:16:34 +0100
444
+ Sent mail to joe-3@example.com (3.1ms)
445
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
530
446
  From: pushtype@example.com
531
447
  Reply-To: pushtype@example.com
532
- To: joe-6@example.com
533
- Message-ID: <552287325b475_58a13fddd0465be85847c@Aarons-iMac.local.mail>
448
+ To: joe-3@example.com
449
+ Message-ID: <5538e564f908_15a33ff788c65bf0981c1@Aarons-iMac.local.mail>
534
450
  Subject: [PushType] Confirm your account
535
451
  Mime-Version: 1.0
536
452
  Content-Type: multipart/alternative;
537
- boundary="--==_mimepart_552287325aedc_58a13fddd0465be8583a6";
453
+ boundary="--==_mimepart_5538e564f333_15a33ff788c65bf098081";
538
454
  charset=UTF-8
539
455
  Content-Transfer-Encoding: 7bit
540
456
 
541
457
 
542
- ----==_mimepart_552287325aedc_58a13fddd0465be8583a6
458
+ ----==_mimepart_5538e564f333_15a33ff788c65bf098081
543
459
  Content-Type: text/plain;
544
460
  charset=UTF-8
545
461
  Content-Transfer-Encoding: 7bit
@@ -554,11 +470,11 @@ created for you.
554
470
  To get started, confirm your account and set your own password by
555
471
  clicking the link below:
556
472
 
557
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_zGVyZgXQ9YnbvToiix7 )
473
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=pLsCBG7yJo6Dh1iWdoZf )
558
474
 
559
475
  PushType is brought to you by Push Code:
560
476
  type.pushcode.com ( http://type.pushcode.com ).
561
- ----==_mimepart_552287325aedc_58a13fddd0465be8583a6
477
+ ----==_mimepart_5538e564f333_15a33ff788c65bf098081
562
478
  Content-Type: text/html;
563
479
  charset=UTF-8
564
480
  Content-Transfer-Encoding: 7bit
@@ -591,7 +507,7 @@ body {
591
507
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
592
508
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
593
509
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
594
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
510
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
595
511
  </tr>
596
512
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
597
513
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -604,7 +520,7 @@ body {
604
520
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
605
521
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
606
522
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
607
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_zGVyZgXQ9YnbvToiix7" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
523
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=pLsCBG7yJo6Dh1iWdoZf" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
608
524
  </td>
609
525
  </tr>
610
526
  </table>
@@ -649,49 +565,49 @@ body {
649
565
  </body>
650
566
  </html>
651
567
 
652
- ----==_mimepart_552287325aedc_58a13fddd0465be8583a6--
568
+ ----==_mimepart_5538e564f333_15a33ff788c65bf098081--
653
569
 
654
-  (0.1ms) RELEASE SAVEPOINT active_record_2
570
+  (0.1ms) RELEASE SAVEPOINT active_record_2
655
571
  Processing by PushType::ConfirmationsController#update as HTML
656
- Parameters: {"user"=>{"confirmation_token"=>"_zGVyZgXQ9YnbvToiix7", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
657
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "badf3605cec75a361708623a077f04fbd111e59c29eaf954d04210c3d67749c2"]]
658
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'd5af4446-4a29-4bd2-bfb2-b77d213fa7c5') LIMIT 1
659
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.2ms)
572
+ Parameters: {"user"=>{"confirmation_token"=>"pLsCBG7yJo6Dh1iWdoZf", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
573
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "53c03aff9a5be24c712209d397933872295c41f34024c82c8ec107f36b9da91c"]]
574
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '05d8f945-1944-4320-b609-bafe80295a90') LIMIT 1
575
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (2.9ms)
660
576
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.1ms)
661
577
  Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 0.4ms)
662
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
663
-  (0.1ms) ROLLBACK
664
-  (0.1ms) BEGIN
578
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
579
+  (0.1ms) ROLLBACK
580
+  (0.1ms) BEGIN
665
581
  --------------------------------------------------------------------------------------
666
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
582
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
667
583
  --------------------------------------------------------------------------------------
668
-  (0.1ms) SAVEPOINT active_record_1
669
-  (0.1ms) RELEASE SAVEPOINT active_record_1
670
-  (0.0ms) SAVEPOINT active_record_1
671
-  (0.1ms) SAVEPOINT active_record_2
672
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
673
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
674
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d95e8cf5c3f388e8cf7b346b19a501f22ce92c6f5269ea2e2748401bf7f8813e"]]
675
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", "2015-04-06 13:16:34.393133"], ["updated_at", "2015-04-06 13:16:34.393133"], ["confirmation_token", "d95e8cf5c3f388e8cf7b346b19a501f22ce92c6f5269ea2e2748401bf7f8813e"], ["confirmation_sent_at", "2015-04-06 13:16:34.394015"]]
676
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
584
+  (0.1ms) SAVEPOINT active_record_1
585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
586
+  (0.0ms) SAVEPOINT active_record_1
587
+  (0.1ms) SAVEPOINT active_record_2
588
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
589
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
590
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "af08bc451f3e83403527b94c37e6e194be9c8a04c00a56f39ac178f22b58a278"]]
591
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-04-23 12:28:20.083333"], ["updated_at", "2015-04-23 12:28:20.083333"], ["confirmation_token", "af08bc451f3e83403527b94c37e6e194be9c8a04c00a56f39ac178f22b58a278"], ["confirmation_sent_at", "2015-04-23 12:28:20.084355"]]
592
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
677
593
 
678
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.6ms
594
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
679
595
 
680
- Sent mail to joe-7@example.com (3.2ms)
681
- Date: Mon, 06 Apr 2015 14:16:34 +0100
596
+ Sent mail to joe-4@example.com (2.9ms)
597
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
682
598
  From: pushtype@example.com
683
599
  Reply-To: pushtype@example.com
684
- To: joe-7@example.com
685
- Message-ID: <5522873268c7c_58a13fddd0465be85876a@Aarons-iMac.local.mail>
600
+ To: joe-4@example.com
601
+ Message-ID: <5538e5641ca9c_15a33ff788c65bf09845e@Aarons-iMac.local.mail>
686
602
  Subject: [PushType] Confirm your account
687
603
  Mime-Version: 1.0
688
604
  Content-Type: multipart/alternative;
689
- boundary="--==_mimepart_55228732686d7_58a13fddd0465be8586c1";
605
+ boundary="--==_mimepart_5538e5641c559_15a33ff788c65bf098320";
690
606
  charset=UTF-8
691
607
  Content-Transfer-Encoding: 7bit
692
608
 
693
609
 
694
- ----==_mimepart_55228732686d7_58a13fddd0465be8586c1
610
+ ----==_mimepart_5538e5641c559_15a33ff788c65bf098320
695
611
  Content-Type: text/plain;
696
612
  charset=UTF-8
697
613
  Content-Transfer-Encoding: 7bit
@@ -706,11 +622,11 @@ created for you.
706
622
  To get started, confirm your account and set your own password by
707
623
  clicking the link below:
708
624
 
709
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=xMUSqvq4jyQxNAqaNoyz )
625
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=SbfpaBJPx36hGTuyH4RZ )
710
626
 
711
627
  PushType is brought to you by Push Code:
712
628
  type.pushcode.com ( http://type.pushcode.com ).
713
- ----==_mimepart_55228732686d7_58a13fddd0465be8586c1
629
+ ----==_mimepart_5538e5641c559_15a33ff788c65bf098320
714
630
  Content-Type: text/html;
715
631
  charset=UTF-8
716
632
  Content-Transfer-Encoding: 7bit
@@ -743,7 +659,7 @@ body {
743
659
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
744
660
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
745
661
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
746
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
662
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
747
663
  </tr>
748
664
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
749
665
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -756,7 +672,7 @@ body {
756
672
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
757
673
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
758
674
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
759
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=xMUSqvq4jyQxNAqaNoyz" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
675
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=SbfpaBJPx36hGTuyH4RZ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
760
676
  </td>
761
677
  </tr>
762
678
  </table>
@@ -801,49 +717,117 @@ body {
801
717
  </body>
802
718
  </html>
803
719
 
804
- ----==_mimepart_55228732686d7_58a13fddd0465be8586c1--
720
+ ----==_mimepart_5538e5641c559_15a33ff788c65bf098320--
805
721
 
806
-  (0.1ms) RELEASE SAVEPOINT active_record_2
722
+  (0.1ms) RELEASE SAVEPOINT active_record_2
807
723
  Processing by PushType::ConfirmationsController#update as HTML
808
- Parameters: {"user"=>{"confirmation_token"=>"xMUSqvq4jyQxNAqaNoyz", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
809
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d95e8cf5c3f388e8cf7b346b19a501f22ce92c6f5269ea2e2748401bf7f8813e"]]
810
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '9e578553-2350-4199-85a2-cae8102ad632') LIMIT 1
811
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.4ms)
812
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.1ms)
813
- Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 0.4ms)
814
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
815
-  (0.1ms) ROLLBACK
816
-  (0.1ms) BEGIN
817
- --------------------------------------------------------------------------------------
818
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
819
- --------------------------------------------------------------------------------------
820
-  (0.1ms) SAVEPOINT active_record_1
821
-  (0.0ms) RELEASE SAVEPOINT active_record_1
822
-  (0.1ms) SAVEPOINT active_record_1
823
-  (0.1ms) SAVEPOINT active_record_2
824
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
825
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
826
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7b35c2b22ab2c0f3688a6a1ff54c1795674f0ba99b0a5758e8117046608a5f3d"]]
827
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-04-06 13:16:34.450114"], ["updated_at", "2015-04-06 13:16:34.450114"], ["confirmation_token", "7b35c2b22ab2c0f3688a6a1ff54c1795674f0ba99b0a5758e8117046608a5f3d"], ["confirmation_sent_at", "2015-04-06 13:16:34.451039"]]
828
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
724
+ Parameters: {"user"=>{"confirmation_token"=>"SbfpaBJPx36hGTuyH4RZ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
725
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "af08bc451f3e83403527b94c37e6e194be9c8a04c00a56f39ac178f22b58a278"]]
726
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != '06749bd1-bde6-4939-bd73-ad73f1d35657') LIMIT 1
727
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (2.9ms)
728
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.7ms)
729
+ Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.4ms)
730
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
731
+  (0.1ms) ROLLBACK
732
+  (0.1ms) BEGIN
733
+ ------------------------------------------------------------
734
+ PushType::ProfilesController::GET #edit: test_0001_anonymous
735
+ ------------------------------------------------------------
736
+  (0.1ms) SAVEPOINT active_record_1
737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
738
+  (0.0ms) SAVEPOINT active_record_1
739
+  (0.1ms) SAVEPOINT active_record_2
740
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
741
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
742
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.135925"], ["confirmed_at", "2015-04-23 12:28:20.136044"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.137765"], ["updated_at", "2015-04-23 12:28:20.137765"]]
743
+  (0.1ms) RELEASE SAVEPOINT active_record_2
744
+ Processing by PushType::ProfilesController#edit as HTML
745
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "ae5c3b7b-b0b1-4330-a22d-e6b10c059c19"]]
746
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (9.4ms)
747
+ Completed 200 OK in 42ms (Views: 38.2ms | ActiveRecord: 0.2ms)
748
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
749
+  (0.1ms) ROLLBACK
750
+  (0.1ms) BEGIN
751
+ ------------------------------------------------------------
752
+ PushType::ProfilesController::GET #edit: test_0002_anonymous
753
+ ------------------------------------------------------------
754
+  (0.1ms) SAVEPOINT active_record_1
755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
756
+  (0.0ms) SAVEPOINT active_record_1
757
+  (0.1ms) SAVEPOINT active_record_2
758
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
759
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
760
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.186370"], ["confirmed_at", "2015-04-23 12:28:20.186504"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.188467"], ["updated_at", "2015-04-23 12:28:20.188467"]]
761
+  (0.1ms) RELEASE SAVEPOINT active_record_2
762
+ Processing by PushType::ProfilesController#edit as HTML
763
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "6ecbc98b-37bb-4d79-9320-4c99f62d710b"]]
764
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.8ms)
765
+ Completed 200 OK in 23ms (Views: 19.5ms | ActiveRecord: 0.3ms)
766
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
767
+  (0.1ms) ROLLBACK
768
+  (0.1ms) BEGIN
769
+ --------------------------------------------------------------------------------------------------
770
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
771
+ --------------------------------------------------------------------------------------------------
772
+  (0.1ms) SAVEPOINT active_record_1
773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
774
+  (0.1ms) SAVEPOINT active_record_1
775
+ Processing by PushType::ConfirmationsController#show as HTML
776
+ Parameters: {"confirmation_token"=>"invalid"}
777
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "0fa8421743d270063ca22967a43f89c268a3a218d920035d0ec3589866ab17a7"]]
778
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "0fa8421743d270063ca22967a43f89c268a3a218d920035d0ec3589866ab17a7"]]
779
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (2.9ms)
780
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (8.0ms)
781
+ Completed 200 OK in 13ms (Views: 10.1ms | ActiveRecord: 0.2ms)
782
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
783
+  (0.1ms) ROLLBACK
784
+  (0.1ms) BEGIN
785
+ --------------------------------------------------------------------------------------------------
786
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
787
+ --------------------------------------------------------------------------------------------------
788
+  (0.1ms) SAVEPOINT active_record_1
789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
790
+  (0.0ms) SAVEPOINT active_record_1
791
+ Processing by PushType::ConfirmationsController#show as HTML
792
+ Parameters: {"confirmation_token"=>"invalid"}
793
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "0fa8421743d270063ca22967a43f89c268a3a218d920035d0ec3589866ab17a7"]]
794
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "0fa8421743d270063ca22967a43f89c268a3a218d920035d0ec3589866ab17a7"]]
795
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.0ms)
796
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.9ms)
797
+ Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.2ms)
798
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
799
+  (0.1ms) ROLLBACK
800
+  (0.0ms) BEGIN
801
+ ------------------------------------------------------------------------------------
802
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
803
+ ------------------------------------------------------------------------------------
804
+  (0.0ms) SAVEPOINT active_record_1
805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
806
+  (0.0ms) SAVEPOINT active_record_1
807
+  (0.1ms) SAVEPOINT active_record_2
808
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
809
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
810
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ba7ef7ed6f3942ecbdfd63b0fec21d3b670d84e7f84cb38feb2335db1e752c26"]]
811
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", "2015-04-23 12:28:20.249295"], ["updated_at", "2015-04-23 12:28:20.249295"], ["confirmation_token", "ba7ef7ed6f3942ecbdfd63b0fec21d3b670d84e7f84cb38feb2335db1e752c26"], ["confirmation_sent_at", "2015-04-23 12:28:20.250187"]]
812
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.9ms)
829
813
 
830
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.1ms
814
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.5ms
831
815
 
832
- Sent mail to joe-8@example.com (3.2ms)
833
- Date: Mon, 06 Apr 2015 14:16:34 +0100
816
+ Sent mail to joe-7@example.com (3.0ms)
817
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
834
818
  From: pushtype@example.com
835
819
  Reply-To: pushtype@example.com
836
- To: joe-8@example.com
837
- Message-ID: <5522873276c98_58a13fddd0465be8590ae@Aarons-iMac.local.mail>
820
+ To: joe-7@example.com
821
+ Message-ID: <5538e564453e3_15a33ff788c65bf09875c@Aarons-iMac.local.mail>
838
822
  Subject: [PushType] Confirm your account
839
823
  Mime-Version: 1.0
840
824
  Content-Type: multipart/alternative;
841
- boundary="--==_mimepart_55228732766f1_58a13fddd0465be858920";
825
+ boundary="--==_mimepart_5538e56444e34_15a33ff788c65bf0986fe";
842
826
  charset=UTF-8
843
827
  Content-Transfer-Encoding: 7bit
844
828
 
845
829
 
846
- ----==_mimepart_55228732766f1_58a13fddd0465be858920
830
+ ----==_mimepart_5538e56444e34_15a33ff788c65bf0986fe
847
831
  Content-Type: text/plain;
848
832
  charset=UTF-8
849
833
  Content-Transfer-Encoding: 7bit
@@ -858,11 +842,11 @@ created for you.
858
842
  To get started, confirm your account and set your own password by
859
843
  clicking the link below:
860
844
 
861
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QRhMszAdBhryZ-GpBetZ )
845
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=yaQsaNuxoMjpeKwiGUwP )
862
846
 
863
847
  PushType is brought to you by Push Code:
864
848
  type.pushcode.com ( http://type.pushcode.com ).
865
- ----==_mimepart_55228732766f1_58a13fddd0465be858920
849
+ ----==_mimepart_5538e56444e34_15a33ff788c65bf0986fe
866
850
  Content-Type: text/html;
867
851
  charset=UTF-8
868
852
  Content-Transfer-Encoding: 7bit
@@ -895,7 +879,7 @@ body {
895
879
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
896
880
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
897
881
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
898
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
882
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
899
883
  </tr>
900
884
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
901
885
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -908,7 +892,7 @@ body {
908
892
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
909
893
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
910
894
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
911
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=QRhMszAdBhryZ-GpBetZ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
895
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=yaQsaNuxoMjpeKwiGUwP" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
912
896
  </td>
913
897
  </tr>
914
898
  </table>
@@ -953,154 +937,55 @@ body {
953
937
  </body>
954
938
  </html>
955
939
 
956
- ----==_mimepart_55228732766f1_58a13fddd0465be858920--
940
+ ----==_mimepart_5538e56444e34_15a33ff788c65bf0986fe--
957
941
 
958
-  (0.2ms) RELEASE SAVEPOINT active_record_2
942
+  (0.1ms) RELEASE SAVEPOINT active_record_2
959
943
  Processing by PushType::ConfirmationsController#update as HTML
960
- Parameters: {"user"=>{"confirmation_token"=>"QRhMszAdBhryZ-GpBetZ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
961
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7b35c2b22ab2c0f3688a6a1ff54c1795674f0ba99b0a5758e8117046608a5f3d"]]
962
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-8@example.com' AND "push_type_users"."id" != '7bef4ec4-9f7b-405b-aff8-b3aacfba2f23') LIMIT 1
963
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.1ms)
964
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.5ms)
965
- Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.4ms)
966
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
967
-  (0.1ms) ROLLBACK
968
-  (0.1ms) BEGIN
969
- ------------------------------------------------------------
970
- PushType::ProfilesController::GET #edit: test_0002_anonymous
971
- ------------------------------------------------------------
972
-  (0.1ms) SAVEPOINT active_record_1
973
-  (0.1ms) RELEASE SAVEPOINT active_record_1
974
-  (0.0ms) SAVEPOINT active_record_1
944
+ Parameters: {"user"=>{"confirmation_token"=>"yaQsaNuxoMjpeKwiGUwP", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
945
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ba7ef7ed6f3942ecbdfd63b0fec21d3b670d84e7f84cb38feb2335db1e752c26"]]
946
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '5e40920e-23fd-4dcf-9b23-e32b71bc6a3e') LIMIT 1
947
+  (0.1ms) SAVEPOINT active_record_2
948
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$qdEungTGpl5NaZXVlyRLGOjlm6PwxiFndy07FTKjP1rGKtcdmOCK."], ["confirmed_at", "2015-04-23 12:28:20.291974"], ["updated_at", "2015-04-23 12:28:20.292348"], ["id", "5e40920e-23fd-4dcf-9b23-e32b71bc6a3e"]]
949
+  (0.1ms) RELEASE SAVEPOINT active_record_2
975
950
   (0.1ms) SAVEPOINT active_record_2
976
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
977
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
978
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.507418"], ["confirmed_at", "2015-04-06 13:16:34.507537"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.509610"], ["updated_at", "2015-04-06 13:16:34.509610"]]
951
+ SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-04-23 12:28:20.294265"], ["current_sign_in_at", "2015-04-23 12:28:20.294265"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-04-23 12:28:20.294985"], ["id", "5e40920e-23fd-4dcf-9b23-e32b71bc6a3e"]]
979
952
   (0.1ms) RELEASE SAVEPOINT active_record_2
980
- Processing by PushType::ProfilesController#edit as HTML
981
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "cc211ada-3472-42d9-94f2-8e52c9fbb0b8"]]
982
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (9.9ms)
983
- Completed 200 OK in 44ms (Views: 41.3ms | ActiveRecord: 0.2ms)
984
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
953
+ Redirected to http://test.host/push_type/
954
+ Completed 302 Found in 9ms (ActiveRecord: 1.0ms)
955
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "5e40920e-23fd-4dcf-9b23-e32b71bc6a3e"]]
956
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
985
957
   (0.1ms) ROLLBACK
986
958
   (0.1ms) BEGIN
987
- ------------------------------------------------------------
988
- PushType::ProfilesController::GET #edit: test_0001_anonymous
989
- ------------------------------------------------------------
959
+ ------------------------------------------------------------------------------------
960
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
961
+ ------------------------------------------------------------------------------------
990
962
   (0.0ms) SAVEPOINT active_record_1
991
963
   (0.0ms) RELEASE SAVEPOINT active_record_1
992
-  (0.0ms) SAVEPOINT active_record_1
993
-  (0.1ms) SAVEPOINT active_record_2
994
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
995
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
996
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.560076"], ["confirmed_at", "2015-04-06 13:16:34.560221"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.562238"], ["updated_at", "2015-04-06 13:16:34.562238"]]
997
-  (0.1ms) RELEASE SAVEPOINT active_record_2
998
- Processing by PushType::ProfilesController#edit as HTML
999
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "e40501df-8a14-4282-8cd3-985e13bd2ca9"]]
1000
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.2ms)
1001
- Completed 200 OK in 109ms (Views: 106.1ms | ActiveRecord: 0.2ms)
1002
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1003
-  (0.1ms) ROLLBACK
1004
-  (0.1ms) BEGIN
1005
- ---------------------------------------------------------------------------------
1006
- PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
1007
- ---------------------------------------------------------------------------------
1008
-  (0.1ms) SAVEPOINT active_record_1
1009
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1010
964
   (0.1ms) SAVEPOINT active_record_1
1011
965
   (0.1ms) SAVEPOINT active_record_2
1012
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1013
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1014
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.679376"], ["confirmed_at", "2015-04-06 13:16:34.679493"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.681281"], ["updated_at", "2015-04-06 13:16:34.681281"]]
1015
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1016
- Processing by PushType::ProfilesController#update as HTML
1017
- Parameters: {"user"=>{"name"=>""}}
1018
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "19fba2b6-3a5b-42d4-bc0a-dbb5aaa487be"]]
1019
-  (0.1ms) SAVEPOINT active_record_2
1020
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != '19fba2b6-3a5b-42d4-bc0a-dbb5aaa487be') LIMIT 1
1021
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1022
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.0ms)
1023
- Completed 200 OK in 26ms (Views: 21.3ms | ActiveRecord: 0.6ms)
1024
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1025
-  (0.1ms) ROLLBACK
1026
-  (0.1ms) BEGIN
1027
- ---------------------------------------------------------------------------------
1028
- PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
1029
- ---------------------------------------------------------------------------------
1030
-  (0.0ms) SAVEPOINT active_record_1
1031
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1032
-  (0.1ms) SAVEPOINT active_record_1
1033
-  (0.1ms) SAVEPOINT active_record_2
1034
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1035
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1036
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.713251"], ["confirmed_at", "2015-04-06 13:16:34.713371"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.715270"], ["updated_at", "2015-04-06 13:16:34.715270"]]
1037
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1038
- Processing by PushType::ProfilesController#update as HTML
1039
- Parameters: {"user"=>{"name"=>""}}
1040
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "cffa4702-e20d-4628-a7e4-f363e4066794"]]
1041
-  (0.1ms) SAVEPOINT active_record_2
1042
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != 'cffa4702-e20d-4628-a7e4-f363e4066794') LIMIT 1
1043
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1044
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.4ms)
1045
- Completed 200 OK in 27ms (Views: 21.8ms | ActiveRecord: 0.5ms)
1046
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1047
-  (0.1ms) ROLLBACK
1048
-  (0.1ms) BEGIN
1049
- --------------------------------------------------------------------------------------------------
1050
- PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
1051
- --------------------------------------------------------------------------------------------------
1052
-  (0.1ms) SAVEPOINT active_record_1
1053
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1054
-  (0.1ms) SAVEPOINT active_record_1
1055
- Processing by PushType::ConfirmationsController#show as HTML
1056
- Parameters: {"confirmation_token"=>"invalid"}
1057
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ca007356e1f10c07b2dd1bc5433c184ca6239611059a712f477802c0220f12ae"]]
1058
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ca007356e1f10c07b2dd1bc5433c184ca6239611059a712f477802c0220f12ae"]]
1059
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.4ms)
1060
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (8.6ms)
1061
- Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.2ms)
1062
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1063
-  (0.1ms) ROLLBACK
1064
-  (0.1ms) BEGIN
1065
- --------------------------------------------------------------------------------------------------
1066
- PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
1067
- --------------------------------------------------------------------------------------------------
1068
-  (0.1ms) SAVEPOINT active_record_1
1069
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1070
-  (0.0ms) SAVEPOINT active_record_1
1071
- Processing by PushType::ConfirmationsController#show as HTML
1072
- Parameters: {"confirmation_token"=>"invalid"}
1073
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ca007356e1f10c07b2dd1bc5433c184ca6239611059a712f477802c0220f12ae"]]
1074
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ca007356e1f10c07b2dd1bc5433c184ca6239611059a712f477802c0220f12ae"]]
1075
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.1ms)
1076
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.8ms)
1077
- Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.2ms)
1078
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1079
-  (0.1ms) ROLLBACK
1080
-  (0.1ms) BEGIN
1081
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1082
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1083
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "08c54264567ed387d828096ae4918b9d3805cb5e2aabf633d5117b1b9df4d998"]]
1084
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", "2015-04-06 13:16:34.782195"], ["updated_at", "2015-04-06 13:16:34.782195"], ["confirmation_token", "08c54264567ed387d828096ae4918b9d3805cb5e2aabf633d5117b1b9df4d998"], ["confirmation_sent_at", "2015-04-06 13:16:34.783140"]]
1085
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
966
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
967
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
968
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "b807fbbf58c9d32480536923dd5bebad92105ed1fa68671483046929447c4ad8"]]
969
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-04-23 12:28:20.302011"], ["updated_at", "2015-04-23 12:28:20.302011"], ["confirmation_token", "b807fbbf58c9d32480536923dd5bebad92105ed1fa68671483046929447c4ad8"], ["confirmation_sent_at", "2015-04-23 12:28:20.302826"]]
970
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.9ms)
1086
971
 
1087
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
972
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.5ms
1088
973
 
1089
- Sent mail to joe-13@example.com (3.1ms)
1090
- Date: Mon, 06 Apr 2015 14:16:34 +0100
974
+ Sent mail to joe-8@example.com (3.0ms)
975
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
1091
976
  From: pushtype@example.com
1092
977
  Reply-To: pushtype@example.com
1093
- To: joe-13@example.com
1094
- Message-ID: <55228732c7cfd_58a13fddd0465be85933b@Aarons-iMac.local.mail>
978
+ To: joe-8@example.com
979
+ Message-ID: <5538e56451ef0_15a33ff788c65bf0990ac@Aarons-iMac.local.mail>
1095
980
  Subject: [PushType] Confirm your account
1096
981
  Mime-Version: 1.0
1097
982
  Content-Type: multipart/alternative;
1098
- boundary="--==_mimepart_55228732c774f_58a13fddd0465be85924f";
983
+ boundary="--==_mimepart_5538e56451972_15a33ff788c65bf098915";
1099
984
  charset=UTF-8
1100
985
  Content-Transfer-Encoding: 7bit
1101
986
 
1102
987
 
1103
- ----==_mimepart_55228732c774f_58a13fddd0465be85924f
988
+ ----==_mimepart_5538e56451972_15a33ff788c65bf098915
1104
989
  Content-Type: text/plain;
1105
990
  charset=UTF-8
1106
991
  Content-Transfer-Encoding: 7bit
@@ -1115,11 +1000,11 @@ created for you.
1115
1000
  To get started, confirm your account and set your own password by
1116
1001
  clicking the link below:
1117
1002
 
1118
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=KQeXWKatHWa4s--rzM6s )
1003
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=n_mvs_hbmDbX_KtTty_H )
1119
1004
 
1120
1005
  PushType is brought to you by Push Code:
1121
1006
  type.pushcode.com ( http://type.pushcode.com ).
1122
- ----==_mimepart_55228732c774f_58a13fddd0465be85924f
1007
+ ----==_mimepart_5538e56451972_15a33ff788c65bf098915
1123
1008
  Content-Type: text/html;
1124
1009
  charset=UTF-8
1125
1010
  Content-Transfer-Encoding: 7bit
@@ -1152,7 +1037,7 @@ body {
1152
1037
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1153
1038
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1154
1039
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1155
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1040
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1156
1041
  </tr>
1157
1042
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1158
1043
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -1165,7 +1050,7 @@ body {
1165
1050
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1166
1051
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1167
1052
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1168
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=KQeXWKatHWa4s--rzM6s" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1053
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=n_mvs_hbmDbX_KtTty_H" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1169
1054
  </td>
1170
1055
  </tr>
1171
1056
  </table>
@@ -1210,45 +1095,161 @@ body {
1210
1095
  </body>
1211
1096
  </html>
1212
1097
 
1213
- ----==_mimepart_55228732c774f_58a13fddd0465be85924f--
1098
+ ----==_mimepart_5538e56451972_15a33ff788c65bf098915--
1214
1099
 
1215
-  (0.5ms) COMMIT
1100
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1101
+ Processing by PushType::ConfirmationsController#update as HTML
1102
+ Parameters: {"user"=>{"confirmation_token"=>"n_mvs_hbmDbX_KtTty_H", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1103
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "b807fbbf58c9d32480536923dd5bebad92105ed1fa68671483046929447c4ad8"]]
1104
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-8@example.com' AND "push_type_users"."id" != 'addc0510-47d5-4f0e-9472-6d20a6def52f') LIMIT 1
1105
+  (0.1ms) SAVEPOINT active_record_2
1106
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$j5qUt4qnSXcuUS06Qj.ns.BiXGeca1YnXj185i6AJM4imM5k5Wq0m"], ["confirmed_at", "2015-04-23 12:28:20.343635"], ["updated_at", "2015-04-23 12:28:20.343986"], ["id", "addc0510-47d5-4f0e-9472-6d20a6def52f"]]
1107
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1108
+  (0.1ms) SAVEPOINT active_record_2
1109
+ SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-04-23 12:28:20.345282"], ["current_sign_in_at", "2015-04-23 12:28:20.345282"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-04-23 12:28:20.345889"], ["id", "addc0510-47d5-4f0e-9472-6d20a6def52f"]]
1110
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1111
+ Redirected to http://test.host/push_type/
1112
+ Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
1113
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1114
+  (0.1ms) ROLLBACK
1216
1115
   (0.1ms) BEGIN
1217
- -----------------------------------------------------------
1218
- PushType::UsersController::PUT #invite: test_0001_anonymous
1219
- -----------------------------------------------------------
1116
+ -------------------------------------------------------------------------------
1117
+ PushType::ProfilesController::PUT #update::with valid user: test_0001_anonymous
1118
+ -------------------------------------------------------------------------------
1220
1119
   (0.1ms) SAVEPOINT active_record_1
1221
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1222
1121
   (0.0ms) SAVEPOINT active_record_1
1223
1122
   (0.1ms) SAVEPOINT active_record_2
1224
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1225
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1226
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.824106"], ["confirmed_at", "2015-04-06 13:16:34.824218"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.826032"], ["updated_at", "2015-04-06 13:16:34.826032"]]
1123
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
1124
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
1125
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.352262"], ["confirmed_at", "2015-04-23 12:28:20.352373"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.354076"], ["updated_at", "2015-04-23 12:28:20.354076"]]
1227
1126
   (0.1ms) RELEASE SAVEPOINT active_record_2
1127
+ Processing by PushType::ProfilesController#update as HTML
1128
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1129
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "919380a3-3d9f-4b71-a683-9592f2373aa2"]]
1130
+  (0.1ms) SAVEPOINT active_record_2
1131
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-9@example.com' AND "push_type_users"."id" != '919380a3-3d9f-4b71-a683-9592f2373aa2') LIMIT 1
1132
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-23 12:28:20.360984"], ["id", "919380a3-3d9f-4b71-a683-9592f2373aa2"]]
1133
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1134
+ Redirected to http://test.host/push_type/profile/edit
1135
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
1136
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "919380a3-3d9f-4b71-a683-9592f2373aa2"]]
1137
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1138
+  (0.1ms) ROLLBACK
1139
+  (0.1ms) BEGIN
1140
+ -------------------------------------------------------------------------------
1141
+ PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
1142
+ -------------------------------------------------------------------------------
1143
+  (0.1ms) SAVEPOINT active_record_1
1144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1145
+  (0.0ms) SAVEPOINT active_record_1
1228
1146
   (0.1ms) SAVEPOINT active_record_2
1229
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1230
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1231
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ef44c49e3a03979734eba5cb5f34511ed16dfe70169446fba9ccf1a524025e1e"]]
1232
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2015-04-06 13:16:34.829209"], ["updated_at", "2015-04-06 13:16:34.829209"], ["confirmation_token", "ef44c49e3a03979734eba5cb5f34511ed16dfe70169446fba9ccf1a524025e1e"], ["confirmation_sent_at", "2015-04-06 13:16:34.830065"]]
1233
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
1147
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1148
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1149
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.366869"], ["confirmed_at", "2015-04-23 12:28:20.366973"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.368695"], ["updated_at", "2015-04-23 12:28:20.368695"]]
1150
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1151
+ Processing by PushType::ProfilesController#update as HTML
1152
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1153
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "bbaf98ce-e853-4456-8d8a-cb309c7c27a3"]]
1154
+  (0.1ms) SAVEPOINT active_record_2
1155
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-10@example.com' AND "push_type_users"."id" != 'bbaf98ce-e853-4456-8d8a-cb309c7c27a3') LIMIT 1
1156
+ SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-23 12:28:20.375793"], ["id", "bbaf98ce-e853-4456-8d8a-cb309c7c27a3"]]
1157
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1158
+ Redirected to http://test.host/push_type/profile/edit
1159
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
1160
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1161
+  (0.1ms) ROLLBACK
1162
+  (0.1ms) BEGIN
1163
+ -------------------------------------------------------------------------------
1164
+ PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
1165
+ -------------------------------------------------------------------------------
1166
+  (0.1ms) SAVEPOINT active_record_1
1167
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1168
+  (0.0ms) SAVEPOINT active_record_1
1169
+  (0.1ms) SAVEPOINT active_record_2
1170
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1171
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1172
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.380745"], ["confirmed_at", "2015-04-23 12:28:20.380851"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.382528"], ["updated_at", "2015-04-23 12:28:20.382528"]]
1173
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1174
+ Processing by PushType::ProfilesController#update as HTML
1175
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1176
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "2541c917-c27c-4b71-a3e0-53b9f0a03696"]]
1177
+  (0.1ms) SAVEPOINT active_record_2
1178
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != '2541c917-c27c-4b71-a3e0-53b9f0a03696') LIMIT 1
1179
+ SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-23 12:28:20.390067"], ["id", "2541c917-c27c-4b71-a3e0-53b9f0a03696"]]
1180
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1181
+ Redirected to http://test.host/push_type/profile/edit
1182
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
1183
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1184
+  (0.1ms) ROLLBACK
1185
+  (0.1ms) BEGIN
1186
+ ---------------------------------------------------------------------------------
1187
+ PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
1188
+ ---------------------------------------------------------------------------------
1189
+  (0.1ms) SAVEPOINT active_record_1
1190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1191
+  (0.0ms) SAVEPOINT active_record_1
1192
+  (0.1ms) SAVEPOINT active_record_2
1193
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1194
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1195
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.396378"], ["confirmed_at", "2015-04-23 12:28:20.396485"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.398165"], ["updated_at", "2015-04-23 12:28:20.398165"]]
1196
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1197
+ Processing by PushType::ProfilesController#update as HTML
1198
+ Parameters: {"user"=>{"name"=>""}}
1199
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "09bc927f-624f-4ecc-8884-16c0e1785e9f"]]
1200
+  (0.1ms) SAVEPOINT active_record_2
1201
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != '09bc927f-624f-4ecc-8884-16c0e1785e9f') LIMIT 1
1202
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1203
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.4ms)
1204
+ Completed 200 OK in 24ms (Views: 19.2ms | ActiveRecord: 0.5ms)
1205
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1206
+  (0.1ms) ROLLBACK
1207
+  (0.1ms) BEGIN
1208
+ ---------------------------------------------------------------------------------
1209
+ PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
1210
+ ---------------------------------------------------------------------------------
1211
+  (0.1ms) SAVEPOINT active_record_1
1212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1213
+  (0.0ms) SAVEPOINT active_record_1
1214
+  (0.1ms) SAVEPOINT active_record_2
1215
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1216
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1217
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.427723"], ["confirmed_at", "2015-04-23 12:28:20.427839"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.429591"], ["updated_at", "2015-04-23 12:28:20.429591"]]
1218
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1219
+ Processing by PushType::ProfilesController#update as HTML
1220
+ Parameters: {"user"=>{"name"=>""}}
1221
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "0fa0ddf8-e65f-4257-a872-ca4f4c3e251d"]]
1222
+  (0.1ms) SAVEPOINT active_record_2
1223
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != '0fa0ddf8-e65f-4257-a872-ca4f4c3e251d') LIMIT 1
1224
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1225
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (82.6ms)
1226
+ Completed 200 OK in 102ms (Views: 97.7ms | ActiveRecord: 0.6ms)
1227
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1228
+  (0.1ms) ROLLBACK
1229
+  (0.1ms) BEGIN
1230
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1231
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1232
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "f60698d543a74336594e563102a3ef076a230527503aebb6920bfe16d7e5a063"]]
1233
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2015-04-23 12:28:20.538962"], ["updated_at", "2015-04-23 12:28:20.538962"], ["confirmation_token", "f60698d543a74336594e563102a3ef076a230527503aebb6920bfe16d7e5a063"], ["confirmation_sent_at", "2015-04-23 12:28:20.539850"]]
1234
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.9ms)
1234
1235
 
1235
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
1236
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.7ms
1236
1237
 
1237
- Sent mail to joe-15@example.com (3.2ms)
1238
- Date: Mon, 06 Apr 2015 14:16:34 +0100
1238
+ Sent mail to joe-14@example.com (3.1ms)
1239
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
1239
1240
  From: pushtype@example.com
1240
1241
  Reply-To: pushtype@example.com
1241
- To: joe-15@example.com
1242
- Message-ID: <55228732d2e28_58a13fddd0465be8596ef@Aarons-iMac.local.mail>
1242
+ To: joe-14@example.com
1243
+ Message-ID: <5538e5648bf59_15a33ff788c65bf0993e7@Aarons-iMac.local.mail>
1243
1244
  Subject: [PushType] Confirm your account
1244
1245
  Mime-Version: 1.0
1245
1246
  Content-Type: multipart/alternative;
1246
- boundary="--==_mimepart_55228732d28b8_58a13fddd0465be8595aa";
1247
+ boundary="--==_mimepart_5538e5648b9e2_15a33ff788c65bf099283";
1247
1248
  charset=UTF-8
1248
1249
  Content-Transfer-Encoding: 7bit
1249
1250
 
1250
1251
 
1251
- ----==_mimepart_55228732d28b8_58a13fddd0465be8595aa
1252
+ ----==_mimepart_5538e5648b9e2_15a33ff788c65bf099283
1252
1253
  Content-Type: text/plain;
1253
1254
  charset=UTF-8
1254
1255
  Content-Transfer-Encoding: 7bit
@@ -1263,11 +1264,11 @@ created for you.
1263
1264
  To get started, confirm your account and set your own password by
1264
1265
  clicking the link below:
1265
1266
 
1266
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=DwJpThXa8vLwsB6zsnbB )
1267
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=eZ_bxzFRG4VCHTHghgN_ )
1267
1268
 
1268
1269
  PushType is brought to you by Push Code:
1269
1270
  type.pushcode.com ( http://type.pushcode.com ).
1270
- ----==_mimepart_55228732d28b8_58a13fddd0465be8595aa
1271
+ ----==_mimepart_5538e5648b9e2_15a33ff788c65bf099283
1271
1272
  Content-Type: text/html;
1272
1273
  charset=UTF-8
1273
1274
  Content-Transfer-Encoding: 7bit
@@ -1300,7 +1301,7 @@ body {
1300
1301
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1301
1302
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1302
1303
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1303
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1304
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1304
1305
  </tr>
1305
1306
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1306
1307
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -1313,7 +1314,7 @@ body {
1313
1314
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1314
1315
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1315
1316
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1316
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=DwJpThXa8vLwsB6zsnbB" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1317
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=eZ_bxzFRG4VCHTHghgN_" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1317
1318
  </td>
1318
1319
  </tr>
1319
1320
  </table>
@@ -1358,36 +1359,45 @@ body {
1358
1359
  </body>
1359
1360
  </html>
1360
1361
 
1361
- ----==_mimepart_55228732d28b8_58a13fddd0465be8595aa--
1362
+ ----==_mimepart_5538e5648b9e2_15a33ff788c65bf099283--
1362
1363
 
1363
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1364
- Processing by PushType::UsersController#invite as HTML
1365
- Parameters: {"id"=>"09269cfb-aa6c-4df9-947b-53ad18b444f0"}
1366
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "b93913ef-6bcc-4c79-8e28-853c7d70d79b"]]
1367
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "09269cfb-aa6c-4df9-947b-53ad18b444f0"]]
1368
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "4db567e128b73f9379868ed3f6a43fce4dd0833966393056128b3579c59e376e"]]
1364
+  (0.6ms) COMMIT
1365
+  (0.1ms) BEGIN
1366
+ -----------------------------------------------------------
1367
+ PushType::UsersController::PUT #invite: test_0003_anonymous
1368
+ -----------------------------------------------------------
1369
+  (0.1ms) SAVEPOINT active_record_1
1370
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1371
+  (0.1ms) SAVEPOINT active_record_1
1372
+  (0.1ms) SAVEPOINT active_record_2
1373
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1374
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1375
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.583557"], ["confirmed_at", "2015-04-23 12:28:20.583681"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.585431"], ["updated_at", "2015-04-23 12:28:20.585431"]]
1376
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1369
1377
   (0.1ms) SAVEPOINT active_record_2
1370
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "4db567e128b73f9379868ed3f6a43fce4dd0833966393056128b3579c59e376e"], ["confirmation_sent_at", "2015-04-06 13:16:34.873486"], ["updated_at", "2015-04-06 13:16:34.873875"], ["id", "09269cfb-aa6c-4df9-947b-53ad18b444f0"]]
1371
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1372
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.0ms)
1378
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1379
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1380
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d76359420f98bc01c6964b9a5c5d638107775768860ea4f5960e97dd2a8950ce"]]
1381
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", "2015-04-23 12:28:20.588577"], ["updated_at", "2015-04-23 12:28:20.588577"], ["confirmation_token", "d76359420f98bc01c6964b9a5c5d638107775768860ea4f5960e97dd2a8950ce"], ["confirmation_sent_at", "2015-04-23 12:28:20.589469"]]
1382
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
1373
1383
 
1374
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.7ms
1384
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
1375
1385
 
1376
- Sent mail to joe-15@example.com (3.0ms)
1377
- Date: Mon, 06 Apr 2015 14:16:34 +0100
1386
+ Sent mail to joe-16@example.com (3.0ms)
1387
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
1378
1388
  From: pushtype@example.com
1379
1389
  Reply-To: pushtype@example.com
1380
- To: joe-15@example.com
1381
- Message-ID: <55228732ddb2c_58a13fddd0465be8599d5@Aarons-iMac.local.mail>
1390
+ To: joe-16@example.com
1391
+ Message-ID: <5538e56498069_15a33ff788c65bf09965c@Aarons-iMac.local.mail>
1382
1392
  Subject: [PushType] Confirm your account
1383
1393
  Mime-Version: 1.0
1384
1394
  Content-Type: multipart/alternative;
1385
- boundary="--==_mimepart_55228732dd5bb_58a13fddd0465be859834";
1395
+ boundary="--==_mimepart_5538e56497ad7_15a33ff788c65bf099533";
1386
1396
  charset=UTF-8
1387
1397
  Content-Transfer-Encoding: 7bit
1388
1398
 
1389
1399
 
1390
- ----==_mimepart_55228732dd5bb_58a13fddd0465be859834
1400
+ ----==_mimepart_5538e56497ad7_15a33ff788c65bf099533
1391
1401
  Content-Type: text/plain;
1392
1402
  charset=UTF-8
1393
1403
  Content-Transfer-Encoding: 7bit
@@ -1402,11 +1412,11 @@ created for you.
1402
1412
  To get started, confirm your account and set your own password by
1403
1413
  clicking the link below:
1404
1414
 
1405
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ZdgT-CWAThDyhZkc4oXD )
1415
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=xaidxevN7EsQsozRZUMt )
1406
1416
 
1407
1417
  PushType is brought to you by Push Code:
1408
1418
  type.pushcode.com ( http://type.pushcode.com ).
1409
- ----==_mimepart_55228732dd5bb_58a13fddd0465be859834
1419
+ ----==_mimepart_5538e56497ad7_15a33ff788c65bf099533
1410
1420
  Content-Type: text/html;
1411
1421
  charset=UTF-8
1412
1422
  Content-Transfer-Encoding: 7bit
@@ -1439,7 +1449,7 @@ body {
1439
1449
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1440
1450
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1441
1451
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1442
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1452
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1443
1453
  </tr>
1444
1454
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1445
1455
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -1452,7 +1462,7 @@ body {
1452
1462
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1453
1463
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1454
1464
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1455
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ZdgT-CWAThDyhZkc4oXD" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1465
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=xaidxevN7EsQsozRZUMt" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1456
1466
  </td>
1457
1467
  </tr>
1458
1468
  </table>
@@ -1497,48 +1507,36 @@ body {
1497
1507
  </body>
1498
1508
  </html>
1499
1509
 
1500
- ----==_mimepart_55228732dd5bb_58a13fddd0465be859834--
1510
+ ----==_mimepart_5538e56497ad7_15a33ff788c65bf099533--
1501
1511
 
1502
- Redirected to /push_type/users
1503
- Completed 302 Found in 41ms (ActiveRecord: 0.8ms)
1504
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1505
-  (0.1ms) ROLLBACK
1506
-  (0.1ms) BEGIN
1507
- -----------------------------------------------------------
1508
- PushType::UsersController::PUT #invite: test_0002_anonymous
1509
- -----------------------------------------------------------
1510
-  (0.1ms) SAVEPOINT active_record_1
1511
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1512
-  (0.1ms) SAVEPOINT active_record_1
1512
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1513
+ Processing by PushType::UsersController#invite as HTML
1514
+ Parameters: {"id"=>"2f686c22-33d9-49b6-85e9-690e2a2c0c2b"}
1515
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "43648db9-8eac-4e17-a110-985e5f67a1e7"]]
1516
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "2f686c22-33d9-49b6-85e9-690e2a2c0c2b"]]
1517
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d5514d4154f3a40a446dcc65097858ea8c12f7ba8338c7d71ced0c97a8e35676"]]
1513
1518
   (0.1ms) SAVEPOINT active_record_2
1514
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1515
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1516
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.912756"], ["confirmed_at", "2015-04-06 13:16:34.912871"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.914546"], ["updated_at", "2015-04-06 13:16:34.914546"]]
1519
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "d5514d4154f3a40a446dcc65097858ea8c12f7ba8338c7d71ced0c97a8e35676"], ["confirmation_sent_at", "2015-04-23 12:28:20.631849"], ["updated_at", "2015-04-23 12:28:20.632245"], ["id", "2f686c22-33d9-49b6-85e9-690e2a2c0c2b"]]
1517
1520
   (0.1ms) RELEASE SAVEPOINT active_record_2
1518
-  (0.1ms) SAVEPOINT active_record_2
1519
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1520
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1521
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "891ebd78f711ddf3cfa0b7623d40216e5caf5fc91457e4cd9c743f71e3be69f6"]]
1522
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", "2015-04-06 13:16:34.917623"], ["updated_at", "2015-04-06 13:16:34.917623"], ["confirmation_token", "891ebd78f711ddf3cfa0b7623d40216e5caf5fc91457e4cd9c743f71e3be69f6"], ["confirmation_sent_at", "2015-04-06 13:16:34.918523"]]
1523
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.3ms)
1521
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.0ms)
1524
1522
 
1525
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.1ms
1523
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.7ms
1526
1524
 
1527
- Sent mail to joe-17@example.com (3.1ms)
1528
- Date: Mon, 06 Apr 2015 14:16:34 +0100
1525
+ Sent mail to joe-16@example.com (2.9ms)
1526
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
1529
1527
  From: pushtype@example.com
1530
1528
  Reply-To: pushtype@example.com
1531
- To: joe-17@example.com
1532
- Message-ID: <55228732e88ca_58a13fddd0465be860261@Aarons-iMac.local.mail>
1529
+ To: joe-16@example.com
1530
+ Message-ID: <5538e564a26ca_15a33ff788c65bf099977@Aarons-iMac.local.mail>
1533
1531
  Subject: [PushType] Confirm your account
1534
1532
  Mime-Version: 1.0
1535
1533
  Content-Type: multipart/alternative;
1536
- boundary="--==_mimepart_55228732e832f_58a13fddd0465be8601e1";
1534
+ boundary="--==_mimepart_5538e564a21a3_15a33ff788c65bf0998fb";
1537
1535
  charset=UTF-8
1538
1536
  Content-Transfer-Encoding: 7bit
1539
1537
 
1540
1538
 
1541
- ----==_mimepart_55228732e832f_58a13fddd0465be8601e1
1539
+ ----==_mimepart_5538e564a21a3_15a33ff788c65bf0998fb
1542
1540
  Content-Type: text/plain;
1543
1541
  charset=UTF-8
1544
1542
  Content-Transfer-Encoding: 7bit
@@ -1553,11 +1551,11 @@ created for you.
1553
1551
  To get started, confirm your account and set your own password by
1554
1552
  clicking the link below:
1555
1553
 
1556
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=A5qn_nnTvVEXNzcb7G2x )
1554
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=zCwyxNCxvKMHLbSoshyJ )
1557
1555
 
1558
1556
  PushType is brought to you by Push Code:
1559
1557
  type.pushcode.com ( http://type.pushcode.com ).
1560
- ----==_mimepart_55228732e832f_58a13fddd0465be8601e1
1558
+ ----==_mimepart_5538e564a21a3_15a33ff788c65bf0998fb
1561
1559
  Content-Type: text/html;
1562
1560
  charset=UTF-8
1563
1561
  Content-Transfer-Encoding: 7bit
@@ -1590,7 +1588,7 @@ body {
1590
1588
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1591
1589
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1592
1590
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1593
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1591
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1594
1592
  </tr>
1595
1593
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1596
1594
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -1603,7 +1601,7 @@ body {
1603
1601
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1604
1602
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1605
1603
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1606
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=A5qn_nnTvVEXNzcb7G2x" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1604
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=zCwyxNCxvKMHLbSoshyJ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1607
1605
  </td>
1608
1606
  </tr>
1609
1607
  </table>
@@ -1648,36 +1646,48 @@ body {
1648
1646
  </body>
1649
1647
  </html>
1650
1648
 
1651
- ----==_mimepart_55228732e832f_58a13fddd0465be8601e1--
1649
+ ----==_mimepart_5538e564a21a3_15a33ff788c65bf0998fb--
1652
1650
 
1653
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1654
- Processing by PushType::UsersController#invite as HTML
1655
- Parameters: {"id"=>"972e4efc-c7a2-45ed-886a-1a653cd028b1"}
1656
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "774433ec-91d8-470e-a2f0-417c63625244"]]
1657
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "972e4efc-c7a2-45ed-886a-1a653cd028b1"]]
1658
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "8829e0c837b74816c09386c6f0693ca9b91cd14450f58ab65a3d0734a624d821"]]
1651
+ Redirected to /push_type/users
1652
+ Completed 302 Found in 40ms (ActiveRecord: 0.8ms)
1653
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1654
+  (0.1ms) ROLLBACK
1655
+  (0.1ms) BEGIN
1656
+ -----------------------------------------------------------
1657
+ PushType::UsersController::PUT #invite: test_0002_anonymous
1658
+ -----------------------------------------------------------
1659
+  (0.1ms) SAVEPOINT active_record_1
1660
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1661
+  (0.1ms) SAVEPOINT active_record_1
1662
+  (0.1ms) SAVEPOINT active_record_2
1663
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1664
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1665
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.669966"], ["confirmed_at", "2015-04-23 12:28:20.670083"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.671939"], ["updated_at", "2015-04-23 12:28:20.671939"]]
1666
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1659
1667
   (0.1ms) SAVEPOINT active_record_2
1660
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "8829e0c837b74816c09386c6f0693ca9b91cd14450f58ab65a3d0734a624d821"], ["confirmation_sent_at", "2015-04-06 13:16:34.960900"], ["updated_at", "2015-04-06 13:16:34.961436"], ["id", "972e4efc-c7a2-45ed-886a-1a653cd028b1"]]
1661
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1662
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.8ms)
1668
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1669
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1670
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "a63a5a2992a7b13797d595925466e14152195c6ef16398c46a02f9e884212dc6"]]
1671
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2015-04-23 12:28:20.674989"], ["updated_at", "2015-04-23 12:28:20.674989"], ["confirmation_token", "a63a5a2992a7b13797d595925466e14152195c6ef16398c46a02f9e884212dc6"], ["confirmation_sent_at", "2015-04-23 12:28:20.675858"]]
1672
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
1663
1673
 
1664
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
1674
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
1665
1675
 
1666
- Sent mail to joe-17@example.com (3.2ms)
1667
- Date: Mon, 06 Apr 2015 14:16:34 +0100
1676
+ Sent mail to joe-18@example.com (2.9ms)
1677
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
1668
1678
  From: pushtype@example.com
1669
1679
  Reply-To: pushtype@example.com
1670
- To: joe-17@example.com
1671
- Message-ID: <55228732f2e9b_58a13fddd0465be860567@Aarons-iMac.local.mail>
1680
+ To: joe-18@example.com
1681
+ Message-ID: <5538e564ad08b_15a33ff788c65bf0100223@Aarons-iMac.local.mail>
1672
1682
  Subject: [PushType] Confirm your account
1673
1683
  Mime-Version: 1.0
1674
1684
  Content-Type: multipart/alternative;
1675
- boundary="--==_mimepart_55228732f2935_58a13fddd0465be8604fe";
1685
+ boundary="--==_mimepart_5538e564acafa_15a33ff788c65bf0100133";
1676
1686
  charset=UTF-8
1677
1687
  Content-Transfer-Encoding: 7bit
1678
1688
 
1679
1689
 
1680
- ----==_mimepart_55228732f2935_58a13fddd0465be8604fe
1690
+ ----==_mimepart_5538e564acafa_15a33ff788c65bf0100133
1681
1691
  Content-Type: text/plain;
1682
1692
  charset=UTF-8
1683
1693
  Content-Transfer-Encoding: 7bit
@@ -1692,11 +1702,11 @@ created for you.
1692
1702
  To get started, confirm your account and set your own password by
1693
1703
  clicking the link below:
1694
1704
 
1695
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=2z28oHbjJx3WEmfxs3GT )
1705
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=UcviKyAH5bho_gR-r6G1 )
1696
1706
 
1697
1707
  PushType is brought to you by Push Code:
1698
1708
  type.pushcode.com ( http://type.pushcode.com ).
1699
- ----==_mimepart_55228732f2935_58a13fddd0465be8604fe
1709
+ ----==_mimepart_5538e564acafa_15a33ff788c65bf0100133
1700
1710
  Content-Type: text/html;
1701
1711
  charset=UTF-8
1702
1712
  Content-Transfer-Encoding: 7bit
@@ -1729,7 +1739,7 @@ body {
1729
1739
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1730
1740
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1731
1741
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1732
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1742
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1733
1743
  </tr>
1734
1744
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1735
1745
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -1742,7 +1752,7 @@ body {
1742
1752
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1743
1753
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1744
1754
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1745
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=2z28oHbjJx3WEmfxs3GT" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1755
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=UcviKyAH5bho_gR-r6G1" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1746
1756
  </td>
1747
1757
  </tr>
1748
1758
  </table>
@@ -1787,48 +1797,36 @@ body {
1787
1797
  </body>
1788
1798
  </html>
1789
1799
 
1790
- ----==_mimepart_55228732f2935_58a13fddd0465be8604fe--
1800
+ ----==_mimepart_5538e564acafa_15a33ff788c65bf0100133--
1791
1801
 
1792
- Redirected to /push_type/users
1793
- Completed 302 Found in 40ms (ActiveRecord: 0.7ms)
1794
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1795
-  (0.1ms) ROLLBACK
1796
-  (0.1ms) BEGIN
1797
- -----------------------------------------------------------
1798
- PushType::UsersController::PUT #invite: test_0003_anonymous
1799
- -----------------------------------------------------------
1800
-  (0.1ms) SAVEPOINT active_record_1
1801
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1802
-  (0.0ms) SAVEPOINT active_record_1
1802
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1803
+ Processing by PushType::UsersController#invite as HTML
1804
+ Parameters: {"id"=>"7db38423-9fcf-4134-b954-607adfa734aa"}
1805
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "f51d014d-4f45-4b8c-a215-722ebc5bf41f"]]
1806
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "7db38423-9fcf-4134-b954-607adfa734aa"]]
1807
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5a1c56bbe32f5d01e7d6eb6a6cecb0276439c9add5c7eae21528420b5ce9cac0"]]
1803
1808
   (0.1ms) SAVEPOINT active_record_2
1804
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1805
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1806
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.999856"], ["confirmed_at", "2015-04-06 13:16:34.999972"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:35.001764"], ["updated_at", "2015-04-06 13:16:35.001764"]]
1809
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "5a1c56bbe32f5d01e7d6eb6a6cecb0276439c9add5c7eae21528420b5ce9cac0"], ["confirmation_sent_at", "2015-04-23 12:28:20.716917"], ["updated_at", "2015-04-23 12:28:20.717277"], ["id", "7db38423-9fcf-4134-b954-607adfa734aa"]]
1807
1810
   (0.1ms) RELEASE SAVEPOINT active_record_2
1808
-  (0.1ms) SAVEPOINT active_record_2
1809
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1810
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1811
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ad7f5bca1f4f2aad504cd2c7ffbc58cb02a620d4d919043c6b9aa7a12d7a3535"]]
1812
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2015-04-06 13:16:35.004698"], ["updated_at", "2015-04-06 13:16:35.004698"], ["confirmation_token", "ad7f5bca1f4f2aad504cd2c7ffbc58cb02a620d4d919043c6b9aa7a12d7a3535"], ["confirmation_sent_at", "2015-04-06 13:16:35.005550"]]
1813
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
1811
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.3ms)
1814
1812
 
1815
1813
  Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
1816
1814
 
1817
- Sent mail to joe-19@example.com (3.1ms)
1818
- Date: Mon, 06 Apr 2015 14:16:35 +0100
1815
+ Sent mail to joe-18@example.com (2.9ms)
1816
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
1819
1817
  From: pushtype@example.com
1820
1818
  Reply-To: pushtype@example.com
1821
- To: joe-19@example.com
1822
- Message-ID: <55228733990c_58a13fddd0465be86081f@Aarons-iMac.local.mail>
1819
+ To: joe-18@example.com
1820
+ Message-ID: <5538e564b7440_15a33ff788c65bf01005f5@Aarons-iMac.local.mail>
1823
1821
  Subject: [PushType] Confirm your account
1824
1822
  Mime-Version: 1.0
1825
1823
  Content-Type: multipart/alternative;
1826
- boundary="--==_mimepart_552287339391_58a13fddd0465be8607c0";
1824
+ boundary="--==_mimepart_5538e564b6f13_15a33ff788c65bf01004ed";
1827
1825
  charset=UTF-8
1828
1826
  Content-Transfer-Encoding: 7bit
1829
1827
 
1830
1828
 
1831
- ----==_mimepart_552287339391_58a13fddd0465be8607c0
1829
+ ----==_mimepart_5538e564b6f13_15a33ff788c65bf01004ed
1832
1830
  Content-Type: text/plain;
1833
1831
  charset=UTF-8
1834
1832
  Content-Transfer-Encoding: 7bit
@@ -1843,11 +1841,11 @@ created for you.
1843
1841
  To get started, confirm your account and set your own password by
1844
1842
  clicking the link below:
1845
1843
 
1846
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=WnBBVvEJWvF9ci-sKWNP )
1844
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=qsvcXsBvs6GjpJvYYpxT )
1847
1845
 
1848
1846
  PushType is brought to you by Push Code:
1849
1847
  type.pushcode.com ( http://type.pushcode.com ).
1850
- ----==_mimepart_552287339391_58a13fddd0465be8607c0
1848
+ ----==_mimepart_5538e564b6f13_15a33ff788c65bf01004ed
1851
1849
  Content-Type: text/html;
1852
1850
  charset=UTF-8
1853
1851
  Content-Transfer-Encoding: 7bit
@@ -1880,7 +1878,7 @@ body {
1880
1878
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1881
1879
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1882
1880
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1883
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1881
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1884
1882
  </tr>
1885
1883
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1886
1884
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -1893,7 +1891,7 @@ body {
1893
1891
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1894
1892
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1895
1893
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1896
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=WnBBVvEJWvF9ci-sKWNP" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1894
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=qsvcXsBvs6GjpJvYYpxT" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1897
1895
  </td>
1898
1896
  </tr>
1899
1897
  </table>
@@ -1938,36 +1936,48 @@ body {
1938
1936
  </body>
1939
1937
  </html>
1940
1938
 
1941
- ----==_mimepart_552287339391_58a13fddd0465be8607c0--
1939
+ ----==_mimepart_5538e564b6f13_15a33ff788c65bf01004ed--
1942
1940
 
1943
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1944
- Processing by PushType::UsersController#invite as HTML
1945
- Parameters: {"id"=>"131323f0-6d5a-4dc3-94a2-e9429a5131ba"}
1946
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "59ec3d9b-0ea7-4398-b11b-6388ee2bf309"]]
1947
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "131323f0-6d5a-4dc3-94a2-e9429a5131ba"]]
1948
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ed5f95e3077cfdbaf6f4b6ea9e947d25c5f2ffaecb807f13eff9d5c38083707a"]]
1941
+ Redirected to /push_type/users
1942
+ Completed 302 Found in 40ms (ActiveRecord: 0.7ms)
1943
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1944
+  (0.1ms) ROLLBACK
1945
+  (0.1ms) BEGIN
1946
+ -----------------------------------------------------------
1947
+ PushType::UsersController::PUT #invite: test_0001_anonymous
1948
+ -----------------------------------------------------------
1949
+  (0.0ms) SAVEPOINT active_record_1
1950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1951
+  (0.0ms) SAVEPOINT active_record_1
1952
+  (0.1ms) SAVEPOINT active_record_2
1953
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1954
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1955
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["confirmation_sent_at", "2015-04-23 12:28:20.755206"], ["confirmed_at", "2015-04-23 12:28:20.755322"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-23 12:28:20.757213"], ["updated_at", "2015-04-23 12:28:20.757213"]]
1956
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1949
1957
   (0.1ms) SAVEPOINT active_record_2
1950
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "ed5f95e3077cfdbaf6f4b6ea9e947d25c5f2ffaecb807f13eff9d5c38083707a"], ["confirmation_sent_at", "2015-04-06 13:16:35.047421"], ["updated_at", "2015-04-06 13:16:35.047770"], ["id", "131323f0-6d5a-4dc3-94a2-e9429a5131ba"]]
1951
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1952
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.8ms)
1958
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
1959
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
1960
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "6459019364f5ab32008cf14d3ec39d1d2ea0175754d5575054a5a651950dc146"]]
1961
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-04-23 12:28:20.760172"], ["updated_at", "2015-04-23 12:28:20.760172"], ["confirmation_token", "6459019364f5ab32008cf14d3ec39d1d2ea0175754d5575054a5a651950dc146"], ["confirmation_sent_at", "2015-04-23 12:28:20.761009"]]
1962
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
1953
1963
 
1954
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
1964
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
1955
1965
 
1956
- Sent mail to joe-19@example.com (2.9ms)
1957
- Date: Mon, 06 Apr 2015 14:16:35 +0100
1966
+ Sent mail to joe-20@example.com (3.1ms)
1967
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
1958
1968
  From: pushtype@example.com
1959
1969
  Reply-To: pushtype@example.com
1960
- To: joe-19@example.com
1961
- Message-ID: <5522873313bbc_58a13fddd0465be861112@Aarons-iMac.local.mail>
1970
+ To: joe-20@example.com
1971
+ Message-ID: <5538e564c1d8b_15a33ff788c65bf010081c@Aarons-iMac.local.mail>
1962
1972
  Subject: [PushType] Confirm your account
1963
1973
  Mime-Version: 1.0
1964
1974
  Content-Type: multipart/alternative;
1965
- boundary="--==_mimepart_552287331368c_58a13fddd0465be8610fa";
1975
+ boundary="--==_mimepart_5538e564c17d3_15a33ff788c65bf01007d3";
1966
1976
  charset=UTF-8
1967
1977
  Content-Transfer-Encoding: 7bit
1968
1978
 
1969
1979
 
1970
- ----==_mimepart_552287331368c_58a13fddd0465be8610fa
1980
+ ----==_mimepart_5538e564c17d3_15a33ff788c65bf01007d3
1971
1981
  Content-Type: text/plain;
1972
1982
  charset=UTF-8
1973
1983
  Content-Transfer-Encoding: 7bit
@@ -1982,11 +1992,11 @@ created for you.
1982
1992
  To get started, confirm your account and set your own password by
1983
1993
  clicking the link below:
1984
1994
 
1985
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=JxVFTs3fAx244doTNsFz )
1995
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z3AWyUcL8m74JG_WuiGJ )
1986
1996
 
1987
1997
  PushType is brought to you by Push Code:
1988
1998
  type.pushcode.com ( http://type.pushcode.com ).
1989
- ----==_mimepart_552287331368c_58a13fddd0465be8610fa
1999
+ ----==_mimepart_5538e564c17d3_15a33ff788c65bf01007d3
1990
2000
  Content-Type: text/html;
1991
2001
  charset=UTF-8
1992
2002
  Content-Transfer-Encoding: 7bit
@@ -2019,7 +2029,7 @@ body {
2019
2029
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2020
2030
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2021
2031
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2022
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2032
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2023
2033
  </tr>
2024
2034
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2025
2035
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -2032,7 +2042,7 @@ body {
2032
2042
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2033
2043
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2034
2044
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2035
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=JxVFTs3fAx244doTNsFz" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2045
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=z3AWyUcL8m74JG_WuiGJ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2036
2046
  </td>
2037
2047
  </tr>
2038
2048
  </table>
@@ -2077,36 +2087,36 @@ body {
2077
2087
  </body>
2078
2088
  </html>
2079
2089
 
2080
- ----==_mimepart_552287331368c_58a13fddd0465be8610fa--
2090
+ ----==_mimepart_5538e564c17d3_15a33ff788c65bf01007d3--
2081
2091
 
2082
- Redirected to /push_type/users
2083
- Completed 302 Found in 39ms (ActiveRecord: 0.7ms)
2084
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2085
-  (0.1ms) ROLLBACK
2086
-  (0.1ms) BEGIN
2087
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2088
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2089
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "fe2d013741bb0ff4c6534c414ec84afc31a918adaeeaaa3c5118cce8c1dc1f1e"]]
2090
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-04-06 13:16:35.087607"], ["updated_at", "2015-04-06 13:16:35.087607"], ["confirmation_token", "fe2d013741bb0ff4c6534c414ec84afc31a918adaeeaaa3c5118cce8c1dc1f1e"], ["confirmation_sent_at", "2015-04-06 13:16:35.088566"]]
2091
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
2092
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2093
+ Processing by PushType::UsersController#invite as HTML
2094
+ Parameters: {"id"=>"fe4bd640-f005-41eb-946b-6aa9f17e5639"}
2095
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "401cf31f-95e2-4c09-97da-804c15152d2f"]]
2096
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "fe4bd640-f005-41eb-946b-6aa9f17e5639"]]
2097
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "4a082eae1ca1c2dddac863a4eaeabaae7dd1467a328071b96815ffed737f23d2"]]
2098
+  (0.1ms) SAVEPOINT active_record_2
2099
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "4a082eae1ca1c2dddac863a4eaeabaae7dd1467a328071b96815ffed737f23d2"], ["confirmation_sent_at", "2015-04-23 12:28:20.802112"], ["updated_at", "2015-04-23 12:28:20.802465"], ["id", "fe4bd640-f005-41eb-946b-6aa9f17e5639"]]
2100
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2101
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.7ms)
2092
2102
 
2093
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.9ms
2103
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.2ms
2094
2104
 
2095
- Sent mail to joe-20@example.com (3.2ms)
2096
- Date: Mon, 06 Apr 2015 14:16:35 +0100
2105
+ Sent mail to joe-20@example.com (2.9ms)
2106
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
2097
2107
  From: pushtype@example.com
2098
2108
  Reply-To: pushtype@example.com
2099
2109
  To: joe-20@example.com
2100
- Message-ID: <552287331de52_58a13fddd0465be861456@Aarons-iMac.local.mail>
2110
+ Message-ID: <5538e564cbf3e_15a33ff788c65bf0101117@Aarons-iMac.local.mail>
2101
2111
  Subject: [PushType] Confirm your account
2102
2112
  Mime-Version: 1.0
2103
2113
  Content-Type: multipart/alternative;
2104
- boundary="--==_mimepart_552287331d86f_58a13fddd0465be8613df";
2114
+ boundary="--==_mimepart_5538e564cba15_15a33ff788c65bf01010f7";
2105
2115
  charset=UTF-8
2106
2116
  Content-Transfer-Encoding: 7bit
2107
2117
 
2108
2118
 
2109
- ----==_mimepart_552287331d86f_58a13fddd0465be8613df
2119
+ ----==_mimepart_5538e564cba15_15a33ff788c65bf01010f7
2110
2120
  Content-Type: text/plain;
2111
2121
  charset=UTF-8
2112
2122
  Content-Transfer-Encoding: 7bit
@@ -2121,11 +2131,11 @@ created for you.
2121
2131
  To get started, confirm your account and set your own password by
2122
2132
  clicking the link below:
2123
2133
 
2124
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tSEzFvR1SZxhR1suPYwW )
2134
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=KdMkjDFGB_6pSoAMjuz8 )
2125
2135
 
2126
2136
  PushType is brought to you by Push Code:
2127
2137
  type.pushcode.com ( http://type.pushcode.com ).
2128
- ----==_mimepart_552287331d86f_58a13fddd0465be8613df
2138
+ ----==_mimepart_5538e564cba15_15a33ff788c65bf01010f7
2129
2139
  Content-Type: text/html;
2130
2140
  charset=UTF-8
2131
2141
  Content-Transfer-Encoding: 7bit
@@ -2158,7 +2168,7 @@ body {
2158
2168
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2159
2169
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2160
2170
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2161
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2171
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2162
2172
  </tr>
2163
2173
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2164
2174
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -2171,7 +2181,7 @@ body {
2171
2181
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2172
2182
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2173
2183
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2174
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=tSEzFvR1SZxhR1suPYwW" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2184
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=KdMkjDFGB_6pSoAMjuz8" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2175
2185
  </td>
2176
2186
  </tr>
2177
2187
  </table>
@@ -2216,40 +2226,43 @@ body {
2216
2226
  </body>
2217
2227
  </html>
2218
2228
 
2219
- ----==_mimepart_552287331d86f_58a13fddd0465be8613df--
2229
+ ----==_mimepart_5538e564cba15_15a33ff788c65bf01010f7--
2220
2230
 
2221
-  (0.6ms) COMMIT
2222
-  (0.1ms) BEGIN
2223
- ------------------------------------------------------------------------------------
2224
- PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
2225
- ------------------------------------------------------------------------------------
2226
-  (0.1ms) SAVEPOINT active_record_1
2227
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2228
-  (0.1ms) SAVEPOINT active_record_1
2229
-  (0.1ms) SAVEPOINT active_record_2
2230
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2231
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2232
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "bd0cc3ffcdaf73b9fc9b303e429329ce71f69c78c14e14fe87831c9a97be4d0c"]]
2233
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", "2015-04-06 13:16:35.131278"], ["updated_at", "2015-04-06 13:16:35.131278"], ["confirmation_token", "bd0cc3ffcdaf73b9fc9b303e429329ce71f69c78c14e14fe87831c9a97be4d0c"], ["confirmation_sent_at", "2015-04-06 13:16:35.132167"]]
2231
+ Redirected to /push_type/users
2232
+ Completed 302 Found in 39ms (ActiveRecord: 0.7ms)
2233
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2234
+  (0.1ms) ROLLBACK
2235
+  (0.1ms) BEGIN
2236
+ ------------------------------------------------------------------------------------------------
2237
+ PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
2238
+ ------------------------------------------------------------------------------------------------
2239
+  (0.1ms) SAVEPOINT active_record_1
2240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2241
+  (0.1ms) SAVEPOINT active_record_1
2242
+  (0.1ms) SAVEPOINT active_record_2
2243
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2244
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2245
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "68f225c40464b2354126a2ec0c48bf12c2937afb4649ed2537e51abf180028ff"]]
2246
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", "2015-04-23 12:28:20.842974"], ["updated_at", "2015-04-23 12:28:20.842974"], ["confirmation_token", "68f225c40464b2354126a2ec0c48bf12c2937afb4649ed2537e51abf180028ff"], ["confirmation_sent_at", "2015-04-23 12:28:20.843857"]]
2234
2247
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
2235
2248
 
2236
2249
  Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
2237
2250
 
2238
- Sent mail to joe-21@example.com (3.0ms)
2239
- Date: Mon, 06 Apr 2015 14:16:35 +0100
2251
+ Sent mail to joe-21@example.com (2.9ms)
2252
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
2240
2253
  From: pushtype@example.com
2241
2254
  Reply-To: pushtype@example.com
2242
2255
  To: joe-21@example.com
2243
- Message-ID: <5522873328cd6_58a13fddd0465be86173f@Aarons-iMac.local.mail>
2256
+ Message-ID: <5538e564d638c_15a33ff788c65bf0101430@Aarons-iMac.local.mail>
2244
2257
  Subject: [PushType] Confirm your account
2245
2258
  Mime-Version: 1.0
2246
2259
  Content-Type: multipart/alternative;
2247
- boundary="--==_mimepart_552287332873c_58a13fddd0465be861664";
2260
+ boundary="--==_mimepart_5538e564d5e41_15a33ff788c65bf010136";
2248
2261
  charset=UTF-8
2249
2262
  Content-Transfer-Encoding: 7bit
2250
2263
 
2251
2264
 
2252
- ----==_mimepart_552287332873c_58a13fddd0465be861664
2265
+ ----==_mimepart_5538e564d5e41_15a33ff788c65bf010136
2253
2266
  Content-Type: text/plain;
2254
2267
  charset=UTF-8
2255
2268
  Content-Transfer-Encoding: 7bit
@@ -2264,11 +2277,11 @@ created for you.
2264
2277
  To get started, confirm your account and set your own password by
2265
2278
  clicking the link below:
2266
2279
 
2267
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ciQnUs7RgxVp5DF-wTLc )
2280
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=yUiGiy4uuNisc6iZ4Eh9 )
2268
2281
 
2269
2282
  PushType is brought to you by Push Code:
2270
2283
  type.pushcode.com ( http://type.pushcode.com ).
2271
- ----==_mimepart_552287332873c_58a13fddd0465be861664
2284
+ ----==_mimepart_5538e564d5e41_15a33ff788c65bf010136
2272
2285
  Content-Type: text/html;
2273
2286
  charset=UTF-8
2274
2287
  Content-Transfer-Encoding: 7bit
@@ -2301,7 +2314,7 @@ body {
2301
2314
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2302
2315
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2303
2316
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2304
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2317
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2305
2318
  </tr>
2306
2319
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2307
2320
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -2314,7 +2327,7 @@ body {
2314
2327
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2315
2328
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2316
2329
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2317
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ciQnUs7RgxVp5DF-wTLc" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2330
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=yUiGiy4uuNisc6iZ4Eh9" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2318
2331
  </td>
2319
2332
  </tr>
2320
2333
  </table>
@@ -2359,55 +2372,48 @@ body {
2359
2372
  </body>
2360
2373
  </html>
2361
2374
 
2362
- ----==_mimepart_552287332873c_58a13fddd0465be861664--
2375
+ ----==_mimepart_5538e564d5e41_15a33ff788c65bf010136--
2363
2376
 
2364
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2365
- Processing by PushType::ConfirmationsController#update as HTML
2366
- Parameters: {"user"=>{"confirmation_token"=>"ciQnUs7RgxVp5DF-wTLc", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2367
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "bd0cc3ffcdaf73b9fc9b303e429329ce71f69c78c14e14fe87831c9a97be4d0c"]]
2368
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != '0a4f97e6-0e97-45d0-9615-c4295fb8c3f6') LIMIT 1
2369
-  (0.1ms) SAVEPOINT active_record_2
2370
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$zR/DlyKe1LRJMMN3sGvUnu6Lx2kz1bU/kh9vaQ/DOvv9viBdQAEeW"], ["confirmed_at", "2015-04-06 13:16:35.175509"], ["updated_at", "2015-04-06 13:16:35.175849"], ["id", "0a4f97e6-0e97-45d0-9615-c4295fb8c3f6"]]
2371
2377
   (0.1ms) RELEASE SAVEPOINT active_record_2
2372
-  (0.1ms) SAVEPOINT active_record_2
2373
- SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-04-06 13:16:35.177344"], ["current_sign_in_at", "2015-04-06 13:16:35.177344"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-04-06 13:16:35.178228"], ["id", "0a4f97e6-0e97-45d0-9615-c4295fb8c3f6"]]
2374
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2375
- Redirected to http://test.host/push_type/
2376
- Completed 302 Found in 10ms (ActiveRecord: 1.1ms)
2377
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "0a4f97e6-0e97-45d0-9615-c4295fb8c3f6"]]
2378
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2379
-  (0.1ms) ROLLBACK
2380
-  (0.1ms) BEGIN
2381
- ------------------------------------------------------------------------------------
2382
- PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
2383
- ------------------------------------------------------------------------------------
2384
-  (0.1ms) SAVEPOINT active_record_1
2385
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2386
-  (0.0ms) SAVEPOINT active_record_1
2387
-  (0.1ms) SAVEPOINT active_record_2
2388
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2378
+ Processing by PushType::ConfirmationsController#show as HTML
2379
+ Parameters: {"confirmation_token"=>"yUiGiy4uuNisc6iZ4Eh9"}
2380
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "68f225c40464b2354126a2ec0c48bf12c2937afb4649ed2537e51abf180028ff"]]
2381
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.0ms)
2382
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.0ms)
2383
+ Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.2ms)
2384
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2385
+  (0.1ms) ROLLBACK
2386
+  (0.1ms) BEGIN
2387
+ ------------------------------------------------------------------------------------------------
2388
+ PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
2389
+ ------------------------------------------------------------------------------------------------
2390
+  (0.1ms) SAVEPOINT active_record_1
2391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2392
+  (0.1ms) SAVEPOINT active_record_1
2393
+  (0.1ms) SAVEPOINT active_record_2
2389
2394
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2390
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "885d0a07d1d7f1550bd80f481da03d69b3de2a6fa56e407bc761d4e91aca53f0"]]
2391
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-04-06 13:16:35.185978"], ["updated_at", "2015-04-06 13:16:35.185978"], ["confirmation_token", "885d0a07d1d7f1550bd80f481da03d69b3de2a6fa56e407bc761d4e91aca53f0"], ["confirmation_sent_at", "2015-04-06 13:16:35.186911"]]
2392
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.0ms)
2395
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2396
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "27c7e1cc468380ececcb010698699aabe0426b5c38fbb7a8ac252ee07f140570"]]
2397
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-04-23 12:28:20.894395"], ["updated_at", "2015-04-23 12:28:20.894395"], ["confirmation_token", "27c7e1cc468380ececcb010698699aabe0426b5c38fbb7a8ac252ee07f140570"], ["confirmation_sent_at", "2015-04-23 12:28:20.895292"]]
2398
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.8ms)
2393
2399
 
2394
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
2400
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.4ms
2395
2401
 
2396
- Sent mail to joe-22@example.com (4.0ms)
2397
- Date: Mon, 06 Apr 2015 14:16:35 +0100
2402
+ Sent mail to joe-22@example.com (3.0ms)
2403
+ Date: Thu, 23 Apr 2015 13:28:20 +0100
2398
2404
  From: pushtype@example.com
2399
2405
  Reply-To: pushtype@example.com
2400
2406
  To: joe-22@example.com
2401
- Message-ID: <55228733360a5_58a13fddd0465be8620da@Aarons-iMac.local.mail>
2407
+ Message-ID: <5538e564e27c5_15a33ff788c65bf010176b@Aarons-iMac.local.mail>
2402
2408
  Subject: [PushType] Confirm your account
2403
2409
  Mime-Version: 1.0
2404
2410
  Content-Type: multipart/alternative;
2405
- boundary="--==_mimepart_5522873335828_58a13fddd0465be8619fb";
2411
+ boundary="--==_mimepart_5538e564e225f_15a33ff788c65bf0101648";
2406
2412
  charset=UTF-8
2407
2413
  Content-Transfer-Encoding: 7bit
2408
2414
 
2409
2415
 
2410
- ----==_mimepart_5522873335828_58a13fddd0465be8619fb
2416
+ ----==_mimepart_5538e564e225f_15a33ff788c65bf0101648
2411
2417
  Content-Type: text/plain;
2412
2418
  charset=UTF-8
2413
2419
  Content-Transfer-Encoding: 7bit
@@ -2422,11 +2428,11 @@ created for you.
2422
2428
  To get started, confirm your account and set your own password by
2423
2429
  clicking the link below:
2424
2430
 
2425
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=u1L8Dz_wixHmo4pKo6kv )
2431
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sxzdyvtmPNz-A_VS2dRf )
2426
2432
 
2427
2433
  PushType is brought to you by Push Code:
2428
2434
  type.pushcode.com ( http://type.pushcode.com ).
2429
- ----==_mimepart_5522873335828_58a13fddd0465be8619fb
2435
+ ----==_mimepart_5538e564e225f_15a33ff788c65bf0101648
2430
2436
  Content-Type: text/html;
2431
2437
  charset=UTF-8
2432
2438
  Content-Transfer-Encoding: 7bit
@@ -2459,7 +2465,7 @@ body {
2459
2465
  <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2460
2466
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2461
2467
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2462
- <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2468
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2463
2469
  </tr>
2464
2470
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2465
2471
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
@@ -2472,7 +2478,7 @@ body {
2472
2478
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2473
2479
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2474
2480
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2475
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=u1L8Dz_wixHmo4pKo6kv" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2481
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=sxzdyvtmPNz-A_VS2dRf" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2476
2482
  </td>
2477
2483
  </tr>
2478
2484
  </table>
@@ -2517,20 +2523,14 @@ body {
2517
2523
  </body>
2518
2524
  </html>
2519
2525
 
2520
- ----==_mimepart_5522873335828_58a13fddd0465be8619fb--
2526
+ ----==_mimepart_5538e564e225f_15a33ff788c65bf0101648--
2521
2527
 
2522
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2523
- Processing by PushType::ConfirmationsController#update as HTML
2524
- Parameters: {"user"=>{"confirmation_token"=>"u1L8Dz_wixHmo4pKo6kv", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2525
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "885d0a07d1d7f1550bd80f481da03d69b3de2a6fa56e407bc761d4e91aca53f0"]]
2526
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-22@example.com' AND "push_type_users"."id" != '78c611f3-e87f-49f3-8bf0-7a2db002fbad') LIMIT 1
2527
-  (0.1ms) SAVEPOINT active_record_2
2528
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$Fk/Xk2F3TzN77X5nbyuRHeyC4tZd/QVlEnM7UBJJ5cZ4eKqkAiY8S"], ["confirmed_at", "2015-04-06 13:16:35.229757"], ["updated_at", "2015-04-06 13:16:35.230103"], ["id", "78c611f3-e87f-49f3-8bf0-7a2db002fbad"]]
2529
2528
   (0.1ms) RELEASE SAVEPOINT active_record_2
2530
-  (0.1ms) SAVEPOINT active_record_2
2531
- SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-04-06 13:16:35.231349"], ["current_sign_in_at", "2015-04-06 13:16:35.231349"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-04-06 13:16:35.231999"], ["id", "78c611f3-e87f-49f3-8bf0-7a2db002fbad"]]
2532
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2533
- Redirected to http://test.host/push_type/
2534
- Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
2529
+ Processing by PushType::ConfirmationsController#show as HTML
2530
+ Parameters: {"confirmation_token"=>"sxzdyvtmPNz-A_VS2dRf"}
2531
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "27c7e1cc468380ececcb010698699aabe0426b5c38fbb7a8ac252ee07f140570"]]
2532
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.1ms)
2533
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.7ms)
2534
+ Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.1ms)
2535
2535
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2536
2536
   (0.1ms) ROLLBACK