push_type_auth 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/config/secrets.yml +2 -2
  3. data/test/dummy/db/migrate/{20150102204443_create_push_type_users.push_type.rb → 20150108182240_create_push_type_users.push_type.rb} +0 -0
  4. data/test/dummy/db/migrate/{20150102204444_create_push_type_nodes.push_type.rb → 20150108182241_create_push_type_nodes.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20150102204445_create_push_type_node_hierarchies.push_type.rb → 20150108182242_create_push_type_node_hierarchies.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20150102204446_create_push_type_assets.push_type.rb → 20150108182243_create_push_type_assets.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20150102204447_devise_extend_push_type_users.push_type_auth.rb → 20150108182244_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  8. data/test/dummy/db/schema.rb +1 -1
  9. data/test/dummy/log/test.log +533 -533
  10. data/test/dummy/tmp/cache/assets/test/sass/{806626419a476c98acb0fcf38feea6623fb99ce0 → 4192f8fb8ca1d6fcdfe4b8f89f72b4ba9c4efa8f}/admin.scssc +0 -0
  11. data/test/dummy/tmp/cache/assets/test/sass/{806626419a476c98acb0fcf38feea6623fb99ce0 → 4192f8fb8ca1d6fcdfe4b8f89f72b4ba9c4efa8f}/foundation_and_overrides.scssc +0 -0
  12. data/test/dummy/tmp/cache/assets/test/sass/{806626419a476c98acb0fcf38feea6623fb99ce0 → 4192f8fb8ca1d6fcdfe4b8f89f72b4ba9c4efa8f}/froala_theme.scssc +0 -0
  13. data/test/dummy/tmp/cache/assets/test/sprockets/00ae61e049df7e5570b8c57835868cfe +0 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/042e6dec69dbf88f86f5e8c360b52bcb +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/0448802b256c25a379824969bf01241e +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/090f2c9bc57f8e73105a98a800051354 +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/0a01f1c3288f982772ed595695292767 +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/0a170bcd46595a69e9181ea5eb52ec6f +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/0b83e9e8467b82a0991df336697846e0 +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/{12375f1bf3d91db0a06c3fc436918949 → 0e01ae9de0f3914c8317853aedd9ace4} +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/1505f3ddd93d7be2405c81d84a45cbfb +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/161b66dc0b76d65e577b5465f86cb767 +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/1c63cb75109171c505bf1b6b3f26513b +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/1da46bb361bbd7b80dc66e5737dbf2a7 +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/22578effd3d5017b533efd147a1b4407 +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/{10a718d020e26634ffd3071d63270dd1 → 226a629ec094e8ad208f2c273121699a} +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/2479bd5cbccdeac3ab4df62c2c12e8d3 +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/2599cde7c63354f12928a204c42fe68b +0 -0
  29. data/test/dummy/tmp/cache/assets/test/sprockets/25b238c2ec907a80d53955a0bb81073c +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/2821176477eee8de7b9581f0564d0947 +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/2a00ce050c10f75691b820576ec3aefd +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/2c745da65bdbc8ebb88b6bce026972b9 +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/2d1bc2b9dc5ee0ed5635abc31fb1bc88 +0 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/31c57ad31a65f9a951c6d7268cdedae5 +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/{972e71e7d6b360ef56c88716f3191aaf → 3508023b6222e6b0876c773e38ec700d} +0 -0
  36. data/test/dummy/tmp/cache/assets/test/sprockets/3d4f40cd6363f1841fa7c17dcbd281ce +0 -0
  37. data/test/dummy/tmp/cache/assets/test/sprockets/47dcfb84d9a092ad939f512e1d3db43c +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sprockets/4fc498f23125a9811434c6d5d5b43b64 +0 -0
  39. data/test/dummy/tmp/cache/assets/test/sprockets/505162da4e90217e5f52f5e8f1922a0d +0 -0
  40. data/test/dummy/tmp/cache/assets/test/sprockets/{98228623f6175426b2d7964b4a921cbb → 508e9ca93a5c6a60e79e3496654497cf} +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/55d58e1add1ca367e262464e83ad82cf +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/55d7985953b175268932d2f7e50f64e0 +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/59992ed1702654aa166f8572af80a301 +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/5ef293117afc54aeaa16d32cbd16dd38 +0 -0
  45. data/test/dummy/tmp/cache/assets/test/sprockets/600202d00479f08d2e69019e34d12e65 +0 -0
  46. data/test/dummy/tmp/cache/assets/test/sprockets/67d67f783372c9b99e2ff84c12d38dfb +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sprockets/6d21cd96abbcb6506d99fb93e8a11196 +0 -0
  48. data/test/dummy/tmp/cache/assets/test/sprockets/7326e3e660754d56c46671c7347c5e97 +0 -0
  49. data/test/dummy/tmp/cache/assets/test/sprockets/75c5663a92b2003b794d5f5d184fde44 +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sprockets/{62462f7d0da5dfe3ae7923c7c21325c0 → 7879ec7699a19e017377e1b57702e3e5} +0 -0
  51. data/test/dummy/tmp/cache/assets/test/sprockets/7b63c613f1053bde6004342003178a0e +0 -0
  52. data/test/dummy/tmp/cache/assets/test/sprockets/7d07558d12b9bd9b9dfa778344bab4ac +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/7ea9d575b03f8effb678d4dcedf3d079 +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sprockets/7f0b91f5fa71c52d3cbe1f108fb7c942 +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sprockets/805c63977d339feb2ea7b61e1141a32f +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/81ba6a364949bd4ffe2732ae5745012d +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sprockets/81e2498e0e1457dd93b47780ae28fc03 +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sprockets/{3a2e7d8d06318496bd7e5c6bac44adf8 → 81ebadcc1f5568d97bfe59f0929ab498} +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/853c1095ab6e7f4eba1f3406f0f3bba6 +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/897553ff72f546645e24e94feec75255 +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/8a34d99aaa243ebb4e60f483a5b5a817 +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/8d531fdb806de0724337e0b80e253914 +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/8da458b8df4bfbd9fb0eed86c36442d4 +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/8f8914547a4f22638b676f968bc18d68 +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/8feb3d758b7824f15b301f9dc024c3f6 +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/{557b45e924759b342404ddfb736f95a2 → 91e13d81afe9041372ad8f79ee9159f4} +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/{9f65b180bd79d7b67e5fb1fe8ded1383 → 92716c1d1cdd92efe79de35a47956fc9} +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/932f699ead87a4b9910d47334ed14d60 +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/959fa77a7302a3002d5fb1394575117b +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/969e05674f51d3b5b500e605e0292573 +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/987bf17b1a3915d5c6d95ebda01e8f49 +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/9896c5d1de4e8661c3b424aec81f7e8c +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/9aef3ae1f0c62b895d86ab60901dd450 +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/a010781c05d478892856f75c751d6ab4 +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/a427bb8cde4beaf2d4483ad3554d2297 +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/a590260912e62280bb115dd52a953b18 +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/a6453a78eb0c813a0b69a12cb7c4ab2c +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/a721a930039ed66bd3f092ab1e9c8de6 +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/a96494099d559bfd8cb5257e21cb196c +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/a970f64c67051f35069f45d8dad113a5 +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/{a4ee671663a58ce1f1860b1e9a9d17fb → a9b8decaa2942e8913458c9f35da2693} +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/aaa6dc2bd59e21dd14b0c86a308a1d1f +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sprockets/{a748bad0d4f5d6e6bbdf1b340905795b → aaf7959dea629271d23756ab876bc035} +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/ac1b1f0c521a6acb5833209d7b18d888 +0 -0
  85. data/test/dummy/tmp/cache/assets/test/sprockets/b24f2d6f62512f4cb11c6a2e44bf90e4 +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sprockets/b3d0193a1439465426a4d051a161291d +0 -0
  87. data/test/dummy/tmp/cache/assets/test/sprockets/b657c356e24f45a8b92d4f4da9ff361d +0 -0
  88. data/test/dummy/tmp/cache/assets/test/sprockets/b76beafa9aef0c7a18bf63fe612ecd17 +0 -0
  89. data/test/dummy/tmp/cache/assets/test/sprockets/b771c2de3967bda011cf04e0979497cf +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/{f6c61aec4cc93384f9655a7d8aba73fe → b78741de2e56d8ac6629bb0dbf1d5c20} +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/ba87909b8d71ddaedd84c3f6c00dce72 +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/badf6e6ab7c3d1cc2b180e5883005a40 +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/bbfc8dec2c2cc07cf4c1708597316a77 +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/bc732efa6ca399217b023bd1e04f0404 +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/bd5b45287cfdac63ed7199b7982da02f +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/bee4e1605077e29abd380b05b645cbb4 +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/c190d0bdd188c43629f35b9f463b86af +0 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/{b3b2a83d3d7d735130f0b029e58b29b8 → c206fbd33f49ab785c6ddf4bcffd3b93} +0 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/c2b59fd99edc4b53754f7cb4e160452f +0 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/c42a7aac68d827f88bcc25a41cdb5591 +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sprockets/c5ef052e357af6829f6c522a38916fc7 +0 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/c988fd2c5c9497ccef54f79a9e444ac6 +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/cb761fc7bfc4c192abf5c946f863ab1e +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/cd078b38e48bcd1e121d801b46b2616f +0 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/{6e714e8b8ac03d2e562e8a71c40e00f8 → cf51890ac703ed5a5d704515a4721815} +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/d1cebb5323d93da406dfb152a0c55568 +0 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/d2215e57429ecae68a054210e665d787 +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/d30a320df486e076298c602d428f3145 +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/d3921fc37cc437f0933c4dee9d089fd8 +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/d8daf6c8e5df881485c0e1139a275f6d +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/d9e5382620928a6b4a8cd70bdac10aa3 +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/{dd803fd7a93619599c7e703c2b307411 → df90022afc0d52f16bc498be20a5967d} +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/e1c3eff1f3886da4c71a854d42077d10 +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/{8e20677e2b4bd3f063a63fcf9e673971 → e28b8ab6a5b3ff792f45d5a6b7d806bc} +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/{72e0f0b80593c7ccfaf939c504f8127f → e540a9dc1aa001f8c4cba7a6b00f69d2} +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/e568172da8ab8581f83f98dad0a73d29 +0 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/e5e4aa0b0cc633e1e2e25614fd922803 +0 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/{b28bcc6d89b692e6b74758c30e21b862 → edaf2543a96ee921c30a071b3a73036f} +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/{d527d40cd214f965c2751831ef138ba7 → edd24c59de6c00e4e68dbbdf2775984a} +0 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/{c0e7a018799e51565da4aae3cd7409b4 → eeb045e353d91335ea6ec8a8869c322f} +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/f02093872b151ddb0fd1074fe83ff846 +0 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/f100237ea34e5360da23f95cca21c340 +0 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/f5fcab9d313889bf6d14a05040aff5bc +0 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/f66bf7665e75e4d537977c71a5e39a4e +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/f7013d94f76b09bce94f78e2453f7eae +0 -0
  126. data/test/dummy/tmp/cache/assets/test/sprockets/f92aeb6f9539612517848945ee03aff8 +0 -0
  127. data/test/dummy/tmp/cache/assets/test/sprockets/{666e486cb09d9612ba03d995085ea02d → f96cec87308c4d1efa7993c38b770ba3} +0 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/fa7e1f9a13f606e2603a17f8e00aa32a +0 -0
  129. data/test/dummy/tmp/cache/assets/test/sprockets/fcce52ee43ecad8cb3f18fc8f13a66b7 +0 -0
  130. data/test/dummy/tmp/cache/assets/test/sprockets/{e05796fbbc7fcdcaefdd97534f2e4030 → fd06309bc284d80f9c2a30f32ed8df14} +0 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/fd5e59fed8301f86b74e551534fce2b2 +0 -0
  132. metadata +95 -95
  133. data/test/dummy/tmp/cache/assets/test/sprockets/05f11ba90b1f59f6a65002fef96de531 +0 -0
  134. data/test/dummy/tmp/cache/assets/test/sprockets/09fd8b22d7c059ed78b065ffa44138a4 +0 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/12a4fbfdcb2f1ed98ebd869761bce11e +0 -0
  136. data/test/dummy/tmp/cache/assets/test/sprockets/18ee507bade4f16ba4f6a5c93f3aac22 +0 -0
  137. data/test/dummy/tmp/cache/assets/test/sprockets/2a854446f76c1902defbfa436b1e7df8 +0 -0
  138. data/test/dummy/tmp/cache/assets/test/sprockets/337d12a0890572dfec336aa11e864651 +0 -0
  139. data/test/dummy/tmp/cache/assets/test/sprockets/48582f4afd1c515e7eb10a8fc2195deb +0 -0
  140. data/test/dummy/tmp/cache/assets/test/sprockets/4c6b223eba19a3d4009cbda20ed1ae2d +0 -0
  141. data/test/dummy/tmp/cache/assets/test/sprockets/6f2f2b2fbb1097278be40facf7aa8447 +0 -0
  142. data/test/dummy/tmp/cache/assets/test/sprockets/a55e988592ebc0d8e4e4ef1244ae4da7 +0 -0
  143. data/test/dummy/tmp/cache/assets/test/sprockets/b8a73c4d259957f05d45cb5d96d41ff1 +0 -0
  144. data/test/dummy/tmp/cache/assets/test/sprockets/c705dc7fb9e60c7d39b5c23a101cd830 +0 -0
  145. data/test/dummy/tmp/cache/assets/test/sprockets/ce523687d631719d872f2869d34803b0 +0 -0
  146. data/test/dummy/tmp/cache/assets/test/sprockets/f25b88a46a5a3b1b179079f6c0e4039a +0 -0
  147. data/test/dummy/tmp/cache/assets/test/sprockets/f31d581aaa301ef9ef6a08edc4319c35 +0 -0
@@ -1,376 +1,441 @@
1
-  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2
-  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreatePushTypeUsers (20150102204443)
1
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreatePushTypeUsers (20150108182240)
5
5
   (0.1ms) BEGIN
6
- SQL (2.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
-  (3.6ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying(255), "email" character varying(255), "field_store" json, "created_at" timestamp, "updated_at" timestamp)
8
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102204443"]]
6
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
+  (2.3ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying(255), "email" character varying(255), "field_store" json, "created_at" timestamp, "updated_at" timestamp)
8
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150108182240"]]
9
9
   (0.7ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20150102204444)
11
-  (0.4ms) BEGIN
12
-  (4.1ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying(255), "title" character varying(255), "slug" character varying(255), "field_store" json, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
13
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102204444"]]
14
-  (0.6ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20150102204445)
16
-  (0.2ms) BEGIN
17
-  (1.0ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
-  (1.5ms) CREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
-  (1.0ms) CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102204445"]]
21
-  (0.5ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20150102204446)
23
-  (0.2ms) BEGIN
24
-  (2.9ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying(255), "file_name" character varying(255), "file_size" integer, "file_ext" character varying(255), "mime_type" character varying(255), "description" character varying(255), "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
25
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102204446"]]
10
+ Migrating to CreatePushTypeNodes (20150108182241)
11
+  (0.1ms) BEGIN
12
+  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying(255), "title" character varying(255), "slug" character varying(255), "field_store" json, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150108182241"]]
14
+  (0.4ms) COMMIT
15
+ Migrating to CreatePushTypeNodeHierarchies (20150108182242)
16
+  (0.1ms) BEGIN
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.6ms) CREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
+  (0.5ms) CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150108182242"]]
26
21
   (0.5ms) COMMIT
27
- Migrating to DeviseExtendPushTypeUsers (20150102204447)
28
-  (0.2ms) BEGIN
29
-  (6.2ms) ALTER TABLE "push_type_users" ADD COLUMN "encrypted_password" character varying(255) DEFAULT '' NOT NULL
30
-  (0.3ms) ALTER TABLE "push_type_users" ADD COLUMN "reset_password_token" character varying(255)
31
-  (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "reset_password_sent_at" timestamp
32
-  (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "remember_created_at" timestamp
33
-  (3.5ms) ALTER TABLE "push_type_users" ADD COLUMN "sign_in_count" integer DEFAULT 0 NOT NULL
34
-  (0.3ms) ALTER TABLE "push_type_users" ADD COLUMN "current_sign_in_at" timestamp
22
+ Migrating to CreatePushTypeAssets (20150108182243)
23
+  (0.1ms) BEGIN
24
+  (1.8ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying(255), "file_name" character varying(255), "file_size" integer, "file_ext" character varying(255), "mime_type" character varying(255), "description" character varying(255), "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
25
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150108182243"]]
26
+  (0.4ms) COMMIT
27
+ Migrating to DeviseExtendPushTypeUsers (20150108182244)
28
+  (0.1ms) BEGIN
29
+  (2.6ms) ALTER TABLE "push_type_users" ADD COLUMN "encrypted_password" character varying(255) DEFAULT '' NOT NULL
30
+  (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "reset_password_token" character varying(255)
31
+  (0.1ms) ALTER TABLE "push_type_users" ADD COLUMN "reset_password_sent_at" timestamp
32
+  (0.1ms) ALTER TABLE "push_type_users" ADD COLUMN "remember_created_at" timestamp
33
+  (2.0ms) ALTER TABLE "push_type_users" ADD COLUMN "sign_in_count" integer DEFAULT 0 NOT NULL
34
+  (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "current_sign_in_at" timestamp
35
35
   (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "last_sign_in_at" timestamp
36
-  (0.4ms) ALTER TABLE "push_type_users" ADD COLUMN "current_sign_in_ip" character varying(255)
37
-  (0.3ms) ALTER TABLE "push_type_users" ADD COLUMN "last_sign_in_ip" character varying(255)
38
-  (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmation_token" character varying(255)
39
-  (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmed_at" timestamp
40
-  (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmation_sent_at" timestamp
41
-  (1.0ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
42
-  (1.2ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
43
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102204447"]]
44
-  (1.5ms) COMMIT
45
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
-  (122.2ms) DROP DATABASE IF EXISTS "dummy_test"
48
-  (253.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
49
- SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
50
- SQL (3.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
51
-  (6.0ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying(255), "file_name" character varying(255), "file_size" integer, "file_ext" character varying(255), "mime_type" character varying(255), "description" character varying(255), "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
52
-  (1.2ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
53
-  (1.4ms) CREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" USING btree ("ancestor_id", "descendant_id", "generations")
54
-  (1.1ms) CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" USING btree ("descendant_id")
55
-  (3.3ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying(255), "title" character varying(255), "slug" character varying(255), "field_store" json, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
56
-  (3.3ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying(255), "email" character varying(255), "field_store" json, "created_at" timestamp, "updated_at" timestamp, "encrypted_password" character varying(255) DEFAULT '' NOT NULL, "reset_password_token" character varying(255), "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" character varying(255), "last_sign_in_ip" character varying(255), "confirmation_token" character varying(255), "confirmed_at" timestamp, "confirmation_sent_at" timestamp) 
57
-  (1.9ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" USING btree ("email")
58
-  (1.1ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" USING btree ("reset_password_token")
59
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
60
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
61
-  (0.4ms) SELECT version FROM "schema_migrations"
62
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150102204447')
63
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141120155629')
64
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
65
-  (0.5ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
66
-  (1.5ms) select table_name from information_schema.views where table_schema = 'dummy_test'
67
-  (16.2ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
68
-  (0.5ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
69
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
70
-  (0.2ms) BEGIN
36
+  (0.2ms) ALTER TABLE "push_type_users" ADD COLUMN "current_sign_in_ip" character varying(255)
37
+  (0.1ms) ALTER TABLE "push_type_users" ADD COLUMN "last_sign_in_ip" character varying(255)
38
+  (0.1ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmation_token" character varying(255)
39
+  (0.1ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmed_at" timestamp
40
+  (0.1ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmation_sent_at" timestamp
41
+  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
42
+  (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
43
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150108182244"]]
44
+  (1.1ms) COMMIT
45
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
+  (113.9ms) DROP DATABASE IF EXISTS "dummy_test"
48
+  (232.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
49
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
50
+ SQL (2.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
51
+  (3.6ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying(255), "file_name" character varying(255), "file_size" integer, "file_ext" character varying(255), "mime_type" character varying(255), "description" character varying(255), "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
52
+  (0.7ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
53
+  (0.9ms) CREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" USING btree ("ancestor_id", "descendant_id", "generations")
54
+  (0.7ms) CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" USING btree ("descendant_id")
55
+  (2.2ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying(255), "title" character varying(255), "slug" character varying(255), "field_store" json, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
56
+  (2.4ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying(255), "email" character varying(255), "field_store" json, "created_at" timestamp, "updated_at" timestamp, "encrypted_password" character varying(255) DEFAULT '' NOT NULL, "reset_password_token" character varying(255), "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" character varying(255), "last_sign_in_ip" character varying(255), "confirmation_token" character varying(255), "confirmed_at" timestamp, "confirmation_sent_at" timestamp) 
57
+  (0.8ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" USING btree ("email")
58
+  (1.0ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" USING btree ("reset_password_token")
59
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
60
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
61
+  (0.2ms) SELECT version FROM "schema_migrations"
62
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150108182244')
63
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141120155629')
64
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
65
+  (0.3ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
66
+  (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'
67
+  (6.5ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
68
+  (0.2ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
69
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
70
+  (0.1ms) BEGIN
71
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
72
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
73
+ PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '761ec34f702b09934fd5ddd8a52c7c1f38fb9450b761706cde1d6c6f8ba7ba86' ORDER BY "push_type_users"."name" ASC LIMIT 1
74
+ SQL (0.9ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:46.046214"], ["confirmation_token", "761ec34f702b09934fd5ddd8a52c7c1f38fb9450b761706cde1d6c6f8ba7ba86"], ["created_at", "2015-01-08 18:22:45.884100"], ["email", "joe-1@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:45.884100"]]
75
+ Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.4ms)
76
+
77
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 154.7ms
78
+
79
+ Sent mail to joe-1@example.com (6.8ms)
80
+ Date: Thu, 08 Jan 2015 18:22:46 +0000
81
+ From: please-change-me-at-config-initializers-devise@example.com
82
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
83
+ To: joe-1@example.com
84
+ Message-ID: <54aecaf633a41_374c3fd4da065bf01347@Aarons-iMac-3.local.mail>
85
+ Subject: Confirmation instructions
86
+ Mime-Version: 1.0
87
+ Content-Type: text/html;
88
+ charset=UTF-8
89
+ Content-Transfer-Encoding: 7bit
90
+
91
+ <p>Welcome joe-1@example.com!</p>
92
+
93
+ <p>You can confirm your account email through the link below:</p>
94
+
95
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=xqB3P4xzTga9piWivVPu">Confirm my account</a></p>
96
+
97
+  (0.6ms) COMMIT
98
+  (0.1ms) BEGIN
99
+ -------------------------------------------------------------------------------
100
+ PushType::ProfilesController::PUT #update::with valid user: test_0001_anonymous
101
+ -------------------------------------------------------------------------------
102
+  (0.1ms) SAVEPOINT active_record_1
103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
104
+  (0.1ms) SAVEPOINT active_record_1
105
+  (0.1ms) SAVEPOINT active_record_2
106
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
107
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
108
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:46.218383"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:46.218429"], ["created_at", "2015-01-08 18:22:46.219913"], ["email", "joe-2@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:46.219913"]]
109
+  (0.1ms) RELEASE SAVEPOINT active_record_2
110
+ Processing by PushType::ProfilesController#update as HTML
111
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
112
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '6012de85-0baf-4a07-91b8-9c30f3307b67' ORDER BY "push_type_users"."name" ASC LIMIT 1
113
+  (0.1ms) SAVEPOINT active_record_2
114
+ 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" != '6012de85-0baf-4a07-91b8-9c30f3307b67') LIMIT 1
115
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = '6012de85-0baf-4a07-91b8-9c30f3307b67' [["name", "Test user ABC"], ["updated_at", "2015-01-08 18:22:46.227258"]]
116
+  (0.1ms) RELEASE SAVEPOINT active_record_2
117
+ Redirected to http://test.host/push_type/profile/edit
118
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
119
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "6012de85-0baf-4a07-91b8-9c30f3307b67"]]
120
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
121
+  (0.2ms) ROLLBACK
122
+  (0.1ms) BEGIN
123
+ -------------------------------------------------------------------------------
124
+ PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
125
+ -------------------------------------------------------------------------------
126
+  (0.1ms) SAVEPOINT active_record_1
127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
128
+  (0.1ms) SAVEPOINT active_record_1
129
+  (0.1ms) SAVEPOINT active_record_2
130
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
131
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
132
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:46.232188"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:46.232225"], ["created_at", "2015-01-08 18:22:46.233408"], ["email", "joe-3@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:46.233408"]]
133
+  (0.1ms) RELEASE SAVEPOINT active_record_2
134
+ Processing by PushType::ProfilesController#update as HTML
135
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
136
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '20d21170-94ae-4f8e-acd7-146822fc2ae1' ORDER BY "push_type_users"."name" ASC LIMIT 1
137
+  (0.1ms) SAVEPOINT active_record_2
138
+ 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" != '20d21170-94ae-4f8e-acd7-146822fc2ae1') LIMIT 1
139
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = '20d21170-94ae-4f8e-acd7-146822fc2ae1' [["name", "Test user ABC"], ["updated_at", "2015-01-08 18:22:46.237263"]]
140
+  (0.1ms) RELEASE SAVEPOINT active_record_2
141
+ Redirected to http://test.host/push_type/profile/edit
142
+ Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
143
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
144
+  (0.1ms) ROLLBACK
145
+  (0.1ms) BEGIN
146
+ -------------------------------------------------------------------------------
147
+ PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
148
+ -------------------------------------------------------------------------------
149
+  (0.0ms) SAVEPOINT active_record_1
150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
151
+  (0.0ms) SAVEPOINT active_record_1
152
+  (0.0ms) SAVEPOINT active_record_2
153
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
154
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
155
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:46.240204"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:46.240245"], ["created_at", "2015-01-08 18:22:46.241400"], ["email", "joe-4@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:46.241400"]]
156
+  (0.1ms) RELEASE SAVEPOINT active_record_2
157
+ Processing by PushType::ProfilesController#update as HTML
158
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
159
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'c3075231-80c6-4fec-bcd1-7bb9301cdd2c' ORDER BY "push_type_users"."name" ASC LIMIT 1
160
+  (0.1ms) SAVEPOINT active_record_2
161
+ 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" != 'c3075231-80c6-4fec-bcd1-7bb9301cdd2c') LIMIT 1
162
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = 'c3075231-80c6-4fec-bcd1-7bb9301cdd2c' [["name", "Test user ABC"], ["updated_at", "2015-01-08 18:22:46.247138"]]
163
+  (0.1ms) RELEASE SAVEPOINT active_record_2
164
+ Redirected to http://test.host/push_type/profile/edit
165
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
166
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
167
+  (0.1ms) ROLLBACK
168
+  (0.1ms) BEGIN
71
169
  ------------------------------------------------------------
72
170
  PushType::ProfilesController::GET #edit: test_0001_anonymous
73
171
  ------------------------------------------------------------
74
-  (0.2ms) SAVEPOINT active_record_1
75
-  (0.2ms) RELEASE SAVEPOINT active_record_1
76
-  (0.2ms) SAVEPOINT active_record_1
77
-  (0.2ms) SAVEPOINT active_record_2
78
- PushType::User Exists (0.8ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
79
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
80
- SQL (1.5ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:44:53.097779"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:44:53.097858"], ["created_at", "2015-01-02 20:44:53.112531"], ["email", "joe-1@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:44:53.112531"]]
81
-  (0.1ms) RELEASE SAVEPOINT active_record_2
172
+  (0.1ms) SAVEPOINT active_record_1
173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
174
+  (0.1ms) SAVEPOINT active_record_1
175
+  (0.1ms) SAVEPOINT active_record_2
176
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
177
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
178
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:46.252041"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:46.252076"], ["created_at", "2015-01-08 18:22:46.253258"], ["email", "joe-5@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:46.253258"]]
179
+  (0.1ms) RELEASE SAVEPOINT active_record_2
82
180
  Processing by PushType::ProfilesController#edit as HTML
83
- PushType::User Load (0.9ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '407295a1-162b-49ad-a53f-3a7eb4ec5f84' ORDER BY "push_type_users"."name" ASC LIMIT 1
84
- Rendered /Users/aaron/dev/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (15.4ms)
85
- Completed 200 OK in 11597ms (Views: 11580.9ms | ActiveRecord: 0.9ms)
86
-  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
87
-  (0.3ms) ROLLBACK
88
-  (0.1ms) BEGIN
181
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '3337c2a1-f243-453a-b615-94eae3e51ea8' ORDER BY "push_type_users"."name" ASC LIMIT 1
182
+ Completed 200 OK in 6173ms (Views: 6171.4ms | ActiveRecord: 0.2ms)
183
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
184
+  (0.1ms) ROLLBACK
185
+  (0.1ms) BEGIN
89
186
  ------------------------------------------------------------
90
187
  PushType::ProfilesController::GET #edit: test_0002_anonymous
91
188
  ------------------------------------------------------------
92
-  (0.1ms) SAVEPOINT active_record_1
93
-  (0.1ms) RELEASE SAVEPOINT active_record_1
94
-  (0.1ms) SAVEPOINT active_record_1
95
-  (0.1ms) SAVEPOINT active_record_2
96
- PushType::User Exists (0.7ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
97
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
98
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:04.724517"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:04.724603"], ["created_at", "2015-01-02 20:45:04.727747"], ["email", "joe-2@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:04.727747"]]
99
-  (0.1ms) RELEASE SAVEPOINT active_record_2
189
+  (0.1ms) SAVEPOINT active_record_1
190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
191
+  (0.0ms) SAVEPOINT active_record_1
192
+  (0.1ms) SAVEPOINT active_record_2
193
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
194
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
195
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.430280"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:52.430343"], ["created_at", "2015-01-08 18:22:52.432006"], ["email", "joe-6@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.432006"]]
196
+  (0.1ms) RELEASE SAVEPOINT active_record_2
100
197
  Processing by PushType::ProfilesController#edit as HTML
101
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '09b3b0ff-bf81-465b-9eee-c903d8eff9ab' ORDER BY "push_type_users"."name" ASC LIMIT 1
102
- Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.5ms)
103
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
104
-  (0.2ms) ROLLBACK
105
-  (0.1ms) BEGIN
106
- --------------------------------------------------------------------------------------------------
107
- PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
108
- --------------------------------------------------------------------------------------------------
109
-  (0.2ms) SAVEPOINT active_record_1
110
-  (0.1ms) RELEASE SAVEPOINT active_record_1
111
-  (0.1ms) SAVEPOINT active_record_1
112
- Processing by PushType::ConfirmationsController#show as HTML
113
- Parameters: {"confirmation_token"=>"invalid"}
114
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '56b1e5a99343cfc29d2013012400e115cc7ef262c6fc0ced9859df9690d8546d' ORDER BY "push_type_users"."name" ASC LIMIT 1
115
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '56b1e5a99343cfc29d2013012400e115cc7ef262c6fc0ced9859df9690d8546d' ORDER BY "push_type_users"."name" ASC LIMIT 1
116
- Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (3.6ms)
117
- Completed 200 OK in 334ms (Views: 15.9ms | ActiveRecord: 1.0ms)
118
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
119
-  (0.2ms) ROLLBACK
120
-  (0.2ms) BEGIN
121
- --------------------------------------------------------------------------------------------------
122
- PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
123
- --------------------------------------------------------------------------------------------------
124
-  (0.2ms) SAVEPOINT active_record_1
125
-  (0.2ms) RELEASE SAVEPOINT active_record_1
126
-  (0.1ms) SAVEPOINT active_record_1
127
- Processing by PushType::ConfirmationsController#show as HTML
128
- Parameters: {"confirmation_token"=>"invalid"}
129
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '56b1e5a99343cfc29d2013012400e115cc7ef262c6fc0ced9859df9690d8546d' ORDER BY "push_type_users"."name" ASC LIMIT 1
130
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '56b1e5a99343cfc29d2013012400e115cc7ef262c6fc0ced9859df9690d8546d' ORDER BY "push_type_users"."name" ASC LIMIT 1
131
- Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
132
- Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.7ms)
133
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
198
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'f8c531da-ff10-4e05-a6a9-fdccd6161178' ORDER BY "push_type_users"."name" ASC LIMIT 1
199
+ Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.2ms)
200
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
201
+  (0.1ms) ROLLBACK
202
+  (0.1ms) BEGIN
203
+ ---------------------------------------------------------------------------------
204
+ PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
205
+ ---------------------------------------------------------------------------------
206
+  (0.0ms) SAVEPOINT active_record_1
207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
208
+  (0.0ms) SAVEPOINT active_record_1
209
+  (0.1ms) SAVEPOINT active_record_2
210
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
211
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
212
+ SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.447253"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:52.447298"], ["created_at", "2015-01-08 18:22:52.448675"], ["email", "joe-7@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.448675"]]
213
+  (0.1ms) RELEASE SAVEPOINT active_record_2
214
+ Processing by PushType::ProfilesController#update as HTML
215
+ Parameters: {"user"=>{"name"=>""}}
216
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'bd0f43f7-ca42-4219-b6c4-d7f05837a327' ORDER BY "push_type_users"."name" ASC LIMIT 1
217
+  (0.1ms) SAVEPOINT active_record_2
218
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != 'bd0f43f7-ca42-4219-b6c4-d7f05837a327') LIMIT 1
219
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
220
+ Completed 200 OK in 22ms (Views: 3.9ms | ActiveRecord: 0.8ms)
221
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
134
222
   (0.1ms) ROLLBACK
135
223
   (0.1ms) BEGIN
136
224
  ---------------------------------------------------------------------------------
137
- PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
225
+ PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
138
226
  ---------------------------------------------------------------------------------
139
227
   (0.1ms) SAVEPOINT active_record_1
140
228
   (0.1ms) RELEASE SAVEPOINT active_record_1
141
229
   (0.1ms) SAVEPOINT active_record_1
142
230
   (0.1ms) SAVEPOINT active_record_2
143
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
144
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
145
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.104145"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.104214"], ["created_at", "2015-01-02 20:45:05.106481"], ["email", "joe-3@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.106481"]]
231
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
232
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
233
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.474941"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:52.474997"], ["created_at", "2015-01-08 18:22:52.476393"], ["email", "joe-8@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.476393"]]
146
234
   (0.1ms) RELEASE SAVEPOINT active_record_2
147
235
  Processing by PushType::ProfilesController#update as HTML
148
236
  Parameters: {"user"=>{"name"=>""}}
149
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '7a6ce02a-b729-4d5e-a2a0-1ff1e1a49598' ORDER BY "push_type_users"."name" ASC LIMIT 1
237
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'e78fff2b-0249-46c2-9505-e0d2262f0c2b' ORDER BY "push_type_users"."name" ASC LIMIT 1
150
238
   (0.1ms) SAVEPOINT active_record_2
151
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '7a6ce02a-b729-4d5e-a2a0-1ff1e1a49598') LIMIT 1
239
+ 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" != 'e78fff2b-0249-46c2-9505-e0d2262f0c2b') LIMIT 1
152
240
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
153
- Completed 200 OK in 14ms (Views: 8.8ms | ActiveRecord: 1.1ms)
154
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
155
-  (0.2ms) ROLLBACK
241
+ Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.6ms)
242
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
243
+  (0.1ms) ROLLBACK
156
244
   (0.1ms) BEGIN
157
- ---------------------------------------------------------------------------------
158
- PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
159
- ---------------------------------------------------------------------------------
160
-  (0.2ms) SAVEPOINT active_record_1
161
-  (0.1ms) RELEASE SAVEPOINT active_record_1
162
-  (0.1ms) SAVEPOINT active_record_1
163
-  (0.1ms) SAVEPOINT active_record_2
164
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
165
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
166
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.126862"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.126919"], ["created_at", "2015-01-02 20:45:05.129259"], ["email", "joe-4@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.129259"]]
167
-  (0.1ms) RELEASE SAVEPOINT active_record_2
168
- Processing by PushType::ProfilesController#update as HTML
169
- Parameters: {"user"=>{"name"=>""}}
170
- PushType::User Load (0.8ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'bcb1dc8b-4cbb-4dce-bed6-522c74f65b40' ORDER BY "push_type_users"."name" ASC LIMIT 1
171
-  (0.2ms) SAVEPOINT active_record_2
172
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != 'bcb1dc8b-4cbb-4dce-bed6-522c74f65b40') LIMIT 1
173
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
174
- Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 1.4ms)
175
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
176
-  (0.1ms) ROLLBACK
177
-  (0.1ms) BEGIN
178
- --------------------------------------------------------------------------------------
179
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
180
- --------------------------------------------------------------------------------------
181
-  (0.2ms) SAVEPOINT active_record_1
182
-  (0.2ms) RELEASE SAVEPOINT active_record_1
183
-  (0.2ms) SAVEPOINT active_record_1
184
-  (0.2ms) SAVEPOINT active_record_2
185
- PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
186
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
187
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b3c6a6316a2ab3b686cd5ee3c5c9b44d3b43d1a72b22c909b183651b03f5f414' ORDER BY "push_type_users"."name" ASC LIMIT 1
188
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.155764"], ["confirmation_token", "b3c6a6316a2ab3b686cd5ee3c5c9b44d3b43d1a72b22c909b183651b03f5f414"], ["created_at", "2015-01-02 20:45:05.153876"], ["email", "joe-5@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.153876"]]
245
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
246
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
247
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '15fe45cd9394a29e7f5a0933a50896defaac2944b1968442a49d04fdfde3eb3c' ORDER BY "push_type_users"."name" ASC LIMIT 1
248
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.489058"], ["confirmation_token", "15fe45cd9394a29e7f5a0933a50896defaac2944b1968442a49d04fdfde3eb3c"], ["created_at", "2015-01-08 18:22:52.488216"], ["email", "joe-9@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.488216"]]
189
249
 
190
- Devise::Mailer#confirmation_instructions: processed outbound mail in 175.3ms
250
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.2ms
191
251
 
192
- Sent mail to joe-5@example.com (11.8ms)
193
- Date: Fri, 02 Jan 2015 20:45:05 +0000
252
+ Sent mail to joe-9@example.com (1.7ms)
253
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
194
254
  From: please-change-me-at-config-initializers-devise@example.com
195
255
  Reply-To: please-change-me-at-config-initializers-devise@example.com
196
- To: joe-5@example.com
197
- Message-ID: <54a7035153ff1_8d13fe135065be898597@Aarons-MacBook-Air-3.local.mail>
256
+ To: joe-9@example.com
257
+ Message-ID: <54aecafc781ab_374c3fd4da065bf0135a1@Aarons-iMac-3.local.mail>
198
258
  Subject: Confirmation instructions
199
259
  Mime-Version: 1.0
200
260
  Content-Type: text/html;
201
261
  charset=UTF-8
202
262
  Content-Transfer-Encoding: 7bit
203
263
 
204
- <p>Welcome joe-5@example.com!</p>
264
+ <p>Welcome joe-9@example.com!</p>
205
265
 
206
266
  <p>You can confirm your account email through the link below:</p>
207
267
 
208
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=ZDTDvhtn5ysYQ97PXjbF">Confirm my account</a></p>
268
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=TyjMqUaQBRR6D_zxtnoE">Confirm my account</a></p>
209
269
 
210
-  (0.3ms) RELEASE SAVEPOINT active_record_2
211
- Processing by PushType::ConfirmationsController#update as HTML
212
- Parameters: {"user"=>{"confirmation_token"=>"ZDTDvhtn5ysYQ97PXjbF", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
213
- PushType::User Load (0.7ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b3c6a6316a2ab3b686cd5ee3c5c9b44d3b43d1a72b22c909b183651b03f5f414' ORDER BY "push_type_users"."name" ASC LIMIT 1
214
- PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != 'da727247-dba0-425b-937d-4808bde97c05') LIMIT 1
215
- Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
216
- Completed 200 OK in 15ms (Views: 9.0ms | ActiveRecord: 1.2ms)
217
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
218
-  (0.2ms) ROLLBACK
219
-  (0.1ms) BEGIN
220
- --------------------------------------------------------------------------------------
221
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
222
- --------------------------------------------------------------------------------------
223
-  (0.1ms) SAVEPOINT active_record_1
224
-  (0.1ms) RELEASE SAVEPOINT active_record_1
225
-  (0.1ms) SAVEPOINT active_record_1
226
-  (0.1ms) SAVEPOINT active_record_2
227
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
228
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
229
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'd9a6ea7827783b7a9c214922d131281868d7088dcc1bfe923985ee412356fc5d' ORDER BY "push_type_users"."name" ASC LIMIT 1
230
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.373576"], ["confirmation_token", "d9a6ea7827783b7a9c214922d131281868d7088dcc1bfe923985ee412356fc5d"], ["created_at", "2015-01-02 20:45:05.372384"], ["email", "joe-6@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.372384"]]
270
+  (0.6ms) COMMIT
271
+  (0.1ms) BEGIN
272
+ ------------------------------------------------------------------------------------
273
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
274
+ ------------------------------------------------------------------------------------
275
+  (0.1ms) SAVEPOINT active_record_1
276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
277
+  (0.1ms) SAVEPOINT active_record_1
278
+  (0.1ms) SAVEPOINT active_record_2
279
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
280
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
281
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '6e9b6b89d62e7287153daf74ec569a7a8fe4d7658d505ba91713468761fa417e' ORDER BY "push_type_users"."name" ASC LIMIT 1
282
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.501007"], ["confirmation_token", "6e9b6b89d62e7287153daf74ec569a7a8fe4d7658d505ba91713468761fa417e"], ["created_at", "2015-01-08 18:22:52.500349"], ["email", "joe-10@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.500349"]]
231
283
 
232
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.8ms
284
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.0ms
233
285
 
234
- Sent mail to joe-6@example.com (2.2ms)
235
- Date: Fri, 02 Jan 2015 20:45:05 +0000
286
+ Sent mail to joe-10@example.com (1.5ms)
287
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
236
288
  From: please-change-me-at-config-initializers-devise@example.com
237
289
  Reply-To: please-change-me-at-config-initializers-devise@example.com
238
- To: joe-6@example.com
239
- Message-ID: <54a703515c3e6_8d13fe135065be898614@Aarons-MacBook-Air-3.local.mail>
290
+ To: joe-10@example.com
291
+ Message-ID: <54aecafc7aead_374c3fd4da065bf013612@Aarons-iMac-3.local.mail>
240
292
  Subject: Confirmation instructions
241
293
  Mime-Version: 1.0
242
294
  Content-Type: text/html;
243
295
  charset=UTF-8
244
296
  Content-Transfer-Encoding: 7bit
245
297
 
246
- <p>Welcome joe-6@example.com!</p>
298
+ <p>Welcome joe-10@example.com!</p>
247
299
 
248
300
  <p>You can confirm your account email through the link below:</p>
249
301
 
250
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=P5QvLNzPZY175zGvu_qs">Confirm my account</a></p>
302
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=AXxNWMiETHtrUTwA97_m">Confirm my account</a></p>
251
303
 
252
-  (0.2ms) RELEASE SAVEPOINT active_record_2
304
+  (0.1ms) RELEASE SAVEPOINT active_record_2
253
305
  Processing by PushType::ConfirmationsController#update as HTML
254
- Parameters: {"user"=>{"confirmation_token"=>"P5QvLNzPZY175zGvu_qs", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
255
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'd9a6ea7827783b7a9c214922d131281868d7088dcc1bfe923985ee412356fc5d' ORDER BY "push_type_users"."name" ASC LIMIT 1
256
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != '98336eb4-7b82-4a8b-bc70-b547620e254d') LIMIT 1
257
- Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
258
- Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.7ms)
259
-  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
260
-  (0.2ms) ROLLBACK
261
-  (0.2ms) BEGIN
262
- --------------------------------------------------------------------------------------
263
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
264
- --------------------------------------------------------------------------------------
265
-  (0.2ms) SAVEPOINT active_record_1
266
-  (0.2ms) RELEASE SAVEPOINT active_record_1
267
-  (0.2ms) SAVEPOINT active_record_1
268
-  (0.2ms) SAVEPOINT active_record_2
269
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
270
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
271
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'df582e633d1879c8809ada0ddc7fc64ee08aeaac5c87311fc173c83c13f3623a' ORDER BY "push_type_users"."name" ASC LIMIT 1
272
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.397260"], ["confirmation_token", "df582e633d1879c8809ada0ddc7fc64ee08aeaac5c87311fc173c83c13f3623a"], ["created_at", "2015-01-02 20:45:05.395726"], ["email", "joe-7@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.395726"]]
306
+ Parameters: {"user"=>{"confirmation_token"=>"AXxNWMiETHtrUTwA97_m", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
307
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '6e9b6b89d62e7287153daf74ec569a7a8fe4d7658d505ba91713468761fa417e' ORDER BY "push_type_users"."name" ASC LIMIT 1
308
+ 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" != 'ecd06396-4e19-40b5-afd4-e489cf59c539') LIMIT 1
309
+  (0.1ms) SAVEPOINT active_record_2
310
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmed_at" = $2, "encrypted_password" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = 'ecd06396-4e19-40b5-afd4-e489cf59c539' [["confirmation_token", nil], ["confirmed_at", "2015-01-08 18:22:52.509307"], ["encrypted_password", "$2a$04$B4/jgy42NByXbk09/./TH.Jlo8IySd7v.sZhPa64e7oAcDx5YmkCW"], ["updated_at", "2015-01-08 18:22:52.509521"]]
311
+  (0.1ms) RELEASE SAVEPOINT active_record_2
312
+  (0.1ms) SAVEPOINT active_record_2
313
+ SQL (0.2ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "current_sign_in_ip" = $2, "last_sign_in_at" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = 'ecd06396-4e19-40b5-afd4-e489cf59c539' [["current_sign_in_at", "2015-01-08 18:22:52.510832"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_at", "2015-01-08 18:22:52.510832"], ["last_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-01-08 18:22:52.511333"]]
314
+  (0.1ms) RELEASE SAVEPOINT active_record_2
315
+ Redirected to http://test.host/push_type/
316
+ Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
317
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "ecd06396-4e19-40b5-afd4-e489cf59c539"]]
318
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
319
+  (0.1ms) ROLLBACK
320
+  (0.0ms) BEGIN
321
+ ------------------------------------------------------------------------------------
322
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
323
+ ------------------------------------------------------------------------------------
324
+  (0.0ms) SAVEPOINT active_record_1
325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
326
+  (0.1ms) SAVEPOINT active_record_1
327
+  (0.1ms) SAVEPOINT active_record_2
328
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
329
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
330
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'e16f54b6afe0cf0e644a8bb5875e26eaabf720c7eff216ad260f437adbddb78b' ORDER BY "push_type_users"."name" ASC LIMIT 1
331
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.517896"], ["confirmation_token", "e16f54b6afe0cf0e644a8bb5875e26eaabf720c7eff216ad260f437adbddb78b"], ["created_at", "2015-01-08 18:22:52.517131"], ["email", "joe-11@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.517131"]]
273
332
 
274
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.8ms
333
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.1ms
275
334
 
276
- Sent mail to joe-7@example.com (3.2ms)
277
- Date: Fri, 02 Jan 2015 20:45:05 +0000
335
+ Sent mail to joe-11@example.com (1.6ms)
336
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
278
337
  From: please-change-me-at-config-initializers-devise@example.com
279
338
  Reply-To: please-change-me-at-config-initializers-devise@example.com
280
- To: joe-7@example.com
281
- Message-ID: <54a70351621ee_8d13fe135065be8987f4@Aarons-MacBook-Air-3.local.mail>
339
+ To: joe-11@example.com
340
+ Message-ID: <54aecafc7f205_374c3fd4da065bf013773@Aarons-iMac-3.local.mail>
282
341
  Subject: Confirmation instructions
283
342
  Mime-Version: 1.0
284
343
  Content-Type: text/html;
285
344
  charset=UTF-8
286
345
  Content-Transfer-Encoding: 7bit
287
346
 
288
- <p>Welcome joe-7@example.com!</p>
347
+ <p>Welcome joe-11@example.com!</p>
289
348
 
290
349
  <p>You can confirm your account email through the link below:</p>
291
350
 
292
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=ys-ZfLPnd59hA8x2o3e8">Confirm my account</a></p>
351
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=fLQQTMH7GHbFH6uRgVgP">Confirm my account</a></p>
293
352
 
294
-  (0.2ms) RELEASE SAVEPOINT active_record_2
353
+  (0.1ms) RELEASE SAVEPOINT active_record_2
295
354
  Processing by PushType::ConfirmationsController#update as HTML
296
- Parameters: {"user"=>{"confirmation_token"=>"ys-ZfLPnd59hA8x2o3e8", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
297
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'df582e633d1879c8809ada0ddc7fc64ee08aeaac5c87311fc173c83c13f3623a' ORDER BY "push_type_users"."name" ASC LIMIT 1
298
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != 'db15a8ac-e1f5-4363-b669-a4138f55ca69') LIMIT 1
299
- Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
300
- Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.8ms)
301
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
355
+ Parameters: {"user"=>{"confirmation_token"=>"fLQQTMH7GHbFH6uRgVgP", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
356
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'e16f54b6afe0cf0e644a8bb5875e26eaabf720c7eff216ad260f437adbddb78b' ORDER BY "push_type_users"."name" ASC LIMIT 1
357
+ 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" != '7b7324f3-61b7-4e50-a247-43c30a544082') LIMIT 1
358
+  (0.1ms) SAVEPOINT active_record_2
359
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmed_at" = $2, "encrypted_password" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = '7b7324f3-61b7-4e50-a247-43c30a544082' [["confirmation_token", nil], ["confirmed_at", "2015-01-08 18:22:52.525350"], ["encrypted_password", "$2a$04$mXCS0JPLUFEMmpMtkzgx2u909DqfgsZJIy110K1wnIH4UHgsUPNAy"], ["updated_at", "2015-01-08 18:22:52.525564"]]
360
+  (0.1ms) RELEASE SAVEPOINT active_record_2
361
+  (0.1ms) SAVEPOINT active_record_2
362
+ SQL (0.1ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "current_sign_in_ip" = $2, "last_sign_in_at" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = '7b7324f3-61b7-4e50-a247-43c30a544082' [["current_sign_in_at", "2015-01-08 18:22:52.526755"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_at", "2015-01-08 18:22:52.526755"], ["last_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-01-08 18:22:52.527014"]]
363
+  (0.1ms) RELEASE SAVEPOINT active_record_2
364
+ Redirected to http://test.host/push_type/
365
+ Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
366
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
302
367
   (0.1ms) ROLLBACK
303
-  (0.2ms) BEGIN
368
+  (0.1ms) BEGIN
304
369
  -----------------------------------------------------------
305
370
  PushType::UsersController::PUT #invite: test_0001_anonymous
306
371
  -----------------------------------------------------------
307
372
   (0.1ms) SAVEPOINT active_record_1
308
-  (0.1ms) RELEASE SAVEPOINT active_record_1
373
+  (0.2ms) RELEASE SAVEPOINT active_record_1
309
374
   (0.1ms) SAVEPOINT active_record_1
310
375
   (0.1ms) SAVEPOINT active_record_2
311
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
312
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
313
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.421193"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.421258"], ["created_at", "2015-01-02 20:45:05.423409"], ["email", "joe-8@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.423409"]]
376
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
377
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
378
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.534097"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:52.534134"], ["created_at", "2015-01-08 18:22:52.535361"], ["email", "joe-12@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.535361"]]
314
379
   (0.1ms) RELEASE SAVEPOINT active_record_2
315
-  (0.1ms) SAVEPOINT active_record_2
316
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
317
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
318
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'd7f5fe6a7141e243190143f70b60f7c21f00c72ba988cc45c464b8640732cf11' ORDER BY "push_type_users"."name" ASC LIMIT 1
319
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.428352"], ["confirmation_token", "d7f5fe6a7141e243190143f70b60f7c21f00c72ba988cc45c464b8640732cf11"], ["created_at", "2015-01-02 20:45:05.427259"], ["email", "joe-9@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.427259"]]
380
+  (0.0ms) SAVEPOINT active_record_2
381
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
382
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
383
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '45c4e2d6831c170fdb6acc1b4b876cda72a1838009a6db282a166dea68393e5a' ORDER BY "push_type_users"."name" ASC LIMIT 1
384
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.538144"], ["confirmation_token", "45c4e2d6831c170fdb6acc1b4b876cda72a1838009a6db282a166dea68393e5a"], ["created_at", "2015-01-08 18:22:52.537514"], ["email", "joe-13@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.537514"]]
320
385
 
321
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
386
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.0ms
322
387
 
323
- Sent mail to joe-9@example.com (4.2ms)
324
- Date: Fri, 02 Jan 2015 20:45:05 +0000
388
+ Sent mail to joe-13@example.com (1.7ms)
389
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
325
390
  From: please-change-me-at-config-initializers-devise@example.com
326
391
  Reply-To: please-change-me-at-config-initializers-devise@example.com
327
- To: joe-9@example.com
328
- Message-ID: <54a703516a436_8d13fe135065be8988f9@Aarons-MacBook-Air-3.local.mail>
392
+ To: joe-13@example.com
393
+ Message-ID: <54aecafc8401b_374c3fd4da065bf01381d@Aarons-iMac-3.local.mail>
329
394
  Subject: Confirmation instructions
330
395
  Mime-Version: 1.0
331
396
  Content-Type: text/html;
332
397
  charset=UTF-8
333
398
  Content-Transfer-Encoding: 7bit
334
399
 
335
- <p>Welcome joe-9@example.com!</p>
400
+ <p>Welcome joe-13@example.com!</p>
336
401
 
337
402
  <p>You can confirm your account email through the link below:</p>
338
403
 
339
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=z8XSxf5ksEMtUauQ4Cgo">Confirm my account</a></p>
404
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=S7y2VSNqnCrtg1Kpn1iJ">Confirm my account</a></p>
340
405
 
341
-  (0.2ms) RELEASE SAVEPOINT active_record_2
406
+  (0.1ms) RELEASE SAVEPOINT active_record_2
342
407
  Processing by PushType::UsersController#invite as HTML
343
- Parameters: {"id"=>"761cbf8e-a9a0-423b-9417-cf99e44f41d9"}
344
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '3cfaa897-ce55-42f3-817c-46d6303dc767' ORDER BY "push_type_users"."name" ASC LIMIT 1
345
- 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", "761cbf8e-a9a0-423b-9417-cf99e44f41d9"]]
346
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'c1ce7ab7450226cdc02fa80f6376f0c04f70e82b44d3e4fb7d1d3aeb7263db7f' ORDER BY "push_type_users"."name" ASC LIMIT 1
408
+ Parameters: {"id"=>"827cd174-5116-461c-bccf-6fe3e21109b0"}
409
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'ca5bc081-24e3-4e5a-8d52-c92c50aff807' ORDER BY "push_type_users"."name" ASC LIMIT 1
410
+ 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", "827cd174-5116-461c-bccf-6fe3e21109b0"]]
411
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '119382c50fb29858d3805662f8a0aa809420c636c3008edfc0ea0114bf7761cc' ORDER BY "push_type_users"."name" ASC LIMIT 1
347
412
   (0.1ms) SAVEPOINT active_record_2
348
- SQL (0.4ms) UPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = '761cbf8e-a9a0-423b-9417-cf99e44f41d9' [["confirmation_sent_at", "2015-01-02 20:45:05.446173"], ["confirmation_token", "c1ce7ab7450226cdc02fa80f6376f0c04f70e82b44d3e4fb7d1d3aeb7263db7f"], ["updated_at", "2015-01-02 20:45:05.446669"]]
413
+ SQL (0.1ms) UPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = '827cd174-5116-461c-bccf-6fe3e21109b0' [["confirmation_sent_at", "2015-01-08 18:22:52.545844"], ["confirmation_token", "119382c50fb29858d3805662f8a0aa809420c636c3008edfc0ea0114bf7761cc"], ["updated_at", "2015-01-08 18:22:52.546141"]]
349
414
   (0.1ms) RELEASE SAVEPOINT active_record_2
350
415
 
351
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.8ms
416
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.0ms
352
417
 
353
- Sent mail to joe-9@example.com (2.2ms)
354
- Date: Fri, 02 Jan 2015 20:45:05 +0000
418
+ Sent mail to joe-13@example.com (1.5ms)
419
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
355
420
  From: please-change-me-at-config-initializers-devise@example.com
356
421
  Reply-To: please-change-me-at-config-initializers-devise@example.com
357
- To: joe-9@example.com
358
- Message-ID: <54a703516e6e5_8d13fe135065be8989e4@Aarons-MacBook-Air-3.local.mail>
422
+ To: joe-13@example.com
423
+ Message-ID: <54aecafc85ff2_374c3fd4da065bf013972@Aarons-iMac-3.local.mail>
359
424
  Subject: Confirmation instructions
360
425
  Mime-Version: 1.0
361
426
  Content-Type: text/html;
362
427
  charset=UTF-8
363
428
  Content-Transfer-Encoding: 7bit
364
429
 
365
- <p>Welcome joe-9@example.com!</p>
430
+ <p>Welcome joe-13@example.com!</p>
366
431
 
367
432
  <p>You can confirm your account email through the link below:</p>
368
433
 
369
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=A_in-5PSGLczpCFn2zyL">Confirm my account</a></p>
434
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=yTTJbAPUZpkbY6BZZv9Q">Confirm my account</a></p>
370
435
 
371
436
  Redirected to /push_type/users
372
- Completed 302 Found in 13ms (ActiveRecord: 1.7ms)
373
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
437
+ Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
438
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
374
439
   (0.1ms) ROLLBACK
375
440
   (0.1ms) BEGIN
376
441
  -----------------------------------------------------------
@@ -380,233 +445,126 @@ PushType::UsersController::PUT #invite: test_0002_anonymous
380
445
   (0.1ms) RELEASE SAVEPOINT active_record_1
381
446
   (0.1ms) SAVEPOINT active_record_1
382
447
   (0.1ms) SAVEPOINT active_record_2
383
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
384
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
385
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.457412"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.457471"], ["created_at", "2015-01-02 20:45:05.459576"], ["email", "joe-10@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.459576"]]
448
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
449
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
450
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.551913"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:52.551947"], ["created_at", "2015-01-08 18:22:52.553201"], ["email", "joe-14@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.553201"]]
386
451
   (0.1ms) RELEASE SAVEPOINT active_record_2
387
452
   (0.1ms) SAVEPOINT active_record_2
388
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
389
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
390
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '2cce1d7af9ac19813763fd56da4832235c8df4d23c41eaa6d3ef167e278d2dca' ORDER BY "push_type_users"."name" ASC LIMIT 1
391
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.464697"], ["confirmation_token", "2cce1d7af9ac19813763fd56da4832235c8df4d23c41eaa6d3ef167e278d2dca"], ["created_at", "2015-01-02 20:45:05.463468"], ["email", "joe-11@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.463468"]]
453
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
454
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
455
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'd2221f65b6df24fbd30855465e162f37ea57c4228ac770b89e26dfcfa5f44c50' ORDER BY "push_type_users"."name" ASC LIMIT 1
456
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.556226"], ["confirmation_token", "d2221f65b6df24fbd30855465e162f37ea57c4228ac770b89e26dfcfa5f44c50"], ["created_at", "2015-01-08 18:22:52.555563"], ["email", "joe-15@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.555563"]]
392
457
 
393
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
458
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.0ms
394
459
 
395
- Sent mail to joe-11@example.com (3.0ms)
396
- Date: Fri, 02 Jan 2015 20:45:05 +0000
460
+ Sent mail to joe-15@example.com (1.5ms)
461
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
397
462
  From: please-change-me-at-config-initializers-devise@example.com
398
463
  Reply-To: please-change-me-at-config-initializers-devise@example.com
399
- To: joe-11@example.com
400
- Message-ID: <54a703517286f_8d13fe135065be899043@Aarons-MacBook-Air-3.local.mail>
464
+ To: joe-15@example.com
465
+ Message-ID: <54aecafc88639_374c3fd4da065bf01408f@Aarons-iMac-3.local.mail>
401
466
  Subject: Confirmation instructions
402
467
  Mime-Version: 1.0
403
468
  Content-Type: text/html;
404
469
  charset=UTF-8
405
470
  Content-Transfer-Encoding: 7bit
406
471
 
407
- <p>Welcome joe-11@example.com!</p>
472
+ <p>Welcome joe-15@example.com!</p>
408
473
 
409
474
  <p>You can confirm your account email through the link below:</p>
410
475
 
411
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=LWmBSjXV4LvyqLBtyz16">Confirm my account</a></p>
476
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=DTKUx1bjPJGd1wNr1Sbn">Confirm my account</a></p>
412
477
 
413
-  (0.2ms) RELEASE SAVEPOINT active_record_2
478
+  (0.1ms) RELEASE SAVEPOINT active_record_2
414
479
  Processing by PushType::UsersController#invite as HTML
415
- Parameters: {"id"=>"435191e7-1983-4dc8-8908-c9e7e10ccf1f"}
416
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '95e247e9-0083-4c13-8106-c9be77c11257' ORDER BY "push_type_users"."name" ASC LIMIT 1
417
- 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", "435191e7-1983-4dc8-8908-c9e7e10ccf1f"]]
418
- PushType::User Load (0.7ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '80e8a81ad9d4d3ac827f0055e86a8d39fc9a97da9c774a8f784e5759cf358b99' ORDER BY "push_type_users"."name" ASC LIMIT 1
419
-  (0.2ms) SAVEPOINT active_record_2
420
- SQL (0.4ms) UPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = '435191e7-1983-4dc8-8908-c9e7e10ccf1f' [["confirmation_sent_at", "2015-01-02 20:45:05.476599"], ["confirmation_token", "80e8a81ad9d4d3ac827f0055e86a8d39fc9a97da9c774a8f784e5759cf358b99"], ["updated_at", "2015-01-02 20:45:05.477389"]]
480
+ Parameters: {"id"=>"901dc140-f329-4c9a-a35b-1d12aba9c010"}
481
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'c2aec723-e7c7-41cc-b14c-f87f0a7d7866' ORDER BY "push_type_users"."name" ASC LIMIT 1
482
+ 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", "901dc140-f329-4c9a-a35b-1d12aba9c010"]]
483
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '31d16c3e3c4cf03dcf222c69e4a0d2af6d301fb060e875f43273fa4972cc9a63' ORDER BY "push_type_users"."name" ASC LIMIT 1
484
+  (0.1ms) SAVEPOINT active_record_2
485
+ SQL (0.1ms) UPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = '901dc140-f329-4c9a-a35b-1d12aba9c010' [["confirmation_sent_at", "2015-01-08 18:22:52.562702"], ["confirmation_token", "31d16c3e3c4cf03dcf222c69e4a0d2af6d301fb060e875f43273fa4972cc9a63"], ["updated_at", "2015-01-08 18:22:52.562956"]]
421
486
   (0.1ms) RELEASE SAVEPOINT active_record_2
422
487
 
423
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
488
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.0ms
424
489
 
425
- Sent mail to joe-11@example.com (2.1ms)
426
- Date: Fri, 02 Jan 2015 20:45:05 +0000
490
+ Sent mail to joe-15@example.com (1.6ms)
491
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
427
492
  From: please-change-me-at-config-initializers-devise@example.com
428
493
  Reply-To: please-change-me-at-config-initializers-devise@example.com
429
- To: joe-11@example.com
430
- Message-ID: <54a7035175b64_8d13fe135065be8991b@Aarons-MacBook-Air-3.local.mail>
494
+ To: joe-15@example.com
495
+ Message-ID: <54aecafc8a1d0_374c3fd4da065bf014181@Aarons-iMac-3.local.mail>
431
496
  Subject: Confirmation instructions
432
497
  Mime-Version: 1.0
433
498
  Content-Type: text/html;
434
499
  charset=UTF-8
435
500
  Content-Transfer-Encoding: 7bit
436
501
 
437
- <p>Welcome joe-11@example.com!</p>
502
+ <p>Welcome joe-15@example.com!</p>
438
503
 
439
504
  <p>You can confirm your account email through the link below:</p>
440
505
 
441
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=3rXub1sZkEmvMkLEfQ6c">Confirm my account</a></p>
506
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=ZeRSt6QWGbFi8pPFvkmH">Confirm my account</a></p>
442
507
 
443
508
  Redirected to /push_type/users
444
- Completed 302 Found in 12ms (ActiveRecord: 2.1ms)
445
-  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
446
-  (0.2ms) ROLLBACK
509
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
510
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
511
+  (0.1ms) ROLLBACK
447
512
   (0.1ms) BEGIN
448
513
  -----------------------------------------------------------
449
514
  PushType::UsersController::PUT #invite: test_0003_anonymous
450
515
  -----------------------------------------------------------
451
516
   (0.1ms) SAVEPOINT active_record_1
452
-  (0.1ms) RELEASE SAVEPOINT active_record_1
517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
453
518
   (0.1ms) SAVEPOINT active_record_1
454
-  (0.1ms) SAVEPOINT active_record_2
455
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
456
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
457
- SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.487675"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.487731"], ["created_at", "2015-01-02 20:45:05.489796"], ["email", "joe-12@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.489796"]]
519
+  (0.0ms) SAVEPOINT active_record_2
520
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
521
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
522
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.568560"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-08 18:22:52.568616"], ["created_at", "2015-01-08 18:22:52.569748"], ["email", "joe-16@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.569748"]]
458
523
   (0.1ms) RELEASE SAVEPOINT active_record_2
459
524
   (0.1ms) SAVEPOINT active_record_2
460
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
461
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
462
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b21d7b610bb94a43533aece790eff4d30edce42e0102b48680a072fb83bdba74' ORDER BY "push_type_users"."name" ASC LIMIT 1
463
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.494495"], ["confirmation_token", "b21d7b610bb94a43533aece790eff4d30edce42e0102b48680a072fb83bdba74"], ["created_at", "2015-01-02 20:45:05.493400"], ["email", "joe-13@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.493400"]]
525
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
526
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
527
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '9138e0aaeeeb0e560be90829632615cef42487ebbf2d0e9eeafe72c5f71f7f5f' ORDER BY "push_type_users"."name" ASC LIMIT 1
528
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.572488"], ["confirmation_token", "9138e0aaeeeb0e560be90829632615cef42487ebbf2d0e9eeafe72c5f71f7f5f"], ["created_at", "2015-01-08 18:22:52.571860"], ["email", "joe-17@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.571860"]]
464
529
 
465
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.4ms
530
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 0.9ms
466
531
 
467
- Sent mail to joe-13@example.com (2.1ms)
468
- Date: Fri, 02 Jan 2015 20:45:05 +0000
532
+ Sent mail to joe-17@example.com (1.5ms)
533
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
469
534
  From: please-change-me-at-config-initializers-devise@example.com
470
535
  Reply-To: please-change-me-at-config-initializers-devise@example.com
471
- To: joe-13@example.com
472
- Message-ID: <54a70351799f8_8d13fe135065be89927d@Aarons-MacBook-Air-3.local.mail>
536
+ To: joe-17@example.com
537
+ Message-ID: <54aecafc8c573_374c3fd4da065bf0142b7@Aarons-iMac-3.local.mail>
473
538
  Subject: Confirmation instructions
474
539
  Mime-Version: 1.0
475
540
  Content-Type: text/html;
476
541
  charset=UTF-8
477
542
  Content-Transfer-Encoding: 7bit
478
543
 
479
- <p>Welcome joe-13@example.com!</p>
544
+ <p>Welcome joe-17@example.com!</p>
480
545
 
481
546
  <p>You can confirm your account email through the link below:</p>
482
547
 
483
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=QzWxtxeL-S58u9NiX_kb">Confirm my account</a></p>
548
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=7ZD6o8_yiCxwsbTmFAGa">Confirm my account</a></p>
484
549
 
485
-  (0.2ms) RELEASE SAVEPOINT active_record_2
486
- Processing by PushType::UsersController#invite as HTML
487
- Parameters: {"id"=>"f27c742a-69df-4a7e-800c-0e9a4d280b8f"}
488
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '42c3bc76-e406-4b2e-a4c2-ff0046aa24cf' ORDER BY "push_type_users"."name" ASC LIMIT 1
489
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "f27c742a-69df-4a7e-800c-0e9a4d280b8f"]]
490
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '8a51f58c38a589b52584fb4a4e54117eebac4fb3405e91a90003a599ce985dd0' ORDER BY "push_type_users"."name" ASC LIMIT 1
491
-  (0.2ms) SAVEPOINT active_record_2
492
- SQL (0.4ms) UPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = 'f27c742a-69df-4a7e-800c-0e9a4d280b8f' [["confirmation_sent_at", "2015-01-02 20:45:05.505227"], ["confirmation_token", "8a51f58c38a589b52584fb4a4e54117eebac4fb3405e91a90003a599ce985dd0"], ["updated_at", "2015-01-02 20:45:05.505886"]]
493
550
   (0.1ms) RELEASE SAVEPOINT active_record_2
494
-
495
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.6ms
496
-
497
- Sent mail to joe-13@example.com (2.3ms)
498
- Date: Fri, 02 Jan 2015 20:45:05 +0000
499
- From: please-change-me-at-config-initializers-devise@example.com
500
- Reply-To: please-change-me-at-config-initializers-devise@example.com
501
- To: joe-13@example.com
502
- Message-ID: <54a703517cc36_8d13fe135065be8993cf@Aarons-MacBook-Air-3.local.mail>
503
- Subject: Confirmation instructions
504
- Mime-Version: 1.0
505
- Content-Type: text/html;
506
- charset=UTF-8
507
- Content-Transfer-Encoding: 7bit
508
-
509
- <p>Welcome joe-13@example.com!</p>
510
-
511
- <p>You can confirm your account email through the link below:</p>
512
-
513
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=rt2TqqU5Hyco1CaM9X-9">Confirm my account</a></p>
514
-
515
- Redirected to /push_type/users
516
- Completed 302 Found in 12ms (ActiveRecord: 2.1ms)
517
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
518
-  (0.1ms) ROLLBACK
519
-  (0.2ms) BEGIN
520
- -------------------------------------------------------------------------------
521
- PushType::ProfilesController::PUT #update::with valid user: test_0001_anonymous
522
- -------------------------------------------------------------------------------
523
-  (0.1ms) SAVEPOINT active_record_1
524
-  (0.1ms) RELEASE SAVEPOINT active_record_1
525
-  (0.1ms) SAVEPOINT active_record_1
526
-  (0.2ms) SAVEPOINT active_record_2
527
- PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
528
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
529
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.518212"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.518416"], ["created_at", "2015-01-02 20:45:05.521816"], ["email", "joe-14@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.521816"]]
530
-  (0.1ms) RELEASE SAVEPOINT active_record_2
531
- Processing by PushType::ProfilesController#update as HTML
532
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
533
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '0673c581-2284-4241-a3fd-5a4462d03f82' ORDER BY "push_type_users"."name" ASC LIMIT 1
534
-  (0.1ms) SAVEPOINT active_record_2
535
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != '0673c581-2284-4241-a3fd-5a4462d03f82') LIMIT 1
536
- SQL (0.4ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = '0673c581-2284-4241-a3fd-5a4462d03f82' [["name", "Test user ABC"], ["updated_at", "2015-01-02 20:45:05.529218"]]
537
-  (0.2ms) RELEASE SAVEPOINT active_record_2
538
- Redirected to http://test.host/push_type/profile/edit
539
- Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
540
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "0673c581-2284-4241-a3fd-5a4462d03f82"]]
541
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
542
-  (0.1ms) ROLLBACK
543
-  (0.1ms) BEGIN
544
- -------------------------------------------------------------------------------
545
- PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
546
- -------------------------------------------------------------------------------
547
-  (0.1ms) SAVEPOINT active_record_1
548
-  (0.1ms) RELEASE SAVEPOINT active_record_1
549
-  (0.1ms) SAVEPOINT active_record_1
551
+ Processing by PushType::UsersController#invite as HTML
552
+ Parameters: {"id"=>"80d1118e-ef4f-4b05-9973-83738670a815"}
553
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '26c27b89-b077-4ab1-8142-7184c76a85bb' ORDER BY "push_type_users"."name" ASC LIMIT 1
554
+ 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", "80d1118e-ef4f-4b05-9973-83738670a815"]]
555
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '9e9272e14a8a54f34d6a628700e257a725f405c4f8d22b4ce02ac2eec27ec948' ORDER BY "push_type_users"."name" ASC LIMIT 1
550
556
   (0.1ms) SAVEPOINT active_record_2
551
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
552
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
553
- SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.535851"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.535911"], ["created_at", "2015-01-02 20:45:05.538039"], ["email", "joe-15@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.538039"]]
557
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_sent_at" = $1, "confirmation_token" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = '80d1118e-ef4f-4b05-9973-83738670a815' [["confirmation_sent_at", "2015-01-08 18:22:52.578911"], ["confirmation_token", "9e9272e14a8a54f34d6a628700e257a725f405c4f8d22b4ce02ac2eec27ec948"], ["updated_at", "2015-01-08 18:22:52.579163"]]
554
558
   (0.1ms) RELEASE SAVEPOINT active_record_2
555
- Processing by PushType::ProfilesController#update as HTML
556
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
557
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = '22b9794d-b109-474e-a726-7ed903a3466f' ORDER BY "push_type_users"."name" ASC LIMIT 1
558
-  (0.1ms) SAVEPOINT active_record_2
559
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != '22b9794d-b109-474e-a726-7ed903a3466f') LIMIT 1
560
- SQL (0.3ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = '22b9794d-b109-474e-a726-7ed903a3466f' [["name", "Test user ABC"], ["updated_at", "2015-01-02 20:45:05.543884"]]
561
-  (0.2ms) RELEASE SAVEPOINT active_record_2
562
- Redirected to http://test.host/push_type/profile/edit
563
- Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
564
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
565
-  (0.2ms) ROLLBACK
566
-  (0.1ms) BEGIN
567
- -------------------------------------------------------------------------------
568
- PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
569
- -------------------------------------------------------------------------------
570
-  (0.1ms) SAVEPOINT active_record_1
571
-  (0.2ms) RELEASE SAVEPOINT active_record_1
572
-  (0.1ms) SAVEPOINT active_record_1
573
-  (0.2ms) SAVEPOINT active_record_2
574
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
575
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
576
- SQL (0.4ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "confirmed_at", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.550850"], ["confirmation_token", "Generated account"], ["confirmed_at", "2015-01-02 20:45:05.550927"], ["created_at", "2015-01-02 20:45:05.553332"], ["email", "joe-16@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.553332"]]
577
-  (0.2ms) RELEASE SAVEPOINT active_record_2
578
- Processing by PushType::ProfilesController#update as HTML
579
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
580
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = 'e3ca7fe0-659b-402e-8b0b-22d901b54a4f' ORDER BY "push_type_users"."name" ASC LIMIT 1
581
-  (0.1ms) SAVEPOINT active_record_2
582
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != 'e3ca7fe0-659b-402e-8b0b-22d901b54a4f') LIMIT 1
583
- SQL (0.3ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = 'e3ca7fe0-659b-402e-8b0b-22d901b54a4f' [["name", "Test user ABC"], ["updated_at", "2015-01-02 20:45:05.560606"]]
584
-  (0.2ms) RELEASE SAVEPOINT active_record_2
585
- Redirected to http://test.host/push_type/profile/edit
586
- Completed 302 Found in 7ms (ActiveRecord: 1.5ms)
587
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
588
-  (0.2ms) ROLLBACK
589
-  (0.2ms) BEGIN
590
- ------------------------------------------------------------------------------------------------
591
- PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
592
- ------------------------------------------------------------------------------------------------
593
-  (0.1ms) SAVEPOINT active_record_1
594
-  (0.1ms) RELEASE SAVEPOINT active_record_1
595
-  (0.1ms) SAVEPOINT active_record_1
596
-  (0.1ms) SAVEPOINT active_record_2
597
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
598
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
599
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '1359ab5dbbf794a02b138387eb264e24037ed4377c3348d076c81b42fd4b98ba' ORDER BY "push_type_users"."name" ASC LIMIT 1
600
- SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.574364"], ["confirmation_token", "1359ab5dbbf794a02b138387eb264e24037ed4377c3348d076c81b42fd4b98ba"], ["created_at", "2015-01-02 20:45:05.573264"], ["email", "joe-17@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.573264"]]
601
559
 
602
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
560
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.0ms
603
561
 
604
- Sent mail to joe-17@example.com (2.2ms)
605
- Date: Fri, 02 Jan 2015 20:45:05 +0000
562
+ Sent mail to joe-17@example.com (1.5ms)
563
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
606
564
  From: please-change-me-at-config-initializers-devise@example.com
607
565
  Reply-To: please-change-me-at-config-initializers-devise@example.com
608
566
  To: joe-17@example.com
609
- Message-ID: <54a703518d293_8d13fe135065be8994de@Aarons-MacBook-Air-3.local.mail>
567
+ Message-ID: <54aecafc8e0f4_374c3fd4da065bf014383@Aarons-iMac-3.local.mail>
610
568
  Subject: Confirmation instructions
611
569
  Mime-Version: 1.0
612
570
  Content-Type: text/html;
@@ -617,37 +575,33 @@ Content-Transfer-Encoding: 7bit
617
575
 
618
576
  <p>You can confirm your account email through the link below:</p>
619
577
 
620
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=x5ZT3pcxjbXy_9hKxgq5">Confirm my account</a></p>
578
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=4mZ51uVJLF1vfZUfsRkk">Confirm my account</a></p>
621
579
 
622
-  (0.2ms) RELEASE SAVEPOINT active_record_2
623
- Processing by PushType::ConfirmationsController#show as HTML
624
- Parameters: {"confirmation_token"=>"x5ZT3pcxjbXy_9hKxgq5"}
625
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '1359ab5dbbf794a02b138387eb264e24037ed4377c3348d076c81b42fd4b98ba' ORDER BY "push_type_users"."name" ASC LIMIT 1
626
- Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
627
- Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms)
628
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
580
+ Redirected to /push_type/users
581
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
582
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
629
583
   (0.1ms) ROLLBACK
630
584
   (0.1ms) BEGIN
631
585
  ------------------------------------------------------------------------------------------------
632
- PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
586
+ PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
633
587
  ------------------------------------------------------------------------------------------------
634
588
   (0.1ms) SAVEPOINT active_record_1
635
589
   (0.1ms) RELEASE SAVEPOINT active_record_1
636
590
   (0.1ms) SAVEPOINT active_record_1
637
-  (0.2ms) SAVEPOINT active_record_2
638
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
639
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
640
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b9b68473c76051e06c9a67fc54fb0807fa592806b7c3fcde2808665ba49a3351' ORDER BY "push_type_users"."name" ASC LIMIT 1
641
- SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.593217"], ["confirmation_token", "b9b68473c76051e06c9a67fc54fb0807fa592806b7c3fcde2808665ba49a3351"], ["created_at", "2015-01-02 20:45:05.592109"], ["email", "joe-18@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.592109"]]
591
+  (0.1ms) SAVEPOINT active_record_2
592
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
593
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
594
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '8d89ecca8ba5e0a11435563281a2e56f0e0ec6b8bd8b7a84618029656dcb0b6b' ORDER BY "push_type_users"."name" ASC LIMIT 1
595
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.587640"], ["confirmation_token", "8d89ecca8ba5e0a11435563281a2e56f0e0ec6b8bd8b7a84618029656dcb0b6b"], ["created_at", "2015-01-08 18:22:52.586997"], ["email", "joe-18@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.586997"]]
642
596
 
643
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.6ms
597
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 0.9ms
644
598
 
645
- Sent mail to joe-18@example.com (2.2ms)
646
- Date: Fri, 02 Jan 2015 20:45:05 +0000
599
+ Sent mail to joe-18@example.com (1.5ms)
600
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
647
601
  From: please-change-me-at-config-initializers-devise@example.com
648
602
  Reply-To: please-change-me-at-config-initializers-devise@example.com
649
603
  To: joe-18@example.com
650
- Message-ID: <54a7035191c8f_8d13fe135065be8995c2@Aarons-MacBook-Air-3.local.mail>
604
+ Message-ID: <54aecafc90094_374c3fd4da065bf0144d0@Aarons-iMac-3.local.mail>
651
605
  Subject: Confirmation instructions
652
606
  Mime-Version: 1.0
653
607
  Content-Type: text/html;
@@ -658,30 +612,37 @@ Content-Transfer-Encoding: 7bit
658
612
 
659
613
  <p>You can confirm your account email through the link below:</p>
660
614
 
661
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=shLXBRQqKqXp9X1Uujvz">Confirm my account</a></p>
615
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=HoHz6DuDxxsdDycJCixu">Confirm my account</a></p>
662
616
 
663
-  (0.2ms) RELEASE SAVEPOINT active_record_2
617
+  (0.1ms) RELEASE SAVEPOINT active_record_2
664
618
  Processing by PushType::ConfirmationsController#show as HTML
665
- Parameters: {"confirmation_token"=>"shLXBRQqKqXp9X1Uujvz"}
666
- PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'b9b68473c76051e06c9a67fc54fb0807fa592806b7c3fcde2808665ba49a3351' ORDER BY "push_type_users"."name" ASC LIMIT 1
667
- Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.7ms)
668
- Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.5ms)
669
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
619
+ Parameters: {"confirmation_token"=>"HoHz6DuDxxsdDycJCixu"}
620
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '8d89ecca8ba5e0a11435563281a2e56f0e0ec6b8bd8b7a84618029656dcb0b6b' ORDER BY "push_type_users"."name" ASC LIMIT 1
621
+ Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (1.0ms)
622
+ Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.2ms)
623
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
670
624
   (0.1ms) ROLLBACK
671
625
   (0.1ms) BEGIN
672
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
673
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
674
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'eda13b4c20045dc3c522fbf4b102be6e49d25f147b728e6428bd6659a0c7ee68' ORDER BY "push_type_users"."name" ASC LIMIT 1
675
- SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.613118"], ["confirmation_token", "eda13b4c20045dc3c522fbf4b102be6e49d25f147b728e6428bd6659a0c7ee68"], ["created_at", "2015-01-02 20:45:05.612023"], ["email", "joe-19@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.612023"]]
676
-
677
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
678
-
679
- Sent mail to joe-19@example.com (2.3ms)
680
- Date: Fri, 02 Jan 2015 20:45:05 +0000
626
+ ------------------------------------------------------------------------------------------------
627
+ PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
628
+ ------------------------------------------------------------------------------------------------
629
+  (0.0ms) SAVEPOINT active_record_1
630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
631
+  (0.0ms) SAVEPOINT active_record_1
632
+  (0.0ms) SAVEPOINT active_record_2
633
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
634
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
635
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '33c0923bf776418307c3f92c86fa5d9a5147eb24ffae36bcce9ffc1d29b6785b' ORDER BY "push_type_users"."name" ASC LIMIT 1
636
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.606065"], ["confirmation_token", "33c0923bf776418307c3f92c86fa5d9a5147eb24ffae36bcce9ffc1d29b6785b"], ["created_at", "2015-01-08 18:22:52.605326"], ["email", "joe-19@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.605326"]]
637
+
638
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.3ms
639
+
640
+ Sent mail to joe-19@example.com (1.7ms)
641
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
681
642
  From: please-change-me-at-config-initializers-devise@example.com
682
643
  Reply-To: please-change-me-at-config-initializers-devise@example.com
683
644
  To: joe-19@example.com
684
- Message-ID: <54a7035196a2b_8d13fe135065be89969e@Aarons-MacBook-Air-3.local.mail>
645
+ Message-ID: <54aecafc94b4a_374c3fd4da065bf0145bf@Aarons-iMac-3.local.mail>
685
646
  Subject: Confirmation instructions
686
647
  Mime-Version: 1.0
687
648
  Content-Type: text/html;
@@ -692,23 +653,37 @@ Content-Transfer-Encoding: 7bit
692
653
 
693
654
  <p>You can confirm your account email through the link below:</p>
694
655
 
695
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=ts7P-zaEMqccYih6Ro2b">Confirm my account</a></p>
656
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=SRJSsrgRFJ1zNyuZcwzd">Confirm my account</a></p>
696
657
 
697
-  (0.7ms) COMMIT
698
-  (0.2ms) BEGIN
699
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
700
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
701
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '8b89df9a2474cabe5d367b13fad2c8ba51ebd2275227f276ea973126dad62e54' ORDER BY "push_type_users"."name" ASC LIMIT 1
702
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.628862"], ["confirmation_token", "8b89df9a2474cabe5d367b13fad2c8ba51ebd2275227f276ea973126dad62e54"], ["created_at", "2015-01-02 20:45:05.627279"], ["email", "joe-20@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.627279"]]
658
+  (0.1ms) RELEASE SAVEPOINT active_record_2
659
+ Processing by PushType::ConfirmationsController#show as HTML
660
+ Parameters: {"confirmation_token"=>"SRJSsrgRFJ1zNyuZcwzd"}
661
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '33c0923bf776418307c3f92c86fa5d9a5147eb24ffae36bcce9ffc1d29b6785b' ORDER BY "push_type_users"."name" ASC LIMIT 1
662
+ Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (0.3ms)
663
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)
664
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
665
+  (0.1ms) ROLLBACK
666
+  (0.1ms) BEGIN
667
+ --------------------------------------------------------------------------------------
668
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
669
+ --------------------------------------------------------------------------------------
670
+  (0.1ms) SAVEPOINT active_record_1
671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
672
+  (0.1ms) SAVEPOINT active_record_1
673
+  (0.1ms) SAVEPOINT active_record_2
674
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
675
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
676
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '101e6f004c75ab0f8ba844850a770ebe6d18b463a1a41f48bfcaceed44ddf995' ORDER BY "push_type_users"."name" ASC LIMIT 1
677
+ SQL (0.1ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.620150"], ["confirmation_token", "101e6f004c75ab0f8ba844850a770ebe6d18b463a1a41f48bfcaceed44ddf995"], ["created_at", "2015-01-08 18:22:52.619346"], ["email", "joe-20@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.619346"]]
703
678
 
704
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.6ms
679
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.2ms
705
680
 
706
- Sent mail to joe-20@example.com (4.4ms)
707
- Date: Fri, 02 Jan 2015 20:45:05 +0000
681
+ Sent mail to joe-20@example.com (1.6ms)
682
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
708
683
  From: please-change-me-at-config-initializers-devise@example.com
709
684
  Reply-To: please-change-me-at-config-initializers-devise@example.com
710
685
  To: joe-20@example.com
711
- Message-ID: <54a703519ad4c_8d13fe135065be8997c2@Aarons-MacBook-Air-3.local.mail>
686
+ Message-ID: <54aecafc9818a_374c3fd4da065bf01462e@Aarons-iMac-3.local.mail>
712
687
  Subject: Confirmation instructions
713
688
  Mime-Version: 1.0
714
689
  Content-Type: text/html;
@@ -719,30 +694,38 @@ Content-Transfer-Encoding: 7bit
719
694
 
720
695
  <p>You can confirm your account email through the link below:</p>
721
696
 
722
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=-c8xwP79gugKtkCr_y5K">Confirm my account</a></p>
697
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=HiQdX6AidRXsLuNYnRXh">Confirm my account</a></p>
723
698
 
724
-  (0.7ms) COMMIT
725
-  (0.1ms) BEGIN
726
- ------------------------------------------------------------------------------------
727
- PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
728
- ------------------------------------------------------------------------------------
729
-  (0.1ms) SAVEPOINT active_record_1
730
-  (0.1ms) RELEASE SAVEPOINT active_record_1
731
-  (0.1ms) SAVEPOINT active_record_1
732
-  (0.1ms) SAVEPOINT active_record_2
733
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
734
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
735
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'bd41cf434d604a27093458c3f6cc9ccc2bc2c7ab6cc18608ef27ae4f0fa948d6' ORDER BY "push_type_users"."name" ASC LIMIT 1
736
- SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.652019"], ["confirmation_token", "bd41cf434d604a27093458c3f6cc9ccc2bc2c7ab6cc18608ef27ae4f0fa948d6"], ["created_at", "2015-01-02 20:45:05.650641"], ["email", "joe-21@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.650641"]]
737
-
738
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.8ms
739
-
740
- Sent mail to joe-21@example.com (2.5ms)
741
- Date: Fri, 02 Jan 2015 20:45:05 +0000
699
+  (0.1ms) RELEASE SAVEPOINT active_record_2
700
+ Processing by PushType::ConfirmationsController#update as HTML
701
+ Parameters: {"user"=>{"confirmation_token"=>"HiQdX6AidRXsLuNYnRXh", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
702
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '101e6f004c75ab0f8ba844850a770ebe6d18b463a1a41f48bfcaceed44ddf995' ORDER BY "push_type_users"."name" ASC LIMIT 1
703
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-20@example.com' AND "push_type_users"."id" != '8a5292d5-7445-4307-aacb-7c22cfff47fc') LIMIT 1
704
+ Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (0.3ms)
705
+ Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.4ms)
706
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
707
+  (0.1ms) ROLLBACK
708
+  (0.1ms) BEGIN
709
+ --------------------------------------------------------------------------------------
710
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
711
+ --------------------------------------------------------------------------------------
712
+  (0.1ms) SAVEPOINT active_record_1
713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
714
+  (0.0ms) SAVEPOINT active_record_1
715
+  (0.0ms) SAVEPOINT active_record_2
716
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
717
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
718
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '902f7d3a73b553d9ce966725686c483977a3a9dda511fbc4a9059e53ea4b5143' ORDER BY "push_type_users"."name" ASC LIMIT 1
719
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.634054"], ["confirmation_token", "902f7d3a73b553d9ce966725686c483977a3a9dda511fbc4a9059e53ea4b5143"], ["created_at", "2015-01-08 18:22:52.633306"], ["email", "joe-21@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.633306"]]
720
+
721
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.2ms
722
+
723
+ Sent mail to joe-21@example.com (1.8ms)
724
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
742
725
  From: please-change-me-at-config-initializers-devise@example.com
743
726
  Reply-To: please-change-me-at-config-initializers-devise@example.com
744
727
  To: joe-21@example.com
745
- Message-ID: <54a70351a04e7_8d13fe135065be899859@Aarons-MacBook-Air-3.local.mail>
728
+ Message-ID: <54aecafc9b837_374c3fd4da065bf0147f0@Aarons-iMac-3.local.mail>
746
729
  Subject: Confirmation instructions
747
730
  Mime-Version: 1.0
748
731
  Content-Type: text/html;
@@ -753,45 +736,38 @@ Content-Transfer-Encoding: 7bit
753
736
 
754
737
  <p>You can confirm your account email through the link below:</p>
755
738
 
756
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=xG4sqYm3zHMGgY372Mkq">Confirm my account</a></p>
739
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=SD8MVae_xt8UsMy4SLqY">Confirm my account</a></p>
757
740
 
758
-  (0.2ms) RELEASE SAVEPOINT active_record_2
741
+  (0.1ms) RELEASE SAVEPOINT active_record_2
759
742
  Processing by PushType::ConfirmationsController#update as HTML
760
- Parameters: {"user"=>{"confirmation_token"=>"xG4sqYm3zHMGgY372Mkq", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
761
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'bd41cf434d604a27093458c3f6cc9ccc2bc2c7ab6cc18608ef27ae4f0fa948d6' ORDER BY "push_type_users"."name" ASC LIMIT 1
762
- PushType::User Exists (0.6ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != '3cc8107c-b44d-4b58-ba4e-81755405cb6f') LIMIT 1
763
-  (0.2ms) SAVEPOINT active_record_2
764
- SQL (0.4ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmed_at" = $2, "encrypted_password" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = '3cc8107c-b44d-4b58-ba4e-81755405cb6f' [["confirmation_token", nil], ["confirmed_at", "2015-01-02 20:45:05.665649"], ["encrypted_password", "$2a$04$JxKxYx6oyVzTc6pmODj0iuytY7NJKCpLiiPWR.1gUNaer7nj5b/X2"], ["updated_at", "2015-01-02 20:45:05.666183"]]
765
-  (0.2ms) RELEASE SAVEPOINT active_record_2
766
-  (0.2ms) SAVEPOINT active_record_2
767
- SQL (0.4ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "current_sign_in_ip" = $2, "last_sign_in_at" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = '3cc8107c-b44d-4b58-ba4e-81755405cb6f' [["current_sign_in_at", "2015-01-02 20:45:05.668861"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_at", "2015-01-02 20:45:05.668861"], ["last_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-01-02 20:45:05.669731"]]
768
-  (0.1ms) RELEASE SAVEPOINT active_record_2
769
- Redirected to http://test.host/push_type/
770
- Completed 302 Found in 13ms (ActiveRecord: 2.4ms)
771
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "3cc8107c-b44d-4b58-ba4e-81755405cb6f"]]
743
+ Parameters: {"user"=>{"confirmation_token"=>"SD8MVae_xt8UsMy4SLqY", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
744
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '902f7d3a73b553d9ce966725686c483977a3a9dda511fbc4a9059e53ea4b5143' ORDER BY "push_type_users"."name" ASC LIMIT 1
745
+ 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" != '48f7c7fc-90a7-4450-aba5-b1e08f9e092f') LIMIT 1
746
+ Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (0.3ms)
747
+ Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.5ms)
772
748
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
773
749
   (0.1ms) ROLLBACK
774
750
   (0.1ms) BEGIN
775
- ------------------------------------------------------------------------------------
776
- PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
777
- ------------------------------------------------------------------------------------
778
-  (0.1ms) SAVEPOINT active_record_1
779
-  (0.1ms) RELEASE SAVEPOINT active_record_1
751
+ --------------------------------------------------------------------------------------
752
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
753
+ --------------------------------------------------------------------------------------
780
754
   (0.1ms) SAVEPOINT active_record_1
755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
756
+  (0.2ms) SAVEPOINT active_record_1
781
757
   (0.1ms) SAVEPOINT active_record_2
782
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
758
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
783
759
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
784
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '31c4de417594e60939c14d23015186bdd41d9a59776af35840435c2381a04dcf' ORDER BY "push_type_users"."name" ASC LIMIT 1
785
- SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-02 20:45:05.679855"], ["confirmation_token", "31c4de417594e60939c14d23015186bdd41d9a59776af35840435c2381a04dcf"], ["created_at", "2015-01-02 20:45:05.678750"], ["email", "joe-22@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-02 20:45:05.678750"]]
760
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '9438d14ce6b76ec103f7790d90bed9481356601d5831d4e680f5a5968e0c151d' ORDER BY "push_type_users"."name" ASC LIMIT 1
761
+ SQL (0.2ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2015-01-08 18:22:52.649029"], ["confirmation_token", "9438d14ce6b76ec103f7790d90bed9481356601d5831d4e680f5a5968e0c151d"], ["created_at", "2015-01-08 18:22:52.648241"], ["email", "joe-22@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2015-01-08 18:22:52.648241"]]
786
762
 
787
- Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
763
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.4ms
788
764
 
789
- Sent mail to joe-22@example.com (2.1ms)
790
- Date: Fri, 02 Jan 2015 20:45:05 +0000
765
+ Sent mail to joe-22@example.com (1.7ms)
766
+ Date: Thu, 08 Jan 2015 18:22:52 +0000
791
767
  From: please-change-me-at-config-initializers-devise@example.com
792
768
  Reply-To: please-change-me-at-config-initializers-devise@example.com
793
769
  To: joe-22@example.com
794
- Message-ID: <54a70351a6e24_8d13fe135065be8999f1@Aarons-MacBook-Air-3.local.mail>
770
+ Message-ID: <54aecafc9f3bb_374c3fd4da065bf0148a@Aarons-iMac-3.local.mail>
795
771
  Subject: Confirmation instructions
796
772
  Mime-Version: 1.0
797
773
  Content-Type: text/html;
@@ -802,20 +778,44 @@ Content-Transfer-Encoding: 7bit
802
778
 
803
779
  <p>You can confirm your account email through the link below:</p>
804
780
 
805
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=5wabyiLCWPakzFMkSo2M">Confirm my account</a></p>
781
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=yhdpASHyxinsaZxbKPw2">Confirm my account</a></p>
806
782
 
807
-  (0.2ms) RELEASE SAVEPOINT active_record_2
783
+  (0.1ms) RELEASE SAVEPOINT active_record_2
808
784
  Processing by PushType::ConfirmationsController#update as HTML
809
- Parameters: {"user"=>{"confirmation_token"=>"5wabyiLCWPakzFMkSo2M", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
810
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '31c4de417594e60939c14d23015186bdd41d9a59776af35840435c2381a04dcf' ORDER BY "push_type_users"."name" ASC LIMIT 1
811
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-22@example.com' AND "push_type_users"."id" != '1ff42150-fad4-418b-8a69-6121f5a15308') LIMIT 1
812
-  (0.1ms) SAVEPOINT active_record_2
813
- SQL (0.6ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmed_at" = $2, "encrypted_password" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = '1ff42150-fad4-418b-8a69-6121f5a15308' [["confirmation_token", nil], ["confirmed_at", "2015-01-02 20:45:05.692662"], ["encrypted_password", "$2a$04$mHHabpFpWdZ3SY7mAmFd6.pqQHLynLB0mDvUnfCujQE0ggBVtjhyi"], ["updated_at", "2015-01-02 20:45:05.692995"]]
814
-  (0.2ms) RELEASE SAVEPOINT active_record_2
815
-  (0.2ms) SAVEPOINT active_record_2
816
- SQL (0.4ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "current_sign_in_ip" = $2, "last_sign_in_at" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = '1ff42150-fad4-418b-8a69-6121f5a15308' [["current_sign_in_at", "2015-01-02 20:45:05.695584"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_at", "2015-01-02 20:45:05.695584"], ["last_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-01-02 20:45:05.696357"]]
817
-  (0.2ms) RELEASE SAVEPOINT active_record_2
818
- Redirected to http://test.host/push_type/
819
- Completed 302 Found in 11ms (ActiveRecord: 2.4ms)
820
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
785
+ Parameters: {"user"=>{"confirmation_token"=>"yhdpASHyxinsaZxbKPw2", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
786
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '9438d14ce6b76ec103f7790d90bed9481356601d5831d4e680f5a5968e0c151d' ORDER BY "push_type_users"."name" ASC LIMIT 1
787
+ 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" != 'c2d67035-98f1-442a-9a9f-04b338a29abc') LIMIT 1
788
+ Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (0.4ms)
789
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.5ms)
790
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
791
+  (0.1ms) ROLLBACK
792
+  (0.1ms) BEGIN
793
+ --------------------------------------------------------------------------------------------------
794
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
795
+ --------------------------------------------------------------------------------------------------
796
+  (0.1ms) SAVEPOINT active_record_1
797
+  (0.1ms) RELEASE SAVEPOINT active_record_1
798
+  (0.1ms) SAVEPOINT active_record_1
799
+ Processing by PushType::ConfirmationsController#show as HTML
800
+ Parameters: {"confirmation_token"=>"invalid"}
801
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '6f47b57a194284205b5448f457f91103ea3334979918c7ec11417a4de68f18b9' ORDER BY "push_type_users"."name" ASC LIMIT 1
802
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '6f47b57a194284205b5448f457f91103ea3334979918c7ec11417a4de68f18b9' ORDER BY "push_type_users"."name" ASC LIMIT 1
803
+ Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (0.3ms)
804
+ Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.4ms)
805
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
806
+  (0.1ms) ROLLBACK
807
+  (0.1ms) BEGIN
808
+ --------------------------------------------------------------------------------------------------
809
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
810
+ --------------------------------------------------------------------------------------------------
811
+  (0.1ms) SAVEPOINT active_record_1
812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
813
+  (0.0ms) SAVEPOINT active_record_1
814
+ Processing by PushType::ConfirmationsController#show as HTML
815
+ Parameters: {"confirmation_token"=>"invalid"}
816
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '6f47b57a194284205b5448f457f91103ea3334979918c7ec11417a4de68f18b9' ORDER BY "push_type_users"."name" ASC LIMIT 1
817
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '6f47b57a194284205b5448f457f91103ea3334979918c7ec11417a4de68f18b9' ORDER BY "push_type_users"."name" ASC LIMIT 1
818
+ Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (0.3ms)
819
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.5ms)
820
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
821
821
   (0.1ms) ROLLBACK