push_type_auth 0.3.1 → 0.3.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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/devise/mailer/confirmation_instructions.html.erb +12 -3
  3. data/app/views/devise/mailer/reset_password_instructions.html.erb +11 -4
  4. data/config/locales/devise.en.yml +3 -3
  5. data/lib/push_type/auth/engine.rb +7 -1
  6. data/test/controllers/push_type/users_controller_test.rb +1 -1
  7. data/test/dummy/config/initializers/push_type.rb +4 -1
  8. data/test/dummy/config/secrets.yml +2 -2
  9. data/test/dummy/db/migrate/{20150222152523_create_push_type_users.push_type.rb → 20150310192231_create_push_type_users.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20150222152524_create_push_type_nodes.push_type.rb → 20150310192232_create_push_type_nodes.push_type.rb} +0 -0
  11. data/test/dummy/db/migrate/{20150222152525_create_push_type_node_hierarchies.push_type.rb → 20150310192233_create_push_type_node_hierarchies.push_type.rb} +0 -0
  12. data/test/dummy/db/migrate/{20150222152526_create_push_type_assets.push_type.rb → 20150310192234_create_push_type_assets.push_type.rb} +0 -0
  13. data/test/dummy/db/migrate/{20150222152527_devise_extend_push_type_users.push_type_auth.rb → 20150310192235_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  14. data/test/dummy/db/schema.rb +1 -1
  15. data/test/dummy/log/test.log +2305 -685
  16. data/test/dummy/tmp/cache/assets/test/sass/0bf981301b6f8cfa0a13d38a3554eafaa08d4bc1/foundation.scssc +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin.scssc +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin_assets.scss.erbc +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/foundation_and_overrides.scssc +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/tagsinput.scssc +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_accordion.scssc +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_alert-boxes.scssc +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_block-grid.scssc +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_breadcrumbs.scssc +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_button-groups.scssc +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_buttons.scssc +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_clearing.scssc +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_dropdown-buttons.scssc +0 -0
  29. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_dropdown.scssc +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_flex-video.scssc +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_forms.scssc +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_global.scssc +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_grid.scssc +0 -0
  34. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_icon-bar.scssc +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_inline-lists.scssc +0 -0
  36. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_joyride.scssc +0 -0
  37. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_keystrokes.scssc +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_labels.scssc +0 -0
  39. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_magellan.scssc +0 -0
  40. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_offcanvas.scssc +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_orbit.scssc +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_pagination.scssc +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_panels.scssc +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_pricing-tables.scssc +0 -0
  45. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_progress-bars.scssc +0 -0
  46. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_range-slider.scssc +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_reveal.scssc +0 -0
  48. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_side-nav.scssc +0 -0
  49. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_split-buttons.scssc +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_sub-nav.scssc +0 -0
  51. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_switches.scssc +0 -0
  52. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tables.scssc +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tabs.scssc +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_thumbs.scssc +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tooltips.scssc +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_top-bar.scssc +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_type.scssc +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_visibility.scssc +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sass/9ffd013d383870261f2263c294cb3119536e8d59/_functions.scssc +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sass/d416499186bc6a8ba276a69cc9d9fffa030e66bc/foundation-icons.scssc +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/0e01ae9de0f3914c8317853aedd9ace4 +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/7879ec7699a19e017377e1b57702e3e5 +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/8d531fdb806de0724337e0b80e253914 +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/91e13d81afe9041372ad8f79ee9159f4 +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/a9b8decaa2942e8913458c9f35da2693 +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/aaf7959dea629271d23756ab876bc035 +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/c1f21089f7723cec095d6155006b3369 +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/c206fbd33f49ab785c6ddf4bcffd3b93 +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/ced03408b122864859822730d0840ce9 +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/df90022afc0d52f16bc498be20a5967d +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/edaf2543a96ee921c30a071b3a73036f +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/edd24c59de6c00e4e68dbbdf2775984a +0 -0
  73. metadata +20 -17
  74. data/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9763596daf0eef442af6ade6d099f2d400e2af0e
4
- data.tar.gz: 5ee6c3b0d38fb2c33fdaea6cd0e8772b63ef52e0
3
+ metadata.gz: 2bb00cfb55cb37039272f7156a3fae5fdb33b68a
4
+ data.tar.gz: 1cd85c2a41e991d810fdccc31e9aa548d511b286
5
5
  SHA512:
6
- metadata.gz: 83d159b65af5cd99e450a3eaeea84817e2030dd579ac5814c4edd1a61f594612e0d9329a25a9feb062bc3c59edc184806bc119035b35a3cdbd06e45f23c9ee2e
7
- data.tar.gz: 9ea1dade2899ef3fa84a376406e13ac36eac7d974b485915e3107250ef21adc2c0789ff79c4270f1acfafb1befdd470c6c0e88bf5b8599721037daad80dc93fa
6
+ metadata.gz: 2458807d606028275d34781b22a3c8d0ff69b1e8f947e9eabdcfd163ad4c34e27031517a6a8c8dde5c25eb63a33cd526d2f4ab5b3cdeace7bc3610783a062896
7
+ data.tar.gz: 4dcb690e056b1db8903cce1d7706229478ca1d1baeae4373e337991aa9d3cde5f8fd57417f4a06a2335c5fd719f89b3a388bc9405562773182fce13ab7a99b9f
@@ -1,5 +1,14 @@
1
- <p>Welcome <%= @email %>!</p>
1
+ <p>Hello <%= @user.name %></p>
2
2
 
3
- <p>You can confirm your account email through the link below:</p>
3
+ <p>You're receiving this email because a PushType account has been created for you.</p>
4
+
5
+ <p>To get started, confirm your account and set your own password by clicking the link below:</p>
6
+
7
+ <table>
8
+ <tr>
9
+ <td class="padding">
10
+ <p><%= link_to 'Confirm my account', confirmation_url(@user, confirmation_token: @token), class: 'btn-primary' %></p>
11
+ </td>
12
+ </tr>
13
+ </table>
4
14
 
5
- <p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
@@ -1,8 +1,15 @@
1
- <p>Hello <%= @resource.email %>!</p>
1
+ <p>Hello <%= @user.name %></p>
2
2
 
3
- <p>Someone has requested a link to change your password. You can do this through the link below.</p>
3
+ <p>You're receiving this email because someone has requested to change your PushType password. If you didn't request this, please ignore this email.</p>
4
4
 
5
- <p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
5
+ <p>To change your password, click the link below and follow the instructions:</p>
6
+
7
+ <table>
8
+ <tr>
9
+ <td class="padding">
10
+ <p><%= link_to 'Change my password', edit_password_url(@user, reset_password_token: @token), class: 'btn-primary' %></p>
11
+ </td>
12
+ </tr>
13
+ </table>
6
14
 
7
- <p>If you didn't request this, please ignore this email.</p>
8
15
  <p>Your password won't change until you access the link above and create a new one.</p>
@@ -18,11 +18,11 @@ en:
18
18
  unconfirmed: "You have to confirm your email address before continuing."
19
19
  mailer:
20
20
  confirmation_instructions:
21
- subject: "Confirmation instructions"
21
+ subject: "[PushType] Confirm your account"
22
22
  reset_password_instructions:
23
- subject: "Reset password instructions"
23
+ subject: "[PushType] Reset your password"
24
24
  unlock_instructions:
25
- subject: "Unlock instructions"
25
+ subject: "[PushType] Unlock your account"
26
26
  omniauth_callbacks:
27
27
  failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
28
28
  success: "Successfully authenticated from %{kind} account."
@@ -10,8 +10,9 @@ module PushType
10
10
  g.test_framework :minitest, spec: true, fixture: false
11
11
  end
12
12
 
13
- initializer 'push_type_auth.extend_models' do
13
+ config.to_prepare do
14
14
  PushType::User.send :include, PushType::Authenticatable
15
+ Devise::Mailer.layout 'push_type/email'
15
16
  end
16
17
 
17
18
  initializer 'push_type_auth.extend_controllers' do
@@ -23,6 +24,11 @@ module PushType
23
24
  DeviseController.helper PushType::AdminHelper
24
25
  end
25
26
 
27
+ initializer 'push_type_auth.devise_config' do
28
+ Devise.mailer_sender = PushType.config.mailer_sender
29
+ Devise.router_name = :push_type
30
+ end
31
+
26
32
  initializer 'push_type_auth.menus' do
27
33
  PushType.menu :utility do
28
34
  item :settings do
@@ -17,7 +17,7 @@ module PushType
17
17
  end
18
18
  it { response.must_redirect_to referer }
19
19
  it { last_email.to.must_include user.email }
20
- it { last_email.subject.must_equal 'Confirmation instructions' }
20
+ it { last_email.subject.must_include 'Confirm your account' }
21
21
  end
22
22
 
23
23
  end
@@ -12,6 +12,9 @@ PushType.setup do |config|
12
12
  small: '256x256>'
13
13
  }
14
14
 
15
+ # Configure the default mailer "from" address
16
+ config.mailer_sender = 'pushtype@example.com'
17
+
15
18
  # Dragonfly datastore configuration
16
19
  config.dragonfly_datastore = :file
17
20
  config.dragonfly_datastore_options = {
@@ -28,6 +31,6 @@ PushType.setup do |config|
28
31
  # secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
29
32
  # }
30
33
 
31
- # config.dragonfly_secret = 'fa8da1e812fac125729a712f17ce4a3dc3d365f56e017791e349718909cffbaa'
34
+ # config.dragonfly_secret = 'fc0fb2366f42933b5700f35ab39ddf5c7723af8ed6f9e44a3e9c8fa000aa99a3'
32
35
 
33
36
  end
@@ -11,10 +11,10 @@
11
11
  # if you're sharing your code publicly.
12
12
 
13
13
  development:
14
- secret_key_base: 6e36e5a1f1406fc4bb29791e0a2babe453e1b869d728636fc3754be827e6f9ec4564b8b4eed7d5744cbefdac8c23b060d93c2a51c97a42a408a41597cde22b3d
14
+ secret_key_base: b3be0b1b4ef4120b68b185024ee6dbb96de69e83f10d33dde95a5022393b05c1173a95e9486a24d7b1dfa69863fc56cf464616f2db854af5b45f6fe9471c41a4
15
15
 
16
16
  test:
17
- secret_key_base: 09c1ea99d8114eff5962b2f332609d0d99d3f6e37ca0e25db00d7d2c879bbf363acdc3335d8ab6078c14e6a0fbd04427a804a0add411267dc18e4180f1e6eb62
17
+ secret_key_base: 15fb75bf0fa9bfa68338bf4e664b03087274aa7e363939c94d3440d8debb64f6cd987190d691f7321c789d60b3bbff8d0dadbd4efc64bfc53dd9e8d68fd467ac
18
18
 
19
19
  # Do not keep production secrets in the repository,
20
20
  # instead read values from the environment.
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150222152527) do
14
+ ActiveRecord::Schema.define(version: 20150310192235) do
15
15
 
16
16
  # These are extensions that must be enabled in order to support this database
17
17
  enable_extension "plpgsql"
@@ -1,47 +1,47 @@
1
-  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
2
   (0.9ms) 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 (20150222152523)
4
+ Migrating to CreatePushTypeUsers (20150310192231)
5
5
   (0.1ms) BEGIN
6
- SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
6
+ SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
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", "20150222152523"]]
9
-  (0.5ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20150222152524)
11
-  (0.1ms) BEGIN
12
-  (1.7ms) 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", "20150222152524"]]
14
-  (0.2ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20150222152525)
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)
16
16
   (0.1ms) BEGIN
17
-  (0.5ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
17
+  (0.4ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
18
   (0.6ms) CREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
-  (0.5ms) CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150222152525"]]
21
-  (0.3ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20150222152526)
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)
23
23
   (0.1ms) BEGIN
24
-  (2.2ms) 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", "20150222152526"]]
26
-  (0.3ms) COMMIT
27
- Migrating to DeviseExtendPushTypeUsers (20150222152527)
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)
28
28
   (0.1ms) BEGIN
