push_type_auth 0.3.3 → 0.4.0.beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/app/models/category.rb +6 -0
  3. data/test/dummy/app/views/taxonomies/category.html.erb +3 -0
  4. data/test/dummy/config/initializers/push_type.rb +3 -1
  5. data/test/dummy/config/secrets.yml +2 -2
  6. data/test/dummy/db/migrate/{20150310192231_create_push_type_users.push_type.rb → 20150406131621_create_push_type_users.push_type.rb} +1 -1
  7. data/test/dummy/db/migrate/{20150310192232_create_push_type_nodes.push_type.rb → 20150406131622_create_push_type_nodes.push_type.rb} +1 -1
  8. data/test/dummy/db/migrate/{20150310192233_create_push_type_node_hierarchies.push_type.rb → 20150406131623_create_push_type_node_hierarchies.push_type.rb} +2 -2
  9. data/test/dummy/db/migrate/{20150310192234_create_push_type_assets.push_type.rb → 20150406131624_create_push_type_assets.push_type.rb} +1 -1
  10. data/test/dummy/db/migrate/20150406131625_create_push_type_taxonomies.push_type.rb +19 -0
  11. data/test/dummy/db/migrate/20150406131626_create_push_type_taxonomy_hierarchies.push_type.rb +17 -0
  12. data/test/dummy/db/migrate/{20150310192235_devise_extend_push_type_users.push_type_auth.rb → 20150406131627_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  13. data/test/dummy/db/schema.rb +29 -9
  14. data/test/dummy/log/test.log +618 -581
  15. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_accordion.scssc +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_alert-boxes.scssc +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sass/5330c0fed9105a4e05d9a06b726c443772e12da7/_block-grid.scssc +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_breadcrumbs.scssc +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_button-groups.scssc +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_buttons.scssc +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sass/5330c0fed9105a4e05d9a06b726c443772e12da7/_clearing.scssc +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sass/5330c0fed9105a4e05d9a06b726c443772e12da7/_dropdown-buttons.scssc +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_dropdown.scssc +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_flex-video.scssc +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_forms.scssc +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_global.scssc +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_grid.scssc +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sass/5330c0fed9105a4e05d9a06b726c443772e12da7/_icon-bar.scssc +0 -0
  29. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_inline-lists.scssc +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_joyride.scssc +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_keystrokes.scssc +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_labels.scssc +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_magellan.scssc +0 -0
  34. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_offcanvas.scssc +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_orbit.scssc +0 -0
  36. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_pagination.scssc +0 -0
  37. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_panels.scssc +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_pricing-tables.scssc +0 -0
  39. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_progress-bars.scssc +0 -0
  40. data/test/dummy/tmp/cache/assets/test/sass/5330c0fed9105a4e05d9a06b726c443772e12da7/_range-slider.scssc +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sass/5330c0fed9105a4e05d9a06b726c443772e12da7/_reveal.scssc +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_side-nav.scssc +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_split-buttons.scssc +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_sub-nav.scssc +0 -0
  45. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_switches.scssc +0 -0
  46. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_tables.scssc +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sass/5330c0fed9105a4e05d9a06b726c443772e12da7/_tabs.scssc +0 -0
  48. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_thumbs.scssc +0 -0
  49. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_tooltips.scssc +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sass/5330c0fed9105a4e05d9a06b726c443772e12da7/_top-bar.scssc +0 -0
  51. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_type.scssc +0 -0
  52. data/test/dummy/tmp/cache/assets/test/sass/{9df51eb4a9ff930ccfaadb724cc88e9267641d13 → 5330c0fed9105a4e05d9a06b726c443772e12da7}/_visibility.scssc +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sass/{0bf981301b6f8cfa0a13d38a3554eafaa08d4bc1 → 8e964fb9e2b714a9d3faad7ab62f9bb5096b21bf}/foundation.scssc +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sass/{9ffd013d383870261f2263c294cb3119536e8d59 → c67795fea8d999e739d183abcc4d1330e25b5d36}/_functions.scssc +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sass/ddc338bd04efa4c6ae329e9f4f514bc8d0636fb5/admin.scssc +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sass/ddc338bd04efa4c6ae329e9f4f514bc8d0636fb5/admin_assets.scss.erbc +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sass/{2df752541ff0a319141a1cb83ca971d2ffd2d050 → ddc338bd04efa4c6ae329e9f4f514bc8d0636fb5}/foundation_and_overrides.scssc +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sass/{2df752541ff0a319141a1cb83ca971d2ffd2d050 → ddc338bd04efa4c6ae329e9f4f514bc8d0636fb5}/tagsinput.scssc +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/{aab84c1f5c24fa406a94eac09d22b2a4 → 01a43d14de05969bd75be96787102a8f} +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/{5eb2ada2e9af19cdbe5cb8750ce801df → 02df7daeaf181d2bf9db0859ace7ac78} +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/{0ad373f2b4d9f428b6e58e76da4ec0b9 → 052abf5f4f37b5a381d365f1d81a384f} +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/{ab6e14fb85dc2ad554e941848018ed3f → 0a4219947cd1a8d37dfcf91d3a09d557} +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/{3508023b6222e6b0876c773e38ec700d → 0dfb030e402960ab0409cd82dee0f77a} +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/{e6e78e14e8c962d31e6148ca56230af9 → 0f8fb5fc24f5163e89c3120d0db8a55c} +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/{27d0805c68db0e1ea5335f4ad7273237 → 10edc6da95775c8efb1aeeeccb3861c1} +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/{5f85da4ac11a64f005e2656b99be44ac → 165305bae06b65fba3b83e6f050e9449} +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/{5c694af01dab7474cace85e2e37233af → 1bca52bd72c5954d6cec5490cfd19619} +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/{faa4ce8149d6e520b0a0855bfd8853e0 → 1c148cfaa96fc18dd39206f147e0be89} +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/{9850ccc5ff77cfe44eef6c931be25fa2 → 1c1650864315928ff30ac15efdbd6a72} +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/234ab1ed0a06b51e80d3ce1f22eef80f +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/26a5499486141a1cfbcd492fca683376 +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/2b9a9bdd2d50fe0617cfd3ac8f3c7535 +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/{1956e934d0761e89293cf096aef2ad04 → 2c88d5a49fa0567e394c1d802a1143bd} +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/2cccbe983a0c901f050bbeb7e6560bb2 +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/{c1f21089f7723cec095d6155006b3369 → 3058de417013b181913f63773189a83b} +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/{c8e888c4098e2f3e7e08e7aad9233bd9 → 3b4a91ef8ae8c6c733bbf380db4a51b5} +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/4291f70c0b1b49b8cb37180e005f1ca5 +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/{ada55ab3ebb32ffd74145d341fbbcb06 → 44c04143276bf3ec3cb625eac0b4eb5f} +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/45fede24e630a3890ff78603adac3b40 +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/{fb4793fb33ff5da9202b3b44e1997140 → 4b96e071d5b0bea51754baa3a4fbcd67} +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/{03fbfd831772639fdac75dfe5fe9cf64 → 4f11fbb0626468698ded19f801463860} +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/50e721194ac7b2603499066264fe669d +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sprockets/{30f88df6b769522639aee569e18ab005 → 50ef1236c1f68b14a4447176f367df02} +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/{cf51890ac703ed5a5d704515a4721815 → 6270c8cc9bce4e44a28cb79decd0c682} +0 -0
  85. data/test/dummy/tmp/cache/assets/test/sprockets/{257233cf9d7cbb01dd74d0fefd6a9384 → 66d5f5d6173f5fcb483c033826309fe9} +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sprockets/{e540a9dc1aa001f8c4cba7a6b00f69d2 → 6892513841335338f628eb301e5e46f4} +0 -0
  87. data/test/dummy/tmp/cache/assets/test/sprockets/{6afb6cb0462c9dab19086aa6c02e619a → 69fad8b0193556718134a4be4088511b} +0 -0
  88. data/test/dummy/tmp/cache/assets/test/sprockets/{b78741de2e56d8ac6629bb0dbf1d5c20 → 6aab772e07a59a05ace08e2f0a8e4f6c} +0 -0
  89. data/test/dummy/tmp/cache/assets/test/sprockets/{488d63b20534d2642d48b86b5a267a3b → 6ddd06b6619f4db1c4c72ec71f516a9f} +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/{9c34afd1737e54e4eb06cc87ddf17b78 → 736f20368870e59baea915c56e465ce4} +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/{eeb045e353d91335ea6ec8a8869c322f → 74286734f262b9bfdaba269993f75768} +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/{0e97b69ac6f777e5725c5faa99228b8b → 74ec7f6ddd6cd98a7a197f6d1fdc7bdc} +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/{0e01ae9de0f3914c8317853aedd9ace4 → 755a8cd3fa84cdf03061014ccc2dd621} +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/{8b83fd34df285c871e41af1e2c3efda9 → 7dfe1759f6792869148aa1ee5ee25c32} +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/80c23adecc9454798ddea565b6e2f955 +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/81aeaaced37b66582a071d5aa54667be +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/{2929961e63046a72db4e8d82548a8f31 → 84af7f78cb0d1ce3a3fa87718e171f1c} +0 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/{0c7d363f5622cc1f9d3584fdea9a45a8 → 86297411722f24c420a876ea9ae18e37} +0 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/{b05f3b842ea70a8728bdfc77fe0c3a37 → 8c74b5681ecb45af77b61df5f959d79a} +0 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/{bb38dd1514d70d46cc209c23beacf4ae → 8ca58c6921452f516b6d3d1d6c86b4f5} +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sprockets/{ced03408b122864859822730d0840ce9 → 8cea556b168c6fc1ab50136853c06793} +0 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/93ebdecd5089eeabed49b171f1373c1c +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/{e28b8ab6a5b3ff792f45d5a6b7d806bc → 95dabfa1407631937482632b2fffcb03} +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/{8df98e9b5189ffce4cf77a33533416a6 → 99a0c3679c80558e28bba1ecd515a14a} +0 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/{226a629ec094e8ad208f2c273121699a → 9a2b48c02d01f27d021a726feaca4fd0} +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/9d76f803477c4099b6eb8f9d4d52736a +0 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/{a9b8decaa2942e8913458c9f35da2693 → 9fa1a48cec5e59b8081516d8f1979087} +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/{edaf2543a96ee921c30a071b3a73036f → a0869545029330f96741fc96ea2c6930} +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/{6ffb1f074155829dca88c57f3730a9c3 → a8bde5e0b1b491fb1a275b927bfcb5d8} +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/{7925f8f38f5165ad9d36a7d73dd00c06 → b1f4d4e270e25cda21255f606e3d8ffe} +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/{ac6920ecb59148769117dba39b8bb574 → b29fe26f1c1071b42a0bf9f055177649} +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/{93f1c8b2c57b6a34ce6be7a69af2eeab → b2e69a2811b5e6f453beaa71ff2faa3d} +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/{633ffb1bd470dc99106053fe08ffcef3 → b5576320a141123874f4348adeb3133f} +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/be63e5150ae78af2a53a3691c8edb579 +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/{a656594778473574f77b201837cc446f → c0d10e77d7fb7d6d965e882edfc5da61} +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/{1821710663a22c38d025f3600144b386 → c1b559fa06c770cd7065a4114d8fd93e} +0 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/{508e9ca93a5c6a60e79e3496654497cf → c3d450aa26d5c5f83bc68bcde998f61d} +0 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/{0be1680e56bd474e90098c85ed3613f1 → c3f4e4af5c70f490ae17047d3ed2bb51} +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/{edd24c59de6c00e4e68dbbdf2775984a → c642987b1e8317371d1fc3b3e1a7b55e} +0 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/{a93ec74f5cd7f26f8c663d4c481fe689 → c9cc9568b2b18e604aa3a9c9480d9763} +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/cda72f48ef5c694d8c96c8fe2d854629 +0 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/{25da091131e25acf0f55a6528a94f309 → d09161ef4c6cd263e36df8c8a4c86e18} +0 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/{ec01e589b2029448373e8112cfd62b6a → d5037255409c85197806006794fcdf40} +0 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/{fd06309bc284d80f9c2a30f32ed8df14 → d96931783ed30aa240c60fde4617a351} +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/{fba226eba4fa5dba560496c64a18009c → d9ddb0aea190ab4fea31822b19386853} +0 -0
  126. data/test/dummy/tmp/cache/assets/test/sprockets/{b762effbcb1d2a5c2e967b26de0b8e2a → db712d4dbb79c4ac60432dcce07bd466} +0 -0
  127. data/test/dummy/tmp/cache/assets/test/sprockets/{6245a5f4c9368169ba2cab2de39b1316 → dd4cfbacaf337f92d161db82f61315b8} +0 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/{2196fdacd39bb9f5c4e3755b86d84888 → e09a07bb146f5f5ce0f5b629c800acf3} +0 -0
  129. data/test/dummy/tmp/cache/assets/test/sprockets/{756b24d1d6762675f2f3d781313c59b6 → e129f696cc74c9cc667e27d4fad400d4} +0 -0
  130. data/test/dummy/tmp/cache/assets/test/sprockets/{91e13d81afe9041372ad8f79ee9159f4 → e5ca6700a0d0b3ddc3d4ce604e677015} +0 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/{64550cb088f2a8bd25da69f8e7623a7a → e5e26fc0f6b8bda87e424fc53d074460} +0 -0
  132. data/test/dummy/tmp/cache/assets/test/sprockets/{312dcc14683b058a2ecb35f844b45deb → e5e6786891e684e0780275d5931e0d4c} +0 -0
  133. data/test/dummy/tmp/cache/assets/test/sprockets/{7cd04ce7e67cb693aa31bd3e03199ecd → f1a08fd2d7d7ac59d48d3673f528208f} +0 -0
  134. data/test/dummy/tmp/cache/assets/test/sprockets/{720b83386eaf5707c1535472e36ba7fb → f76b0143f821cd347e8668babc8473c2} +0 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/{f96cec87308c4d1efa7993c38b770ba3 → ffd5d537d0557053f0955aefea60e00e} +0 -0
  136. metadata +270 -250
  137. data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin.scssc +0 -0
  138. data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin_assets.scss.erbc +0 -0
  139. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_block-grid.scssc +0 -0
  140. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_clearing.scssc +0 -0
  141. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_dropdown-buttons.scssc +0 -0
  142. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_icon-bar.scssc +0 -0
  143. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_range-slider.scssc +0 -0
  144. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_reveal.scssc +0 -0
  145. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tabs.scssc +0 -0
  146. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_top-bar.scssc +0 -0
  147. data/test/dummy/tmp/cache/assets/test/sprockets/147cd256ded8a7797a230bd1f27db96a +0 -0
  148. data/test/dummy/tmp/cache/assets/test/sprockets/23c10c485dbe7ea46614928874120ecf +0 -0
  149. data/test/dummy/tmp/cache/assets/test/sprockets/6c7542a3718ad8d161e94f4816f01ccb +0 -0
  150. data/test/dummy/tmp/cache/assets/test/sprockets/8d531fdb806de0724337e0b80e253914 +0 -0
  151. data/test/dummy/tmp/cache/assets/test/sprockets/c206fbd33f49ab785c6ddf4bcffd3b93 +0 -0
  152. data/test/dummy/tmp/cache/assets/test/sprockets/df90022afc0d52f16bc498be20a5967d +0 -0
  153. data/test/dummy/tmp/cache/assets/test/sprockets/f7cf86568d1c692cb0a565614f282572 +0 -0
@@ -1,49 +1,62 @@
1
-  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (14.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (11.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
3
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreatePushTypeUsers (20150310192231)
5
-  (0.1ms) BEGIN
4
+ Migrating to CreatePushTypeUsers (20150406131621)
5
+  (0.2ms) BEGIN
6
6
  SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
-  (2.2ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp, "updated_at" timestamp)
8
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150310192231"]]
9
-  (0.7ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20150310192232)
11
-  (0.2ms) BEGIN
12
-  (1.9ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
13
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150310192232"]]
14
-  (0.4ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20150310192233)
7
+  (13.7ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131621"]]
9
+  (5.8ms) COMMIT
10
+ Migrating to CreatePushTypeNodes (20150406131622)
16
11
   (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.6ms) CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150310192233"]]
21
-  (0.5ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20150310192234)
12
+  (13.2ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131622"]]
14
+  (5.5ms) COMMIT
15
+ Migrating to CreatePushTypeNodeHierarchies (20150406131623)
23
16
   (0.1ms) BEGIN
24
-  (2.0ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
25
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150310192234"]]
26
-  (0.4ms) COMMIT
27
- Migrating to DeviseExtendPushTypeUsers (20150310192235)
17
+  (0.6ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
+  (6.1ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
+  (6.0ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131623"]]
21
+  (5.9ms) COMMIT
22
+ Migrating to CreatePushTypeAssets (20150406131624)
28
23
   (0.1ms) BEGIN
29
-  (2.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
30
-  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
31
-  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
32
-  (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
33
-  (2.5ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
34
-  (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
35
-  (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
36
-  (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
37
-  (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
38
-  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
39
-  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
40
-  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
41
-  (0.5ms) 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", "20150310192235"]]
44
-  (1.1ms) COMMIT
45
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
-  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
24
+  (13.0ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131624"]]
26
+  (31.6ms) COMMIT
27
+ Migrating to CreatePushTypeTaxonomies (20150406131625)
28
+  (0.1ms) BEGIN
29
+  (13.1ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
30
+  (0.2ms) ALTER TABLE "push_type_assets" ADD "tags" character varying[]
31
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131625"]]
32
+  (8.1ms) COMMIT
33
+ Migrating to CreatePushTypeTaxonomyHierarchies (20150406131626)
34
+  (0.1ms) BEGIN
35
+  (0.6ms) CREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
36
+  (8.6ms) CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
37
+  (10.8ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131626"]]
39
+  (9.1ms) COMMIT
40
+ Migrating to DeviseExtendPushTypeUsers (20150406131627)
41
+  (0.1ms) BEGIN
42
+  (16.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
43
+  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
44
+  (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
45
+  (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
46
+  (13.8ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
47
+  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
48
+  (0.2ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
49
+  (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
50
+  (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
51
+  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
52
+  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
53
+  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
54
+  (6.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
55
+  (6.4ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
56
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131627"]]
57
+  (6.8ms) COMMIT
58
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
59
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
47
60
  FROM pg_constraint c
48
61
  JOIN pg_class t1 ON c.conrelid = t1.oid
49
62
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -54,8 +67,8 @@ WHERE c.contype = 'f'
54
67
  AND t1.relname = 'push_type_assets'
55
68
  AND t3.nspname = ANY (current_schemas(false))
56
69
  ORDER BY c.conname
57
- 
58
-  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
70
+
71
+  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
59
72
  FROM pg_constraint c
60
73
  JOIN pg_class t1 ON c.conrelid = t1.oid
61
74
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -66,8 +79,8 @@ WHERE c.contype = 'f'
66
79
  AND t1.relname = 'push_type_node_hierarchies'
67
80
  AND t3.nspname = ANY (current_schemas(false))
68
81
  ORDER BY c.conname
69
-
70
-  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
82
+ 
83
+  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
71
84
  FROM pg_constraint c
72
85
  JOIN pg_class t1 ON c.conrelid = t1.oid
73
86
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -78,8 +91,20 @@ WHERE c.contype = 'f'
78
91
  AND t1.relname = 'push_type_nodes'
79
92
  AND t3.nspname = ANY (current_schemas(false))
80
93
  ORDER BY c.conname
94
+
95
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
96
+ FROM pg_constraint c
97
+ JOIN pg_class t1 ON c.conrelid = t1.oid
98
+ JOIN pg_class t2 ON c.confrelid = t2.oid
99
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
100
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
101
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
102
+ WHERE c.contype = 'f'
103
+ AND t1.relname = 'push_type_taxonomies'
104
+ AND t3.nspname = ANY (current_schemas(false))
105
+ ORDER BY c.conname
81
106
  
82
-  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
107
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
83
108
  FROM pg_constraint c
84
109
  JOIN pg_class t1 ON c.conrelid = t1.oid
85
110
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -87,137 +112,73 @@ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
87
112
  JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
88
113
  JOIN pg_namespace t3 ON c.connamespace = t3.oid
89
114
  WHERE c.contype = 'f'
90
- AND t1.relname = 'push_type_users'
115
+ AND t1.relname = 'push_type_taxonomy_hierarchies'
91
116
  AND t3.nspname = ANY (current_schemas(false))
92
117
  ORDER BY c.conname
93
118
 
119
+  (1.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
120
+ FROM pg_constraint c
121
+ JOIN pg_class t1 ON c.conrelid = t1.oid
122
+ JOIN pg_class t2 ON c.confrelid = t2.oid
123
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
124
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
125
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
126
+ WHERE c.contype = 'f'
127
+ AND t1.relname = 'push_type_users'
128
+ AND t3.nspname = ANY (current_schemas(false))
129
+ ORDER BY c.conname
130
+ 
94
131
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
95
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
96
-  (1.2ms)  SELECT schemaname || '.' || tablename
132
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
133
+  (1.1ms)  SELECT schemaname || '.' || tablename
97
134
  FROM pg_tables
98
135
  WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
99
136
  
100
137
   (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'
101
-  (8.9ms) TRUNCATE TABLE "public"."schema_migrations", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
102
-  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL
103
-  (0.1ms) BEGIN
104
- ---------------------------------------------------------------------------------
105
- PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
106
- ---------------------------------------------------------------------------------
107
-  (0.1ms) SAVEPOINT active_record_1
108
-  (0.1ms) RELEASE SAVEPOINT active_record_1
109
-  (0.1ms) SAVEPOINT active_record_1
110
-  (0.1ms) SAVEPOINT active_record_2
111
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
112
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
113
- SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:36.611827"], ["confirmed_at", "2015-03-10 19:22:36.611949"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:36.622237"], ["updated_at", "2015-03-10 19:22:36.622237"]]
114
-  (0.1ms) RELEASE SAVEPOINT active_record_2
115
- Processing by PushType::ProfilesController#update as HTML
116
- Parameters: {"user"=>{"name"=>""}}
117
- 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", "c4ba2b4c-fc4f-474a-92ba-a83bf46e99c5"]]
118
-  (0.1ms) SAVEPOINT active_record_2
119
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != 'c4ba2b4c-fc4f-474a-92ba-a83bf46e99c5') LIMIT 1
120
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
121
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (39.4ms)
122
- Completed 200 OK in 6261ms (Views: 6243.7ms | ActiveRecord: 0.7ms)
123
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
124
-  (0.2ms) ROLLBACK
125
-  (0.1ms) BEGIN
126
- ---------------------------------------------------------------------------------
127
- PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
128
- ---------------------------------------------------------------------------------
129
-  (0.1ms) SAVEPOINT active_record_1
130
-  (0.0ms) RELEASE SAVEPOINT active_record_1
131
-  (0.0ms) SAVEPOINT active_record_1
132
-  (0.1ms) SAVEPOINT active_record_2
133
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
134
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
135
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:42.892872"], ["confirmed_at", "2015-03-10 19:22:42.893009"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:42.895028"], ["updated_at", "2015-03-10 19:22:42.895028"]]
136
-  (0.1ms) RELEASE SAVEPOINT active_record_2
137
- Processing by PushType::ProfilesController#update as HTML
138
- Parameters: {"user"=>{"name"=>""}}
139
- 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", "86f5fb4c-3af4-495f-b8c5-a8990deb6b0a"]]
140
-  (0.1ms) SAVEPOINT active_record_2
141
- 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" != '86f5fb4c-3af4-495f-b8c5-a8990deb6b0a') LIMIT 1
142
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
143
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.6ms)
144
- Completed 200 OK in 24ms (Views: 19.3ms | ActiveRecord: 0.5ms)
145
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
146
-  (0.1ms) ROLLBACK
147
-  (0.1ms) BEGIN
148
- --------------------------------------------------------------------------------------------------
149
- PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
150
- --------------------------------------------------------------------------------------------------
151
-  (0.1ms) SAVEPOINT active_record_1
152
-  (0.1ms) RELEASE SAVEPOINT active_record_1
153
-  (0.1ms) SAVEPOINT active_record_1
154
- Processing by PushType::ConfirmationsController#show as HTML
155
- Parameters: {"confirmation_token"=>"invalid"}
156
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "448bdff7740e8d5bf1e78d6ca6ff5ef2e7c306ad1360c91fd2272af7ac775386"]]
157
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "448bdff7740e8d5bf1e78d6ca6ff5ef2e7c306ad1360c91fd2272af7ac775386"]]
158
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (5.4ms)
159
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (12.0ms)
160
- Completed 200 OK in 192ms (Views: 16.6ms | ActiveRecord: 0.3ms)
161
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
162
-  (0.1ms) ROLLBACK
163
-  (0.1ms) BEGIN
164
- --------------------------------------------------------------------------------------------------
165
- PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
166
- --------------------------------------------------------------------------------------------------
167
-  (0.0ms) SAVEPOINT active_record_1
168
-  (0.1ms) RELEASE SAVEPOINT active_record_1
169
-  (0.0ms) SAVEPOINT active_record_1
170
- Processing by PushType::ConfirmationsController#show as HTML
171
- Parameters: {"confirmation_token"=>"invalid"}
172
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "448bdff7740e8d5bf1e78d6ca6ff5ef2e7c306ad1360c91fd2272af7ac775386"]]
173
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "448bdff7740e8d5bf1e78d6ca6ff5ef2e7c306ad1360c91fd2272af7ac775386"]]
174
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.8ms)
175
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.2ms)
176
- Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms)
177
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
178
-  (0.1ms) ROLLBACK
179
-  (0.1ms) BEGIN
138
+  (11.6ms) TRUNCATE TABLE "public"."schema_migrations", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
139
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
140
+  (0.2ms) BEGIN
180
141
  -------------------------------------------------------------------------------
181
142
  PushType::ProfilesController::PUT #update::with valid user: test_0001_anonymous
182
143
  -------------------------------------------------------------------------------
183
-  (0.0ms) SAVEPOINT active_record_1
184
-  (0.0ms) RELEASE SAVEPOINT active_record_1
185
144
   (0.1ms) SAVEPOINT active_record_1
145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146
+  (0.0ms) SAVEPOINT active_record_1
186
147
   (0.1ms) SAVEPOINT active_record_2
187
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
188
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
189
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:43.139087"], ["confirmed_at", "2015-03-10 19:22:43.139204"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:43.140875"], ["updated_at", "2015-03-10 19:22:43.140875"]]
148
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
149
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
150
+ SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:27.356286"], ["confirmed_at", "2015-04-06 13:16:27.356407"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:27.373678"], ["updated_at", "2015-04-06 13:16:27.373678"]]
190
151
   (0.1ms) RELEASE SAVEPOINT active_record_2
191
152
  Processing by PushType::ProfilesController#update as HTML
192
153
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
193
- 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", "60a2dcf7-cd69-48d8-9365-3ad8f06cc2ec"]]
154
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "828baf34-81c5-44e3-b10f-4b96b2b3e34f"]]
194
155
   (0.1ms) SAVEPOINT active_record_2
195
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '60a2dcf7-cd69-48d8-9365-3ad8f06cc2ec') LIMIT 1
196
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-03-10 19:22:43.147746"], ["id", "60a2dcf7-cd69-48d8-9365-3ad8f06cc2ec"]]
156
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '828baf34-81c5-44e3-b10f-4b96b2b3e34f') LIMIT 1
157
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-06 13:16:27.395980"], ["id", "828baf34-81c5-44e3-b10f-4b96b2b3e34f"]]
197
158
   (0.1ms) RELEASE SAVEPOINT active_record_2
198
159
  Redirected to http://test.host/push_type/profile/edit
199
- Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
200
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "60a2dcf7-cd69-48d8-9365-3ad8f06cc2ec"]]
160
+ Completed 302 Found in 18ms (ActiveRecord: 0.9ms)
161
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "828baf34-81c5-44e3-b10f-4b96b2b3e34f"]]
201
162
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
202
163
   (0.1ms) ROLLBACK
203
164
   (0.1ms) BEGIN
204
165
  -------------------------------------------------------------------------------
205
166
  PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
206
167
  -------------------------------------------------------------------------------
207
-  (0.0ms) SAVEPOINT active_record_1
168
+  (0.1ms) SAVEPOINT active_record_1
208
169
   (0.0ms) RELEASE SAVEPOINT active_record_1
209
170
   (0.0ms) SAVEPOINT active_record_1
210
171
   (0.1ms) SAVEPOINT active_record_2
211
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
212
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
213
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:43.153836"], ["confirmed_at", "2015-03-10 19:22:43.153939"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:43.155439"], ["updated_at", "2015-03-10 19:22:43.155439"]]
172
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
173
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
174
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:27.403076"], ["confirmed_at", "2015-04-06 13:16:27.403195"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:27.404806"], ["updated_at", "2015-04-06 13:16:27.404806"]]
214
175
   (0.1ms) RELEASE SAVEPOINT active_record_2