29
-  (2.4ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
30
-  (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
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
31
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
32
32
   (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
33
-  (2.1ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
33
+  (2.5ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
34
34
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
35
35
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
36
-  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
36
+  (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
37
37
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
38
-  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
39
-  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
40
-  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
41
-  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
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
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", "20150222152527"]]
44
-  (0.9ms) COMMIT
43
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150310192235"]]
44
+  (1.1ms) COMMIT
45
45
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
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
47
47
  FROM pg_constraint c
@@ -93,432 +93,131 @@ ORDER BY c.conname
93
93
 
94
94
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
95
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
-  (0.9ms)  SELECT schemaname || '.' || tablename
96
+  (1.2ms)  SELECT schemaname || '.' || tablename
97
97
  FROM pg_tables
98
98
  WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
99
99
  
100
-  (1.2ms) select table_name from information_schema.views where table_schema = 'dummy_test'
101
-  (7.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.3ms) 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
- PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
105
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
106
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "8ac1a417f286c6783611732d5169e5faffbf35c045e29196d66b7c70952feb3f"]]
107
- SQL (0.8ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", "2015-02-22 15:25:28.612684"], ["updated_at", "2015-02-22 15:25:28.612684"], ["confirmation_token", "8ac1a417f286c6783611732d5169e5faffbf35c045e29196d66b7c70952feb3f"], ["confirmation_sent_at", "2015-02-22 15:25:28.773907"]]
108
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (3.6ms)
109
-
110
- Devise::Mailer#confirmation_instructions: processed outbound mail in 192.5ms
111
-
112
- Sent mail to joe-1@example.com (8.7ms)
113
- Date: Sun, 22 Feb 2015 15:25:28 +0000
114
- From: please-change-me-at-config-initializers-devise@example.com
115
- Reply-To: please-change-me-at-config-initializers-devise@example.com
116
- To: joe-1@example.com
117
- Message-ID: <54e9f4e8efa5d_18bb3ff408865bf04554f@Aarons-iMac.local.mail>
118
- Subject: Confirmation instructions
119
- Mime-Version: 1.0
120
- Content-Type: text/html;
121
- charset=UTF-8
122
- Content-Transfer-Encoding: 7bit
123
-
124
- <p>Welcome joe-1@example.com!</p>
125
-
126
- <p>You can confirm your account email through the link below:</p>
127
-
128
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=YbFSKKiDispFa6A6aWtb">Confirm my account</a></p>
129
-
130
-  (5.7ms) COMMIT
100
+  (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
131
103
   (0.1ms) BEGIN
132
- ------------------------------------------------------------------------------------
133
- PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
134
- ------------------------------------------------------------------------------------
104
+ ---------------------------------------------------------------------------------
105
+ PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
106
+ ---------------------------------------------------------------------------------
135
107
   (0.1ms) SAVEPOINT active_record_1
136
108
   (0.1ms) RELEASE SAVEPOINT active_record_1
137
109
   (0.1ms) SAVEPOINT active_record_1
138
110
   (0.1ms) SAVEPOINT active_record_2
139
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
140
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
141
- 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", "f3b8acc1cc636e2621b6850be2003562bc04c66fd06fa23df120aab4b5f48877"]]
142
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", "2015-02-22 15:25:28.995925"], ["updated_at", "2015-02-22 15:25:28.995925"], ["confirmation_token", "f3b8acc1cc636e2621b6850be2003562bc04c66fd06fa23df120aab4b5f48877"], ["confirmation_sent_at", "2015-02-22 15:25:28.996951"]]
143
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.2ms)
144
-
145
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
146
-
147
- Sent mail to joe-2@example.com (1.5ms)
148
- Date: Sun, 22 Feb 2015 15:25:29 +0000
149
- From: please-change-me-at-config-initializers-devise@example.com
150
- Reply-To: please-change-me-at-config-initializers-devise@example.com
151
- To: joe-2@example.com
152
- Message-ID: <54e9f4e9763_18bb3ff408865bf045695@Aarons-iMac.local.mail>
153
- Subject: Confirmation instructions
154
- Mime-Version: 1.0
155
- Content-Type: text/html;
156
- charset=UTF-8
157
- Content-Transfer-Encoding: 7bit
158
-
159
- <p>Welcome joe-2@example.com!</p>
160
-
161
- <p>You can confirm your account email through the link below:</p>
162
-
163
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=oi4ALoxCC4UBGagvhNmV">Confirm my account</a></p>
164
-
165
-  (0.1ms) RELEASE SAVEPOINT active_record_2
166
- Processing by PushType::ConfirmationsController#update as HTML
167
- Parameters: {"user"=>{"confirmation_token"=>"oi4ALoxCC4UBGagvhNmV", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
168
- 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", "f3b8acc1cc636e2621b6850be2003562bc04c66fd06fa23df120aab4b5f48877"]]
169
- 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" != 'dfbe3bcd-d485-453e-9ff1-ad521098c095') LIMIT 1
170
-  (0.1ms) SAVEPOINT active_record_2
171
- 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$NfX97nGkcmWOWGP2BuAz/u/B6MOw9T1hf.PFqRaNtyQZ859Sm7v.K"], ["confirmed_at", "2015-02-22 15:25:29.010942"], ["updated_at", "2015-02-22 15:25:29.011309"], ["id", "dfbe3bcd-d485-453e-9ff1-ad521098c095"]]
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"]]
172
114
   (0.1ms) RELEASE SAVEPOINT active_record_2
173
-  (0.1ms) SAVEPOINT active_record_2
174
- 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-02-22 15:25:29.013087"], ["current_sign_in_at", "2015-02-22 15:25:29.013087"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-02-22 15:25:29.013828"], ["id", "dfbe3bcd-d485-453e-9ff1-ad521098c095"]]
175
-  (0.1ms) RELEASE SAVEPOINT active_record_2
176
- Redirected to http://test.host/push_type/
177
- Completed 302 Found in 9ms (ActiveRecord: 1.1ms)
178
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
179
-  (0.1ms) ROLLBACK
180
-  (0.1ms) BEGIN
181
- ------------------------------------------------------------------------------------
182
- PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
183
- ------------------------------------------------------------------------------------
184
-  (0.1ms) SAVEPOINT active_record_1
185
-  (0.0ms) RELEASE SAVEPOINT active_record_1
186
-  (0.0ms) SAVEPOINT active_record_1
187
-  (0.1ms) SAVEPOINT active_record_2
188
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
189
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
190
- 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", "8c956f35f15b0657dce0b96efd7f7e8cafffd661a3d5a16f6ab2bd3f4ac55296"]]
191
- 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-3@example.com"], ["created_at", "2015-02-22 15:25:29.020930"], ["updated_at", "2015-02-22 15:25:29.020930"], ["confirmation_token", "8c956f35f15b0657dce0b96efd7f7e8cafffd661a3d5a16f6ab2bd3f4ac55296"], ["confirmation_sent_at", "2015-02-22 15:25:29.021896"]]
192
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.0ms)
193
-
194
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
195
-
196
- Sent mail to joe-3@example.com (1.6ms)
197
- Date: Sun, 22 Feb 2015 15:25:29 +0000
198
- From: please-change-me-at-config-initializers-devise@example.com
199
- Reply-To: please-change-me-at-config-initializers-devise@example.com
200
- To: joe-3@example.com
201
- Message-ID: <54e9f4e96844_18bb3ff408865bf04578f@Aarons-iMac.local.mail>
202
- Subject: Confirmation instructions
203
- Mime-Version: 1.0
204
- Content-Type: text/html;
205
- charset=UTF-8
206
- Content-Transfer-Encoding: 7bit
207
-
208
- <p>Welcome joe-3@example.com!</p>
209
-
210
- <p>You can confirm your account email through the link below:</p>
211
-
212
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=goJGJ6Cszo-sZz-nb6yk">Confirm my account</a></p>
213
-
214
-  (0.1ms) RELEASE SAVEPOINT active_record_2
215
- Processing by PushType::ConfirmationsController#update as HTML
216
- Parameters: {"user"=>{"confirmation_token"=>"goJGJ6Cszo-sZz-nb6yk", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
217
- 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", "8c956f35f15b0657dce0b96efd7f7e8cafffd661a3d5a16f6ab2bd3f4ac55296"]]
218
- 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" != '05376c9b-7f92-4a43-9a34-1efcfd1079d1') LIMIT 1
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"]]
219
118
   (0.1ms) SAVEPOINT active_record_2
220
- 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$A8nS20XFXznuzkjwHfjwtu9fZGwFKPAktehGc7xy/JyVJj3yP.CN2"], ["confirmed_at", "2015-02-22 15:25:29.033097"], ["updated_at", "2015-02-22 15:25:29.033579"], ["id", "05376c9b-7f92-4a43-9a34-1efcfd1079d1"]]
221
-  (0.1ms) RELEASE SAVEPOINT active_record_2
222
-  (0.1ms) SAVEPOINT active_record_2
223
- 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-02-22 15:25:29.034853"], ["current_sign_in_at", "2015-02-22 15:25:29.034853"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-02-22 15:25:29.035550"], ["id", "05376c9b-7f92-4a43-9a34-1efcfd1079d1"]]
224
-  (0.1ms) RELEASE SAVEPOINT active_record_2
225
- Redirected to http://test.host/push_type/
226
- Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
227
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "05376c9b-7f92-4a43-9a34-1efcfd1079d1"]]
228
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
229
-  (0.1ms) ROLLBACK
230
-  (0.1ms) BEGIN
231
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
232
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
233
- 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", "8817e14d600958e11f78f3179ddd7363785e306c671edd13fba616ef539178f0"]]
234
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-02-22 15:25:29.042180"], ["updated_at", "2015-02-22 15:25:29.042180"], ["confirmation_token", "8817e14d600958e11f78f3179ddd7363785e306c671edd13fba616ef539178f0"], ["confirmation_sent_at", "2015-02-22 15:25:29.043101"]]
235
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.9ms)
236
-
237
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
238
-
239
- Sent mail to joe-4@example.com (1.7ms)
240
- Date: Sun, 22 Feb 2015 15:25:29 +0000
241
- From: please-change-me-at-config-initializers-devise@example.com
242
- Reply-To: please-change-me-at-config-initializers-devise@example.com
243
- To: joe-4@example.com
244
- Message-ID: <54e9f4e9b9d5_18bb3ff408865bf0458e1@Aarons-iMac.local.mail>
245
- Subject: Confirmation instructions
246
- Mime-Version: 1.0
247
- Content-Type: text/html;
248
- charset=UTF-8
249
- Content-Transfer-Encoding: 7bit
250
-
251
- <p>Welcome joe-4@example.com!</p>
252
-
253
- <p>You can confirm your account email through the link below:</p>
254
-
255
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=-Poceembfcx2RvQ3JtWv">Confirm my account</a></p>
256
-
257
-  (0.5ms) COMMIT
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
258
125
   (0.1ms) BEGIN
259
- -----------------------------------------------------------
260
- PushType::UsersController::PUT #invite: test_0001_anonymous
261
- -----------------------------------------------------------
262
-  (0.1ms) SAVEPOINT active_record_1
263
-  (0.1ms) RELEASE SAVEPOINT active_record_1
126
+ ---------------------------------------------------------------------------------
127
+ PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
128
+ ---------------------------------------------------------------------------------
264
129
   (0.1ms) SAVEPOINT active_record_1
130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
131
+  (0.0ms) SAVEPOINT active_record_1
265
132
   (0.1ms) SAVEPOINT active_record_2
266
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
267
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
268
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-02-22 15:25:29.053786"], ["confirmed_at", "2015-02-22 15:25:29.053903"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:29.055835"], ["updated_at", "2015-02-22 15:25:29.055835"]]
269
-  (0.1ms) RELEASE SAVEPOINT active_record_2
270
-  (0.1ms) SAVEPOINT active_record_2
271
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
272
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
273
- 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", "4ea844a8b54ff0217a9b72f1cfddea8bcb58536671f704e3b58e58e98f22bc7b"]]
274
- 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-02-22 15:25:29.059236"], ["updated_at", "2015-02-22 15:25:29.059236"], ["confirmation_token", "4ea844a8b54ff0217a9b72f1cfddea8bcb58536671f704e3b58e58e98f22bc7b"], ["confirmation_sent_at", "2015-02-22 15:25:29.060137"]]
275
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.2ms)
276
-
277
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
278
-
279
- Sent mail to joe-6@example.com (1.5ms)
280
- Date: Sun, 22 Feb 2015 15:25:29 +0000
281
- From: please-change-me-at-config-initializers-devise@example.com
282
- Reply-To: please-change-me-at-config-initializers-devise@example.com
283
- To: joe-6@example.com
284
- Message-ID: <54e9f4e9fda7_18bb3ff408865bf045987@Aarons-iMac.local.mail>
285
- Subject: Confirmation instructions
286
- Mime-Version: 1.0
287
- Content-Type: text/html;
288
- charset=UTF-8
289
- Content-Transfer-Encoding: 7bit
290
-
291
- <p>Welcome joe-6@example.com!</p>
292
-
293
- <p>You can confirm your account email through the link below:</p>
294
-
295
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=Ms2xs_7Pt8KFvQG4saS7">Confirm my account</a></p>
296
-
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"]]
297
136
   (0.1ms) RELEASE SAVEPOINT active_record_2
298
- Processing by PushType::UsersController#invite as HTML
299
- Parameters: {"id"=>"ec3f9153-8edb-4372-8c8c-d7f5e279fdd9"}
300
- 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", "28756a79-2cf4-486f-aa02-bee678327327"]]
301
- 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", "ec3f9153-8edb-4372-8c8c-d7f5e279fdd9"]]
302
- 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", "27233a9daf73a15f4fb37151696331a974bebdec1e77aa5732764eabbd77064f"]]
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"]]
303
140
   (0.1ms) SAVEPOINT active_record_2
304
- 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", "27233a9daf73a15f4fb37151696331a974bebdec1e77aa5732764eabbd77064f"], ["confirmation_sent_at", "2015-02-22 15:25:29.072984"], ["updated_at", "2015-02-22 15:25:29.073397"], ["id", "ec3f9153-8edb-4372-8c8c-d7f5e279fdd9"]]
305
-  (0.1ms) RELEASE SAVEPOINT active_record_2
306
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.0ms)
307
-
308
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
309
-
310
- Sent mail to joe-6@example.com (1.5ms)
311
- Date: Sun, 22 Feb 2015 15:25:29 +0000
312
- From: please-change-me-at-config-initializers-devise@example.com
313
- Reply-To: please-change-me-at-config-initializers-devise@example.com
314
- To: joe-6@example.com
315
- Message-ID: <54e9f4e9132d3_18bb3ff408865bf046091@Aarons-iMac.local.mail>
316
- Subject: Confirmation instructions
317
- Mime-Version: 1.0
318
- Content-Type: text/html;
319
- charset=UTF-8
320
- Content-Transfer-Encoding: 7bit
321
-
322
- <p>Welcome joe-6@example.com!</p>
323
-
324
- <p>You can confirm your account email through the link below:</p>
325
-
326
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=kh3fesifTCgjzmjLxLfu">Confirm my account</a></p>
327
-
328
- Redirected to /push_type/users
329
- Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
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)
330
145
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
331
146
   (0.1ms) ROLLBACK
332
147
   (0.1ms) BEGIN
333
- -----------------------------------------------------------
334
- PushType::UsersController::PUT #invite: test_0002_anonymous
335
- -----------------------------------------------------------
148
+ --------------------------------------------------------------------------------------------------
149
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
150
+ --------------------------------------------------------------------------------------------------
336
151
   (0.1ms) SAVEPOINT active_record_1
337
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
338
169
   (0.0ms) SAVEPOINT active_record_1
339
-  (0.1ms) SAVEPOINT active_record_2
340
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
341
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
342
- 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-7@example.com"], ["confirmation_sent_at", "2015-02-22 15:25:29.082078"], ["confirmed_at", "2015-02-22 15:25:29.082187"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:29.083801"], ["updated_at", "2015-02-22 15:25:29.083801"]]
343
-  (0.1ms) RELEASE SAVEPOINT active_record_2
344
-  (0.1ms) SAVEPOINT active_record_2
345
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
346
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
347
- 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", "faf58416994ecbbde7328f12d42aeab13873e834f4743426290802cb1622db01"]]
348
- 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-02-22 15:25:29.086970"], ["updated_at", "2015-02-22 15:25:29.086970"], ["confirmation_token", "faf58416994ecbbde7328f12d42aeab13873e834f4743426290802cb1622db01"], ["confirmation_sent_at", "2015-02-22 15:25:29.087958"]]
349
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.2ms)
350
-
351
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
352
-
353
- Sent mail to joe-8@example.com (1.6ms)
354
- Date: Sun, 22 Feb 2015 15:25:29 +0000
355
- From: please-change-me-at-config-initializers-devise@example.com
356
- Reply-To: please-change-me-at-config-initializers-devise@example.com
357
- To: joe-8@example.com
358
- Message-ID: <54e9f4e916a8c_18bb3ff408865bf046126@Aarons-iMac.local.mail>
359
- Subject: Confirmation instructions
360
- Mime-Version: 1.0
361
- Content-Type: text/html;
362
- charset=UTF-8
363
- Content-Transfer-Encoding: 7bit
364
-
365
- <p>Welcome joe-8@example.com!</p>
366
-
367
- <p>You can confirm your account email through the link below:</p>
368
-
369
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=z-ERmowjM7JZ_smyGkw5">Confirm my account</a></p>
370
-
371
-  (0.1ms) RELEASE SAVEPOINT active_record_2
372
- Processing by PushType::UsersController#invite as HTML
373
- Parameters: {"id"=>"c064edb7-c41f-45ba-8235-c8e173730b54"}
374
- 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", "9536e785-6d13-4272-a275-b93ec8099c0d"]]
375
- 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", "c064edb7-c41f-45ba-8235-c8e173730b54"]]
376
- 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", "56da51c3af017ace8265dc60256cbb59125a92604a7c0a0cdd6388389ef0cf04"]]
377
-  (0.1ms) SAVEPOINT active_record_2
378
- 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", "56da51c3af017ace8265dc60256cbb59125a92604a7c0a0cdd6388389ef0cf04"], ["confirmation_sent_at", "2015-02-22 15:25:29.099476"], ["updated_at", "2015-02-22 15:25:29.099864"], ["id", "c064edb7-c41f-45ba-8235-c8e173730b54"]]
379
-  (0.1ms) RELEASE SAVEPOINT active_record_2
380
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.8ms)
381
-
382
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
383
-
384
- Sent mail to joe-8@example.com (1.5ms)
385
- Date: Sun, 22 Feb 2015 15:25:29 +0000
386
- From: please-change-me-at-config-initializers-devise@example.com
387
- Reply-To: please-change-me-at-config-initializers-devise@example.com
388
- To: joe-8@example.com
389
- Message-ID: <54e9f4e919862_18bb3ff408865bf046246@Aarons-iMac.local.mail>
390
- Subject: Confirmation instructions
391
- Mime-Version: 1.0
392
- Content-Type: text/html;
393
- charset=UTF-8
394
- Content-Transfer-Encoding: 7bit
395
-
396
- <p>Welcome joe-8@example.com!</p>
397
-
398
- <p>You can confirm your account email through the link below:</p>
399
-
400
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=uF4xwDiUtLXxq38Bx6Yv">Confirm my account</a></p>
401
-
402
- Redirected to /push_type/users
403
- Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
404
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
405
-  (0.1ms) ROLLBACK
406
-  (0.1ms) BEGIN
407
- -----------------------------------------------------------
408
- PushType::UsersController::PUT #invite: test_0003_anonymous
409
- -----------------------------------------------------------
410
-  (0.1ms) SAVEPOINT active_record_1
411
-  (0.1ms) RELEASE SAVEPOINT active_record_1
412
-  (0.0ms) SAVEPOINT active_record_1
413
-  (0.1ms) SAVEPOINT active_record_2
414
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
415
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
416
- 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-02-22 15:25:29.108070"], ["confirmed_at", "2015-02-22 15:25:29.108181"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:29.109883"], ["updated_at", "2015-02-22 15:25:29.109883"]]
417
-  (0.1ms) RELEASE SAVEPOINT active_record_2
418
-  (0.1ms) SAVEPOINT active_record_2
419
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
420
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
421
- 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", "cf031b23856c98c24720f604a1c84ef68e43bc7414d7b67d957d342c82665e0e"]]
422
- 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-10@example.com"], ["created_at", "2015-02-22 15:25:29.112845"], ["updated_at", "2015-02-22 15:25:29.112845"], ["confirmation_token", "cf031b23856c98c24720f604a1c84ef68e43bc7414d7b67d957d342c82665e0e"], ["confirmation_sent_at", "2015-02-22 15:25:29.113747"]]
423
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.4ms)
424
-
425
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
426
-
427
- Sent mail to joe-10@example.com (1.6ms)
428
- Date: Sun, 22 Feb 2015 15:25:29 +0000
429
- From: please-change-me-at-config-initializers-devise@example.com
430
- Reply-To: please-change-me-at-config-initializers-devise@example.com
431
- To: joe-10@example.com
432
- Message-ID: <54e9f4e91cf95_18bb3ff408865bf046315@Aarons-iMac.local.mail>
433
- Subject: Confirmation instructions
434
- Mime-Version: 1.0
435
- Content-Type: text/html;
436
- charset=UTF-8
437
- Content-Transfer-Encoding: 7bit
438
-
439
- <p>Welcome joe-10@example.com!</p>
440
-
441
- <p>You can confirm your account email through the link below:</p>
442
-
443
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=kP3mvmtrMgGDr63P64df">Confirm my account</a></p>
444
-
445
-  (0.1ms) RELEASE SAVEPOINT active_record_2
446
- Processing by PushType::UsersController#invite as HTML
447
- Parameters: {"id"=>"e3f7e28f-5070-48cd-9be0-7d7cc3e62e57"}
448
- 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", "662573d1-32ff-4f4f-983b-fb1b85afde4f"]]
449
- 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", "e3f7e28f-5070-48cd-9be0-7d7cc3e62e57"]]
450
- 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", "0ed2c35821a235eb41fca78eded78eef3109d8a036c7effc2cbd2821992f86cd"]]
451
-  (0.1ms) SAVEPOINT active_record_2
452
- 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", "0ed2c35821a235eb41fca78eded78eef3109d8a036c7effc2cbd2821992f86cd"], ["confirmation_sent_at", "2015-02-22 15:25:29.125639"], ["updated_at", "2015-02-22 15:25:29.126007"], ["id", "e3f7e28f-5070-48cd-9be0-7d7cc3e62e57"]]
453
-  (0.1ms) RELEASE SAVEPOINT active_record_2
454
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.7ms)
455
-
456
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
457
-
458
- Sent mail to joe-10@example.com (1.5ms)
459
- Date: Sun, 22 Feb 2015 15:25:29 +0000
460
- From: please-change-me-at-config-initializers-devise@example.com
461
- Reply-To: please-change-me-at-config-initializers-devise@example.com
462
- To: joe-10@example.com
463
- Message-ID: <54e9f4e91fe02_18bb3ff408865bf046412@Aarons-iMac.local.mail>
464
- Subject: Confirmation instructions
465
- Mime-Version: 1.0
466
- Content-Type: text/html;
467
- charset=UTF-8
468
- Content-Transfer-Encoding: 7bit
469
-
470
- <p>Welcome joe-10@example.com!</p>
471
-
472
- <p>You can confirm your account email through the link below:</p>
473
-
474
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=PtsNg4sPSpsonzqtq95Y">Confirm my account</a></p>
475
-
476
- Redirected to /push_type/users
477
- Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
478
-  (0.2ms) ROLLBACK TO 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
479
178
   (0.1ms) ROLLBACK
480
179
   (0.1ms) BEGIN
481
180
  -------------------------------------------------------------------------------
482
181
  PushType::ProfilesController::PUT #update::with valid user: test_0001_anonymous
483
182
  -------------------------------------------------------------------------------
484
-  (0.1ms) SAVEPOINT active_record_1
485
-  (0.1ms) RELEASE SAVEPOINT active_record_1
183
+  (0.0ms) SAVEPOINT active_record_1
184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
486
185
   (0.1ms) SAVEPOINT active_record_1
487
186
   (0.1ms) SAVEPOINT active_record_2
488
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
489
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
490
- 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-11@example.com"], ["confirmation_sent_at", "2015-02-22 15:25:29.136924"], ["confirmed_at", "2015-02-22 15:25:29.137039"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:29.138963"], ["updated_at", "2015-02-22 15:25:29.138963"]]
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"]]
491
190
   (0.1ms) RELEASE SAVEPOINT active_record_2
492
191
  Processing by PushType::ProfilesController#update as HTML
493
192
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
494
- 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", "dbc5a06a-d098-4349-8a8d-e734fa31395c"]]
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"]]
495
194
   (0.1ms) SAVEPOINT active_record_2
496
- 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" != 'dbc5a06a-d098-4349-8a8d-e734fa31395c') LIMIT 1
497
- 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-02-22 15:25:29.149000"], ["id", "dbc5a06a-d098-4349-8a8d-e734fa31395c"]]
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"]]
498
197
   (0.1ms) RELEASE SAVEPOINT active_record_2
499
198
  Redirected to http://test.host/push_type/profile/edit
500
- Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
501
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "dbc5a06a-d098-4349-8a8d-e734fa31395c"]]
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"]]
502
201
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
503
202
   (0.1ms) ROLLBACK
504
203
   (0.1ms) BEGIN
505
204
  -------------------------------------------------------------------------------
506
205
  PushType::ProfilesController::PUT #update::with valid user: test_0002_anonymous
507
206
  -------------------------------------------------------------------------------
508
-  (0.1ms) SAVEPOINT active_record_1
207
+  (0.0ms) SAVEPOINT active_record_1
509
208
   (0.0ms) RELEASE SAVEPOINT active_record_1
510
209
   (0.0ms) SAVEPOINT active_record_1
511
210
   (0.1ms) SAVEPOINT active_record_2
512
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
513
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
514
- 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-02-22 15:25:29.155619"], ["confirmed_at", "2015-02-22 15:25:29.155727"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:29.157351"], ["updated_at", "2015-02-22 15:25:29.157351"]]
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"]]
515
214
   (0.1ms) RELEASE SAVEPOINT active_record_2
516
215
  Processing by PushType::ProfilesController#update as HTML
517
216
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
518
- 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", "d48e0fe2-70bd-48f8-8518-a7e27e2d8142"]]
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"]]
519
218
   (0.1ms) SAVEPOINT active_record_2
520
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != 'd48e0fe2-70bd-48f8-8518-a7e27e2d8142') LIMIT 1
521
- 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-02-22 15:25:29.164377"], ["id", "d48e0fe2-70bd-48f8-8518-a7e27e2d8142"]]
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"]]
522
221
   (0.1ms) RELEASE SAVEPOINT active_record_2
523
222
  Redirected to http://test.host/push_type/profile/edit
524
223
  Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
@@ -529,351 +228,2272 @@ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
529
228
  PushType::ProfilesController::PUT #update::with valid user: test_0003_anonymous
530
229
  -------------------------------------------------------------------------------
531
230
   (0.1ms) SAVEPOINT active_record_1
532
-  (0.1ms) RELEASE SAVEPOINT active_record_1
533
-  (0.1ms) SAVEPOINT active_record_1
231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
232
+  (0.0ms) SAVEPOINT active_record_1
534
233
   (0.1ms) SAVEPOINT active_record_2
535
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
536
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
537
- 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-13@example.com"], ["confirmation_sent_at", "2015-02-22 15:25:29.169253"], ["confirmed_at", "2015-02-22 15:25:29.169362"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:29.171091"], ["updated_at", "2015-02-22 15:25:29.171091"]]
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"]]
538
237
   (0.1ms) RELEASE SAVEPOINT active_record_2
539
238
  Processing by PushType::ProfilesController#update as HTML
540
239
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
541
- 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", "ee373284-b9ec-47d7-be8b-35c9225f297f"]]
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"]]
542
241
   (0.1ms) SAVEPOINT active_record_2
543
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != 'ee373284-b9ec-47d7-be8b-35c9225f297f') LIMIT 1
544
- 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-02-22 15:25:29.178342"], ["id", "ee373284-b9ec-47d7-be8b-35c9225f297f"]]
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"]]
545
244
   (0.1ms) RELEASE SAVEPOINT active_record_2
546
245
  Redirected to http://test.host/push_type/profile/edit
547
- Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
548
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
549
-  (0.1ms) ROLLBACK
550
-  (0.1ms) BEGIN
551
- --------------------------------------------------------------------------------------
552
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
553
- --------------------------------------------------------------------------------------
554
-  (0.0ms) SAVEPOINT active_record_1
555
-  (0.0ms) RELEASE SAVEPOINT active_record_1
556
-  (0.0ms) SAVEPOINT active_record_1
557
-  (0.1ms) SAVEPOINT active_record_2
558
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
559
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
560
- 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", "266e195cb5ceb42291d83cc5d2b79b907a27ffe1deb9b65f2ae0e9ce03607b62"]]
561
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2015-02-22 15:25:29.185851"], ["updated_at", "2015-02-22 15:25:29.185851"], ["confirmation_token", "266e195cb5ceb42291d83cc5d2b79b907a27ffe1deb9b65f2ae0e9ce03607b62"], ["confirmation_sent_at", "2015-02-22 15:25:29.186835"]]
562
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.0ms)
563
-
564
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
565
-
566
- Sent mail to joe-14@example.com (1.5ms)
567
- Date: Sun, 22 Feb 2015 15:25:29 +0000
568
- From: please-change-me-at-config-initializers-devise@example.com
569
- Reply-To: please-change-me-at-config-initializers-devise@example.com
570
- To: joe-14@example.com
571
- Message-ID: <54e9f4e92ec8e_18bb3ff408865bf04654d@Aarons-iMac.local.mail>
572
- Subject: Confirmation instructions
573
- Mime-Version: 1.0
574
- Content-Type: text/html;
575
- charset=UTF-8
576
- Content-Transfer-Encoding: 7bit
577
-
578
- <p>Welcome joe-14@example.com!</p>
579
-
580
- <p>You can confirm your account email through the link below:</p>
581
-
582
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=PgvTpyQiizKGgahDXVwH">Confirm my account</a></p>
583
-
584
-  (0.1ms) RELEASE SAVEPOINT active_record_2
585
- Processing by PushType::ConfirmationsController#update as HTML
586
- Parameters: {"user"=>{"confirmation_token"=>"PgvTpyQiizKGgahDXVwH", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
587
- 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", "266e195cb5ceb42291d83cc5d2b79b907a27ffe1deb9b65f2ae0e9ce03607b62"]]
588
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != 'e9d24893-2f03-48e7-9ba2-0d82214a66ff') LIMIT 1
589
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (5.0ms)
590
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (15.4ms)
591
- Completed 200 OK in 6210ms (Views: 6206.9ms | ActiveRecord: 0.4ms)
246
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
592
247
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
593
248
   (0.1ms) ROLLBACK
594
249
   (0.1ms) BEGIN
595
- --------------------------------------------------------------------------------------
596
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
597
- --------------------------------------------------------------------------------------
598
-  (0.0ms) SAVEPOINT active_record_1
250
+ ------------------------------------------------------------------------------------
251
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
252
+ ------------------------------------------------------------------------------------
253
+  (0.1ms) SAVEPOINT active_record_1
599
254
   (0.1ms) RELEASE SAVEPOINT active_record_1
600
255
   (0.1ms) SAVEPOINT active_record_1
601
256
   (0.1ms) SAVEPOINT active_record_2
602
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
603
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
604
- 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", "8465cb1a0bb42977630bc16a949013c29e920301f1619e738931f54e0fad37c7"]]
605
- 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-02-22 15:25:35.409871"], ["updated_at", "2015-02-22 15:25:35.409871"], ["confirmation_token", "8465cb1a0bb42977630bc16a949013c29e920301f1619e738931f54e0fad37c7"], ["confirmation_sent_at", "2015-02-22 15:25:35.410970"]]
606
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.2ms)
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)
607
262
 