215
176
  Processing by PushType::ProfilesController#update as HTML
216
177
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
217
- 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", "1cd03d5a-8a95-42df-97bf-95d221c7358e"]]
178
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "f9357325-2b4c-43f7-bf55-25f4ccff5f79"]]
218
179
   (0.1ms) SAVEPOINT active_record_2
219
- 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" != '1cd03d5a-8a95-42df-97bf-95d221c7358e') LIMIT 1
220
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-03-10 19:22:43.162405"], ["id", "1cd03d5a-8a95-42df-97bf-95d221c7358e"]]
180
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != 'f9357325-2b4c-43f7-bf55-25f4ccff5f79') LIMIT 1
181
+ SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-06 13:16:27.412228"], ["id", "f9357325-2b4c-43f7-bf55-25f4ccff5f79"]]
221
182
   (0.1ms) RELEASE SAVEPOINT active_record_2
222
183
  Redirected to http://test.host/push_type/profile/edit
223
184
  Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
@@ -228,55 +189,55 @@ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
228
189
  PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
229
190
  -------------------------------------------------------------------------------
230
191
   (0.1ms) SAVEPOINT active_record_1
231
-  (0.0ms) RELEASE SAVEPOINT active_record_1
232
-  (0.0ms) SAVEPOINT active_record_1
192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
193
+  (0.1ms) SAVEPOINT active_record_1
233
194
   (0.1ms) SAVEPOINT active_record_2