608
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
263
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 111.8ms
609
264
 
610
- Sent mail to joe-15@example.com (1.6ms)
611
- Date: Sun, 22 Feb 2015 15:25:35 +0000
612
- From: please-change-me-at-config-initializers-devise@example.com
613
- Reply-To: please-change-me-at-config-initializers-devise@example.com
614
- To: joe-15@example.com
615
- Message-ID: <54e9f4ef65a33_18bb3ff408865bf046669@Aarons-iMac.local.mail>
616
- Subject: Confirmation instructions
265
+ Sent mail to joe-6@example.com (9.0ms)
266
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
267
+ From: pushtype@example.com
268
+ Reply-To: pushtype@example.com
269
+ To: joe-6@example.com
270
+ Message-ID: <54ff44835572c_7adc3ffa3cc65be496811@Aarons-iMac.local.mail>
271
+ Subject: [PushType] Confirm your account
617
272
  Mime-Version: 1.0
618
- Content-Type: text/html;
273
+ Content-Type: multipart/alternative;
274
+ boundary="--==_mimepart_54ff44835420b_7adc3ffa3cc65be4967d2";
619
275
  charset=UTF-8
620
276
  Content-Transfer-Encoding: 7bit
621
277
 
622
- <p>Welcome joe-15@example.com!</p>
623
278
 
624
- <p>You can confirm your account email through the link below:</p>
279
+ ----==_mimepart_54ff44835420b_7adc3ffa3cc65be4967d2
280
+ Content-Type: text/plain;
281
+ charset=UTF-8
282
+ Content-Transfer-Encoding: 7bit
625
283
 