234
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
235
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
236
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:43.167393"], ["confirmed_at", "2015-03-10 19:22:43.167500"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:43.169619"], ["updated_at", "2015-03-10 19:22:43.169619"]]
195
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
196
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
197
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:27.417233"], ["confirmed_at", "2015-04-06 13:16:27.417345"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:27.419103"], ["updated_at", "2015-04-06 13:16:27.419103"]]
237
198
   (0.1ms) RELEASE SAVEPOINT active_record_2
238
199
  Processing by PushType::ProfilesController#update as HTML
239
200
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
240
- 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", "ba59a980-7aeb-402b-83fe-6efd0e5b6a6a"]]
201
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "c3526234-91f3-4aaa-80f6-3c5294b571f1"]]
241
202
   (0.1ms) SAVEPOINT active_record_2
242
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != 'ba59a980-7aeb-402b-83fe-6efd0e5b6a6a') LIMIT 1
243
- SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-03-10 19:22:43.177944"], ["id", "ba59a980-7aeb-402b-83fe-6efd0e5b6a6a"]]
203
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != 'c3526234-91f3-4aaa-80f6-3c5294b571f1') LIMIT 1
204
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-04-06 13:16:27.426344"], ["id", "c3526234-91f3-4aaa-80f6-3c5294b571f1"]]
244
205
   (0.1ms) RELEASE SAVEPOINT active_record_2
245
206
  Redirected to http://test.host/push_type/profile/edit
246
207
  Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
247
208
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
248
209
   (0.1ms) ROLLBACK
249
210
   (0.1ms) BEGIN
250
- ------------------------------------------------------------------------------------
251
- PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
252
- ------------------------------------------------------------------------------------
211
+ ------------------------------------------------------------------------------------------------
212
+ PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
213
+ ------------------------------------------------------------------------------------------------
253
214
   (0.1ms) SAVEPOINT active_record_1
254
215
   (0.1ms) RELEASE SAVEPOINT active_record_1
255
-  (0.1ms) SAVEPOINT active_record_1
216
+  (0.0ms) SAVEPOINT active_record_1
256
217
   (0.1ms) SAVEPOINT active_record_2
257
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
258
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
259
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "52dfd560f10bcec5d0e4b05e0881591e82d6ea0159e15f7a62af06d895b72cc6"]]
260
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-03-10 19:22:43.185895"], ["updated_at", "2015-03-10 19:22:43.185895"], ["confirmation_token", "52dfd560f10bcec5d0e4b05e0881591e82d6ea0159e15f7a62af06d895b72cc6"], ["confirmation_sent_at", "2015-03-10 19:22:43.186827"]]
261
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.6ms)
218
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
219
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
220
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "a2ecaaed9a6b57b193fa6f69dd05e64f7ce35cc1009569b84eba674281c54a9e"]]
221
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-04-06 13:16:27.436171"], ["updated_at", "2015-04-06 13:16:27.436171"], ["confirmation_token", "a2ecaaed9a6b57b193fa6f69dd05e64f7ce35cc1009569b84eba674281c54a9e"], ["confirmation_sent_at", "2015-04-06 13:16:27.596168"]]
222
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (3.7ms)
262
223
 
263
- Devise::Mailer#confirmation_instructions: processed outbound mail in 111.8ms
224
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 150.7ms
264
225
 
265
- Sent mail to joe-6@example.com (9.0ms)
266
- Date: Tue, 10 Mar 2015 19:22:43 +0000
226
+ Sent mail to joe-4@example.com (6.6ms)
227
+ Date: Mon, 06 Apr 2015 14:16:27 +0100
267
228
  From: pushtype@example.com
268
229
  Reply-To: pushtype@example.com
269
- To: joe-6@example.com
270
- Message-ID: <54ff44835572c_7adc3ffa3cc65be496811@Aarons-iMac.local.mail>
230
+ To: joe-4@example.com
231
+ Message-ID: <5522872bbfd32_58a13fddd0465be857883@Aarons-iMac.local.mail>
271
232
  Subject: [PushType] Confirm your account
272
233
  Mime-Version: 1.0
273
234
  Content-Type: multipart/alternative;
274
- boundary="--==_mimepart_54ff44835420b_7adc3ffa3cc65be4967d2";
235
+ boundary="--==_mimepart_5522872bbeeaa_58a13fddd0465be857766";
275
236
  charset=UTF-8
276
237
  Content-Transfer-Encoding: 7bit
277
238
 
278
239
 
279
- ----==_mimepart_54ff44835420b_7adc3ffa3cc65be4967d2
240
+ ----==_mimepart_5522872bbeeaa_58a13fddd0465be857766
280
241
  Content-Type: text/plain;
281
242
  charset=UTF-8
282
243
  Content-Transfer-Encoding: 7bit
@@ -291,11 +252,11 @@ created for you.
291
252
  To get started, confirm your account and set your own password by
292
253
  clicking the link below:
293
254
 
294
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=s4Nh8XPzgigb9_B_HNXw )
255
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=G5Gk7EsMjoYj3Cx1TjLW )
295
256
 
296
257
  PushType is brought to you by Push Code:
297
258
  type.pushcode.com ( http://type.pushcode.com ).
298
- ----==_mimepart_54ff44835420b_7adc3ffa3cc65be4967d2
259
+ ----==_mimepart_5522872bbeeaa_58a13fddd0465be857766
299
260
  Content-Type: text/html;
300
261
  charset=UTF-8
301
262
  Content-Transfer-Encoding: 7bit
@@ -341,7 +302,7 @@ body {
341
302
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
342
303
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
343
304
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
344
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=s4Nh8XPzgigb9_B_HNXw" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
305
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=G5Gk7EsMjoYj3Cx1TjLW" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
345
306
  </td>
346
307
  </tr>
347
308
  </table>
@@ -386,55 +347,48 @@ body {
386
347
  </body>
387
348
  </html>
388
349
 
389
- ----==_mimepart_54ff44835420b_7adc3ffa3cc65be4967d2--
350
+ ----==_mimepart_5522872bbeeaa_58a13fddd0465be857766--
390
351
 
391
352
   (0.1ms) RELEASE SAVEPOINT active_record_2
392
- Processing by PushType::ConfirmationsController#update as HTML
393
- Parameters: {"user"=>{"confirmation_token"=>"s4Nh8XPzgigb9_B_HNXw", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
394
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "52dfd560f10bcec5d0e4b05e0881591e82d6ea0159e15f7a62af06d895b72cc6"]]
395
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != '82bb7301-9409-4114-8a90-5d9b8ee661d8') LIMIT 1
396
-  (0.1ms) SAVEPOINT active_record_2
397
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$GDCCC5AtcSNRGFNQMAHuDuj.pPgR9vREvFH5/hyqs7RgO34QrMDGi"], ["confirmed_at", "2015-03-10 19:22:43.360223"], ["updated_at", "2015-03-10 19:22:43.360648"], ["id", "82bb7301-9409-4114-8a90-5d9b8ee661d8"]]
398
-  (0.1ms) RELEASE SAVEPOINT active_record_2
399
-  (0.1ms) SAVEPOINT active_record_2
400
- SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-03-10 19:22:43.362078"], ["current_sign_in_at", "2015-03-10 19:22:43.362078"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-03-10 19:22:43.362802"], ["id", "82bb7301-9409-4114-8a90-5d9b8ee661d8"]]
401
-  (0.1ms) RELEASE SAVEPOINT active_record_2
402
- Redirected to http://test.host/push_type/
403
- Completed 302 Found in 9ms (ActiveRecord: 1.1ms)
404
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "82bb7301-9409-4114-8a90-5d9b8ee661d8"]]
405
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
406
-  (0.1ms) ROLLBACK
353
+ Processing by PushType::ConfirmationsController#show as HTML
354
+ Parameters: {"confirmation_token"=>"G5Gk7EsMjoYj3Cx1TjLW"}
355
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "a2ecaaed9a6b57b193fa6f69dd05e64f7ce35cc1009569b84eba674281c54a9e"]]
356
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (5.5ms)
357
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (16.2ms)
358
+ Completed 200 OK in 6486ms (Views: 6484.7ms | ActiveRecord: 0.2ms)
359
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
360
+  (0.2ms) ROLLBACK
407
361
   (0.1ms) BEGIN
408
- ------------------------------------------------------------------------------------
409
- PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
410
- ------------------------------------------------------------------------------------
411
-  (0.0ms) SAVEPOINT active_record_1
412
-  (0.0ms) RELEASE SAVEPOINT active_record_1
413
-  (0.0ms) SAVEPOINT active_record_1
362
+ ------------------------------------------------------------------------------------------------
363
+ PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
364
+ ------------------------------------------------------------------------------------------------
365
+  (0.1ms) SAVEPOINT active_record_1
366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
367
+  (0.1ms) SAVEPOINT active_record_1
414
368
   (0.1ms) SAVEPOINT active_record_2
415
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
416
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
417
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "1e4acf72f5b6fcde08f7fadf7f4ff9918bfc391df21a2c8cab038b58c1784b37"]]
418
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", "2015-03-10 19:22:43.369563"], ["updated_at", "2015-03-10 19:22:43.369563"], ["confirmation_token", "1e4acf72f5b6fcde08f7fadf7f4ff9918bfc391df21a2c8cab038b58c1784b37"], ["confirmation_sent_at", "2015-03-10 19:22:43.370380"]]
419
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.9ms)
369
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
370
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
371
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "9721bda11ac22d31cdc50063e4fd379970228157f18619f5d683157cd8352f29"]]
372
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", "2015-04-06 13:16:34.283494"], ["updated_at", "2015-04-06 13:16:34.283494"], ["confirmation_token", "9721bda11ac22d31cdc50063e4fd379970228157f18619f5d683157cd8352f29"], ["confirmation_sent_at", "2015-04-06 13:16:34.284586"]]
373
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
420
374
 
421
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
375
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.2ms
422
376
 
423
- Sent mail to joe-7@example.com (2.9ms)
424
- Date: Tue, 10 Mar 2015 19:22:43 +0000
377
+ Sent mail to joe-5@example.com (3.2ms)
378
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
425
379
  From: pushtype@example.com
426
380
  Reply-To: pushtype@example.com
427
- To: joe-7@example.com
428
- Message-ID: <54ff448369fa4_7adc3ffa3cc65be497150@Aarons-iMac.local.mail>
381
+ To: joe-5@example.com
382
+ Message-ID: <552287324dbe2_58a13fddd0465be8581aa@Aarons-iMac.local.mail>
429
383
  Subject: [PushType] Confirm your account
430
384
  Mime-Version: 1.0
431
385
  Content-Type: multipart/alternative;
432
- boundary="--==_mimepart_54ff448369a40_7adc3ffa3cc65be497081";
386
+ boundary="--==_mimepart_552287324d5f1_58a13fddd0465be8580c";
433
387
  charset=UTF-8
434
388
  Content-Transfer-Encoding: 7bit
435
389
 
436
390
 
437
- ----==_mimepart_54ff448369a40_7adc3ffa3cc65be497081
391
+ ----==_mimepart_552287324d5f1_58a13fddd0465be8580c
438
392
  Content-Type: text/plain;
439
393
  charset=UTF-8
440
394
  Content-Transfer-Encoding: 7bit
@@ -449,11 +403,11 @@ created for you.
449
403
  To get started, confirm your account and set your own password by
450
404
  clicking the link below:
451
405
 
452
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=y6CdMY53nGgYyboTFQz2 )
406
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=eqwWUMcyS-x-V7yrxFzL )
453
407
 
454
408
  PushType is brought to you by Push Code:
455
409
  type.pushcode.com ( http://type.pushcode.com ).
456
- ----==_mimepart_54ff448369a40_7adc3ffa3cc65be497081
410
+ ----==_mimepart_552287324d5f1_58a13fddd0465be8580c
457
411
  Content-Type: text/html;
458
412
  charset=UTF-8
459
413
  Content-Transfer-Encoding: 7bit
@@ -499,7 +453,7 @@ body {
499
453
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
500
454
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
501
455
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
502
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=y6CdMY53nGgYyboTFQz2" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
456
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=eqwWUMcyS-x-V7yrxFzL" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
503
457
  </td>
504
458
  </tr>
505
459
  </table>
@@ -544,95 +498,48 @@ body {
544
498
  </body>
545
499
  </html>
546
500
 
547
- ----==_mimepart_54ff448369a40_7adc3ffa3cc65be497081--
501
+ ----==_mimepart_552287324d5f1_58a13fddd0465be8580c--
548
502
 
549
503
   (0.1ms) RELEASE SAVEPOINT active_record_2
550
- Processing by PushType::ConfirmationsController#update as HTML
551
- Parameters: {"user"=>{"confirmation_token"=>"y6CdMY53nGgYyboTFQz2", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
552
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "1e4acf72f5b6fcde08f7fadf7f4ff9918bfc391df21a2c8cab038b58c1784b37"]]
553
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '3794dec4-c6bf-43a1-bdc7-4033c99e6258') LIMIT 1
554
-  (0.1ms) SAVEPOINT active_record_2
555
- SQL (0.1ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$ZlCfvHd/lGjTXcMSUdsYyeBgfK886.YiTDNiWb3BUrHYoLeYiQrmC"], ["confirmed_at", "2015-03-10 19:22:43.442068"], ["updated_at", "2015-03-10 19:22:43.442396"], ["id", "3794dec4-c6bf-43a1-bdc7-4033c99e6258"]]
556
-  (0.1ms) RELEASE SAVEPOINT active_record_2
557
-  (0.1ms) SAVEPOINT active_record_2
558
- SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-03-10 19:22:43.443649"], ["current_sign_in_at", "2015-03-10 19:22:43.443649"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-03-10 19:22:43.444224"], ["id", "3794dec4-c6bf-43a1-bdc7-4033c99e6258"]]
559
-  (0.1ms) RELEASE SAVEPOINT active_record_2
560
- Redirected to http://test.host/push_type/
561
- Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
562
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
563
-  (0.2ms) ROLLBACK
564
-  (0.1ms) BEGIN
565
- ------------------------------------------------------------
566
- PushType::ProfilesController::GET #edit: test_0001_anonymous
567
- ------------------------------------------------------------
568
-  (0.1ms) SAVEPOINT active_record_1
569
-  (0.1ms) RELEASE SAVEPOINT active_record_1
570
-  (0.1ms) SAVEPOINT active_record_1
571
-  (0.1ms) SAVEPOINT active_record_2
572
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
573
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
574
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:43.452167"], ["confirmed_at", "2015-03-10 19:22:43.452277"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:43.453960"], ["updated_at", "2015-03-10 19:22:43.453960"]]
575
-  (0.1ms) RELEASE SAVEPOINT active_record_2
576
- Processing by PushType::ProfilesController#edit as HTML
577
- 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", "e09bc67d-8307-46d1-8462-e0e5a11f725e"]]
578
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.4ms)
579
- Completed 200 OK in 22ms (Views: 19.1ms | ActiveRecord: 0.2ms)
580
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
581
-  (0.1ms) ROLLBACK
582
-  (0.1ms) BEGIN
583
- ------------------------------------------------------------
584
- PushType::ProfilesController::GET #edit: test_0002_anonymous
585
- ------------------------------------------------------------
586
-  (0.1ms) SAVEPOINT active_record_1
587
-  (0.0ms) RELEASE SAVEPOINT active_record_1
588
-  (0.0ms) SAVEPOINT active_record_1
589
-  (0.1ms) SAVEPOINT active_record_2
590
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
591
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
592
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:43.480942"], ["confirmed_at", "2015-03-10 19:22:43.481059"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:43.482819"], ["updated_at", "2015-03-10 19:22:43.482819"]]
593
-  (0.1ms) RELEASE SAVEPOINT active_record_2
594
- Processing by PushType::ProfilesController#edit as HTML
595
- 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", "2ba0e13b-7d92-4516-b08c-70a12a7afbf7"]]
596
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.4ms)
597
- Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.1ms)
598
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
599
-  (0.1ms) ROLLBACK
600
-  (0.1ms) BEGIN
601
- -----------------------------------------------------------
602
- PushType::UsersController::PUT #invite: test_0001_anonymous
603
- -----------------------------------------------------------
604
-  (0.1ms) SAVEPOINT active_record_1
605
-  (0.1ms) RELEASE SAVEPOINT active_record_1
606
-  (0.1ms) SAVEPOINT active_record_1
607
-  (0.1ms) SAVEPOINT active_record_2
608
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
609
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
610
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:43.510848"], ["confirmed_at", "2015-03-10 19:22:43.510963"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:43.512823"], ["updated_at", "2015-03-10 19:22:43.512823"]]
611
-  (0.1ms) RELEASE SAVEPOINT active_record_2
504
+ Processing by PushType::ConfirmationsController#show as HTML
505
+ Parameters: {"confirmation_token"=>"eqwWUMcyS-x-V7yrxFzL"}
506
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "9721bda11ac22d31cdc50063e4fd379970228157f18619f5d683157cd8352f29"]]
507
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.0ms)
508
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.2ms)
509
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
510
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
511
+  (0.1ms) ROLLBACK
512
+  (0.1ms) BEGIN
513
+ --------------------------------------------------------------------------------------
514
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
515
+ --------------------------------------------------------------------------------------
516
+  (0.1ms) SAVEPOINT active_record_1
517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
518
+  (0.1ms) SAVEPOINT active_record_1
612
519
   (0.1ms) SAVEPOINT active_record_2
613
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
614
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
615
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "aedad874b1d641a3fee007c598150574a392f56ce3154ec56a4fd219333eda19"]]
616
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", "2015-03-10 19:22:43.515826"], ["updated_at", "2015-03-10 19:22:43.515826"], ["confirmation_token", "aedad874b1d641a3fee007c598150574a392f56ce3154ec56a4fd219333eda19"], ["confirmation_sent_at", "2015-03-10 19:22:43.516689"]]
617
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
520
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
521
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
522
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "badf3605cec75a361708623a077f04fbd111e59c29eaf954d04210c3d67749c2"]]
523
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-04-06 13:16:34.338919"], ["updated_at", "2015-04-06 13:16:34.338919"], ["confirmation_token", "badf3605cec75a361708623a077f04fbd111e59c29eaf954d04210c3d67749c2"], ["confirmation_sent_at", "2015-04-06 13:16:34.339877"]]
524
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
618
525
 
619
526
  Devise::Mailer#confirmation_instructions: processed outbound mail in 4.9ms
620
527
 
621
- Sent mail to joe-11@example.com (2.9ms)
622
- Date: Tue, 10 Mar 2015 19:22:43 +0000
528
+ Sent mail to joe-6@example.com (3.1ms)
529
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
623
530
  From: pushtype@example.com
624
531
  Reply-To: pushtype@example.com
625
- To: joe-11@example.com
626
- Message-ID: <54ff4483863d5_7adc3ffa3cc65be4974ea@Aarons-iMac.local.mail>
532
+ To: joe-6@example.com
533
+ Message-ID: <552287325b475_58a13fddd0465be85847c@Aarons-iMac.local.mail>
627
534
  Subject: [PushType] Confirm your account
628
535
  Mime-Version: 1.0
629
536
  Content-Type: multipart/alternative;
630
- boundary="--==_mimepart_54ff448385e90_7adc3ffa3cc65be49735a";
537
+ boundary="--==_mimepart_552287325aedc_58a13fddd0465be8583a6";
631
538
  charset=UTF-8
632
539
  Content-Transfer-Encoding: 7bit
633
540
 
634
541
 
635
- ----==_mimepart_54ff448385e90_7adc3ffa3cc65be49735a
542
+ ----==_mimepart_552287325aedc_58a13fddd0465be8583a6
636
543
  Content-Type: text/plain;
637
544
  charset=UTF-8
638
545
  Content-Transfer-Encoding: 7bit
@@ -647,11 +554,11 @@ created for you.
647
554
  To get started, confirm your account and set your own password by
648
555
  clicking the link below:
649
556
 
650
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=pVnWNiu1BQ3rsGLzvspd )
557
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_zGVyZgXQ9YnbvToiix7 )
651
558
 
652
559
  PushType is brought to you by Push Code:
653
560
  type.pushcode.com ( http://type.pushcode.com ).
654
- ----==_mimepart_54ff448385e90_7adc3ffa3cc65be49735a
561
+ ----==_mimepart_552287325aedc_58a13fddd0465be8583a6
655
562
  Content-Type: text/html;
656
563
  charset=UTF-8
657
564
  Content-Transfer-Encoding: 7bit
@@ -697,7 +604,7 @@ body {
697
604
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
698
605
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
699
606
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
700
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=pVnWNiu1BQ3rsGLzvspd" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
607
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_zGVyZgXQ9YnbvToiix7" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
701
608
  </td>
702
609
  </tr>
703
610
  </table>
@@ -742,36 +649,49 @@ body {
742
649
  </body>
743
650
  </html>
744
651
 
745
- ----==_mimepart_54ff448385e90_7adc3ffa3cc65be49735a--
652
+ ----==_mimepart_552287325aedc_58a13fddd0465be8583a6--
746
653
 
747
654
   (0.1ms) RELEASE SAVEPOINT active_record_2
748
- Processing by PushType::UsersController#invite as HTML
749
- Parameters: {"id"=>"4584b004-4a53-44a4-a16d-82d6ab7cf5d5"}
750
- 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", "af15b5ca-f84e-4da0-ae9c-acedb7caa06c"]]
751
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "4584b004-4a53-44a4-a16d-82d6ab7cf5d5"]]
752
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "a38332585eb9ac2235ea4aeef72e25ebc6db43bd3aaf06734d6a1f93ddbe65c9"]]
753
-  (0.1ms) SAVEPOINT active_record_2
754
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "a38332585eb9ac2235ea4aeef72e25ebc6db43bd3aaf06734d6a1f93ddbe65c9"], ["confirmation_sent_at", "2015-03-10 19:22:43.558981"], ["updated_at", "2015-03-10 19:22:43.559472"], ["id", "4584b004-4a53-44a4-a16d-82d6ab7cf5d5"]]
755
-  (0.1ms) RELEASE SAVEPOINT active_record_2
756
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.8ms)
655
+ Processing by PushType::ConfirmationsController#update as HTML
656
+ Parameters: {"user"=>{"confirmation_token"=>"_zGVyZgXQ9YnbvToiix7", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
657
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "badf3605cec75a361708623a077f04fbd111e59c29eaf954d04210c3d67749c2"]]
658
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'd5af4446-4a29-4bd2-bfb2-b77d213fa7c5') LIMIT 1
659
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.2ms)
660
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.1ms)
661
+ Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 0.4ms)
662
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
663
+  (0.1ms) ROLLBACK
664
+  (0.1ms) BEGIN
665
+ --------------------------------------------------------------------------------------
666
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
667
+ --------------------------------------------------------------------------------------
668
+  (0.1ms) SAVEPOINT active_record_1
669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
670
+  (0.0ms) SAVEPOINT active_record_1
671
+  (0.1ms) SAVEPOINT active_record_2
672
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
673
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
674
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d95e8cf5c3f388e8cf7b346b19a501f22ce92c6f5269ea2e2748401bf7f8813e"]]
675
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", "2015-04-06 13:16:34.393133"], ["updated_at", "2015-04-06 13:16:34.393133"], ["confirmation_token", "d95e8cf5c3f388e8cf7b346b19a501f22ce92c6f5269ea2e2748401bf7f8813e"], ["confirmation_sent_at", "2015-04-06 13:16:34.394015"]]
676
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
757
677
 
758
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.5ms
678
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.6ms
759
679
 
760
- Sent mail to joe-11@example.com (2.9ms)
761
- Date: Tue, 10 Mar 2015 19:22:43 +0000
680
+ Sent mail to joe-7@example.com (3.2ms)
681
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
762
682
  From: pushtype@example.com
763
683
  Reply-To: pushtype@example.com
764
- To: joe-11@example.com
765
- Message-ID: <54ff4483909f3_7adc3ffa3cc65be497711@Aarons-iMac.local.mail>
684
+ To: joe-7@example.com
685
+ Message-ID: <5522873268c7c_58a13fddd0465be85876a@Aarons-iMac.local.mail>
766
686
  Subject: [PushType] Confirm your account
767
687
  Mime-Version: 1.0
768
688
  Content-Type: multipart/alternative;
769
- boundary="--==_mimepart_54ff4483904c7_7adc3ffa3cc65be497646";
689
+ boundary="--==_mimepart_55228732686d7_58a13fddd0465be8586c1";
770
690
  charset=UTF-8
771
691
  Content-Transfer-Encoding: 7bit
772
692
 
773
693
 
774
- ----==_mimepart_54ff4483904c7_7adc3ffa3cc65be497646
694
+ ----==_mimepart_55228732686d7_58a13fddd0465be8586c1
775
695
  Content-Type: text/plain;
776
696
  charset=UTF-8
777
697
  Content-Transfer-Encoding: 7bit
@@ -786,11 +706,11 @@ created for you.
786
706
  To get started, confirm your account and set your own password by
787
707
  clicking the link below:
788
708
 
789
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=aLxLZvD-q9xG7paxeaJS )
709
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=xMUSqvq4jyQxNAqaNoyz )
790
710
 
791
711
  PushType is brought to you by Push Code:
792
712
  type.pushcode.com ( http://type.pushcode.com ).
793
- ----==_mimepart_54ff4483904c7_7adc3ffa3cc65be497646
713
+ ----==_mimepart_55228732686d7_58a13fddd0465be8586c1
794
714
  Content-Type: text/html;
795
715
  charset=UTF-8
796
716
  Content-Transfer-Encoding: 7bit
@@ -836,7 +756,7 @@ body {
836
756
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
837
757
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
838
758
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
839
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=aLxLZvD-q9xG7paxeaJS" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
759
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=xMUSqvq4jyQxNAqaNoyz" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
840
760
  </td>
841
761
  </tr>
842
762
  </table>
@@ -881,48 +801,49 @@ body {
881
801
  </body>
882
802
  </html>
883
803
 
884
- ----==_mimepart_54ff4483904c7_7adc3ffa3cc65be497646--
804
+ ----==_mimepart_55228732686d7_58a13fddd0465be8586c1--
885
805
 
886
- Redirected to /push_type/users
887
- Completed 302 Found in 39ms (ActiveRecord: 0.7ms)
806
+  (0.1ms) RELEASE SAVEPOINT active_record_2
807
+ Processing by PushType::ConfirmationsController#update as HTML
808
+ Parameters: {"user"=>{"confirmation_token"=>"xMUSqvq4jyQxNAqaNoyz", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
809
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d95e8cf5c3f388e8cf7b346b19a501f22ce92c6f5269ea2e2748401bf7f8813e"]]
810
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '9e578553-2350-4199-85a2-cae8102ad632') LIMIT 1
811
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.4ms)
812
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.1ms)
813
+ Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 0.4ms)
888
814
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
889
815
   (0.1ms) ROLLBACK
890
816
   (0.1ms) BEGIN
891
- -----------------------------------------------------------
892
- PushType::UsersController::PUT #invite: test_0002_anonymous
893
- -----------------------------------------------------------
817
+ --------------------------------------------------------------------------------------
818
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
819
+ --------------------------------------------------------------------------------------
894
820
   (0.1ms) SAVEPOINT active_record_1
895
-  (0.1ms) RELEASE SAVEPOINT active_record_1
821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
896
822
   (0.1ms) SAVEPOINT active_record_1
897
823
   (0.1ms) SAVEPOINT active_record_2
898
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
899
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
900
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:43.597223"], ["confirmed_at", "2015-03-10 19:22:43.597334"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:43.599088"], ["updated_at", "2015-03-10 19:22:43.599088"]]
901
-  (0.1ms) RELEASE SAVEPOINT active_record_2
902
-  (0.1ms) SAVEPOINT active_record_2
903
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
904
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
905
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "0cc4177ebe8e525b5aa5818dcaff983e59292d1b1cf471fc116c7b6e03189991"]]
906
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", "2015-03-10 19:22:43.602159"], ["updated_at", "2015-03-10 19:22:43.602159"], ["confirmation_token", "0cc4177ebe8e525b5aa5818dcaff983e59292d1b1cf471fc116c7b6e03189991"], ["confirmation_sent_at", "2015-03-10 19:22:43.602997"]]
907
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.3ms)
824
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
825
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
826
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7b35c2b22ab2c0f3688a6a1ff54c1795674f0ba99b0a5758e8117046608a5f3d"]]
827
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-04-06 13:16:34.450114"], ["updated_at", "2015-04-06 13:16:34.450114"], ["confirmation_token", "7b35c2b22ab2c0f3688a6a1ff54c1795674f0ba99b0a5758e8117046608a5f3d"], ["confirmation_sent_at", "2015-04-06 13:16:34.451039"]]
828
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
908
829
 
909
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
830
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.1ms
910
831
 
911
- Sent mail to joe-13@example.com (2.9ms)
912
- Date: Tue, 10 Mar 2015 19:22:43 +0000
832
+ Sent mail to joe-8@example.com (3.2ms)
833
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
913
834
  From: pushtype@example.com
914
835
  Reply-To: pushtype@example.com
915
- To: joe-13@example.com
916
- Message-ID: <54ff44839b1de_7adc3ffa3cc65be498050@Aarons-iMac.local.mail>
836
+ To: joe-8@example.com
837
+ Message-ID: <5522873276c98_58a13fddd0465be8590ae@Aarons-iMac.local.mail>
917
838
  Subject: [PushType] Confirm your account
918
839
  Mime-Version: 1.0
919
840
  Content-Type: multipart/alternative;
920
- boundary="--==_mimepart_54ff44839ac8e_7adc3ffa3cc65be4979c2";
841
+ boundary="--==_mimepart_55228732766f1_58a13fddd0465be858920";
921
842
  charset=UTF-8
922
843
  Content-Transfer-Encoding: 7bit
923
844
 
924
845
 
925
- ----==_mimepart_54ff44839ac8e_7adc3ffa3cc65be4979c2
846
+ ----==_mimepart_55228732766f1_58a13fddd0465be858920
926
847
  Content-Type: text/plain;
927
848
  charset=UTF-8
928
849
  Content-Transfer-Encoding: 7bit
@@ -937,11 +858,11 @@ created for you.
937
858
  To get started, confirm your account and set your own password by