626
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=2fPRUMhKBVieisEZXoyB">Confirm my account</a></p>
284
+ PushType ( http://localhost:3000/push_type/ )
285
+
286
+ Hello Joe Bloggs
287
+
288
+ You're receiving this email because a PushType account has been
289
+ created for you.
290
+
291
+ To get started, confirm your account and set your own password by
292
+ clicking the link below:
293
+
294
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=s4Nh8XPzgigb9_B_HNXw )
295
+
296
+ PushType is brought to you by Push Code:
297
+ type.pushcode.com ( http://type.pushcode.com ).
298
+ ----==_mimepart_54ff44835420b_7adc3ffa3cc65be4967d2
299
+ Content-Type: text/html;
300
+ charset=UTF-8
301
+ Content-Transfer-Encoding: 7bit
302
+
303
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
304
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
305
+ <head>
306
+ <meta name="viewport" content="width=device-width" />
307
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
308
+ <title>[PushType] Confirm your account</title>
309
+
310
+ </head>
311
+
312
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
313
+ img {
314
+ max-width: 100%;
315
+ }
316
+ body {
317
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
318
+ }
319
+ </style>
320
+
321
+ <!-- body -->
322
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
323
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
324
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
325
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
326
+
327
+ <!-- content -->
328
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
329
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
330
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
331
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
332
+ </tr>
333
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
334
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
335
+ <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">Hello Joe Bloggs</p>
336
+
337
+ <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">You're receiving this email because a PushType account has been created for you.</p>
338
+
339
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
340
+
341
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
343
+ <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>
345
+ </td>
346
+ </tr>
347
+ </table>
348
+
349
+
350
+ </td>
351
+ </tr>
352
+ </table>
353
+ </div>
354
+ <!-- /content -->
355
+
356
+ </td>
357
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
358
+ </tr>
359
+ </table>
360
+ <!-- /body -->
361
+
362
+ <!-- footer -->
363
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
364
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
365
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
366
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
367
+
368
+ <!-- content -->
369
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
370
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
371
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
372
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
373
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
374
+ </td>
375
+ </tr>
376
+ </table>
377
+ </div>
378
+ <!-- /content -->
379
+
380
+ </td>
381
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
382
+ </tr>
383
+ </table>
384
+ <!-- /footer -->
385
+
386
+ </body>
387
+ </html>
388
+
389
+ ----==_mimepart_54ff44835420b_7adc3ffa3cc65be4967d2--
390
+
391
+  (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
407
+  (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
414
+  (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)
420
+
421
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
422
+
423
+ Sent mail to joe-7@example.com (2.9ms)
424
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
425
+ From: pushtype@example.com
426
+ Reply-To: pushtype@example.com
427
+ To: joe-7@example.com
428
+ Message-ID: <54ff448369fa4_7adc3ffa3cc65be497150@Aarons-iMac.local.mail>
429
+ Subject: [PushType] Confirm your account
430
+ Mime-Version: 1.0
431
+ Content-Type: multipart/alternative;
432
+ boundary="--==_mimepart_54ff448369a40_7adc3ffa3cc65be497081";
433
+ charset=UTF-8
434
+ Content-Transfer-Encoding: 7bit
435
+
436
+
437
+ ----==_mimepart_54ff448369a40_7adc3ffa3cc65be497081
438
+ Content-Type: text/plain;
439
+ charset=UTF-8
440
+ Content-Transfer-Encoding: 7bit
441
+
442
+ PushType ( http://localhost:3000/push_type/ )
443
+
444
+ Hello Joe Bloggs
445
+
446
+ You're receiving this email because a PushType account has been
447
+ created for you.
448
+
449
+ To get started, confirm your account and set your own password by
450
+ clicking the link below:
451
+
452
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=y6CdMY53nGgYyboTFQz2 )
453
+
454
+ PushType is brought to you by Push Code:
455
+ type.pushcode.com ( http://type.pushcode.com ).
456
+ ----==_mimepart_54ff448369a40_7adc3ffa3cc65be497081
457
+ Content-Type: text/html;
458
+ charset=UTF-8
459
+ Content-Transfer-Encoding: 7bit
460
+
461
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
462
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
463
+ <head>
464
+ <meta name="viewport" content="width=device-width" />
465
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
466
+ <title>[PushType] Confirm your account</title>
467
+
468
+ </head>
469
+
470
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
471
+ img {
472
+ max-width: 100%;
473
+ }
474
+ body {
475
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
476
+ }
477
+ </style>
478
+
479
+ <!-- body -->
480
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
481
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
482
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
483
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
484
+
485
+ <!-- content -->
486
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
487
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
488
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
489
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
490
+ </tr>
491
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
492
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
493
+ <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">Hello Joe Bloggs</p>
494
+
495
+ <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">You're receiving this email because a PushType account has been created for you.</p>
496
+
497
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
498
+
499
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
501
+ <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>
503
+ </td>
504
+ </tr>
505
+ </table>
506
+
507
+
508
+ </td>
509
+ </tr>
510
+ </table>
511
+ </div>
512
+ <!-- /content -->
513
+
514
+ </td>
515
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
516
+ </tr>
517
+ </table>
518
+ <!-- /body -->
519
+
520
+ <!-- footer -->
521
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
522
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
523
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
524
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
525
+
526
+ <!-- content -->
527
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
528
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
529
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
530
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
531
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
532
+ </td>
533
+ </tr>
534
+ </table>
535
+ </div>
536
+ <!-- /content -->
537
+
538
+ </td>
539
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
540
+ </tr>
541
+ </table>
542
+ <!-- /footer -->
543
+
544
+ </body>
545
+ </html>
546
+
547
+ ----==_mimepart_54ff448369a40_7adc3ffa3cc65be497081--
548
+
549
+  (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
612
+  (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)
618
+
619
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.9ms
620
+
621
+ Sent mail to joe-11@example.com (2.9ms)
622
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
623
+ From: pushtype@example.com
624
+ Reply-To: pushtype@example.com
625
+ To: joe-11@example.com
626
+ Message-ID: <54ff4483863d5_7adc3ffa3cc65be4974ea@Aarons-iMac.local.mail>
627
+ Subject: [PushType] Confirm your account
628
+ Mime-Version: 1.0
629
+ Content-Type: multipart/alternative;
630
+ boundary="--==_mimepart_54ff448385e90_7adc3ffa3cc65be49735a";
631
+ charset=UTF-8
632
+ Content-Transfer-Encoding: 7bit
633
+
634
+
635
+ ----==_mimepart_54ff448385e90_7adc3ffa3cc65be49735a
636
+ Content-Type: text/plain;
637
+ charset=UTF-8
638
+ Content-Transfer-Encoding: 7bit
639
+
640
+ PushType ( http://localhost:3000/push_type/ )
641
+
642
+ Hello Joe Bloggs
643
+
644
+ You're receiving this email because a PushType account has been
645
+ created for you.
646
+
647
+ To get started, confirm your account and set your own password by
648
+ clicking the link below:
649
+
650
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=pVnWNiu1BQ3rsGLzvspd )
651
+
652
+ PushType is brought to you by Push Code:
653
+ type.pushcode.com ( http://type.pushcode.com ).
654
+ ----==_mimepart_54ff448385e90_7adc3ffa3cc65be49735a
655
+ Content-Type: text/html;
656
+ charset=UTF-8
657
+ Content-Transfer-Encoding: 7bit
658
+
659
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
660
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
661
+ <head>
662
+ <meta name="viewport" content="width=device-width" />
663
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
664
+ <title>[PushType] Confirm your account</title>
665
+
666
+ </head>
667
+
668
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
669
+ img {
670
+ max-width: 100%;
671
+ }
672
+ body {
673
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
674
+ }
675
+ </style>
676
+
677
+ <!-- body -->
678
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
679
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
680
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
681
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
682
+
683
+ <!-- content -->
684
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
685
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
686
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
687
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
688
+ </tr>
689
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
690
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
691
+ <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">Hello Joe Bloggs</p>
692
+
693
+ <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">You're receiving this email because a PushType account has been created for you.</p>
694
+
695
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
696
+
697
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
699
+ <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>
701
+ </td>
702
+ </tr>
703
+ </table>
704
+
705
+
706
+ </td>
707
+ </tr>
708
+ </table>
709
+ </div>
710
+ <!-- /content -->
711
+
712
+ </td>
713
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
714
+ </tr>
715
+ </table>
716
+ <!-- /body -->
717
+
718
+ <!-- footer -->
719
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
720
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
721
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
722
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
723
+
724
+ <!-- content -->
725
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
726
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
727
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
728
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
729
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
730
+ </td>
731
+ </tr>
732
+ </table>
733
+ </div>
734
+ <!-- /content -->
735
+
736
+ </td>
737
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
738
+ </tr>
739
+ </table>
740
+ <!-- /footer -->
741
+
742
+ </body>
743
+ </html>
744
+
745
+ ----==_mimepart_54ff448385e90_7adc3ffa3cc65be49735a--
746
+
747
+  (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)
757
+
758
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.5ms
759
+
760
+ Sent mail to joe-11@example.com (2.9ms)
761
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
762
+ From: pushtype@example.com
763
+ Reply-To: pushtype@example.com
764
+ To: joe-11@example.com
765
+ Message-ID: <54ff4483909f3_7adc3ffa3cc65be497711@Aarons-iMac.local.mail>
766
+ Subject: [PushType] Confirm your account
767
+ Mime-Version: 1.0
768
+ Content-Type: multipart/alternative;
769
+ boundary="--==_mimepart_54ff4483904c7_7adc3ffa3cc65be497646";
770
+ charset=UTF-8
771
+ Content-Transfer-Encoding: 7bit
772
+
773
+
774
+ ----==_mimepart_54ff4483904c7_7adc3ffa3cc65be497646
775
+ Content-Type: text/plain;
776
+ charset=UTF-8
777
+ Content-Transfer-Encoding: 7bit
778
+
779
+ PushType ( http://localhost:3000/push_type/ )
780
+
781
+ Hello Joe Bloggs
782
+
783
+ You're receiving this email because a PushType account has been
784
+ created for you.
785
+
786
+ To get started, confirm your account and set your own password by
787
+ clicking the link below:
788
+
789
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=aLxLZvD-q9xG7paxeaJS )
790
+
791
+ PushType is brought to you by Push Code:
792
+ type.pushcode.com ( http://type.pushcode.com ).
793
+ ----==_mimepart_54ff4483904c7_7adc3ffa3cc65be497646
794
+ Content-Type: text/html;
795
+ charset=UTF-8
796
+ Content-Transfer-Encoding: 7bit
797
+
798
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
799
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
800
+ <head>
801
+ <meta name="viewport" content="width=device-width" />
802
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
803
+ <title>[PushType] Confirm your account</title>
804
+
805
+ </head>
806
+
807
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
808
+ img {
809
+ max-width: 100%;
810
+ }
811
+ body {
812
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
813
+ }
814
+ </style>
815
+
816
+ <!-- body -->
817
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
818
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
819
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
820
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
821
+
822
+ <!-- content -->
823
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
824
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
825
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
826
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
827
+ </tr>
828
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
829
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
830
+ <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">Hello Joe Bloggs</p>
831
+
832
+ <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">You're receiving this email because a PushType account has been created for you.</p>
833
+
834
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
835
+
836
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
838
+ <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>
840
+ </td>
841
+ </tr>
842
+ </table>
843
+
844
+
845
+ </td>
846
+ </tr>
847
+ </table>
848
+ </div>
849
+ <!-- /content -->
850
+
851
+ </td>
852
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
853
+ </tr>
854
+ </table>
855
+ <!-- /body -->
856
+
857
+ <!-- footer -->
858
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
859
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
860
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
861
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
862
+
863
+ <!-- content -->
864
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
865
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
866
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
867
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
868
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
869
+ </td>
870
+ </tr>
871
+ </table>
872
+ </div>
873
+ <!-- /content -->
874
+
875
+ </td>
876
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
877
+ </tr>
878
+ </table>
879
+ <!-- /footer -->
880
+
881
+ </body>
882
+ </html>
883
+
884
+ ----==_mimepart_54ff4483904c7_7adc3ffa3cc65be497646--
885
+
886
+ Redirected to /push_type/users
887
+ Completed 302 Found in 39ms (ActiveRecord: 0.7ms)
888
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
889
+  (0.1ms) ROLLBACK
890
+  (0.1ms) BEGIN
891
+ -----------------------------------------------------------
892
+ PushType::UsersController::PUT #invite: test_0002_anonymous
893
+ -----------------------------------------------------------
894
+  (0.1ms) SAVEPOINT active_record_1
895
+  (0.1ms) RELEASE SAVEPOINT active_record_1
896
+  (0.1ms) SAVEPOINT active_record_1
897
+  (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)
908
+
909
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
910
+
911
+ Sent mail to joe-13@example.com (2.9ms)
912
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
913
+ From: pushtype@example.com
914
+ Reply-To: pushtype@example.com
915
+ To: joe-13@example.com
916
+ Message-ID: <54ff44839b1de_7adc3ffa3cc65be498050@Aarons-iMac.local.mail>
917
+ Subject: [PushType] Confirm your account
918
+ Mime-Version: 1.0
919
+ Content-Type: multipart/alternative;
920
+ boundary="--==_mimepart_54ff44839ac8e_7adc3ffa3cc65be4979c2";
921
+ charset=UTF-8
922
+ Content-Transfer-Encoding: 7bit
923
+
924
+
925
+ ----==_mimepart_54ff44839ac8e_7adc3ffa3cc65be4979c2
926
+ Content-Type: text/plain;
927
+ charset=UTF-8
928
+ Content-Transfer-Encoding: 7bit
929
+
930
+ PushType ( http://localhost:3000/push_type/ )
931
+
932
+ Hello Joe Bloggs
933
+
934
+ You're receiving this email because a PushType account has been
935
+ created for you.
936
+
937
+ To get started, confirm your account and set your own password by
938
+ clicking the link below:
939
+
940
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=htvGQGkVgMMQsYCx--kr )
941
+
942
+ PushType is brought to you by Push Code:
943
+ type.pushcode.com ( http://type.pushcode.com ).
944
+ ----==_mimepart_54ff44839ac8e_7adc3ffa3cc65be4979c2
945
+ Content-Type: text/html;
946
+ charset=UTF-8
947
+ Content-Transfer-Encoding: 7bit
948
+
949
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
950
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
951
+ <head>
952
+ <meta name="viewport" content="width=device-width" />
953
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
954
+ <title>[PushType] Confirm your account</title>
955
+
956
+ </head>
957
+
958
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
959
+ img {
960
+ max-width: 100%;
961
+ }
962
+ body {
963
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
964
+ }
965
+ </style>
966
+
967
+ <!-- body -->
968
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
969
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
970
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
971
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
972
+
973
+ <!-- content -->
974
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
975
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
976
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
977
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
978
+ </tr>
979
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
980
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
981
+ <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">Hello Joe Bloggs</p>
982
+
983
+ <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">You're receiving this email because a PushType account has been created for you.</p>
984
+
985
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
986
+
987
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
989
+ <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>
991
+ </td>
992
+ </tr>
993
+ </table>
994
+
995
+
996
+ </td>
997
+ </tr>
998
+ </table>
999
+ </div>
1000
+ <!-- /content -->
1001
+
1002
+ </td>
1003
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1004
+ </tr>
1005
+ </table>
1006
+ <!-- /body -->
1007
+
1008
+ <!-- footer -->
1009
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1010
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1011
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1012
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1013
+
1014
+ <!-- content -->
1015
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1016
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1017
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1018
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1019
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
1020
+ </td>
1021
+ </tr>
1022
+ </table>
1023
+ </div>
1024
+ <!-- /content -->
1025
+
1026
+ </td>
1027
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1028
+ </tr>
1029
+ </table>
1030
+ <!-- /footer -->
1031
+
1032
+ </body>
1033
+ </html>
1034
+
1035
+ ----==_mimepart_54ff44839ac8e_7adc3ffa3cc65be4979c2--
1036
+
1037
+  (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"]]
1043
+  (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"]]
1045
+  (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)
1047
+
1048
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.4ms
1049
+
1050
+ Sent mail to joe-13@example.com (2.9ms)
1051
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
1052
+ From: pushtype@example.com
1053
+ Reply-To: pushtype@example.com
1054
+ To: joe-13@example.com
1055
+ Message-ID: <54ff4483a5373_7adc3ffa3cc65be498340@Aarons-iMac.local.mail>
1056
+ Subject: [PushType] Confirm your account
1057
+ Mime-Version: 1.0
1058
+ Content-Type: multipart/alternative;
1059
+ boundary="--==_mimepart_54ff4483a4e46_7adc3ffa3cc65be498277";
1060
+ charset=UTF-8
1061
+ Content-Transfer-Encoding: 7bit
1062
+
1063
+
1064
+ ----==_mimepart_54ff4483a4e46_7adc3ffa3cc65be498277
1065
+ Content-Type: text/plain;
1066
+ charset=UTF-8
1067
+ Content-Transfer-Encoding: 7bit
1068
+
1069
+ PushType ( http://localhost:3000/push_type/ )
1070
+
1071
+ Hello Joe Bloggs
1072
+
1073
+ You're receiving this email because a PushType account has been
1074
+ created for you.
1075
+
1076
+ To get started, confirm your account and set your own password by
1077
+ clicking the link below:
1078
+
1079
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z7RNCxz3EHwu8yWNsPq3 )
1080
+
1081
+ PushType is brought to you by Push Code:
1082
+ type.pushcode.com ( http://type.pushcode.com ).
1083
+ ----==_mimepart_54ff4483a4e46_7adc3ffa3cc65be498277
1084
+ Content-Type: text/html;
1085
+ charset=UTF-8
1086
+ Content-Transfer-Encoding: 7bit
1087
+
1088
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1089
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1090
+ <head>
1091
+ <meta name="viewport" content="width=device-width" />
1092
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1093
+ <title>[PushType] Confirm your account</title>
1094
+
1095
+ </head>
1096
+
1097
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
1098
+ img {
1099
+ max-width: 100%;
1100
+ }
1101
+ body {
1102
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
1103
+ }
1104
+ </style>
1105
+
1106
+ <!-- body -->
1107
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
1108
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1109
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1110
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
1111
+
1112
+ <!-- content -->
1113
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1114
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1115
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1116
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1117
+ </tr>
1118
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1119
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1120
+ <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">Hello Joe Bloggs</p>
1121
+
1122
+ <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">You're receiving this email because a PushType account has been created for you.</p>
1123
+
1124
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
1125
+
1126
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1128
+ <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>
1130
+ </td>
1131
+ </tr>
1132
+ </table>
1133
+
1134
+
1135
+ </td>
1136
+ </tr>
1137
+ </table>
1138
+ </div>
1139
+ <!-- /content -->
1140
+
1141
+ </td>
1142
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1143
+ </tr>
1144
+ </table>
1145
+ <!-- /body -->
1146
+
1147
+ <!-- footer -->
1148
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1149
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1150
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1151
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1152
+
1153
+ <!-- content -->
1154
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1155
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1156
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1157
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1158
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
1159
+ </td>
1160
+ </tr>
1161
+ </table>
1162
+ </div>
1163
+ <!-- /content -->
1164
+
1165
+ </td>
1166
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1167
+ </tr>
1168
+ </table>
1169
+ <!-- /footer -->
1170
+
1171
+ </body>
1172
+ </html>
1173
+
1174
+ ----==_mimepart_54ff4483a4e46_7adc3ffa3cc65be498277--
1175
+
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
1181
+ -----------------------------------------------------------
1182
+ PushType::UsersController::PUT #invite: test_0003_anonymous
1183
+ -----------------------------------------------------------
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
1192
+  (0.1ms) SAVEPOINT active_record_2
1193
+ 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)
1198
+
1199
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
1200
+
1201
+ Sent mail to joe-15@example.com (3.0ms)
1202
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
1203
+ From: pushtype@example.com
1204
+ Reply-To: pushtype@example.com
1205
+ To: joe-15@example.com
1206
+ Message-ID: <54ff4483af963_7adc3ffa3cc65be4986a@Aarons-iMac.local.mail>
1207
+ Subject: [PushType] Confirm your account
1208
+ Mime-Version: 1.0
1209
+ Content-Type: multipart/alternative;
1210
+ boundary="--==_mimepart_54ff4483af3f8_7adc3ffa3cc65be49858b";
1211
+ charset=UTF-8
1212
+ Content-Transfer-Encoding: 7bit
1213
+
1214
+
1215
+ ----==_mimepart_54ff4483af3f8_7adc3ffa3cc65be49858b
1216
+ Content-Type: text/plain;
1217
+ charset=UTF-8
1218
+ Content-Transfer-Encoding: 7bit
1219
+
1220
+ PushType ( http://localhost:3000/push_type/ )
1221
+
1222
+ Hello Joe Bloggs
1223
+
1224
+ You're receiving this email because a PushType account has been
1225
+ created for you.
1226
+
1227
+ To get started, confirm your account and set your own password by
1228
+ clicking the link below:
1229
+
1230
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tPkzg8yZbceW_-tXNTNL )
1231
+
1232
+ PushType is brought to you by Push Code:
1233
+ type.pushcode.com ( http://type.pushcode.com ).
1234
+ ----==_mimepart_54ff4483af3f8_7adc3ffa3cc65be49858b
1235
+ Content-Type: text/html;
1236
+ charset=UTF-8
1237
+ Content-Transfer-Encoding: 7bit
1238
+
1239
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1240
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1241
+ <head>
1242
+ <meta name="viewport" content="width=device-width" />
1243
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1244
+ <title>[PushType] Confirm your account</title>
1245
+
1246
+ </head>
1247
+
1248
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
1249
+ img {
1250
+ max-width: 100%;
1251
+ }
1252
+ body {
1253
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
1254
+ }
1255
+ </style>
1256
+
1257
+ <!-- body -->
1258
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
1259
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1260
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1261
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
1262
+
1263
+ <!-- content -->
1264
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1265
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1266
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1267
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1268
+ </tr>
1269
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1270
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1271
+ <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">Hello Joe Bloggs</p>
1272
+
1273
+ <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">You're receiving this email because a PushType account has been created for you.</p>
1274
+
1275
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
1276
+
1277
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1279
+ <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>
1281
+ </td>
1282
+ </tr>
1283
+ </table>
1284
+
1285
+
1286
+ </td>
1287
+ </tr>
1288
+ </table>
1289
+ </div>
1290
+ <!-- /content -->
1291
+
1292
+ </td>
1293
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1294
+ </tr>
1295
+ </table>
1296
+ <!-- /body -->
1297
+
1298
+ <!-- footer -->
1299
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1300
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1301
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1302
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1303
+
1304
+ <!-- content -->
1305
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1306
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1307
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1308
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1309
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
1310
+ </td>
1311
+ </tr>
1312
+ </table>
1313
+ </div>
1314
+ <!-- /content -->
1315
+
1316
+ </td>
1317
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1318
+ </tr>
1319
+ </table>
1320
+ <!-- /footer -->
1321
+
1322
+ </body>
1323
+ </html>
1324
+
1325
+ ----==_mimepart_54ff4483af3f8_7adc3ffa3cc65be49858b--
1326
+
1327
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1328
+ 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)
1337
+
1338
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.9ms
1339
+
1340
+ Sent mail to joe-15@example.com (2.9ms)
1341
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
1342
+ From: pushtype@example.com
1343
+ Reply-To: pushtype@example.com
1344
+ To: joe-15@example.com
1345
+ Message-ID: <54ff4483ba110_7adc3ffa3cc65be49897b@Aarons-iMac.local.mail>
1346
+ Subject: [PushType] Confirm your account
1347
+ Mime-Version: 1.0
1348
+ Content-Type: multipart/alternative;
1349
+ boundary="--==_mimepart_54ff4483b9be0_7adc3ffa3cc65be4988d4";
1350
+ charset=UTF-8
1351
+ Content-Transfer-Encoding: 7bit
1352
+
1353
+
1354
+ ----==_mimepart_54ff4483b9be0_7adc3ffa3cc65be4988d4
1355
+ Content-Type: text/plain;
1356
+ charset=UTF-8
1357
+ Content-Transfer-Encoding: 7bit
1358
+
1359
+ PushType ( http://localhost:3000/push_type/ )
1360
+
1361
+ Hello Joe Bloggs
1362
+
1363
+ You're receiving this email because a PushType account has been
1364
+ created for you.
1365
+
1366
+ To get started, confirm your account and set your own password by
1367
+ clicking the link below:
1368
+
1369
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=woQUfBZ_T6cxDXMbwB3k )
1370
+
1371
+ PushType is brought to you by Push Code:
1372
+ type.pushcode.com ( http://type.pushcode.com ).
1373
+ ----==_mimepart_54ff4483b9be0_7adc3ffa3cc65be4988d4
1374
+ Content-Type: text/html;
1375
+ charset=UTF-8
1376
+ Content-Transfer-Encoding: 7bit
1377
+
1378
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1379
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1380
+ <head>
1381
+ <meta name="viewport" content="width=device-width" />
1382
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1383
+ <title>[PushType] Confirm your account</title>
1384
+
1385
+ </head>
1386
+
1387
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
1388
+ img {
1389
+ max-width: 100%;
1390
+ }
1391
+ body {
1392
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
1393
+ }
1394
+ </style>
1395
+
1396
+ <!-- body -->
1397
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
1398
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1399
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1400
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
1401
+
1402
+ <!-- content -->
1403
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1404
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1405
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1406
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1407
+ </tr>
1408
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1409
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1410
+ <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">Hello Joe Bloggs</p>
1411
+
1412
+ <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">You're receiving this email because a PushType account has been created for you.</p>
1413
+
1414
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
1415
+
1416
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1418
+ <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>
1420
+ </td>
1421
+ </tr>
1422
+ </table>
1423
+
1424
+
1425
+ </td>
1426
+ </tr>
1427
+ </table>
1428
+ </div>
1429
+ <!-- /content -->
1430
+
1431
+ </td>
1432
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1433
+ </tr>
1434
+ </table>
1435
+ <!-- /body -->
1436
+
1437
+ <!-- footer -->
1438
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1439
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1440
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1441
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1442
+
1443
+ <!-- content -->
1444
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1445
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1446
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1447
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1448
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
1449
+ </td>
1450
+ </tr>
1451
+ </table>
1452
+ </div>
1453
+ <!-- /content -->
1454
+
1455
+ </td>
1456
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1457
+ </tr>
1458
+ </table>
1459
+ <!-- /footer -->
1460
+
1461
+ </body>
1462
+ </html>
1463
+
1464
+ ----==_mimepart_54ff4483b9be0_7adc3ffa3cc65be4988d4--
1465
+
1466
+ Redirected to /push_type/users
1467
+ 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
1477
+  (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)
1483
+
1484
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
1485
+
1486
+ Sent mail to joe-16@example.com (3.0ms)
1487
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
1488
+ From: pushtype@example.com
1489
+ Reply-To: pushtype@example.com
1490
+ To: joe-16@example.com
1491
+ Message-ID: <54ff4483c41db_7adc3ffa3cc65be4992c3@Aarons-iMac.local.mail>
1492
+ Subject: [PushType] Confirm your account
1493
+ Mime-Version: 1.0
1494
+ Content-Type: multipart/alternative;
1495
+ boundary="--==_mimepart_54ff4483c3c78_7adc3ffa3cc65be4991f4";
1496
+ charset=UTF-8
1497
+ Content-Transfer-Encoding: 7bit
1498
+
1499
+
1500
+ ----==_mimepart_54ff4483c3c78_7adc3ffa3cc65be4991f4
1501
+ Content-Type: text/plain;
1502
+ charset=UTF-8
1503
+ Content-Transfer-Encoding: 7bit
1504
+
1505
+ PushType ( http://localhost:3000/push_type/ )
1506
+
1507
+ Hello Joe Bloggs
1508
+
1509
+ You're receiving this email because a PushType account has been
1510
+ created for you.
1511
+
1512
+ To get started, confirm your account and set your own password by
1513
+ clicking the link below:
1514
+
1515
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=9rv5yvYSoZzU8ZC3sy8n )
1516
+
1517
+ PushType is brought to you by Push Code:
1518
+ type.pushcode.com ( http://type.pushcode.com ).
1519
+ ----==_mimepart_54ff4483c3c78_7adc3ffa3cc65be4991f4
1520
+ Content-Type: text/html;
1521
+ charset=UTF-8
1522
+ Content-Transfer-Encoding: 7bit
1523
+
1524
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1525
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1526
+ <head>
1527
+ <meta name="viewport" content="width=device-width" />
1528
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1529
+ <title>[PushType] Confirm your account</title>
1530
+
1531
+ </head>
1532
+
1533
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
1534
+ img {
1535
+ max-width: 100%;
1536
+ }
1537
+ body {
1538
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
1539
+ }
1540
+ </style>
1541
+
1542
+ <!-- body -->
1543
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
1544
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1545
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1546
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
1547
+
1548
+ <!-- content -->
1549
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1550
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1551
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1552
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1553
+ </tr>
1554
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1555
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1556
+ <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">Hello Joe Bloggs</p>
1557
+
1558
+ <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">You're receiving this email because a PushType account has been created for you.</p>
1559
+
1560
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
1561
+
1562
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1564
+ <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>
1566
+ </td>
1567
+ </tr>
1568
+ </table>
1569
+
1570
+
1571
+ </td>
1572
+ </tr>
1573
+ </table>
1574
+ </div>
1575
+ <!-- /content -->
1576
+
1577
+ </td>
1578
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1579
+ </tr>
1580
+ </table>
1581
+ <!-- /body -->
1582
+
1583
+ <!-- footer -->
1584
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1585
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1586
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1587
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1588
+
1589
+ <!-- content -->
1590
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1591
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1592
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1593
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1594
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
1595
+ </td>
1596
+ </tr>
1597
+ </table>
1598
+ </div>
1599
+ <!-- /content -->
1600
+
1601
+ </td>
1602
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1603
+ </tr>
1604
+ </table>
1605
+ <!-- /footer -->
1606
+
1607
+ </body>
1608
+ </html>
1609
+
1610
+ ----==_mimepart_54ff4483c3c78_7adc3ffa3cc65be4991f4--
1611
+
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
1628
+  (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)
1634
+
1635
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
1636
+
1637
+ Sent mail to joe-17@example.com (3.0ms)
1638
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
1639
+ From: pushtype@example.com
1640
+ Reply-To: pushtype@example.com
1641
+ To: joe-17@example.com
1642
+ Message-ID: <54ff4483d11a4_7adc3ffa3cc65be4995a1@Aarons-iMac.local.mail>
1643
+ Subject: [PushType] Confirm your account
1644
+ Mime-Version: 1.0
1645
+ Content-Type: multipart/alternative;
1646
+ boundary="--==_mimepart_54ff4483d0c30_7adc3ffa3cc65be49941";
1647
+ charset=UTF-8
1648
+ Content-Transfer-Encoding: 7bit
1649
+
1650
+
1651
+ ----==_mimepart_54ff4483d0c30_7adc3ffa3cc65be49941
1652
+ Content-Type: text/plain;
1653
+ charset=UTF-8
1654
+ Content-Transfer-Encoding: 7bit
1655
+
1656
+ PushType ( http://localhost:3000/push_type/ )
1657
+
1658
+ Hello Joe Bloggs
1659
+
1660
+ You're receiving this email because a PushType account has been
1661
+ created for you.
1662
+
1663
+ To get started, confirm your account and set your own password by
1664
+ clicking the link below:
1665
+
1666
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Nv1RcwRzgeeK45Q8fC6z )
1667
+
1668
+ PushType is brought to you by Push Code:
1669
+ type.pushcode.com ( http://type.pushcode.com ).
1670
+ ----==_mimepart_54ff4483d0c30_7adc3ffa3cc65be49941
1671
+ Content-Type: text/html;
1672
+ charset=UTF-8
1673
+ Content-Transfer-Encoding: 7bit
1674
+
1675
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1676
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1677
+ <head>
1678
+ <meta name="viewport" content="width=device-width" />
1679
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1680
+ <title>[PushType] Confirm your account</title>
1681
+
1682
+ </head>
1683
+
1684
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
1685
+ img {
1686
+ max-width: 100%;
1687
+ }
1688
+ body {
1689
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
1690
+ }
1691
+ </style>
1692
+
1693
+ <!-- body -->
1694
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
1695
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1696
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1697
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
1698
+
1699
+ <!-- content -->
1700
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1701
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1702
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1703
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1704
+ </tr>
1705
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1706
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1707
+ <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">Hello Joe Bloggs</p>
1708
+
1709
+ <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">You're receiving this email because a PushType account has been created for you.</p>
1710
+
1711
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
1712
+
1713
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1715
+ <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>
1717
+ </td>
1718
+ </tr>
1719
+ </table>
1720
+
1721
+
1722
+ </td>
1723
+ </tr>
1724
+ </table>
1725
+ </div>
1726
+ <!-- /content -->
1727
+
1728
+ </td>
1729
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1730
+ </tr>
1731
+ </table>
1732
+ <!-- /body -->
1733
+
1734
+ <!-- footer -->
1735
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1736
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1737
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1738
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1739
+
1740
+ <!-- content -->
1741
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
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%">
1743
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1744
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1745
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
1746
+ </td>
1747
+ </tr>
1748
+ </table>
1749
+ </div>
1750
+ <!-- /content -->
1751
+
1752
+ </td>
1753
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1754
+ </tr>
1755
+ </table>
1756
+ <!-- /footer -->
1757
+
1758
+ </body>
1759
+ </html>
1760
+
1761
+ ----==_mimepart_54ff4483d0c30_7adc3ffa3cc65be49941--
1762
+
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)
1770
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1771
+  (0.1ms) ROLLBACK
1772
+  (0.1ms) BEGIN
1773
+ --------------------------------------------------------------------------------------
1774
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
1775
+ --------------------------------------------------------------------------------------
1776
+  (0.1ms) SAVEPOINT active_record_1
1777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1778
+  (0.0ms) SAVEPOINT active_record_1
1779
+  (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
1781
+ 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)
1785
+
1786
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
1787
+
1788
+ Sent mail to joe-18@example.com (3.1ms)
1789
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
1790
+ From: pushtype@example.com
1791
+ Reply-To: pushtype@example.com
1792
+ To: joe-18@example.com
1793
+ Message-ID: <54ff4483ddec2_7adc3ffa3cc65be499857@Aarons-iMac.local.mail>
1794
+ Subject: [PushType] Confirm your account
1795
+ Mime-Version: 1.0
1796
+ Content-Type: multipart/alternative;
1797
+ boundary="--==_mimepart_54ff4483dd949_7adc3ffa3cc65be499774";
1798
+ charset=UTF-8
1799
+ Content-Transfer-Encoding: 7bit
1800
+
1801
+
1802
+ ----==_mimepart_54ff4483dd949_7adc3ffa3cc65be499774
1803
+ Content-Type: text/plain;
1804
+ charset=UTF-8
1805
+ Content-Transfer-Encoding: 7bit
1806
+
1807
+ PushType ( http://localhost:3000/push_type/ )
1808
+
1809
+ Hello Joe Bloggs
1810
+
1811
+ You're receiving this email because a PushType account has been
1812
+ created for you.
1813
+
1814
+ To get started, confirm your account and set your own password by
1815
+ clicking the link below:
1816
+
1817
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=6GsScQWGBJtneDuhv-Rw )
1818
+
1819
+ PushType is brought to you by Push Code:
1820
+ type.pushcode.com ( http://type.pushcode.com ).
1821
+ ----==_mimepart_54ff4483dd949_7adc3ffa3cc65be499774
1822
+ Content-Type: text/html;
1823
+ charset=UTF-8
1824
+ Content-Transfer-Encoding: 7bit
1825
+
1826
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1827
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1828
+ <head>
1829
+ <meta name="viewport" content="width=device-width" />
1830
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1831
+ <title>[PushType] Confirm your account</title>
1832
+
1833
+ </head>
1834
+
1835
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
1836
+ img {
1837
+ max-width: 100%;
1838
+ }
1839
+ body {
1840
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
1841
+ }
1842
+ </style>
1843
+
1844
+ <!-- body -->
1845
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
1846
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1847
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1848
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
1849
+
1850
+ <!-- content -->
1851
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1852
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1853
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1854
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
1855
+ </tr>
1856
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1857
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1858
+ <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">Hello Joe Bloggs</p>
1859
+
1860
+ <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">You're receiving this email because a PushType account has been created for you.</p>
1861
+
1862
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
1863
+
1864
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1866
+ <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>
1868
+ </td>
1869
+ </tr>
1870
+ </table>
1871
+
1872
+
1873
+ </td>
1874
+ </tr>
1875
+ </table>
1876
+ </div>
1877
+ <!-- /content -->
1878
+
1879
+ </td>
1880
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1881
+ </tr>
1882
+ </table>
1883
+ <!-- /body -->
1884
+
1885
+ <!-- footer -->
1886
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1887
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1888
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1889
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1890
+
1891
+ <!-- content -->
1892
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
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%">
1894
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1895
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1896
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
1897
+ </td>
1898
+ </tr>
1899
+ </table>
1900
+ </div>
1901
+ <!-- /content -->
1902
+
1903
+ </td>
1904
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1905
+ </tr>
1906
+ </table>
1907
+ <!-- /footer -->
1908
+
1909
+ </body>
1910
+ </html>
1911
+
1912
+ ----==_mimepart_54ff4483dd949_7adc3ffa3cc65be499774--
627
1913
 
628
1914
   (0.1ms) RELEASE SAVEPOINT active_record_2
629
1915
  Processing by PushType::ConfirmationsController#update as HTML
630
- Parameters: {"user"=>{"confirmation_token"=>"2fPRUMhKBVieisEZXoyB", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
631
- 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", "8465cb1a0bb42977630bc16a949013c29e920301f1619e738931f54e0fad37c7"]]
632
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != 'ccd116e5-ac39-4f87-a4f1-ffc88189c798') LIMIT 1
633
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.9ms)
634
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.0ms)
635
- Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.3ms)
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)
636
1922
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
637
1923
   (0.1ms) ROLLBACK
638
1924
   (0.1ms) BEGIN
639
1925
  --------------------------------------------------------------------------------------
640
- PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
1926
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
641
1927
  --------------------------------------------------------------------------------------
642
1928
   (0.1ms) SAVEPOINT active_record_1
643
1929
   (0.1ms) RELEASE SAVEPOINT active_record_1
644
1930
   (0.1ms) SAVEPOINT active_record_1
645
1931
   (0.1ms) SAVEPOINT active_record_2
646
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
647
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
648
- 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", "984cf7d3e69b140ffa189be111ab966049628f0c0f1b935efd6b24f4110fe44a"]]
649
- 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-02-22 15:25:35.433541"], ["updated_at", "2015-02-22 15:25:35.433541"], ["confirmation_token", "984cf7d3e69b140ffa189be111ab966049628f0c0f1b935efd6b24f4110fe44a"], ["confirmation_sent_at", "2015-02-22 15:25:35.434445"]]
650
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.9ms)
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)
651
1937
 
652
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
1938
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.7ms
653
1939
 
654
- Sent mail to joe-16@example.com (1.5ms)
655
- Date: Sun, 22 Feb 2015 15:25:35 +0000
656
- From: please-change-me-at-config-initializers-devise@example.com
657
- Reply-To: please-change-me-at-config-initializers-devise@example.com
658
- To: joe-16@example.com
659
- Message-ID: <54e9f4ef6b2b6_18bb3ff408865bf0467d3@Aarons-iMac.local.mail>
660
- Subject: Confirmation instructions
1940
+ Sent mail to joe-19@example.com (2.9ms)
1941
+ Date: Tue, 10 Mar 2015 19:22:43 +0000
1942
+ From: pushtype@example.com
1943
+ Reply-To: pushtype@example.com
1944
+ To: joe-19@example.com
1945
+ Message-ID: <54ff4483eaacf_7adc3ffa3cc65be4100184@Aarons-iMac.local.mail>
1946
+ Subject: [PushType] Confirm your account
661
1947
  Mime-Version: 1.0
1948
+ Content-Type: multipart/alternative;
1949
+ boundary="--==_mimepart_54ff4483ea593_7adc3ffa3cc65be41000bb";
1950
+ charset=UTF-8
1951
+ Content-Transfer-Encoding: 7bit
1952
+
1953
+
1954
+ ----==_mimepart_54ff4483ea593_7adc3ffa3cc65be41000bb
1955
+ Content-Type: text/plain;
1956
+ charset=UTF-8
1957
+ Content-Transfer-Encoding: 7bit
1958
+
1959
+ PushType ( http://localhost:3000/push_type/ )
1960
+
1961
+ Hello Joe Bloggs
1962
+
1963
+ You're receiving this email because a PushType account has been
1964
+ created for you.
1965
+
1966
+ To get started, confirm your account and set your own password by
1967
+ clicking the link below:
1968
+
1969
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=RxdoczBZWxV5jC37oSZ2 )
1970
+
1971
+ PushType is brought to you by Push Code:
1972
+ type.pushcode.com ( http://type.pushcode.com ).
1973
+ ----==_mimepart_54ff4483ea593_7adc3ffa3cc65be41000bb
662
1974
  Content-Type: text/html;
663
1975
  charset=UTF-8
664
1976
  Content-Transfer-Encoding: 7bit
665
1977
 
666
- <p>Welcome joe-16@example.com!</p>
1978
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1979
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1980
+ <head>
1981
+ <meta name="viewport" content="width=device-width" />
1982
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1983
+ <title>[PushType] Confirm your account</title>
1984
+
1985
+ </head>
1986
+
1987
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
1988
+ img {
1989
+ max-width: 100%;
1990
+ }
1991
+ body {
1992
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
1993
+ }
1994
+ </style>
1995
+
1996
+ <!-- body -->
1997
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
1998
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1999
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2000
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
2001
+
2002
+ <!-- content -->
2003
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2004
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2005
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2006
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2007
+ </tr>
2008
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2009
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2010
+ <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">Hello Joe Bloggs</p>
2011
+
2012
+ <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">You're receiving this email because a PushType account has been created for you.</p>
2013
+
2014
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
2015
+
2016
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2018
+ <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>
2020
+ </td>
2021
+ </tr>
2022
+ </table>
667
2023
 
668
- <p>You can confirm your account email through the link below:</p>
669
2024
 
670
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=8QdT73zfW4raezGtciqE">Confirm my account</a></p>
2025
+ </td>
2026
+ </tr>
2027
+ </table>
2028
+ </div>
2029
+ <!-- /content -->
2030
+
2031
+ </td>
2032
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2033
+ </tr>
2034
+ </table>
2035
+ <!-- /body -->
2036
+
2037
+ <!-- footer -->
2038
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2039
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2040
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2041
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
2042
+
2043
+ <!-- content -->
2044
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2045
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2046
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2047
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2048
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
2049
+ </td>
2050
+ </tr>
2051
+ </table>
2052
+ </div>
2053
+ <!-- /content -->
2054
+
2055
+ </td>
2056
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2057
+ </tr>
2058
+ </table>
2059
+ <!-- /footer -->
2060
+
2061
+ </body>
2062
+ </html>
2063
+
2064
+ ----==_mimepart_54ff4483ea593_7adc3ffa3cc65be41000bb--
671
2065
 
672
-  (0.2ms) RELEASE SAVEPOINT active_record_2
2066
+  (0.1ms) RELEASE SAVEPOINT active_record_2
673
2067
  Processing by PushType::ConfirmationsController#update as HTML
674
- Parameters: {"user"=>{"confirmation_token"=>"8QdT73zfW4raezGtciqE", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
675
- 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", "984cf7d3e69b140ffa189be111ab966049628f0c0f1b935efd6b24f4110fe44a"]]
676
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != '5a71ee54-0c4a-4496-b7b7-0d5f4eb1d1dd') LIMIT 1
677
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (3.0ms)
678
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.8ms)
679
- Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.4ms)
680
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
681
-  (0.1ms) ROLLBACK
682
-  (0.1ms) BEGIN
683
- --------------------------------------------------------------------------------------------------
684
- PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
685
- --------------------------------------------------------------------------------------------------
686
-  (0.1ms) SAVEPOINT active_record_1
687
-  (0.0ms) RELEASE SAVEPOINT active_record_1
688
-  (0.0ms) SAVEPOINT active_record_1
689
- Processing by PushType::ConfirmationsController#show as HTML
690
- Parameters: {"confirmation_token"=>"invalid"}
691
- 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", "41e92e45fdfb45613e5df36a5dfacba4918626baed83b0bb1f7032ccf7a6c4c2"]]
692
- 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", "41e92e45fdfb45613e5df36a5dfacba4918626baed83b0bb1f7032ccf7a6c4c2"]]
693
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (4.3ms)
694
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (11.4ms)
695
- Completed 200 OK in 20ms (Views: 16.0ms | ActiveRecord: 0.4ms)
696
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
697
-  (0.1ms) ROLLBACK
698
-  (0.1ms) BEGIN
699
- --------------------------------------------------------------------------------------------------
700
- PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
701
- --------------------------------------------------------------------------------------------------
702
-  (0.1ms) SAVEPOINT active_record_1
703
-  (0.1ms) RELEASE SAVEPOINT active_record_1
704
-  (0.0ms) SAVEPOINT active_record_1
705
- Processing by PushType::ConfirmationsController#show as HTML
706
- Parameters: {"confirmation_token"=>"invalid"}
707
- 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", "41e92e45fdfb45613e5df36a5dfacba4918626baed83b0bb1f7032ccf7a6c4c2"]]
708
- 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", "41e92e45fdfb45613e5df36a5dfacba4918626baed83b0bb1f7032ccf7a6c4c2"]]
709
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (5.3ms)
710
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (9.9ms)
711
- Completed 200 OK in 15ms (Views: 11.8ms | ActiveRecord: 0.4ms)
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)
712
2074
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
713
-  (0.1ms) ROLLBACK
2075
+  (0.2ms) ROLLBACK
714
2076
   (0.1ms) BEGIN
715
- ------------------------------------------------------------
716
- PushType::ProfilesController::GET #edit: test_0001_anonymous
717
- ------------------------------------------------------------
718
-  (0.1ms) SAVEPOINT active_record_1
719
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2077
+ --------------------------------------------------------------------------------------
2078
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
2079
+ --------------------------------------------------------------------------------------
720
2080
   (0.0ms) SAVEPOINT active_record_1
721
-  (0.1ms) SAVEPOINT active_record_2
722
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
723
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
724
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["confirmation_sent_at", "2015-02-22 15:25:35.503971"], ["confirmed_at", "2015-02-22 15:25:35.504093"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:35.506142"], ["updated_at", "2015-02-22 15:25:35.506142"]]
725
-  (0.1ms) RELEASE SAVEPOINT active_record_2
726
- Processing by PushType::ProfilesController#edit as HTML
727
- 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", "e89cc878-53a9-4621-ba84-d964a90cf083"]]
728
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (8.4ms)
729
- Completed 200 OK in 40ms (Views: 36.8ms | ActiveRecord: 0.2ms)
730
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
731
-  (0.1ms) ROLLBACK
732
-  (0.1ms) BEGIN
733
- ------------------------------------------------------------
734
- PushType::ProfilesController::GET #edit: test_0002_anonymous
735
- ------------------------------------------------------------
736
-  (0.1ms) SAVEPOINT active_record_1
737
2081
   (0.0ms) RELEASE SAVEPOINT active_record_1
738
2082
   (0.0ms) SAVEPOINT active_record_1
739
2083
   (0.1ms) SAVEPOINT active_record_2
740
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
741
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
742
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["confirmation_sent_at", "2015-02-22 15:25:35.552926"], ["confirmed_at", "2015-02-22 15:25:35.553052"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:35.554998"], ["updated_at", "2015-02-22 15:25:35.554998"]]
743
-  (0.1ms) RELEASE SAVEPOINT active_record_2
744
- Processing by PushType::ProfilesController#edit as HTML
745
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "757dff25-d52f-4bb2-98d6-84f69ea85aea"]]
746
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.6ms)
747
- Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.2ms)
748
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
749
-  (0.1ms) ROLLBACK
750
-  (0.1ms) BEGIN
751
- ------------------------------------------------------------------------------------------------
752
- PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
753
- ------------------------------------------------------------------------------------------------
754
-  (0.1ms) SAVEPOINT active_record_1
755
-  (0.1ms) RELEASE SAVEPOINT active_record_1
756
-  (0.1ms) SAVEPOINT active_record_1
757
-  (0.1ms) SAVEPOINT active_record_2
758
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
759
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
760
- 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", "fa1a5461ee6d54103f0a726af6a8d7b5aa4720ceb24988066ff1329939cf5a4c"]]
761
- 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-02-22 15:25:35.584633"], ["updated_at", "2015-02-22 15:25:35.584633"], ["confirmation_token", "fa1a5461ee6d54103f0a726af6a8d7b5aa4720ceb24988066ff1329939cf5a4c"], ["confirmation_sent_at", "2015-02-22 15:25:35.585541"]]
762
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (1.9ms)
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)
763
2089
 
764
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
2090
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
765
2091
 
766
- Sent mail to joe-19@example.com (1.6ms)
767
- Date: Sun, 22 Feb 2015 15:25:35 +0000
768
- From: please-change-me-at-config-initializers-devise@example.com
769
- Reply-To: please-change-me-at-config-initializers-devise@example.com
770
- To: joe-19@example.com
771
- Message-ID: <54e9f4ef90139_18bb3ff408865bf04685a@Aarons-iMac.local.mail>
772
- Subject: Confirmation instructions
2092
+ Sent mail to joe-20@example.com (3.0ms)
2093
+ Date: Tue, 10 Mar 2015 19:22:44 +0000
2094
+ From: pushtype@example.com
2095
+ Reply-To: pushtype@example.com
2096
+ To: joe-20@example.com
2097
+ Message-ID: <54ff44843426_7adc3ffa3cc65be4100481@Aarons-iMac.local.mail>
2098
+ Subject: [PushType] Confirm your account
773
2099
  Mime-Version: 1.0
2100
+ Content-Type: multipart/alternative;
2101
+ boundary="--==_mimepart_54ff44842e82_7adc3ffa3cc65be410035f";
2102
+ charset=UTF-8
2103
+ Content-Transfer-Encoding: 7bit
2104
+
2105
+
2106
+ ----==_mimepart_54ff44842e82_7adc3ffa3cc65be410035f
2107
+ Content-Type: text/plain;
2108
+ charset=UTF-8
2109
+ Content-Transfer-Encoding: 7bit
2110
+
2111
+ PushType ( http://localhost:3000/push_type/ )
2112
+
2113
+ Hello Joe Bloggs
2114
+
2115
+ You're receiving this email because a PushType account has been
2116
+ created for you.
2117
+
2118
+ To get started, confirm your account and set your own password by
2119
+ clicking the link below:
2120
+
2121
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=kkWyGqBnhqxowpTVUvyx )
2122
+
2123
+ PushType is brought to you by Push Code:
2124
+ type.pushcode.com ( http://type.pushcode.com ).
2125
+ ----==_mimepart_54ff44842e82_7adc3ffa3cc65be410035f
774
2126
  Content-Type: text/html;
775
2127
  charset=UTF-8
776
2128
  Content-Transfer-Encoding: 7bit
777
2129
 
778
- <p>Welcome joe-19@example.com!</p>
2130
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2131
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2132
+ <head>
2133
+ <meta name="viewport" content="width=device-width" />
2134
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2135
+ <title>[PushType] Confirm your account</title>
2136
+
2137
+ </head>
2138
+
2139
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
2140
+ img {
2141
+ max-width: 100%;
2142
+ }
2143
+ body {
2144
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
2145
+ }
2146
+ </style>
2147
+
2148
+ <!-- body -->
2149
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
2150
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2151
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2152
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
779
2153
 
780
- <p>You can confirm your account email through the link below:</p>
2154
+ <!-- content -->
2155
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2156
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2157
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2158
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2159
+ </tr>
2160
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2161
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2162
+ <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">Hello Joe Bloggs</p>
781
2163
 
782
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=PSWq3fBfX8-3zyM_fwrq">Confirm my account</a></p>
2164
+ <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">You're receiving this email because a PushType account has been created for you.</p>
2165
+
2166
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
2167
+
2168
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2170
+ <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>
2172
+ </td>
2173
+ </tr>
2174
+ </table>
2175
+
2176
+
2177
+ </td>
2178
+ </tr>
2179
+ </table>
2180
+ </div>
2181
+ <!-- /content -->
2182
+
2183
+ </td>
2184
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2185
+ </tr>
2186
+ </table>
2187
+ <!-- /body -->
2188
+
2189
+ <!-- footer -->
2190
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2191
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2192
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2193
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
2194
+
2195
+ <!-- content -->
2196
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2197
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2198
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2199
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2200
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
2201
+ </td>
2202
+ </tr>
2203
+ </table>
2204
+ </div>
2205
+ <!-- /content -->
2206
+
2207
+ </td>
2208
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2209
+ </tr>
2210
+ </table>
2211
+ <!-- /footer -->
2212
+
2213
+ </body>
2214
+ </html>
2215
+
2216
+ ----==_mimepart_54ff44842e82_7adc3ffa3cc65be410035f--
783
2217
 
784
2218
   (0.1ms) RELEASE SAVEPOINT active_record_2
785
- Processing by PushType::ConfirmationsController#show as HTML
786
- Parameters: {"confirmation_token"=>"PSWq3fBfX8-3zyM_fwrq"}
787
- 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", "fa1a5461ee6d54103f0a726af6a8d7b5aa4720ceb24988066ff1329939cf5a4c"]]
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
788
2223
  Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.9ms)
789
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.7ms)
790
- Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.1ms)
791
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
792
-  (0.1ms) ROLLBACK
793
-  (0.1ms) BEGIN
794
- ------------------------------------------------------------------------------------------------
795
- PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
796
- ------------------------------------------------------------------------------------------------
797
-  (0.1ms) SAVEPOINT active_record_1
798
-  (0.1ms) RELEASE SAVEPOINT active_record_1
799
-  (0.0ms) SAVEPOINT active_record_1
800
-  (0.1ms) SAVEPOINT active_record_2
801
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
802
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
803
- 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", "805d2d30b084fbed9bcafbc19e5a1421612bb5ea47f23d338fee84e1eb5c642e"]]
804
- 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-02-22 15:25:35.605068"], ["updated_at", "2015-02-22 15:25:35.605068"], ["confirmation_token", "805d2d30b084fbed9bcafbc19e5a1421612bb5ea47f23d338fee84e1eb5c642e"], ["confirmation_sent_at", "2015-02-22 15:25:35.605978"]]
805
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.1ms)
806
-
807
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
808
-
809
- Sent mail to joe-20@example.com (1.5ms)
810
- Date: Sun, 22 Feb 2015 15:25:35 +0000
811
- From: please-change-me-at-config-initializers-devise@example.com
812
- Reply-To: please-change-me-at-config-initializers-devise@example.com
813
- To: joe-20@example.com
814
- Message-ID: <54e9f4ef951c6_18bb3ff408865bf0469e9@Aarons-iMac.local.mail>
815
- Subject: Confirmation instructions
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)
2234
+
2235
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
2236
+
2237
+ Sent mail to joe-21@example.com (3.0ms)
2238
+ Date: Tue, 10 Mar 2015 19:22:44 +0000
2239
+ From: pushtype@example.com
2240
+ Reply-To: pushtype@example.com
2241
+ To: joe-21@example.com
2242
+ Message-ID: <54ff4484feea_7adc3ffa3cc65be4100730@Aarons-iMac.local.mail>
2243
+ Subject: [PushType] Confirm your account
816
2244
  Mime-Version: 1.0