938
859
  clicking the link below:
939
860
 
940
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=htvGQGkVgMMQsYCx--kr )
861
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QRhMszAdBhryZ-GpBetZ )
941
862
 
942
863
  PushType is brought to you by Push Code:
943
864
  type.pushcode.com ( http://type.pushcode.com ).
944
- ----==_mimepart_54ff44839ac8e_7adc3ffa3cc65be4979c2
865
+ ----==_mimepart_55228732766f1_58a13fddd0465be858920
945
866
  Content-Type: text/html;
946
867
  charset=UTF-8
947
868
  Content-Transfer-Encoding: 7bit
@@ -987,7 +908,7 @@ body {
987
908
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
988
909
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
989
910
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
990
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=htvGQGkVgMMQsYCx--kr" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
911
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=QRhMszAdBhryZ-GpBetZ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
991
912
  </td>
992
913
  </tr>
993
914
  </table>
@@ -1032,36 +953,154 @@ body {
1032
953
  </body>
1033
954
  </html>
1034
955
 
1035
- ----==_mimepart_54ff44839ac8e_7adc3ffa3cc65be4979c2--
956
+ ----==_mimepart_55228732766f1_58a13fddd0465be858920--
1036
957
 
958
+  (0.2ms) RELEASE SAVEPOINT active_record_2
959
+ Processing by PushType::ConfirmationsController#update as HTML
960
+ Parameters: {"user"=>{"confirmation_token"=>"QRhMszAdBhryZ-GpBetZ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
961
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7b35c2b22ab2c0f3688a6a1ff54c1795674f0ba99b0a5758e8117046608a5f3d"]]
962
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-8@example.com' AND "push_type_users"."id" != '7bef4ec4-9f7b-405b-aff8-b3aacfba2f23') LIMIT 1
963
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.1ms)
964
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.5ms)
965
+ Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.4ms)
966
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
967
+  (0.1ms) ROLLBACK
968
+  (0.1ms) BEGIN
969
+ ------------------------------------------------------------
970
+ PushType::ProfilesController::GET #edit: test_0002_anonymous
971
+ ------------------------------------------------------------
972
+  (0.1ms) SAVEPOINT active_record_1
973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
974
+  (0.0ms) SAVEPOINT active_record_1
975
+  (0.1ms) SAVEPOINT active_record_2
976
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
977
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
978
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.507418"], ["confirmed_at", "2015-04-06 13:16:34.507537"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.509610"], ["updated_at", "2015-04-06 13:16:34.509610"]]
1037
979
   (0.1ms) RELEASE SAVEPOINT active_record_2
1038
- Processing by PushType::UsersController#invite as HTML
1039
- Parameters: {"id"=>"5474bc26-1188-4326-8788-c9cc7014768d"}
1040
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "30c1e0aa-2097-4673-810a-4af20c5c9aa2"]]
1041
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "5474bc26-1188-4326-8788-c9cc7014768d"]]
1042
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "83ced675288bcda02e88970ed0a5e899b3f46b6320f1373fe943f7db53be3d30"]]
980
+ Processing by PushType::ProfilesController#edit as HTML
981
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "cc211ada-3472-42d9-94f2-8e52c9fbb0b8"]]
982
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (9.9ms)
983
+ Completed 200 OK in 44ms (Views: 41.3ms | ActiveRecord: 0.2ms)
984
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
985
+  (0.1ms) ROLLBACK
986
+  (0.1ms) BEGIN
987
+ ------------------------------------------------------------
988
+ PushType::ProfilesController::GET #edit: test_0001_anonymous
989
+ ------------------------------------------------------------
990
+  (0.0ms) SAVEPOINT active_record_1
991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
992
+  (0.0ms) SAVEPOINT active_record_1
1043
993
   (0.1ms) SAVEPOINT active_record_2
1044
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "83ced675288bcda02e88970ed0a5e899b3f46b6320f1373fe943f7db53be3d30"], ["confirmation_sent_at", "2015-03-10 19:22:43.643480"], ["updated_at", "2015-03-10 19:22:43.643845"], ["id", "5474bc26-1188-4326-8788-c9cc7014768d"]]
994
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
995
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
996
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.560076"], ["confirmed_at", "2015-04-06 13:16:34.560221"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.562238"], ["updated_at", "2015-04-06 13:16:34.562238"]]
997
+  (0.1ms) RELEASE SAVEPOINT active_record_2
998
+ Processing by PushType::ProfilesController#edit as HTML
999
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "e40501df-8a14-4282-8cd3-985e13bd2ca9"]]
1000
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.2ms)
1001
+ Completed 200 OK in 109ms (Views: 106.1ms | ActiveRecord: 0.2ms)
1002
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1003
+  (0.1ms) ROLLBACK
1004
+  (0.1ms) BEGIN
1005
+ ---------------------------------------------------------------------------------
1006
+ PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
1007
+ ---------------------------------------------------------------------------------
1008
+  (0.1ms) SAVEPOINT active_record_1
1009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1010
+  (0.1ms) SAVEPOINT active_record_1
1011
+  (0.1ms) SAVEPOINT active_record_2
1012
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1013
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1014
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.679376"], ["confirmed_at", "2015-04-06 13:16:34.679493"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.681281"], ["updated_at", "2015-04-06 13:16:34.681281"]]
1045
1015
   (0.1ms) RELEASE SAVEPOINT active_record_2
1046
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.7ms)
1016
+ Processing by PushType::ProfilesController#update as HTML
1017
+ Parameters: {"user"=>{"name"=>""}}
1018
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "19fba2b6-3a5b-42d4-bc0a-dbb5aaa487be"]]
1019
+  (0.1ms) SAVEPOINT active_record_2
1020
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != '19fba2b6-3a5b-42d4-bc0a-dbb5aaa487be') LIMIT 1
1021
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1022
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.0ms)
1023
+ Completed 200 OK in 26ms (Views: 21.3ms | ActiveRecord: 0.6ms)
1024
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1025
+  (0.1ms) ROLLBACK
1026
+  (0.1ms) BEGIN
1027
+ ---------------------------------------------------------------------------------
1028
+ PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
1029
+ ---------------------------------------------------------------------------------
1030
+  (0.0ms) SAVEPOINT active_record_1
1031
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1032
+  (0.1ms) SAVEPOINT active_record_1
1033
+  (0.1ms) SAVEPOINT active_record_2
1034
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1035
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1036
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.713251"], ["confirmed_at", "2015-04-06 13:16:34.713371"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.715270"], ["updated_at", "2015-04-06 13:16:34.715270"]]
1037
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1038
+ Processing by PushType::ProfilesController#update as HTML
1039
+ Parameters: {"user"=>{"name"=>""}}
1040
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "cffa4702-e20d-4628-a7e4-f363e4066794"]]
1041
+  (0.1ms) SAVEPOINT active_record_2
1042
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != 'cffa4702-e20d-4628-a7e4-f363e4066794') LIMIT 1
1043
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1044
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.4ms)
1045
+ Completed 200 OK in 27ms (Views: 21.8ms | ActiveRecord: 0.5ms)
1046
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1047
+  (0.1ms) ROLLBACK
1048
+  (0.1ms) BEGIN
1049
+ --------------------------------------------------------------------------------------------------
1050
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
1051
+ --------------------------------------------------------------------------------------------------
1052
+  (0.1ms) SAVEPOINT active_record_1
1053
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1054
+  (0.1ms) SAVEPOINT active_record_1
1055
+ Processing by PushType::ConfirmationsController#show as HTML
1056
+ Parameters: {"confirmation_token"=>"invalid"}
1057
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ca007356e1f10c07b2dd1bc5433c184ca6239611059a712f477802c0220f12ae"]]
1058
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ca007356e1f10c07b2dd1bc5433c184ca6239611059a712f477802c0220f12ae"]]
1059
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.4ms)
1060
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (8.6ms)
1061
+ Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.2ms)
1062
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1063
+  (0.1ms) ROLLBACK
1064
+  (0.1ms) BEGIN
1065
+ --------------------------------------------------------------------------------------------------
1066
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
1067
+ --------------------------------------------------------------------------------------------------
1068
+  (0.1ms) SAVEPOINT active_record_1
1069
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1070
+  (0.0ms) SAVEPOINT active_record_1
1071
+ Processing by PushType::ConfirmationsController#show as HTML
1072
+ Parameters: {"confirmation_token"=>"invalid"}
1073
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ca007356e1f10c07b2dd1bc5433c184ca6239611059a712f477802c0220f12ae"]]
1074
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ca007356e1f10c07b2dd1bc5433c184ca6239611059a712f477802c0220f12ae"]]
1075
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (3.1ms)
1076
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.8ms)
1077
+ Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.2ms)
1078
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1079
+  (0.1ms) ROLLBACK
1080
+  (0.1ms) BEGIN
1081
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1082
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1083
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "08c54264567ed387d828096ae4918b9d3805cb5e2aabf633d5117b1b9df4d998"]]
1084
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", "2015-04-06 13:16:34.782195"], ["updated_at", "2015-04-06 13:16:34.782195"], ["confirmation_token", "08c54264567ed387d828096ae4918b9d3805cb5e2aabf633d5117b1b9df4d998"], ["confirmation_sent_at", "2015-04-06 13:16:34.783140"]]
1085
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
1047
1086
 
1048
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.4ms
1087
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
1049
1088
 
1050
- Sent mail to joe-13@example.com (2.9ms)
1051
- Date: Tue, 10 Mar 2015 19:22:43 +0000
1089
+ Sent mail to joe-13@example.com (3.1ms)
1090
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
1052
1091
  From: pushtype@example.com
1053
1092
  Reply-To: pushtype@example.com
1054
1093
  To: joe-13@example.com
1055
- Message-ID: <54ff4483a5373_7adc3ffa3cc65be498340@Aarons-iMac.local.mail>
1094
+ Message-ID: <55228732c7cfd_58a13fddd0465be85933b@Aarons-iMac.local.mail>
1056
1095
  Subject: [PushType] Confirm your account
1057
1096
  Mime-Version: 1.0
1058
1097
  Content-Type: multipart/alternative;
1059
- boundary="--==_mimepart_54ff4483a4e46_7adc3ffa3cc65be498277";
1098
+ boundary="--==_mimepart_55228732c774f_58a13fddd0465be85924f";
1060
1099
  charset=UTF-8
1061
1100
  Content-Transfer-Encoding: 7bit
1062
1101
 
1063
1102
 
1064
- ----==_mimepart_54ff4483a4e46_7adc3ffa3cc65be498277
1103
+ ----==_mimepart_55228732c774f_58a13fddd0465be85924f
1065
1104
  Content-Type: text/plain;
1066
1105
  charset=UTF-8
1067
1106
  Content-Transfer-Encoding: 7bit
@@ -1076,11 +1115,11 @@ created for you.
1076
1115
  To get started, confirm your account and set your own password by
1077
1116
  clicking the link below:
1078
1117
 
1079
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z7RNCxz3EHwu8yWNsPq3 )
1118
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=KQeXWKatHWa4s--rzM6s )
1080
1119
 
1081
1120
  PushType is brought to you by Push Code:
1082
1121
  type.pushcode.com ( http://type.pushcode.com ).
1083
- ----==_mimepart_54ff4483a4e46_7adc3ffa3cc65be498277
1122
+ ----==_mimepart_55228732c774f_58a13fddd0465be85924f
1084
1123
  Content-Type: text/html;
1085
1124
  charset=UTF-8
1086
1125
  Content-Transfer-Encoding: 7bit
@@ -1126,7 +1165,7 @@ body {
1126
1165
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1127
1166
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1128
1167
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1129
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=z7RNCxz3EHwu8yWNsPq3" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1168
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=KQeXWKatHWa4s--rzM6s" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1130
1169
  </td>
1131
1170
  </tr>
1132
1171
  </table>
@@ -1171,48 +1210,45 @@ body {
1171
1210
  </body>
1172
1211
  </html>
1173
1212
 
1174
- ----==_mimepart_54ff4483a4e46_7adc3ffa3cc65be498277--
1213
+ ----==_mimepart_55228732c774f_58a13fddd0465be85924f--
1175
1214
 
1176
- Redirected to /push_type/users
1177
- Completed 302 Found in 39ms (ActiveRecord: 0.8ms)
1178
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1179
-  (0.1ms) ROLLBACK
1180
-  (0.1ms) BEGIN
1215
+  (0.5ms) COMMIT
1216
+  (0.1ms) BEGIN
1181
1217
  -----------------------------------------------------------
1182
- PushType::UsersController::PUT #invite: test_0003_anonymous
1218
+ PushType::UsersController::PUT #invite: test_0001_anonymous
1183
1219
  -----------------------------------------------------------
1184
-  (0.0ms) SAVEPOINT active_record_1
1185
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1186
-  (0.0ms) SAVEPOINT active_record_1
1187
-  (0.1ms) SAVEPOINT active_record_2
1188
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1189
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1190
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-03-10 19:22:43.681443"], ["confirmed_at", "2015-03-10 19:22:43.681555"], ["confirmation_token", "Generated account"], ["created_at", "2015-03-10 19:22:43.683247"], ["updated_at", "2015-03-10 19:22:43.683247"]]
1191
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1220
+  (0.1ms) SAVEPOINT active_record_1
1221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1222
+  (0.0ms) SAVEPOINT active_record_1
1192
1223
   (0.1ms) SAVEPOINT active_record_2
1224
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1225
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1226
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.824106"], ["confirmed_at", "2015-04-06 13:16:34.824218"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.826032"], ["updated_at", "2015-04-06 13:16:34.826032"]]
1227
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1228
+  (0.1ms) SAVEPOINT active_record_2
1229
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1193
1230
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1194
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1195
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "037862b06cb193bdc9e49f7e7f1e278a06dbefd4c357e53232d61b5c854529aa"]]
1196
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2015-03-10 19:22:43.686137"], ["updated_at", "2015-03-10 19:22:43.686137"], ["confirmation_token", "037862b06cb193bdc9e49f7e7f1e278a06dbefd4c357e53232d61b5c854529aa"], ["confirmation_sent_at", "2015-03-10 19:22:43.686970"]]
1197
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.3ms)
1231
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ef44c49e3a03979734eba5cb5f34511ed16dfe70169446fba9ccf1a524025e1e"]]
1232
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2015-04-06 13:16:34.829209"], ["updated_at", "2015-04-06 13:16:34.829209"], ["confirmation_token", "ef44c49e3a03979734eba5cb5f34511ed16dfe70169446fba9ccf1a524025e1e"], ["confirmation_sent_at", "2015-04-06 13:16:34.830065"]]
1233
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
1198
1234
 
1199
1235
  Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
1200
1236
 
1201
- Sent mail to joe-15@example.com (3.0ms)
1202
- Date: Tue, 10 Mar 2015 19:22:43 +0000
1237
+ Sent mail to joe-15@example.com (3.2ms)
1238
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
1203
1239
  From: pushtype@example.com
1204
1240
  Reply-To: pushtype@example.com
1205
1241
  To: joe-15@example.com
1206
- Message-ID: <54ff4483af963_7adc3ffa3cc65be4986a@Aarons-iMac.local.mail>
1242
+ Message-ID: <55228732d2e28_58a13fddd0465be8596ef@Aarons-iMac.local.mail>
1207
1243
  Subject: [PushType] Confirm your account
1208
1244
  Mime-Version: 1.0
1209
1245
  Content-Type: multipart/alternative;
1210
- boundary="--==_mimepart_54ff4483af3f8_7adc3ffa3cc65be49858b";
1246
+ boundary="--==_mimepart_55228732d28b8_58a13fddd0465be8595aa";
1211
1247
  charset=UTF-8
1212
1248
  Content-Transfer-Encoding: 7bit
1213
1249
 
1214
1250
 
1215
- ----==_mimepart_54ff4483af3f8_7adc3ffa3cc65be49858b
1251
+ ----==_mimepart_55228732d28b8_58a13fddd0465be8595aa
1216
1252
  Content-Type: text/plain;
1217
1253
  charset=UTF-8
1218
1254
  Content-Transfer-Encoding: 7bit
@@ -1227,11 +1263,11 @@ created for you.
1227
1263
  To get started, confirm your account and set your own password by
1228
1264
  clicking the link below:
1229
1265
 
1230
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tPkzg8yZbceW_-tXNTNL )
1266
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=DwJpThXa8vLwsB6zsnbB )
1231
1267
 
1232
1268
  PushType is brought to you by Push Code:
1233
1269
  type.pushcode.com ( http://type.pushcode.com ).
1234
- ----==_mimepart_54ff4483af3f8_7adc3ffa3cc65be49858b
1270
+ ----==_mimepart_55228732d28b8_58a13fddd0465be8595aa
1235
1271
  Content-Type: text/html;
1236
1272
  charset=UTF-8
1237
1273
  Content-Transfer-Encoding: 7bit
@@ -1277,7 +1313,7 @@ body {
1277
1313
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1278
1314
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1279
1315
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1280
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=tPkzg8yZbceW_-tXNTNL" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1316
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=DwJpThXa8vLwsB6zsnbB" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1281
1317
  </td>
1282
1318
  </tr>
1283
1319
  </table>
@@ -1322,36 +1358,36 @@ body {
1322
1358
  </body>
1323
1359
  </html>
1324
1360
 
1325
- ----==_mimepart_54ff4483af3f8_7adc3ffa3cc65be49858b--
1361
+ ----==_mimepart_55228732d28b8_58a13fddd0465be8595aa--
1326
1362
 
1327
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1363
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1328
1364
  Processing by PushType::UsersController#invite as HTML
1329
- Parameters: {"id"=>"54df6177-ebd1-4b7b-9b84-1d32a076cda7"}
1330
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "f3cfbd61-1c42-4432-ad1b-5656d6f8874f"]]
1331
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "54df6177-ebd1-4b7b-9b84-1d32a076cda7"]]
1332
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "05b600e0225c1ab4b8be4b83956db5216bd3a16ab0a16f81e4c25a4e9641a7aa"]]
1333
-  (0.1ms) SAVEPOINT active_record_2
1334
- SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "05b600e0225c1ab4b8be4b83956db5216bd3a16ab0a16f81e4c25a4e9641a7aa"], ["confirmation_sent_at", "2015-03-10 19:22:43.727586"], ["updated_at", "2015-03-10 19:22:43.728000"], ["id", "54df6177-ebd1-4b7b-9b84-1d32a076cda7"]]
1335
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1336
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
1365
+ Parameters: {"id"=>"09269cfb-aa6c-4df9-947b-53ad18b444f0"}
1366
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "b93913ef-6bcc-4c79-8e28-853c7d70d79b"]]
1367
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "09269cfb-aa6c-4df9-947b-53ad18b444f0"]]
1368
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "4db567e128b73f9379868ed3f6a43fce4dd0833966393056128b3579c59e376e"]]
1369
+  (0.1ms) SAVEPOINT active_record_2
1370
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "4db567e128b73f9379868ed3f6a43fce4dd0833966393056128b3579c59e376e"], ["confirmation_sent_at", "2015-04-06 13:16:34.873486"], ["updated_at", "2015-04-06 13:16:34.873875"], ["id", "09269cfb-aa6c-4df9-947b-53ad18b444f0"]]
1371
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1372
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.0ms)
1337
1373
 
1338
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.9ms
1374
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.7ms
1339
1375
 
1340
- Sent mail to joe-15@example.com (2.9ms)
1341
- Date: Tue, 10 Mar 2015 19:22:43 +0000
1376
+ Sent mail to joe-15@example.com (3.0ms)
1377
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
1342
1378
  From: pushtype@example.com
1343
1379
  Reply-To: pushtype@example.com
1344
1380
  To: joe-15@example.com
1345
- Message-ID: <54ff4483ba110_7adc3ffa3cc65be49897b@Aarons-iMac.local.mail>
1381
+ Message-ID: <55228732ddb2c_58a13fddd0465be8599d5@Aarons-iMac.local.mail>
1346
1382
  Subject: [PushType] Confirm your account
1347
1383
  Mime-Version: 1.0
1348
1384
  Content-Type: multipart/alternative;
1349
- boundary="--==_mimepart_54ff4483b9be0_7adc3ffa3cc65be4988d4";
1385
+ boundary="--==_mimepart_55228732dd5bb_58a13fddd0465be859834";
1350
1386
  charset=UTF-8
1351
1387
  Content-Transfer-Encoding: 7bit
1352
1388
 
1353
1389
 
1354
- ----==_mimepart_54ff4483b9be0_7adc3ffa3cc65be4988d4
1390
+ ----==_mimepart_55228732dd5bb_58a13fddd0465be859834
1355
1391
  Content-Type: text/plain;
1356
1392
  charset=UTF-8
1357
1393
  Content-Transfer-Encoding: 7bit
@@ -1366,11 +1402,11 @@ created for you.
1366
1402
  To get started, confirm your account and set your own password by
1367
1403
  clicking the link below:
1368
1404
 
1369
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=woQUfBZ_T6cxDXMbwB3k )
1405
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ZdgT-CWAThDyhZkc4oXD )
1370
1406
 
1371
1407
  PushType is brought to you by Push Code:
1372
1408
  type.pushcode.com ( http://type.pushcode.com ).
1373
- ----==_mimepart_54ff4483b9be0_7adc3ffa3cc65be4988d4
1409
+ ----==_mimepart_55228732dd5bb_58a13fddd0465be859834
1374
1410
  Content-Type: text/html;
1375
1411
  charset=UTF-8
1376
1412
  Content-Transfer-Encoding: 7bit
@@ -1416,7 +1452,7 @@ body {
1416
1452
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1417
1453
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1418
1454
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1419
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=woQUfBZ_T6cxDXMbwB3k" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1455
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ZdgT-CWAThDyhZkc4oXD" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1420
1456
  </td>
1421
1457
  </tr>
1422
1458
  </table>
@@ -1461,43 +1497,48 @@ body {
1461
1497
  </body>
1462
1498
  </html>
1463
1499
 
1464
- ----==_mimepart_54ff4483b9be0_7adc3ffa3cc65be4988d4--
1500
+ ----==_mimepart_55228732dd5bb_58a13fddd0465be859834--
1465
1501
 
1466
1502
  Redirected to /push_type/users
1467
1503
  Completed 302 Found in 41ms (ActiveRecord: 0.8ms)
1468
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1469
-  (0.1ms) ROLLBACK
1470
-  (0.1ms) BEGIN
1471
- ------------------------------------------------------------------------------------------------
1472
- PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
1473
- ------------------------------------------------------------------------------------------------
1474
-  (0.1ms) SAVEPOINT active_record_1
1475
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1476
-  (0.0ms) SAVEPOINT active_record_1
1504
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1505
+  (0.1ms) ROLLBACK
1506
+  (0.1ms) BEGIN
1507
+ -----------------------------------------------------------
1508
+ PushType::UsersController::PUT #invite: test_0002_anonymous
1509
+ -----------------------------------------------------------
1510
+  (0.1ms) SAVEPOINT active_record_1
1511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1512
+  (0.1ms) SAVEPOINT active_record_1
1513
+  (0.1ms) SAVEPOINT active_record_2
1514
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1515
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1516
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.912756"], ["confirmed_at", "2015-04-06 13:16:34.912871"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:34.914546"], ["updated_at", "2015-04-06 13:16:34.914546"]]
1517
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1477
1518
   (0.1ms) SAVEPOINT active_record_2
1478
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1479
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1480
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "aa8e4418e80810241531f8f68b428cc98ac0dda575a48378f8d0a45688743be9"]]
1481
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", "2015-03-10 19:22:43.769805"], ["updated_at", "2015-03-10 19:22:43.769805"], ["confirmation_token", "aa8e4418e80810241531f8f68b428cc98ac0dda575a48378f8d0a45688743be9"], ["confirmation_sent_at", "2015-03-10 19:22:43.770676"]]
1482
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
1519
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1520
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1521
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "891ebd78f711ddf3cfa0b7623d40216e5caf5fc91457e4cd9c743f71e3be69f6"]]
1522
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", "2015-04-06 13:16:34.917623"], ["updated_at", "2015-04-06 13:16:34.917623"], ["confirmation_token", "891ebd78f711ddf3cfa0b7623d40216e5caf5fc91457e4cd9c743f71e3be69f6"], ["confirmation_sent_at", "2015-04-06 13:16:34.918523"]]
1523
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.3ms)
1483
1524
 
1484
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
1525
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.1ms
1485
1526
 
1486
- Sent mail to joe-16@example.com (3.0ms)
1487
- Date: Tue, 10 Mar 2015 19:22:43 +0000
1527
+ Sent mail to joe-17@example.com (3.1ms)
1528
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
1488
1529
  From: pushtype@example.com
1489
1530
  Reply-To: pushtype@example.com
1490
- To: joe-16@example.com
1491
- Message-ID: <54ff4483c41db_7adc3ffa3cc65be4992c3@Aarons-iMac.local.mail>
1531
+ To: joe-17@example.com
1532
+ Message-ID: <55228732e88ca_58a13fddd0465be860261@Aarons-iMac.local.mail>
1492
1533
  Subject: [PushType] Confirm your account
1493
1534
  Mime-Version: 1.0
1494
1535
  Content-Type: multipart/alternative;
1495
- boundary="--==_mimepart_54ff4483c3c78_7adc3ffa3cc65be4991f4";
1536
+ boundary="--==_mimepart_55228732e832f_58a13fddd0465be8601e1";
1496
1537
  charset=UTF-8
1497
1538
  Content-Transfer-Encoding: 7bit
1498
1539
 
1499
1540
 
1500
- ----==_mimepart_54ff4483c3c78_7adc3ffa3cc65be4991f4
1541
+ ----==_mimepart_55228732e832f_58a13fddd0465be8601e1
1501
1542
  Content-Type: text/plain;
1502
1543
  charset=UTF-8
1503
1544
  Content-Transfer-Encoding: 7bit
@@ -1512,11 +1553,11 @@ created for you.
1512
1553
  To get started, confirm your account and set your own password by
1513
1554
  clicking the link below:
1514
1555
 
1515
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=9rv5yvYSoZzU8ZC3sy8n )
1556
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=A5qn_nnTvVEXNzcb7G2x )
1516
1557
 
1517
1558
  PushType is brought to you by Push Code:
1518
1559
  type.pushcode.com ( http://type.pushcode.com ).
1519
- ----==_mimepart_54ff4483c3c78_7adc3ffa3cc65be4991f4
1560
+ ----==_mimepart_55228732e832f_58a13fddd0465be8601e1
1520
1561
  Content-Type: text/html;
1521
1562
  charset=UTF-8
1522
1563
  Content-Transfer-Encoding: 7bit
@@ -1562,7 +1603,7 @@ body {
1562
1603
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1563
1604
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1564
1605
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1565
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=9rv5yvYSoZzU8ZC3sy8n" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1606
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=A5qn_nnTvVEXNzcb7G2x" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1566
1607
  </td>
1567
1608
  </tr>
1568
1609
  </table>
@@ -1607,48 +1648,36 @@ body {
1607
1648
  </body>
1608
1649
  </html>
1609
1650
 
1610
- ----==_mimepart_54ff4483c3c78_7adc3ffa3cc65be4991f4--
1651
+ ----==_mimepart_55228732e832f_58a13fddd0465be8601e1--
1611
1652
 
1612
-  (0.2ms) RELEASE SAVEPOINT active_record_2
1613
- Processing by PushType::ConfirmationsController#show as HTML
1614
- Parameters: {"confirmation_token"=>"9rv5yvYSoZzU8ZC3sy8n"}
1615
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "aa8e4418e80810241531f8f68b428cc98ac0dda575a48378f8d0a45688743be9"]]
1616
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.9ms)
1617
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (8.7ms)
1618
- Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.1ms)
1619
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1620
-  (0.1ms) ROLLBACK
1621
-  (0.1ms) BEGIN
1622
- ------------------------------------------------------------------------------------------------
1623
- PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
1624
- ------------------------------------------------------------------------------------------------
1625
-  (0.1ms) SAVEPOINT active_record_1
1626
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1627
-  (0.1ms) SAVEPOINT active_record_1
1653
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1654
+ Processing by PushType::UsersController#invite as HTML
1655
+ Parameters: {"id"=>"972e4efc-c7a2-45ed-886a-1a653cd028b1"}
1656
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "774433ec-91d8-470e-a2f0-417c63625244"]]
1657
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "972e4efc-c7a2-45ed-886a-1a653cd028b1"]]
1658
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "8829e0c837b74816c09386c6f0693ca9b91cd14450f58ab65a3d0734a624d821"]]
1628
1659
   (0.1ms) SAVEPOINT active_record_2
1629
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1630
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1631
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5dd9ed98e7cae95fda84076d702bb9f6f5036045d29e19d8f321b52b356c9324"]]
1632
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", "2015-03-10 19:22:43.823634"], ["updated_at", "2015-03-10 19:22:43.823634"], ["confirmation_token", "5dd9ed98e7cae95fda84076d702bb9f6f5036045d29e19d8f321b52b356c9324"], ["confirmation_sent_at", "2015-03-10 19:22:43.824545"]]
1633
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.9ms)
1660
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "8829e0c837b74816c09386c6f0693ca9b91cd14450f58ab65a3d0734a624d821"], ["confirmation_sent_at", "2015-04-06 13:16:34.960900"], ["updated_at", "2015-04-06 13:16:34.961436"], ["id", "972e4efc-c7a2-45ed-886a-1a653cd028b1"]]
1661
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1662
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.8ms)
1634
1663
 
1635
1664
  Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
1636
1665
 
1637
- Sent mail to joe-17@example.com (3.0ms)
1638
- Date: Tue, 10 Mar 2015 19:22:43 +0000
1666
+ Sent mail to joe-17@example.com (3.2ms)
1667
+ Date: Mon, 06 Apr 2015 14:16:34 +0100
1639
1668
  From: pushtype@example.com
1640
1669
  Reply-To: pushtype@example.com
1641
1670
  To: joe-17@example.com
1642
- Message-ID: <54ff4483d11a4_7adc3ffa3cc65be4995a1@Aarons-iMac.local.mail>
1671
+ Message-ID: <55228732f2e9b_58a13fddd0465be860567@Aarons-iMac.local.mail>
1643
1672
  Subject: [PushType] Confirm your account