2245
+ Content-Type: multipart/alternative;
2246
+ boundary="--==_mimepart_54ff4484f97c_7adc3ffa3cc65be4100648";
2247
+ charset=UTF-8
2248
+ Content-Transfer-Encoding: 7bit
2249
+
2250
+
2251
+ ----==_mimepart_54ff4484f97c_7adc3ffa3cc65be4100648
2252
+ Content-Type: text/plain;
2253
+ charset=UTF-8
2254
+ Content-Transfer-Encoding: 7bit
2255
+
2256
+ PushType ( http://localhost:3000/push_type/ )
2257
+
2258
+ Hello Joe Bloggs
2259
+
2260
+ You're receiving this email because a PushType account has been
2261
+ created for you.
2262
+
2263
+ To get started, confirm your account and set your own password by
2264
+ clicking the link below:
2265
+
2266
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=jDsLGurAzoskkrqJ-U85 )
2267
+
2268
+ PushType is brought to you by Push Code:
2269
+ type.pushcode.com ( http://type.pushcode.com ).
2270
+ ----==_mimepart_54ff4484f97c_7adc3ffa3cc65be4100648
817
2271
  Content-Type: text/html;
818
2272
  charset=UTF-8
819
2273
  Content-Transfer-Encoding: 7bit
820
2274
 
821
- <p>Welcome joe-20@example.com!</p>
2275
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2276
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2277
+ <head>
2278
+ <meta name="viewport" content="width=device-width" />
2279
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2280
+ <title>[PushType] Confirm your account</title>
822
2281
 
823
- <p>You can confirm your account email through the link below:</p>
2282
+ </head>
824
2283
 
825
- <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=uKAUxYP_x2gBRQhvTX95">Confirm my account</a></p>
2284
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
2285
+ img {
2286
+ max-width: 100%;
2287
+ }
2288
+ body {
2289
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
2290
+ }
2291
+ </style>
2292
+
2293
+ <!-- body -->
2294
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
2295
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2296
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2297
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
2298
+
2299
+ <!-- content -->
2300
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2301
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2302
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2303
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2304
+ </tr>
2305
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2306
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2307
+ <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">Hello Joe Bloggs</p>
2308
+
2309
+ <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">You're receiving this email because a PushType account has been created for you.</p>
2310
+
2311
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
2312
+
2313
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2315
+ <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
+ </td>
2318
+ </tr>
2319
+ </table>
2320
+
2321
+
2322
+ </td>
2323
+ </tr>
2324
+ </table>
2325
+ </div>
2326
+ <!-- /content -->
2327
+
2328
+ </td>
2329
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2330
+ </tr>
2331
+ </table>
2332
+ <!-- /body -->
2333
+
2334
+ <!-- footer -->
2335
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2336
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2337
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2338
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
2339
+
2340
+ <!-- content -->
2341
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2342
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2343
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2344
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2345
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
2346
+ </td>
2347
+ </tr>
2348
+ </table>
2349
+ </div>
2350
+ <!-- /content -->
2351
+
2352
+ </td>
2353
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2354
+ </tr>
2355
+ </table>
2356
+ <!-- /footer -->
2357
+
2358
+ </body>
2359
+ </html>
2360
+
2361
+ ----==_mimepart_54ff4484f97c_7adc3ffa3cc65be4100648--
826
2362
 
827
-  (0.1ms) RELEASE SAVEPOINT active_record_2
828
- Processing by PushType::ConfirmationsController#show as HTML
829
- Parameters: {"confirmation_token"=>"uKAUxYP_x2gBRQhvTX95"}
830
- 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", "805d2d30b084fbed9bcafbc19e5a1421612bb5ea47f23d338fee84e1eb5c642e"]]
831
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/devise/shared/_links.html.erb (2.8ms)
832
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (5.3ms)
833
- Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
834
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
835
-  (0.1ms) ROLLBACK
2363
+  (0.6ms) COMMIT
836
2364
   (0.1ms) BEGIN
837
- ---------------------------------------------------------------------------------
838
- PushType::ProfilesController::PUT #update::with invalid user: test_0001_anonymous
839
- ---------------------------------------------------------------------------------
840
-  (0.1ms) SAVEPOINT active_record_1
841
-  (0.0ms) RELEASE SAVEPOINT active_record_1
842
-  (0.1ms) SAVEPOINT active_record_1
843
-  (0.1ms) SAVEPOINT active_record_2
844
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
845
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
846
- 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-21@example.com"], ["confirmation_sent_at", "2015-02-22 15:25:35.625127"], ["confirmed_at", "2015-02-22 15:25:35.625249"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:35.626898"], ["updated_at", "2015-02-22 15:25:35.626898"]]
847
-  (0.1ms) RELEASE SAVEPOINT active_record_2
848
- Processing by PushType::ProfilesController#update as HTML
849
- Parameters: {"user"=>{"name"=>""}}
850
- 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", "2a1c6b7d-6d01-4085-91ac-ba6a26a0a279"]]
851
-  (0.1ms) SAVEPOINT active_record_2
852
- 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" != '2a1c6b7d-6d01-4085-91ac-ba6a26a0a279') LIMIT 1
853
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
854
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.3ms)
855
- Completed 200 OK in 24ms (Views: 18.9ms | ActiveRecord: 0.5ms)
856
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
857
-  (0.1ms) ROLLBACK
858
-  (0.1ms) BEGIN
859
- ---------------------------------------------------------------------------------
860
- PushType::ProfilesController::PUT #update::with invalid user: test_0002_anonymous
861
- ---------------------------------------------------------------------------------
862
-  (0.1ms) SAVEPOINT active_record_1
863
-  (0.1ms) RELEASE SAVEPOINT active_record_1
864
-  (0.1ms) SAVEPOINT active_record_1
865
-  (0.1ms) SAVEPOINT active_record_2
866
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
867
2365
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
868
- 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-22@example.com"], ["confirmation_sent_at", "2015-02-22 15:25:35.655902"], ["confirmed_at", "2015-02-22 15:25:35.656020"], ["confirmation_token", "Generated account"], ["created_at", "2015-02-22 15:25:35.657810"], ["updated_at", "2015-02-22 15:25:35.657810"]]
869
-  (0.1ms) RELEASE SAVEPOINT active_record_2
870
- Processing by PushType::ProfilesController#update as HTML
871
- Parameters: {"user"=>{"name"=>""}}
872
- 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", "2ce71f94-310b-4cbc-9b40-37353b50b981"]]
873
-  (0.1ms) SAVEPOINT active_record_2
874
- 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" != '2ce71f94-310b-4cbc-9b40-37353b50b981') LIMIT 1
875
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
876
- Rendered /Users/aaron/dev/push_type_split/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (4.4ms)
877
- Completed 200 OK in 24ms (Views: 19.1ms | ActiveRecord: 0.5ms)
878
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
879
-  (0.1ms) ROLLBACK
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)
2370
+
2371
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.0ms
2372
+
2373
+ Sent mail to joe-22@example.com (3.1ms)
2374
+ Date: Tue, 10 Mar 2015 19:22:44 +0000
2375
+ From: pushtype@example.com
2376
+ Reply-To: pushtype@example.com
2377
+ To: joe-22@example.com
2378
+ Message-ID: <54ff448419e54_7adc3ffa3cc65be41010bf@Aarons-iMac.local.mail>
2379
+ Subject: [PushType] Confirm your account
2380
+ Mime-Version: 1.0
2381
+ Content-Type: multipart/alternative;
2382
+ boundary="--==_mimepart_54ff4484198bc_7adc3ffa3cc65be41009b0";
2383
+ charset=UTF-8
2384
+ Content-Transfer-Encoding: 7bit
2385
+
2386
+
2387
+ ----==_mimepart_54ff4484198bc_7adc3ffa3cc65be41009b0
2388
+ Content-Type: text/plain;
2389
+ charset=UTF-8
2390
+ Content-Transfer-Encoding: 7bit
2391
+
2392
+ PushType ( http://localhost:3000/push_type/ )
2393
+
2394
+ Hello Joe Bloggs
2395
+
2396
+ You're receiving this email because a PushType account has been
2397
+ created for you.
2398
+
2399
+ To get started, confirm your account and set your own password by
2400
+ clicking the link below:
2401
+
2402
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=s-rTc2xkWiF6MAApQzhK )
2403
+
2404
+ PushType is brought to you by Push Code:
2405
+ type.pushcode.com ( http://type.pushcode.com ).
2406
+ ----==_mimepart_54ff4484198bc_7adc3ffa3cc65be41009b0
2407
+ Content-Type: text/html;
2408
+ charset=UTF-8
2409
+ Content-Transfer-Encoding: 7bit
2410
+
2411
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2412
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2413
+ <head>
2414
+ <meta name="viewport" content="width=device-width" />
2415
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2416
+ <title>[PushType] Confirm your account</title>
2417
+
2418
+ </head>
2419
+
2420
+ <body bgcolor="#f6f6f6" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; height: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100% !important"><style type="text/css">
2421
+ img {
2422
+ max-width: 100%;
2423
+ }
2424
+ body {
2425
+ -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%;
2426
+ }
2427
+ </style>
2428
+
2429
+ <!-- body -->
2430
+ <table class="body-wrap" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 20px; width: 100%">
2431
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2432
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2433
+ <td class="container" bgcolor="#FFFFFF" style="border: 1px solid #f0f0f0; clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 20px">
2434
+
2435
+ <!-- content -->
2436
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2437
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2438
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2439
+ <td class="logo" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0 20px"><a href="http://localhost:3000/push_type/" style="color: #348eda; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"><img alt="PushType" host="http://localhost:3000/" src="/assets/push_type/pushtype-logo.png" width="140" height="26" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; max-width: 100%; padding: 0" /></a></td>
2440
+ </tr>
2441
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2442
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2443
+ <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">Hello Joe Bloggs</p>
2444
+
2445
+ <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">You're receiving this email because a PushType account has been created for you.</p>
2446
+
2447
+ <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">To get started, confirm your account and set your own password by clicking the link below:</p>
2448
+
2449
+ <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
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2451
+ <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>
2453
+ </td>
2454
+ </tr>
2455
+ </table>
2456
+
2457
+
2458
+ </td>
2459
+ </tr>
2460
+ </table>
2461
+ </div>
2462
+ <!-- /content -->
2463
+
2464
+ </td>
2465
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2466
+ </tr>
2467
+ </table>
2468
+ <!-- /body -->
2469
+
2470
+ <!-- footer -->
2471
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2472
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2473
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2474
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
2475
+
2476
+ <!-- content -->
2477
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
2478
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2479
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2480
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2481
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType is brought to you by Push Code: <a href="http://type.pushcode.com" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">type.pushcode.com</a>.</p>
2482
+ </td>
2483
+ </tr>
2484
+ </table>
2485
+ </div>
2486
+ <!-- /content -->
2487
+
2488
+ </td>
2489
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
2490
+ </tr>
2491
+ </table>
2492
+ <!-- /footer -->
2493
+
2494
+ </body>
2495
+ </html>
2496
+
2497
+ ----==_mimepart_54ff4484198bc_7adc3ffa3cc65be41009b0--
2498
+
2499
+  (0.5ms) COMMIT