1644
1673
  Mime-Version: 1.0
1645
1674
  Content-Type: multipart/alternative;
1646
- boundary="--==_mimepart_54ff4483d0c30_7adc3ffa3cc65be49941";
1675
+ boundary="--==_mimepart_55228732f2935_58a13fddd0465be8604fe";
1647
1676
  charset=UTF-8
1648
1677
  Content-Transfer-Encoding: 7bit
1649
1678
 
1650
1679
 
1651
- ----==_mimepart_54ff4483d0c30_7adc3ffa3cc65be49941
1680
+ ----==_mimepart_55228732f2935_58a13fddd0465be8604fe
1652
1681
  Content-Type: text/plain;
1653
1682
  charset=UTF-8
1654
1683
  Content-Transfer-Encoding: 7bit
@@ -1663,11 +1692,11 @@ created for you.
1663
1692
  To get started, confirm your account and set your own password by
1664
1693
  clicking the link below:
1665
1694
 
1666
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Nv1RcwRzgeeK45Q8fC6z )
1695
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=2z28oHbjJx3WEmfxs3GT )
1667
1696
 
1668
1697
  PushType is brought to you by Push Code:
1669
1698
  type.pushcode.com ( http://type.pushcode.com ).
1670
- ----==_mimepart_54ff4483d0c30_7adc3ffa3cc65be49941
1699
+ ----==_mimepart_55228732f2935_58a13fddd0465be8604fe
1671
1700
  Content-Type: text/html;
1672
1701
  charset=UTF-8
1673
1702
  Content-Transfer-Encoding: 7bit
@@ -1713,7 +1742,7 @@ body {
1713
1742
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1714
1743
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1715
1744
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1716
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Nv1RcwRzgeeK45Q8fC6z" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1745
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=2z28oHbjJx3WEmfxs3GT" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1717
1746
  </td>
1718
1747
  </tr>
1719
1748
  </table>
@@ -1758,48 +1787,48 @@ body {
1758
1787
  </body>
1759
1788
  </html>
1760
1789
 
1761
- ----==_mimepart_54ff4483d0c30_7adc3ffa3cc65be49941--
1790
+ ----==_mimepart_55228732f2935_58a13fddd0465be8604fe--
1762
1791
 
1763
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1764
- Processing by PushType::ConfirmationsController#show as HTML
1765
- Parameters: {"confirmation_token"=>"Nv1RcwRzgeeK45Q8fC6z"}
1766
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5dd9ed98e7cae95fda84076d702bb9f6f5036045d29e19d8f321b52b356c9324"]]
1767
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.9ms)
1768
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.5ms)
1769
- Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.1ms)
1792
+ Redirected to /push_type/users
1793
+ Completed 302 Found in 40ms (ActiveRecord: 0.7ms)
1770
1794
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1771
1795
   (0.1ms) ROLLBACK
1772
1796
   (0.1ms) BEGIN
1773
- --------------------------------------------------------------------------------------
1774
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
1775
- --------------------------------------------------------------------------------------
1797
+ -----------------------------------------------------------
1798
+ PushType::UsersController::PUT #invite: test_0003_anonymous
1799
+ -----------------------------------------------------------
1776
1800
   (0.1ms) SAVEPOINT active_record_1
1777
1801
   (0.1ms) RELEASE SAVEPOINT active_record_1
1778
1802
   (0.0ms) SAVEPOINT active_record_1
1779
1803
   (0.1ms) SAVEPOINT active_record_2
1780
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1804
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1781
1805
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1782
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "68d29d31fca4cd453226ddb0d6095ab69d41f64df60dfc92160362a32b1f3ad6"]]
1783
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2015-03-10 19:22:43.874928"], ["updated_at", "2015-03-10 19:22:43.874928"], ["confirmation_token", "68d29d31fca4cd453226ddb0d6095ab69d41f64df60dfc92160362a32b1f3ad6"], ["confirmation_sent_at", "2015-03-10 19:22:43.876100"]]
1784
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.3ms)
1806
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["confirmation_sent_at", "2015-04-06 13:16:34.999856"], ["confirmed_at", "2015-04-06 13:16:34.999972"], ["confirmation_token", "Generated account"], ["created_at", "2015-04-06 13:16:35.001764"], ["updated_at", "2015-04-06 13:16:35.001764"]]
1807
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1808
+  (0.1ms) SAVEPOINT active_record_2
1809
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1810
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1811
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ad7f5bca1f4f2aad504cd2c7ffbc58cb02a620d4d919043c6b9aa7a12d7a3535"]]
1812
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2015-04-06 13:16:35.004698"], ["updated_at", "2015-04-06 13:16:35.004698"], ["confirmation_token", "ad7f5bca1f4f2aad504cd2c7ffbc58cb02a620d4d919043c6b9aa7a12d7a3535"], ["confirmation_sent_at", "2015-04-06 13:16:35.005550"]]
1813
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
1785
1814
 
1786
1815
  Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
1787
1816
 
1788
- Sent mail to joe-18@example.com (3.1ms)
1789
- Date: Tue, 10 Mar 2015 19:22:43 +0000
1817
+ Sent mail to joe-19@example.com (3.1ms)
1818
+ Date: Mon, 06 Apr 2015 14:16:35 +0100
1790
1819
  From: pushtype@example.com
1791
1820
  Reply-To: pushtype@example.com
1792
- To: joe-18@example.com
1793
- Message-ID: <54ff4483ddec2_7adc3ffa3cc65be499857@Aarons-iMac.local.mail>
1821
+ To: joe-19@example.com
1822
+ Message-ID: <55228733990c_58a13fddd0465be86081f@Aarons-iMac.local.mail>
1794
1823
  Subject: [PushType] Confirm your account
1795
1824
  Mime-Version: 1.0
1796
1825
  Content-Type: multipart/alternative;
1797
- boundary="--==_mimepart_54ff4483dd949_7adc3ffa3cc65be499774";
1826
+ boundary="--==_mimepart_552287339391_58a13fddd0465be8607c0";
1798
1827
  charset=UTF-8
1799
1828
  Content-Transfer-Encoding: 7bit
1800
1829
 
1801
1830
 
1802
- ----==_mimepart_54ff4483dd949_7adc3ffa3cc65be499774
1831
+ ----==_mimepart_552287339391_58a13fddd0465be8607c0
1803
1832
  Content-Type: text/plain;
1804
1833
  charset=UTF-8
1805
1834
  Content-Transfer-Encoding: 7bit
@@ -1814,11 +1843,11 @@ created for you.
1814
1843
  To get started, confirm your account and set your own password by
1815
1844
  clicking the link below:
1816
1845
 
1817
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=6GsScQWGBJtneDuhv-Rw )
1846
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=WnBBVvEJWvF9ci-sKWNP )
1818
1847
 
1819
1848
  PushType is brought to you by Push Code:
1820
1849
  type.pushcode.com ( http://type.pushcode.com ).
1821
- ----==_mimepart_54ff4483dd949_7adc3ffa3cc65be499774
1850
+ ----==_mimepart_552287339391_58a13fddd0465be8607c0
1822
1851
  Content-Type: text/html;
1823
1852
  charset=UTF-8
1824
1853
  Content-Transfer-Encoding: 7bit
@@ -1864,7 +1893,7 @@ body {
1864
1893
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1865
1894
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1866
1895
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1867
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=6GsScQWGBJtneDuhv-Rw" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1896
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=WnBBVvEJWvF9ci-sKWNP" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1868
1897
  </td>
1869
1898
  </tr>
1870
1899
  </table>
@@ -1909,49 +1938,36 @@ body {
1909
1938
  </body>
1910
1939
  </html>
1911
1940
 
1912
- ----==_mimepart_54ff4483dd949_7adc3ffa3cc65be499774--
1941
+ ----==_mimepart_552287339391_58a13fddd0465be8607c0--
1913
1942
 
1914
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1915
- Processing by PushType::ConfirmationsController#update as HTML
1916
- Parameters: {"user"=>{"confirmation_token"=>"6GsScQWGBJtneDuhv-Rw", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1917
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "68d29d31fca4cd453226ddb0d6095ab69d41f64df60dfc92160362a32b1f3ad6"]]
1918
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '5cc1adf9-6180-4140-9f7b-763ea37d85e3') LIMIT 1
1919
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (3.0ms)
1920
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.7ms)
1921
- Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.3ms)
1922
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1923
-  (0.1ms) ROLLBACK
1924
-  (0.1ms) BEGIN
1925
- --------------------------------------------------------------------------------------
1926
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
1927
- --------------------------------------------------------------------------------------
1928
-  (0.1ms) SAVEPOINT active_record_1
1929
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1930
-  (0.1ms) SAVEPOINT active_record_1
1943
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1944
+ Processing by PushType::UsersController#invite as HTML
1945
+ Parameters: {"id"=>"131323f0-6d5a-4dc3-94a2-e9429a5131ba"}
1946
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "59ec3d9b-0ea7-4398-b11b-6388ee2bf309"]]
1947
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "131323f0-6d5a-4dc3-94a2-e9429a5131ba"]]
1948
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ed5f95e3077cfdbaf6f4b6ea9e947d25c5f2ffaecb807f13eff9d5c38083707a"]]
1931
1949
   (0.1ms) SAVEPOINT active_record_2
1932
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1933
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1934
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "66e883f2a21201b04f92420275bf218f3df12939276df1a344c4d46a30fcb290"]]
1935
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2015-03-10 19:22:43.927143"], ["updated_at", "2015-03-10 19:22:43.927143"], ["confirmation_token", "66e883f2a21201b04f92420275bf218f3df12939276df1a344c4d46a30fcb290"], ["confirmation_sent_at", "2015-03-10 19:22:43.928014"]]
1936
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.0ms)
1950
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmation_sent_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["confirmation_token", "ed5f95e3077cfdbaf6f4b6ea9e947d25c5f2ffaecb807f13eff9d5c38083707a"], ["confirmation_sent_at", "2015-04-06 13:16:35.047421"], ["updated_at", "2015-04-06 13:16:35.047770"], ["id", "131323f0-6d5a-4dc3-94a2-e9429a5131ba"]]
1951
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1952
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.8ms)
1937
1953
 
1938
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.7ms
1954
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
1939
1955
 
1940
1956
  Sent mail to joe-19@example.com (2.9ms)
1941
- Date: Tue, 10 Mar 2015 19:22:43 +0000
1957
+ Date: Mon, 06 Apr 2015 14:16:35 +0100
1942
1958
  From: pushtype@example.com
1943
1959
  Reply-To: pushtype@example.com
1944
1960
  To: joe-19@example.com
1945
- Message-ID: <54ff4483eaacf_7adc3ffa3cc65be4100184@Aarons-iMac.local.mail>
1961
+ Message-ID: <5522873313bbc_58a13fddd0465be861112@Aarons-iMac.local.mail>
1946
1962
  Subject: [PushType] Confirm your account
1947
1963
  Mime-Version: 1.0
1948
1964
  Content-Type: multipart/alternative;
1949
- boundary="--==_mimepart_54ff4483ea593_7adc3ffa3cc65be41000bb";
1965
+ boundary="--==_mimepart_552287331368c_58a13fddd0465be8610fa";
1950
1966
  charset=UTF-8
1951
1967
  Content-Transfer-Encoding: 7bit
1952
1968
 
1953
1969
 
1954
- ----==_mimepart_54ff4483ea593_7adc3ffa3cc65be41000bb
1970
+ ----==_mimepart_552287331368c_58a13fddd0465be8610fa
1955
1971
  Content-Type: text/plain;
1956
1972
  charset=UTF-8
1957
1973
  Content-Transfer-Encoding: 7bit
@@ -1966,11 +1982,11 @@ created for you.
1966
1982
  To get started, confirm your account and set your own password by
1967
1983
  clicking the link below:
1968
1984
 
1969
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=RxdoczBZWxV5jC37oSZ2 )
1985
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=JxVFTs3fAx244doTNsFz )
1970
1986
 
1971
1987
  PushType is brought to you by Push Code:
1972
1988
  type.pushcode.com ( http://type.pushcode.com ).
1973
- ----==_mimepart_54ff4483ea593_7adc3ffa3cc65be41000bb
1989
+ ----==_mimepart_552287331368c_58a13fddd0465be8610fa
1974
1990
  Content-Type: text/html;
1975
1991
  charset=UTF-8
1976
1992
  Content-Transfer-Encoding: 7bit
@@ -2016,7 +2032,7 @@ body {
2016
2032
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2017
2033
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2018
2034
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2019
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=RxdoczBZWxV5jC37oSZ2" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2035
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=JxVFTs3fAx244doTNsFz" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2020
2036
  </td>
2021
2037
  </tr>
2022
2038
  </table>
@@ -2061,49 +2077,36 @@ body {
2061
2077
  </body>
2062
2078
  </html>
2063
2079
 
2064
- ----==_mimepart_54ff4483ea593_7adc3ffa3cc65be41000bb--
2080
+ ----==_mimepart_552287331368c_58a13fddd0465be8610fa--
2065
2081
 
2066
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2067
- Processing by PushType::ConfirmationsController#update as HTML
2068
- Parameters: {"user"=>{"confirmation_token"=>"RxdoczBZWxV5jC37oSZ2", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2069
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "66e883f2a21201b04f92420275bf218f3df12939276df1a344c4d46a30fcb290"]]
2070
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-19@example.com' AND "push_type_users"."id" != '5c266c4b-8581-4af8-b3ce-a7478d5c8220') LIMIT 1
2071
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (3.1ms)
2072
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.1ms)
2073
- Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.3ms)
2074
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2075
-  (0.2ms) ROLLBACK
2076
-  (0.1ms) BEGIN
2077
- --------------------------------------------------------------------------------------
2078
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
2079
- --------------------------------------------------------------------------------------
2080
-  (0.0ms) SAVEPOINT active_record_1
2081
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2082
-  (0.0ms) SAVEPOINT active_record_1
2083
-  (0.1ms) SAVEPOINT active_record_2
2084
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2085
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2086
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "876098c9caa6d5af5d10d153a3f7fbdd38471eb98d2d7df185677e0f7f0f8ccc"]]
2087
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-03-10 19:22:43.979886"], ["updated_at", "2015-03-10 19:22:43.979886"], ["confirmation_token", "876098c9caa6d5af5d10d153a3f7fbdd38471eb98d2d7df185677e0f7f0f8ccc"], ["confirmation_sent_at", "2015-03-10 19:22:43.980835"]]
2088
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.9ms)
2082
+ Redirected to /push_type/users
2083
+ Completed 302 Found in 39ms (ActiveRecord: 0.7ms)
2084
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2085
+  (0.1ms) ROLLBACK
2086
+  (0.1ms) BEGIN
2087
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2088
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2089
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "fe2d013741bb0ff4c6534c414ec84afc31a918adaeeaaa3c5118cce8c1dc1f1e"]]
2090
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-04-06 13:16:35.087607"], ["updated_at", "2015-04-06 13:16:35.087607"], ["confirmation_token", "fe2d013741bb0ff4c6534c414ec84afc31a918adaeeaaa3c5118cce8c1dc1f1e"], ["confirmation_sent_at", "2015-04-06 13:16:35.088566"]]
2091
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
2089
2092
 
2090
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
2093
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.9ms
2091
2094
 
2092
- Sent mail to joe-20@example.com (3.0ms)
2093
- Date: Tue, 10 Mar 2015 19:22:44 +0000
2095
+ Sent mail to joe-20@example.com (3.2ms)
2096
+ Date: Mon, 06 Apr 2015 14:16:35 +0100
2094
2097
  From: pushtype@example.com
2095
2098
  Reply-To: pushtype@example.com
2096
2099
  To: joe-20@example.com
2097
- Message-ID: <54ff44843426_7adc3ffa3cc65be4100481@Aarons-iMac.local.mail>
2100
+ Message-ID: <552287331de52_58a13fddd0465be861456@Aarons-iMac.local.mail>
2098
2101
  Subject: [PushType] Confirm your account
2099
2102
  Mime-Version: 1.0
2100
2103
  Content-Type: multipart/alternative;
2101
- boundary="--==_mimepart_54ff44842e82_7adc3ffa3cc65be410035f";
2104
+ boundary="--==_mimepart_552287331d86f_58a13fddd0465be8613df";
2102
2105
  charset=UTF-8
2103
2106
  Content-Transfer-Encoding: 7bit
2104
2107
 
2105
2108
 
2106
- ----==_mimepart_54ff44842e82_7adc3ffa3cc65be410035f
2109
+ ----==_mimepart_552287331d86f_58a13fddd0465be8613df
2107
2110
  Content-Type: text/plain;
2108
2111
  charset=UTF-8
2109
2112
  Content-Transfer-Encoding: 7bit
@@ -2118,11 +2121,11 @@ created for you.
2118
2121
  To get started, confirm your account and set your own password by
2119
2122
  clicking the link below:
2120
2123
 
2121
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=kkWyGqBnhqxowpTVUvyx )
2124
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tSEzFvR1SZxhR1suPYwW )
2122
2125
 
2123
2126
  PushType is brought to you by Push Code:
2124
2127
  type.pushcode.com ( http://type.pushcode.com ).
2125
- ----==_mimepart_54ff44842e82_7adc3ffa3cc65be410035f
2128
+ ----==_mimepart_552287331d86f_58a13fddd0465be8613df
2126
2129
  Content-Type: text/html;
2127
2130
  charset=UTF-8
2128
2131
  Content-Transfer-Encoding: 7bit
@@ -2168,7 +2171,7 @@ body {
2168
2171
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2169
2172
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2170
2173
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2171
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=kkWyGqBnhqxowpTVUvyx" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2174
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=tSEzFvR1SZxhR1suPYwW" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2172
2175
  </td>
2173
2176
  </tr>
2174
2177
  </table>
@@ -2213,42 +2216,40 @@ body {
2213
2216
  </body>
2214
2217
  </html>
2215
2218
 
2216
- ----==_mimepart_54ff44842e82_7adc3ffa3cc65be410035f--
2219
+ ----==_mimepart_552287331d86f_58a13fddd0465be8613df--
2217
2220
 
2218
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2219
- Processing by PushType::ConfirmationsController#update as HTML
2220
- Parameters: {"user"=>{"confirmation_token"=>"kkWyGqBnhqxowpTVUvyx", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2221
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "876098c9caa6d5af5d10d153a3f7fbdd38471eb98d2d7df185677e0f7f0f8ccc"]]
2222
- 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" != '3025c96b-15a5-4046-8493-b5df2dd48a2a') LIMIT 1
2223
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.9ms)
2224
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.9ms)
2225
- Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.4ms)
2226
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2227
-  (0.1ms) ROLLBACK
2228
-  (0.1ms) BEGIN
2229
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2230
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2231
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "753113bd2f0a3aeb80b19c66750726508e104cdd6aa480fc78be53340de348e2"]]
2232
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", "2015-03-10 19:22:44.032200"], ["updated_at", "2015-03-10 19:22:44.032200"], ["confirmation_token", "753113bd2f0a3aeb80b19c66750726508e104cdd6aa480fc78be53340de348e2"], ["confirmation_sent_at", "2015-03-10 19:22:44.033075"]]
2233
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.9ms)
2221
+  (0.6ms) COMMIT
2222
+  (0.1ms) BEGIN
2223
+ ------------------------------------------------------------------------------------
2224
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
2225
+ ------------------------------------------------------------------------------------
2226
+  (0.1ms) SAVEPOINT active_record_1
2227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2228
+  (0.1ms) SAVEPOINT active_record_1
2229
+  (0.1ms) SAVEPOINT active_record_2
2230
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2231
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2232
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "bd0cc3ffcdaf73b9fc9b303e429329ce71f69c78c14e14fe87831c9a97be4d0c"]]
2233
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", "2015-04-06 13:16:35.131278"], ["updated_at", "2015-04-06 13:16:35.131278"], ["confirmation_token", "bd0cc3ffcdaf73b9fc9b303e429329ce71f69c78c14e14fe87831c9a97be4d0c"], ["confirmation_sent_at", "2015-04-06 13:16:35.132167"]]
2234
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
2234
2235
 
2235
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
2236
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
2236
2237
 
2237
2238
  Sent mail to joe-21@example.com (3.0ms)
2238
- Date: Tue, 10 Mar 2015 19:22:44 +0000
2239
+ Date: Mon, 06 Apr 2015 14:16:35 +0100
2239
2240
  From: pushtype@example.com
2240
2241
  Reply-To: pushtype@example.com
2241
2242
  To: joe-21@example.com
2242
- Message-ID: <54ff4484feea_7adc3ffa3cc65be4100730@Aarons-iMac.local.mail>
2243
+ Message-ID: <5522873328cd6_58a13fddd0465be86173f@Aarons-iMac.local.mail>
2243
2244
  Subject: [PushType] Confirm your account
2244
2245
  Mime-Version: 1.0
2245
2246
  Content-Type: multipart/alternative;
2246
- boundary="--==_mimepart_54ff4484f97c_7adc3ffa3cc65be4100648";
2247
+ boundary="--==_mimepart_552287332873c_58a13fddd0465be861664";
2247
2248
  charset=UTF-8
2248
2249
  Content-Transfer-Encoding: 7bit
2249
2250
 
2250
2251
 
2251
- ----==_mimepart_54ff4484f97c_7adc3ffa3cc65be4100648
2252
+ ----==_mimepart_552287332873c_58a13fddd0465be861664
2252
2253
  Content-Type: text/plain;
2253
2254
  charset=UTF-8
2254
2255
  Content-Transfer-Encoding: 7bit
@@ -2263,11 +2264,11 @@ created for you.
2263
2264
  To get started, confirm your account and set your own password by
2264
2265
  clicking the link below:
2265
2266
 
2266
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=jDsLGurAzoskkrqJ-U85 )
2267
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ciQnUs7RgxVp5DF-wTLc )
2267
2268
 
2268
2269
  PushType is brought to you by Push Code:
2269
2270
  type.pushcode.com ( http://type.pushcode.com ).
2270
- ----==_mimepart_54ff4484f97c_7adc3ffa3cc65be4100648
2271
+ ----==_mimepart_552287332873c_58a13fddd0465be861664
2271
2272
  Content-Type: text/html;
2272
2273
  charset=UTF-8
2273
2274
  Content-Transfer-Encoding: 7bit
@@ -2313,7 +2314,7 @@ body {
2313
2314
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2314
2315
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2315
2316
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2316
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=jDsLGurAzoskkrqJ-U85" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2317
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ciQnUs7RgxVp5DF-wTLc" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2317
2318
  </td>
2318
2319
  </tr>
2319
2320
  </table>
@@ -2358,33 +2359,55 @@ body {
2358
2359
  </body>
2359
2360
  </html>
2360
2361
 
2361
- ----==_mimepart_54ff4484f97c_7adc3ffa3cc65be4100648--
2362
+ ----==_mimepart_552287332873c_58a13fddd0465be861664--
2362
2363
 
2363
-  (0.6ms) COMMIT
2364
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2365
+ Processing by PushType::ConfirmationsController#update as HTML
2366
+ Parameters: {"user"=>{"confirmation_token"=>"ciQnUs7RgxVp5DF-wTLc", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2367
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "bd0cc3ffcdaf73b9fc9b303e429329ce71f69c78c14e14fe87831c9a97be4d0c"]]
2368
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != '0a4f97e6-0e97-45d0-9615-c4295fb8c3f6') LIMIT 1
2369
+  (0.1ms) SAVEPOINT active_record_2
2370
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$zR/DlyKe1LRJMMN3sGvUnu6Lx2kz1bU/kh9vaQ/DOvv9viBdQAEeW"], ["confirmed_at", "2015-04-06 13:16:35.175509"], ["updated_at", "2015-04-06 13:16:35.175849"], ["id", "0a4f97e6-0e97-45d0-9615-c4295fb8c3f6"]]
2371
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2372
+  (0.1ms) SAVEPOINT active_record_2
2373
+ SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-04-06 13:16:35.177344"], ["current_sign_in_at", "2015-04-06 13:16:35.177344"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-04-06 13:16:35.178228"], ["id", "0a4f97e6-0e97-45d0-9615-c4295fb8c3f6"]]
2374
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2375
+ Redirected to http://test.host/push_type/
2376
+ Completed 302 Found in 10ms (ActiveRecord: 1.1ms)
2377
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "0a4f97e6-0e97-45d0-9615-c4295fb8c3f6"]]
2378
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2379
+  (0.1ms) ROLLBACK
2364
2380
   (0.1ms) BEGIN
2381
+ ------------------------------------------------------------------------------------
2382
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
2383
+ ------------------------------------------------------------------------------------
2384
+  (0.1ms) SAVEPOINT active_record_1
2385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2386
+  (0.0ms) SAVEPOINT active_record_1
2387
+  (0.1ms) SAVEPOINT active_record_2
2365
2388
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2366
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2367
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "3dc9030f4b1cba3494507faf57de83b5243ddba63dba0a75a2d002a55ce41d0e"]]
2368
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-03-10 19:22:44.072241"], ["updated_at", "2015-03-10 19:22:44.072241"], ["confirmation_token", "3dc9030f4b1cba3494507faf57de83b5243ddba63dba0a75a2d002a55ce41d0e"], ["confirmation_sent_at", "2015-03-10 19:22:44.073223"]]
2369
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms)
2389
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2390
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "885d0a07d1d7f1550bd80f481da03d69b3de2a6fa56e407bc761d4e91aca53f0"]]
2391
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-04-06 13:16:35.185978"], ["updated_at", "2015-04-06 13:16:35.185978"], ["confirmation_token", "885d0a07d1d7f1550bd80f481da03d69b3de2a6fa56e407bc761d4e91aca53f0"], ["confirmation_sent_at", "2015-04-06 13:16:35.186911"]]
2392
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.0ms)
2370
2393
 
2371
- Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
2394
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
2372
2395
 
2373
- Sent mail to joe-22@example.com (3.1ms)
2374
- Date: Tue, 10 Mar 2015 19:22:44 +0000
2396
+ Sent mail to joe-22@example.com (4.0ms)
2397
+ Date: Mon, 06 Apr 2015 14:16:35 +0100
2375
2398
  From: pushtype@example.com
2376
2399
  Reply-To: pushtype@example.com
2377
2400
  To: joe-22@example.com
2378
- Message-ID: <54ff448419e54_7adc3ffa3cc65be41010bf@Aarons-iMac.local.mail>
2401
+ Message-ID: <55228733360a5_58a13fddd0465be8620da@Aarons-iMac.local.mail>
2379
2402
  Subject: [PushType] Confirm your account
2380
2403
  Mime-Version: 1.0
2381
2404
  Content-Type: multipart/alternative;
2382
- boundary="--==_mimepart_54ff4484198bc_7adc3ffa3cc65be41009b0";
2405
+ boundary="--==_mimepart_5522873335828_58a13fddd0465be8619fb";
2383
2406
  charset=UTF-8
2384
2407
  Content-Transfer-Encoding: 7bit
2385
2408
 
2386
2409
 
2387
- ----==_mimepart_54ff4484198bc_7adc3ffa3cc65be41009b0
2410
+ ----==_mimepart_5522873335828_58a13fddd0465be8619fb
2388
2411
  Content-Type: text/plain;
2389
2412
  charset=UTF-8
2390
2413
  Content-Transfer-Encoding: 7bit
@@ -2399,11 +2422,11 @@ created for you.
2399
2422
  To get started, confirm your account and set your own password by
2400
2423
  clicking the link below:
2401
2424
 
2402
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=s-rTc2xkWiF6MAApQzhK )
2425
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=u1L8Dz_wixHmo4pKo6kv )
2403
2426
 
2404
2427
  PushType is brought to you by Push Code:
2405
2428
  type.pushcode.com ( http://type.pushcode.com ).
2406
- ----==_mimepart_54ff4484198bc_7adc3ffa3cc65be41009b0
2429
+ ----==_mimepart_5522873335828_58a13fddd0465be8619fb
2407
2430
  Content-Type: text/html;
2408
2431
  charset=UTF-8
2409
2432
  Content-Transfer-Encoding: 7bit
@@ -2449,7 +2472,7 @@ body {
2449
2472
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2450
2473
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2451
2474
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2452
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=s-rTc2xkWiF6MAApQzhK" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2475
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=u1L8Dz_wixHmo4pKo6kv" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2453
2476
  </td>
2454
2477
  </tr>
2455
2478
  </table>
@@ -2494,6 +2517,20 @@ body {
2494
2517
  </body>
2495
2518
  </html>
2496
2519
 
2497
- ----==_mimepart_54ff4484198bc_7adc3ffa3cc65be41009b0--
2520
+ ----==_mimepart_5522873335828_58a13fddd0465be8619fb--
2498
2521
 
2499
-  (0.5ms) COMMIT
2522
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2523
+ Processing by PushType::ConfirmationsController#update as HTML
2524
+ Parameters: {"user"=>{"confirmation_token"=>"u1L8Dz_wixHmo4pKo6kv", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2525
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "885d0a07d1d7f1550bd80f481da03d69b3de2a6fa56e407bc761d4e91aca53f0"]]
2526
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-22@example.com' AND "push_type_users"."id" != '78c611f3-e87f-49f3-8bf0-7a2db002fbad') LIMIT 1
2527
+  (0.1ms) SAVEPOINT active_record_2
2528
+ SQL (0.2ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "encrypted_password" = $2, "confirmed_at" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = $5 [["confirmation_token", nil], ["encrypted_password", "$2a$04$Fk/Xk2F3TzN77X5nbyuRHeyC4tZd/QVlEnM7UBJJ5cZ4eKqkAiY8S"], ["confirmed_at", "2015-04-06 13:16:35.229757"], ["updated_at", "2015-04-06 13:16:35.230103"], ["id", "78c611f3-e87f-49f3-8bf0-7a2db002fbad"]]
2529
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2530
+  (0.1ms) SAVEPOINT active_record_2
2531
+ SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-04-06 13:16:35.231349"], ["current_sign_in_at", "2015-04-06 13:16:35.231349"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-04-06 13:16:35.231999"], ["id", "78c611f3-e87f-49f3-8bf0-7a2db002fbad"]]
2532
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2533
+ Redirected to http://test.host/push_type/
2534
+ Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
2535
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2536
+  (0.1ms) ROLLBACK