delayed_mailhopper 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/lib/delayed_mailhopper/version.rb +1 -1
  2. data/spec/dummy/Rakefile +7 -0
  3. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  4. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  5. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  6. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  7. data/spec/dummy/app/mailers/sample_mailer.rb +8 -0
  8. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  9. data/spec/dummy/app/views/sample_mailer/hello.text.erb +1 -0
  10. data/spec/dummy/config.ru +4 -0
  11. data/spec/dummy/config/application.rb +42 -0
  12. data/spec/dummy/config/boot.rb +10 -0
  13. data/spec/dummy/config/database.yml +25 -0
  14. data/spec/dummy/config/environment.rb +5 -0
  15. data/spec/dummy/config/environments/development.rb +27 -0
  16. data/spec/dummy/config/environments/production.rb +51 -0
  17. data/spec/dummy/config/environments/test.rb +39 -0
  18. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  19. data/spec/dummy/config/initializers/delayed_job.rb +1 -0
  20. data/spec/dummy/config/initializers/inflections.rb +10 -0
  21. data/spec/dummy/config/initializers/mailhopper.rb +3 -0
  22. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  23. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  24. data/spec/dummy/config/initializers/session_store.rb +8 -0
  25. data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
  26. data/spec/dummy/config/locales/en.yml +5 -0
  27. data/spec/dummy/config/routes.rb +58 -0
  28. data/spec/dummy/db/migrate/20110804223859_create_emails.rb +21 -0
  29. data/spec/dummy/db/migrate/20110804224806_create_delayed_jobs.rb +21 -0
  30. data/spec/dummy/db/migrate/20120209150616_add_queue_to_delayed_jobs.rb +9 -0
  31. data/spec/dummy/db/schema.rb +45 -0
  32. data/spec/dummy/db/test.sqlite3 +0 -0
  33. data/spec/dummy/log/development.log +126 -0
  34. data/spec/dummy/log/test.log +833 -0
  35. data/spec/dummy/public/404.html +26 -0
  36. data/spec/dummy/public/422.html +26 -0
  37. data/spec/dummy/public/500.html +26 -0
  38. data/spec/dummy/public/favicon.ico +0 -0
  39. data/spec/dummy/script/delayed_job +5 -0
  40. data/spec/dummy/script/rails +6 -0
  41. data/spec/models/email_spec.rb +64 -0
  42. data/spec/spec_helper.rb +32 -0
  43. metadata +96 -15
  44. data/lib/tasks/delayed_mailhopper_tasks.rake +0 -4
@@ -0,0 +1,9 @@
1
+ class AddQueueToDelayedJobs < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :delayed_jobs, :queue, :string
4
+ end
5
+
6
+ def self.down
7
+ remove_column :delayed_jobs, :queue
8
+ end
9
+ end
@@ -0,0 +1,45 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20120209150616) do
15
+
16
+ create_table "delayed_jobs", :force => true do |t|
17
+ t.integer "priority", :default => 0
18
+ t.integer "attempts", :default => 0
19
+ t.text "handler"
20
+ t.text "last_error"
21
+ t.datetime "run_at"
22
+ t.datetime "locked_at"
23
+ t.datetime "failed_at"
24
+ t.string "locked_by"
25
+ t.datetime "created_at", :null => false
26
+ t.datetime "updated_at", :null => false
27
+ t.string "queue"
28
+ end
29
+
30
+ add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
31
+
32
+ create_table "emails", :force => true do |t|
33
+ t.string "from_address", :null => false
34
+ t.string "to_address"
35
+ t.string "cc_address"
36
+ t.string "bcc_address"
37
+ t.string "reply_to_address"
38
+ t.string "subject"
39
+ t.text "content"
40
+ t.datetime "sent_at"
41
+ t.datetime "created_at", :null => false
42
+ t.datetime "updated_at", :null => false
43
+ end
44
+
45
+ end
@@ -0,0 +1,126 @@
1
+  (0.1ms) select sqlite_version(*)
2
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (0.0ms) PRAGMA index_list("schema_migrations")
4
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
+ Migrating to CreateEmails (20110804223859)
7
+  (0.0ms) begin transaction
8
+  (0.4ms) CREATE TABLE "emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "from_address" varchar(255) NOT NULL, "to_address" varchar(255), "cc_address" varchar(255), "bcc_address" varchar(255), "reply_to_address" varchar(255), "subject" varchar(255), "content" text, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
9
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804223859')
10
+  (8.8ms) commit transaction
11
+ Migrating to CreateDelayedJobs (20110804224806)
12
+  (0.0ms) begin transaction
13
+  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
14
+  (0.0ms) PRAGMA index_list("delayed_jobs")
15
+  (0.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
16
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804224806')
17
+  (2.0ms) commit transaction
18
+ Migrating to AddQueueToDelayedJobs (20120209150616)
19
+  (0.0ms) begin transaction
20
+  (0.3ms) ALTER TABLE "delayed_jobs" ADD "queue" varchar(255)
21
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120209150616')
22
+  (1.0ms) commit transaction
23
+  (0.3ms) select sqlite_version(*)
24
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
25
+  (0.0ms) PRAGMA index_list("delayed_jobs")
26
+  (0.0ms) PRAGMA index_info('delayed_jobs_priority')
27
+  (0.0ms) PRAGMA index_list("emails")
28
+  (0.1ms) select sqlite_version(*)
29
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
30
+  (0.0ms) PRAGMA index_list("schema_migrations")
31
+  (20.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
32
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
33
+ Migrating to CreateEmails (20110804223859)
34
+  (0.0ms) begin transaction
35
+  (0.4ms) CREATE TABLE "emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "from_address" varchar(255) NOT NULL, "to_address" varchar(255), "cc_address" varchar(255), "bcc_address" varchar(255), "reply_to_address" varchar(255), "subject" varchar(255), "content" text, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
36
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804223859')
37
+  (4.4ms) commit transaction
38
+ Migrating to CreateDelayedJobs (20110804224806)
39
+  (0.0ms) begin transaction
40
+  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
41
+  (0.0ms) PRAGMA index_list("delayed_jobs")
42
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
43
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804224806')
44
+  (3.1ms) commit transaction
45
+ Migrating to AddQueueToDelayedJobs (20120209150616)
46
+  (0.0ms) begin transaction
47
+  (0.3ms) ALTER TABLE "delayed_jobs" ADD "queue" varchar(255)
48
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120209150616')
49
+  (1.0ms) commit transaction
50
+  (0.4ms) select sqlite_version(*)
51
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
52
+  (0.0ms) PRAGMA index_list("delayed_jobs")
53
+  (0.0ms) PRAGMA index_info('delayed_jobs_priority')
54
+  (0.0ms) PRAGMA index_list("emails")
55
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
56
+ Migrating to CreateEmails (20110804223859)
57
+ Migrating to CreateDelayedJobs (20110804224806)
58
+ Migrating to AddQueueToDelayedJobs (20120209150616)
59
+  (0.2ms) select sqlite_version(*)
60
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
61
+  (0.0ms) PRAGMA index_list("delayed_jobs")
62
+  (0.1ms) PRAGMA index_info('delayed_jobs_priority')
63
+  (0.0ms) PRAGMA index_list("emails")
64
+  (0.1ms) select sqlite_version(*)
65
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
66
+  (0.0ms) PRAGMA index_list("schema_migrations")
67
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
68
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
69
+ Migrating to CreateEmails (20110804223859)
70
+  (0.0ms) begin transaction
71
+  (0.3ms) CREATE TABLE "emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "from_address" varchar(255) NOT NULL, "to_address" varchar(255), "cc_address" varchar(255), "bcc_address" varchar(255), "reply_to_address" varchar(255), "subject" varchar(255), "content" text, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
72
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804223859')
73
+  (11.6ms) commit transaction
74
+ Migrating to CreateDelayedJobs (20110804224806)
75
+  (0.0ms) begin transaction
76
+  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
77
+  (0.0ms) PRAGMA index_list("delayed_jobs")
78
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
79
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804224806')
80
+  (10.9ms) commit transaction
81
+ Migrating to AddQueueToDelayedJobs (20120209150616)
82
+  (0.1ms) begin transaction
83
+  (0.4ms) ALTER TABLE "delayed_jobs" ADD "queue" varchar(255)
84
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120209150616')
85
+  (1.3ms) commit transaction
86
+  (0.3ms) select sqlite_version(*)
87
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
88
+  (0.0ms) PRAGMA index_list("delayed_jobs")
89
+  (0.1ms) PRAGMA index_info('delayed_jobs_priority')
90
+  (0.0ms) PRAGMA index_list("emails")
91
+  (0.1ms) select sqlite_version(*)
92
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
93
+  (0.0ms) PRAGMA index_list("schema_migrations")
94
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
95
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
96
+ Migrating to CreateEmails (20110804223859)
97
+  (0.0ms) begin transaction
98
+  (0.4ms) CREATE TABLE "emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "from_address" varchar(255) NOT NULL, "to_address" varchar(255), "cc_address" varchar(255), "bcc_address" varchar(255), "reply_to_address" varchar(255), "subject" varchar(255), "content" text, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
99
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804223859')
100
+  (2.3ms) commit transaction
101
+ Migrating to CreateDelayedJobs (20110804224806)
102
+  (0.0ms) begin transaction
103
+  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
104
+  (0.0ms) PRAGMA index_list("delayed_jobs")
105
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
106
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804224806')
107
+  (2.7ms) commit transaction
108
+ Migrating to AddQueueToDelayedJobs (20120209150616)
109
+  (0.0ms) begin transaction
110
+  (0.3ms) ALTER TABLE "delayed_jobs" ADD "queue" varchar(255)
111
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120209150616')
112
+  (0.9ms) commit transaction
113
+  (0.3ms) select sqlite_version(*)
114
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
115
+  (0.0ms) PRAGMA index_list("delayed_jobs")
116
+  (0.0ms) PRAGMA index_info('delayed_jobs_priority')
117
+  (0.0ms) PRAGMA index_list("emails")
118
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
119
+ Migrating to CreateEmails (20110804223859)
120
+ Migrating to CreateDelayedJobs (20110804224806)
121
+ Migrating to AddQueueToDelayedJobs (20120209150616)
122
+  (0.2ms) select sqlite_version(*)
123
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
124
+  (0.0ms) PRAGMA index_list("delayed_jobs")
125
+  (0.1ms) PRAGMA index_info('delayed_jobs_priority')
126
+  (0.0ms) PRAGMA index_list("emails")
@@ -0,0 +1,833 @@
1
+  (0.4ms) begin transaction
2
+  (0.1ms) rollback transaction
3
+  (0.0ms) begin transaction
4
+ Rendered sample_mailer/hello.text.erb (5.1ms)
5
+  (0.1ms) SAVEPOINT active_record_1
6
+ SQL (16.8ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 17:32:17 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3449717abf_49e53fcc31c34d344582b@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00]]
7
+ SQL (0.4ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00]]
8
+  (0.4ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 17:32:17 -0500
9
+ From: from@example.com
10
+ Reply-To: reply_to@example.com
11
+ To: to@example.com
12
+ Cc: cc@example.com
13
+ Message-ID: <4f3449717abf_49e53fcc31c34d344582b@dgmpro.local.mail>
14
+ Subject: Hiya!
15
+ Mime-Version: 1.0
16
+ Content-Type: text/plain;
17
+ charset=UTF-8
18
+ Content-Transfer-Encoding: 7bit
19
+
20
+ Papaya', "created_at" = '2012-02-09 22:32:17.042607', "updated_at" = '2012-02-09 22:32:17.042607' WHERE "emails"."id" = 1
21
+  (0.0ms) RELEASE SAVEPOINT active_record_1
22
+
23
+ Sent mail to to@example.com (82ms)
24
+ Date: Thu, 09 Feb 2012 17:32:17 -0500
25
+ From: from@example.com
26
+ Reply-To: reply_to@example.com
27
+ To: to@example.com
28
+ Cc: cc@example.com
29
+ Message-ID: <4f3449717abf_49e53fcc31c34d344582b@dgmpro.local.mail>
30
+ Subject: Hiya!
31
+ Mime-Version: 1.0
32
+ Content-Type: text/plain;
33
+ charset=UTF-8
34
+ Content-Transfer-Encoding: 7bit
35
+
36
+ Papaya
37
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
38
+  (1.5ms) rollback transaction
39
+  (0.0ms) begin transaction
40
+ Rendered sample_mailer/hello.text.erb (0.1ms)
41
+  (0.1ms) SAVEPOINT active_record_1
42
+ SQL (0.5ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 17:32:17 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3449711c8ba_49e53fcc31c34d344595c@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00]]
43
+ SQL (0.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00]]
44
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 17:32:17 -0500
45
+ From: from@example.com
46
+ Reply-To: reply_to@example.com
47
+ To: to@example.com
48
+ Cc: cc@example.com
49
+ Message-ID: <4f3449711c8ba_49e53fcc31c34d344595c@dgmpro.local.mail>
50
+ Subject: Hiya!
51
+ Mime-Version: 1.0
52
+ Content-Type: text/plain;
53
+ charset=UTF-8
54
+ Content-Transfer-Encoding: 7bit
55
+
56
+ Papaya', "created_at" = '2012-02-09 22:32:17.123965', "updated_at" = '2012-02-09 22:32:17.123965' WHERE "emails"."id" = 1
57
+  (0.0ms) RELEASE SAVEPOINT active_record_1
58
+
59
+ Sent mail to to@example.com (13ms)
60
+ Date: Thu, 09 Feb 2012 17:32:17 -0500
61
+ From: from@example.com
62
+ Reply-To: reply_to@example.com
63
+ To: to@example.com
64
+ Cc: cc@example.com
65
+ Message-ID: <4f3449711c8ba_49e53fcc31c34d344595c@dgmpro.local.mail>
66
+ Subject: Hiya!
67
+ Mime-Version: 1.0
68
+ Content-Type: text/plain;
69
+ charset=UTF-8
70
+ Content-Transfer-Encoding: 7bit
71
+
72
+ Papaya
73
+  (0.1ms) SELECT COUNT(*) FROM "emails" 
74
+  (0.1ms) SELECT COUNT(*) FROM "delayed_jobs"
75
+  (0.7ms) rollback transaction
76
+  (0.0ms) begin transaction
77
+ Rendered sample_mailer/hello.text.erb (0.1ms)
78
+  (0.1ms) SAVEPOINT active_record_1
79
+ SQL (0.4ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 17:32:17 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f34497122263_49e53fcc31c34d3446074@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00]]
80
+ SQL (0.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00]]
81
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 17:32:17 -0500
82
+ From: from@example.com
83
+ Reply-To: reply_to@example.com
84
+ To: to@example.com
85
+ Cc: cc@example.com
86
+ Message-ID: <4f34497122263_49e53fcc31c34d3446074@dgmpro.local.mail>
87
+ Subject: Hiya!
88
+ Mime-Version: 1.0
89
+ Content-Type: text/plain;
90
+ charset=UTF-8
91
+ Content-Transfer-Encoding: 7bit
92
+
93
+ Papaya', "created_at" = '2012-02-09 22:32:17.146802', "updated_at" = '2012-02-09 22:32:17.146802' WHERE "emails"."id" = 1
94
+  (0.0ms) RELEASE SAVEPOINT active_record_1
95
+
96
+ Sent mail to to@example.com (13ms)
97
+ Date: Thu, 09 Feb 2012 17:32:17 -0500
98
+ From: from@example.com
99
+ Reply-To: reply_to@example.com
100
+ To: to@example.com
101
+ Cc: cc@example.com
102
+ Message-ID: <4f34497122263_49e53fcc31c34d3446074@dgmpro.local.mail>
103
+ Subject: Hiya!
104
+ Mime-Version: 1.0
105
+ Content-Type: text/plain;
106
+ charset=UTF-8
107
+ Content-Transfer-Encoding: 7bit
108
+
109
+ Papaya
110
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
111
+ Delayed::Backend::ActiveRecord::Job Load (0.1ms) SELECT "delayed_jobs".* FROM "delayed_jobs" LIMIT 1
112
+ DelayedMailhopper::Email Load (0.1ms) SELECT "emails".* FROM "emails" WHERE "emails"."id" = ? ORDER BY created_at DESC LIMIT 1 [["id", 1]]
113
+
114
+ Sent mail to to@example.com (6ms)
115
+ Date: Thu, 09 Feb 2012 17:32:17 -0500
116
+ From: from@example.com
117
+ Reply-To: reply_to@example.com
118
+ To: to@example.com
119
+ Cc: cc@example.com
120
+ Message-ID: <4f34497122263_49e53fcc31c34d3446074@dgmpro.local.mail>
121
+ Subject: Hiya!
122
+ Mime-Version: 1.0
123
+ Content-Type: text/plain;
124
+ charset=UTF-8
125
+ Content-Transfer-Encoding: 7bit
126
+
127
+ Papaya
128
+  (0.1ms) SAVEPOINT active_record_1
129
+  (0.1ms) UPDATE "emails" SET "sent_at" = '2012-02-09 22:32:17.171734', "updated_at" = '2012-02-09 22:32:17.172266' WHERE "emails"."id" = 1
130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
131
+ [DelayedMailhopper::SendJob] success for email_id 1, delayed_job_id 1
132
+ DelayedMailhopper::Email Load (0.1ms) SELECT "emails".* FROM "emails" WHERE "emails"."id" = ? LIMIT 1 [["id", 1]]
133
+  (0.5ms) rollback transaction
134
+  (0.0ms) begin transaction
135
+ Rendered sample_mailer/hello.text.erb (0.1ms)
136
+  (0.1ms) SAVEPOINT active_record_1
137
+ SQL (0.5ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 17:32:17 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3449712d59a_49e53fcc31c34d34461e4@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00]]
138
+ SQL (0.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 22:32:17 UTC +00:00]]
139
+  (0.4ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 17:32:17 -0500
140
+ From: from@example.com
141
+ Reply-To: reply_to@example.com
142
+ To: to@example.com
143
+ Cc: cc@example.com
144
+ Message-ID: <4f3449712d59a_49e53fcc31c34d34461e4@dgmpro.local.mail>
145
+ Subject: Hiya!
146
+ Mime-Version: 1.0
147
+ Content-Type: text/plain;
148
+ charset=UTF-8
149
+ Content-Transfer-Encoding: 7bit
150
+
151
+ Papaya', "created_at" = '2012-02-09 22:32:17.196255', "updated_at" = '2012-02-09 22:32:17.196255' WHERE "emails"."id" = 1
152
+  (0.0ms) RELEASE SAVEPOINT active_record_1
153
+
154
+ Sent mail to to@example.com (18ms)
155
+ Date: Thu, 09 Feb 2012 17:32:17 -0500
156
+ From: from@example.com
157
+ Reply-To: reply_to@example.com
158
+ To: to@example.com
159
+ Cc: cc@example.com
160
+ Message-ID: <4f3449712d59a_49e53fcc31c34d34461e4@dgmpro.local.mail>
161
+ Subject: Hiya!
162
+ Mime-Version: 1.0
163
+ Content-Type: text/plain;
164
+ charset=UTF-8
165
+ Content-Transfer-Encoding: 7bit
166
+
167
+ Papaya
168
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
169
+
170
+ Sent mail to to@example.com (5ms)
171
+ Date: Thu, 09 Feb 2012 17:32:17 -0500
172
+ From: from@example.com
173
+ Reply-To: reply_to@example.com
174
+ To: to@example.com
175
+ Cc: cc@example.com
176
+ Message-ID: <4f3449712d59a_49e53fcc31c34d34461e4@dgmpro.local.mail>
177
+ Subject: Hiya!
178
+ Mime-Version: 1.0
179
+ Content-Type: text/plain;
180
+ charset=UTF-8
181
+ Content-Transfer-Encoding: 7bit
182
+
183
+ Papaya
184
+  (0.1ms) SAVEPOINT active_record_1
185
+  (0.1ms) UPDATE "emails" SET "sent_at" = '2012-02-09 22:32:17.217528', "updated_at" = '2012-02-09 22:32:17.218046' WHERE "emails"."id" = 1
186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
187
+  (0.6ms) rollback transaction
188
+  (0.3ms) begin transaction
189
+  (0.0ms) rollback transaction
190
+  (0.0ms) begin transaction
191
+ Rendered sample_mailer/hello.text.erb (1.9ms)
192
+
193
+ Sent mail to to@example.com (16ms)
194
+ Date: Thu, 09 Feb 2012 17:58:16 -0500
195
+ From: from@example.com
196
+ Reply-To: reply_to@example.com
197
+ To: to@example.com
198
+ Cc: cc@example.com
199
+ Message-ID: <4f344f88721d0_4aec3fc291834d3c8276@dgmpro.local.mail>
200
+ Subject: Hiya!
201
+ Mime-Version: 1.0
202
+ Content-Type: text/plain;
203
+ charset=UTF-8
204
+ Content-Transfer-Encoding: 7bit
205
+
206
+ Papaya
207
+  (0.0ms) rollback transaction
208
+  (0.0ms) begin transaction
209
+ Rendered sample_mailer/hello.text.erb (0.1ms)
210
+
211
+ Sent mail to to@example.com (8ms)
212
+ Date: Thu, 09 Feb 2012 17:58:16 -0500
213
+ From: from@example.com
214
+ Reply-To: reply_to@example.com
215
+ To: to@example.com
216
+ Cc: cc@example.com
217
+ Message-ID: <4f344f8876e17_4aec3fc291834d3c82841@dgmpro.local.mail>
218
+ Subject: Hiya!
219
+ Mime-Version: 1.0
220
+ Content-Type: text/plain;
221
+ charset=UTF-8
222
+ Content-Transfer-Encoding: 7bit
223
+
224
+ Papaya
225
+  (0.0ms) rollback transaction
226
+  (0.0ms) begin transaction
227
+ Rendered sample_mailer/hello.text.erb (0.1ms)
228
+
229
+ Sent mail to to@example.com (8ms)
230
+ Date: Thu, 09 Feb 2012 17:58:16 -0500
231
+ From: from@example.com
232
+ Reply-To: reply_to@example.com
233
+ To: to@example.com
234
+ Cc: cc@example.com
235
+ Message-ID: <4f344f887adbb_4aec3fc291834d3c82947@dgmpro.local.mail>
236
+ Subject: Hiya!
237
+ Mime-Version: 1.0
238
+ Content-Type: text/plain;
239
+ charset=UTF-8
240
+ Content-Transfer-Encoding: 7bit
241
+
242
+ Papaya
243
+  (0.1ms) rollback transaction
244
+  (0.0ms) begin transaction
245
+ Rendered sample_mailer/hello.text.erb (0.1ms)
246
+
247
+ Sent mail to to@example.com (8ms)
248
+ Date: Thu, 09 Feb 2012 17:58:16 -0500
249
+ From: from@example.com
250
+ Reply-To: reply_to@example.com
251
+ To: to@example.com
252
+ Cc: cc@example.com
253
+ Message-ID: <4f344f887f044_4aec3fc291834d3c8304f@dgmpro.local.mail>
254
+ Subject: Hiya!
255
+ Mime-Version: 1.0
256
+ Content-Type: text/plain;
257
+ charset=UTF-8
258
+ Content-Transfer-Encoding: 7bit
259
+
260
+ Papaya
261
+  (0.0ms) rollback transaction
262
+  (0.4ms) begin transaction
263
+  (0.1ms) rollback transaction
264
+  (0.0ms) begin transaction
265
+ Rendered sample_mailer/hello.text.erb (1.8ms)
266
+  (0.1ms) SAVEPOINT active_record_1
267
+ SQL (16.4ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 18:10:13 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f34525520a79_4b3b3fcae5434d3486584@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00]]
268
+ SQL (0.5ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00]]
269
+  (0.4ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 18:10:13 -0500
270
+ From: from@example.com
271
+ Reply-To: reply_to@example.com
272
+ To: to@example.com
273
+ Cc: cc@example.com
274
+ Message-ID: <4f34525520a79_4b3b3fcae5434d3486584@dgmpro.local.mail>
275
+ Subject: Hiya!
276
+ Mime-Version: 1.0
277
+ Content-Type: text/plain;
278
+ charset=UTF-8
279
+ Content-Transfer-Encoding: 7bit
280
+
281
+ Papaya', "created_at" = '2012-02-09 23:10:13.144055', "updated_at" = '2012-02-09 23:10:13.144055' WHERE "emails"."id" = 1
282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
283
+
284
+ Sent mail to to@example.com (79ms)
285
+ Date: Thu, 09 Feb 2012 18:10:13 -0500
286
+ From: from@example.com
287
+ Reply-To: reply_to@example.com
288
+ To: to@example.com
289
+ Cc: cc@example.com
290
+ Message-ID: <4f34525520a79_4b3b3fcae5434d3486584@dgmpro.local.mail>
291
+ Subject: Hiya!
292
+ Mime-Version: 1.0
293
+ Content-Type: text/plain;
294
+ charset=UTF-8
295
+ Content-Transfer-Encoding: 7bit
296
+
297
+ Papaya
298
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
299
+  (0.6ms) rollback transaction
300
+  (0.1ms) begin transaction
301
+ Rendered sample_mailer/hello.text.erb (0.1ms)
302
+  (0.1ms) SAVEPOINT active_record_1
303
+ SQL (0.4ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 18:10:13 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f34525535390_4b3b3fcae5434d34866c8@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00]]
304
+ SQL (0.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00]]
305
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 18:10:13 -0500
306
+ From: from@example.com
307
+ Reply-To: reply_to@example.com
308
+ To: to@example.com
309
+ Cc: cc@example.com
310
+ Message-ID: <4f34525535390_4b3b3fcae5434d34866c8@dgmpro.local.mail>
311
+ Subject: Hiya!
312
+ Mime-Version: 1.0
313
+ Content-Type: text/plain;
314
+ charset=UTF-8
315
+ Content-Transfer-Encoding: 7bit
316
+
317
+ Papaya', "created_at" = '2012-02-09 23:10:13.224966', "updated_at" = '2012-02-09 23:10:13.224966' WHERE "emails"."id" = 1
318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
319
+
320
+ Sent mail to to@example.com (13ms)
321
+ Date: Thu, 09 Feb 2012 18:10:13 -0500
322
+ From: from@example.com
323
+ Reply-To: reply_to@example.com
324
+ To: to@example.com
325
+ Cc: cc@example.com
326
+ Message-ID: <4f34525535390_4b3b3fcae5434d34866c8@dgmpro.local.mail>
327
+ Subject: Hiya!
328
+ Mime-Version: 1.0
329
+ Content-Type: text/plain;
330
+ charset=UTF-8
331
+ Content-Transfer-Encoding: 7bit
332
+
333
+ Papaya
334
+  (0.1ms) SELECT COUNT(*) FROM "emails" 
335
+  (0.1ms) SELECT COUNT(*) FROM "delayed_jobs"
336
+  (0.6ms) rollback transaction
337
+  (0.0ms) begin transaction
338
+ Rendered sample_mailer/hello.text.erb (0.1ms)
339
+  (0.1ms) SAVEPOINT active_record_1
340
+ SQL (0.5ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 18:10:13 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3452553ad5a_4b3b3fcae5434d34867dd@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00]]
341
+ SQL (0.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00]]
342
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 18:10:13 -0500
343
+ From: from@example.com
344
+ Reply-To: reply_to@example.com
345
+ To: to@example.com
346
+ Cc: cc@example.com
347
+ Message-ID: <4f3452553ad5a_4b3b3fcae5434d34867dd@dgmpro.local.mail>
348
+ Subject: Hiya!
349
+ Mime-Version: 1.0
350
+ Content-Type: text/plain;
351
+ charset=UTF-8
352
+ Content-Transfer-Encoding: 7bit
353
+
354
+ Papaya', "created_at" = '2012-02-09 23:10:13.248065', "updated_at" = '2012-02-09 23:10:13.248065' WHERE "emails"."id" = 1
355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
356
+
357
+ Sent mail to to@example.com (13ms)
358
+ Date: Thu, 09 Feb 2012 18:10:13 -0500
359
+ From: from@example.com
360
+ Reply-To: reply_to@example.com
361
+ To: to@example.com
362
+ Cc: cc@example.com
363
+ Message-ID: <4f3452553ad5a_4b3b3fcae5434d34867dd@dgmpro.local.mail>
364
+ Subject: Hiya!
365
+ Mime-Version: 1.0
366
+ Content-Type: text/plain;
367
+ charset=UTF-8
368
+ Content-Transfer-Encoding: 7bit
369
+
370
+ Papaya
371
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
372
+ Delayed::Backend::ActiveRecord::Job Load (0.1ms) SELECT "delayed_jobs".* FROM "delayed_jobs" LIMIT 1
373
+ DelayedMailhopper::Email Load (0.1ms) SELECT "emails".* FROM "emails" WHERE "emails"."id" = ? ORDER BY created_at DESC LIMIT 1 [["id", 1]]
374
+
375
+ Sent mail to to@example.com (6ms)
376
+ Date: Thu, 09 Feb 2012 18:10:13 -0500
377
+ From: from@example.com
378
+ Reply-To: reply_to@example.com
379
+ To: to@example.com
380
+ Cc: cc@example.com
381
+ Message-ID: <4f3452553ad5a_4b3b3fcae5434d34867dd@dgmpro.local.mail>
382
+ Subject: Hiya!
383
+ Mime-Version: 1.0
384
+ Content-Type: text/plain;
385
+ charset=UTF-8
386
+ Content-Transfer-Encoding: 7bit
387
+
388
+ Papaya
389
+  (0.1ms) SAVEPOINT active_record_1
390
+  (0.1ms) UPDATE "emails" SET "sent_at" = '2012-02-09 23:10:13.272347', "updated_at" = '2012-02-09 23:10:13.272798' WHERE "emails"."id" = 1
391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
392
+ [DelayedMailhopper::SendJob] success for email_id 1, delayed_job_id 1
393
+ DelayedMailhopper::Email Load (0.1ms) SELECT "emails".* FROM "emails" WHERE "emails"."id" = ? LIMIT 1 [["id", 1]]
394
+  (7.9ms) rollback transaction
395
+  (0.0ms) begin transaction
396
+ Rendered sample_mailer/hello.text.erb (0.1ms)
397
+  (0.1ms) SAVEPOINT active_record_1
398
+ SQL (0.5ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 18:10:13 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3452554761b_4b3b3fcae5434d348687d@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00]]
399
+ SQL (0.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 23:10:13 UTC +00:00]]
400
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 18:10:13 -0500
401
+ From: from@example.com
402
+ Reply-To: reply_to@example.com
403
+ To: to@example.com
404
+ Cc: cc@example.com
405
+ Message-ID: <4f3452554761b_4b3b3fcae5434d348687d@dgmpro.local.mail>
406
+ Subject: Hiya!
407
+ Mime-Version: 1.0
408
+ Content-Type: text/plain;
409
+ charset=UTF-8
410
+ Content-Transfer-Encoding: 7bit
411
+
412
+ Papaya', "created_at" = '2012-02-09 23:10:13.299220', "updated_at" = '2012-02-09 23:10:13.299220' WHERE "emails"."id" = 1
413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
414
+
415
+ Sent mail to to@example.com (13ms)
416
+ Date: Thu, 09 Feb 2012 18:10:13 -0500
417
+ From: from@example.com
418
+ Reply-To: reply_to@example.com
419
+ To: to@example.com
420
+ Cc: cc@example.com
421
+ Message-ID: <4f3452554761b_4b3b3fcae5434d348687d@dgmpro.local.mail>
422
+ Subject: Hiya!
423
+ Mime-Version: 1.0
424
+ Content-Type: text/plain;
425
+ charset=UTF-8
426
+ Content-Transfer-Encoding: 7bit
427
+
428
+ Papaya
429
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
430
+
431
+ Sent mail to to@example.com (5ms)
432
+ Date: Thu, 09 Feb 2012 18:10:13 -0500
433
+ From: from@example.com
434
+ Reply-To: reply_to@example.com
435
+ To: to@example.com
436
+ Cc: cc@example.com
437
+ Message-ID: <4f3452554761b_4b3b3fcae5434d348687d@dgmpro.local.mail>
438
+ Subject: Hiya!
439
+ Mime-Version: 1.0
440
+ Content-Type: text/plain;
441
+ charset=UTF-8
442
+ Content-Transfer-Encoding: 7bit
443
+
444
+ Papaya
445
+  (0.1ms) SAVEPOINT active_record_1
446
+  (0.1ms) UPDATE "emails" SET "sent_at" = '2012-02-09 23:10:13.318822', "updated_at" = '2012-02-09 23:10:13.319309' WHERE "emails"."id" = 1
447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
448
+  (0.5ms) rollback transaction
449
+  (0.2ms) begin transaction
450
+  (0.0ms) rollback transaction
451
+  (0.0ms) begin transaction
452
+ Rendered sample_mailer/hello.text.erb (4.7ms)
453
+
454
+ Sent mail to to@example.com (17ms)
455
+ Date: Thu, 09 Feb 2012 18:16:09 -0500
456
+ From: from@example.com
457
+ Reply-To: reply_to@example.com
458
+ To: to@example.com
459
+ Cc: cc@example.com
460
+ Message-ID: <4f3453b936828_4b7c3fca1dc34d40414c2@dgmpro.local.mail>
461
+ Subject: Hiya!
462
+ Mime-Version: 1.0
463
+ Content-Type: text/plain;
464
+ charset=UTF-8
465
+ Content-Transfer-Encoding: 7bit
466
+
467
+ Papaya
468
+  (0.0ms) rollback transaction
469
+  (0.0ms) begin transaction
470
+ Rendered sample_mailer/hello.text.erb (0.1ms)
471
+
472
+ Sent mail to to@example.com (8ms)
473
+ Date: Thu, 09 Feb 2012 18:16:09 -0500
474
+ From: from@example.com
475
+ Reply-To: reply_to@example.com
476
+ To: to@example.com
477
+ Cc: cc@example.com
478
+ Message-ID: <4f3453b93b50c_4b7c3fca1dc34d4041533@dgmpro.local.mail>
479
+ Subject: Hiya!
480
+ Mime-Version: 1.0
481
+ Content-Type: text/plain;
482
+ charset=UTF-8
483
+ Content-Transfer-Encoding: 7bit
484
+
485
+ Papaya
486
+  (0.0ms) rollback transaction
487
+  (0.0ms) begin transaction
488
+ Rendered sample_mailer/hello.text.erb (0.1ms)
489
+
490
+ Sent mail to to@example.com (8ms)
491
+ Date: Thu, 09 Feb 2012 18:16:09 -0500
492
+ From: from@example.com
493
+ Reply-To: reply_to@example.com
494
+ To: to@example.com
495
+ Cc: cc@example.com
496
+ Message-ID: <4f3453b93f6d5_4b7c3fca1dc34d4041667@dgmpro.local.mail>
497
+ Subject: Hiya!
498
+ Mime-Version: 1.0
499
+ Content-Type: text/plain;
500
+ charset=UTF-8
501
+ Content-Transfer-Encoding: 7bit
502
+
503
+ Papaya
504
+  (0.0ms) rollback transaction
505
+  (0.0ms) begin transaction
506
+ Rendered sample_mailer/hello.text.erb (0.1ms)
507
+
508
+ Sent mail to to@example.com (8ms)
509
+ Date: Thu, 09 Feb 2012 18:16:09 -0500
510
+ From: from@example.com
511
+ Reply-To: reply_to@example.com
512
+ To: to@example.com
513
+ Cc: cc@example.com
514
+ Message-ID: <4f3453b943734_4b7c3fca1dc34d40417f0@dgmpro.local.mail>
515
+ Subject: Hiya!
516
+ Mime-Version: 1.0
517
+ Content-Type: text/plain;
518
+ charset=UTF-8
519
+ Content-Transfer-Encoding: 7bit
520
+
521
+ Papaya
522
+  (0.0ms) rollback transaction
523
+  (0.1ms) select sqlite_version(*)
524
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
525
+  (0.0ms) PRAGMA index_list("schema_migrations")
526
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
527
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
528
+ Migrating to CreateEmails (20110804223859)
529
+  (0.0ms) begin transaction
530
+  (0.2ms) CREATE TABLE "emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "from_address" varchar(255) NOT NULL, "to_address" varchar(255), "cc_address" varchar(255), "bcc_address" varchar(255), "reply_to_address" varchar(255), "subject" varchar(255), "content" text, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
531
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804223859')
532
+  (0.0ms) commit transaction
533
+ Migrating to CreateDelayedJobs (20110804224806)
534
+  (0.0ms) begin transaction
535
+  (0.2ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
536
+  (0.0ms) PRAGMA index_list("delayed_jobs")
537
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
538
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804224806')
539
+  (0.0ms) commit transaction
540
+ Migrating to AddQueueToDelayedJobs (20120209150616)
541
+  (0.0ms) begin transaction
542
+  (0.2ms) ALTER TABLE "delayed_jobs" ADD "queue" varchar(255)
543
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120209150616')
544
+  (0.0ms) commit transaction
545
+  (0.1ms) select sqlite_version(*)
546
+  (0.2ms) begin transaction
547
+  (0.0ms) rollback transaction
548
+  (0.0ms) begin transaction
549
+ Rendered sample_mailer/hello.text.erb (1.9ms)
550
+
551
+ Sent mail to to@example.com (17ms)
552
+ Date: Thu, 09 Feb 2012 18:19:11 -0500
553
+ From: from@example.com
554
+ Reply-To: reply_to@example.com
555
+ To: to@example.com
556
+ Cc: cc@example.com
557
+ Message-ID: <4f34546fbf40d_4b913fd8b1c34d344901d@dgmpro.local.mail>
558
+ Subject: Hiya!
559
+ Mime-Version: 1.0
560
+ Content-Type: text/plain;
561
+ charset=UTF-8
562
+ Content-Transfer-Encoding: 7bit
563
+
564
+ Papaya
565
+  (0.0ms) rollback transaction
566
+  (0.0ms) begin transaction
567
+ Rendered sample_mailer/hello.text.erb (0.1ms)
568
+
569
+ Sent mail to to@example.com (8ms)
570
+ Date: Thu, 09 Feb 2012 18:19:11 -0500
571
+ From: from@example.com
572
+ Reply-To: reply_to@example.com
573
+ To: to@example.com
574
+ Cc: cc@example.com
575
+ Message-ID: <4f34546fc409d_4b913fd8b1c34d34491d0@dgmpro.local.mail>
576
+ Subject: Hiya!
577
+ Mime-Version: 1.0
578
+ Content-Type: text/plain;
579
+ charset=UTF-8
580
+ Content-Transfer-Encoding: 7bit
581
+
582
+ Papaya
583
+  (0.0ms) rollback transaction
584
+  (0.0ms) begin transaction
585
+ Rendered sample_mailer/hello.text.erb (0.1ms)
586
+
587
+ Sent mail to to@example.com (12ms)
588
+ Date: Thu, 09 Feb 2012 18:19:11 -0500
589
+ From: from@example.com
590
+ Reply-To: reply_to@example.com
591
+ To: to@example.com
592
+ Cc: cc@example.com
593
+ Message-ID: <4f34546fc8290_4b913fd8b1c34d3449259@dgmpro.local.mail>
594
+ Subject: Hiya!
595
+ Mime-Version: 1.0
596
+ Content-Type: text/plain;
597
+ charset=UTF-8
598
+ Content-Transfer-Encoding: 7bit
599
+
600
+ Papaya
601
+  (0.0ms) rollback transaction
602
+  (0.1ms) begin transaction
603
+ Rendered sample_mailer/hello.text.erb (0.1ms)
604
+
605
+ Sent mail to to@example.com (8ms)
606
+ Date: Thu, 09 Feb 2012 18:19:11 -0500
607
+ From: from@example.com
608
+ Reply-To: reply_to@example.com
609
+ To: to@example.com
610
+ Cc: cc@example.com
611
+ Message-ID: <4f34546fcd8a6_4b913fd8b1c34d34493b1@dgmpro.local.mail>
612
+ Subject: Hiya!
613
+ Mime-Version: 1.0
614
+ Content-Type: text/plain;
615
+ charset=UTF-8
616
+ Content-Transfer-Encoding: 7bit
617
+
618
+ Papaya
619
+  (0.0ms) rollback transaction
620
+  (0.1ms) select sqlite_version(*)
621
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
622
+  (0.0ms) PRAGMA index_list("schema_migrations")
623
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
624
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
625
+ Migrating to CreateEmails (20110804223859)
626
+  (0.0ms) begin transaction
627
+  (0.4ms) CREATE TABLE "emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "from_address" varchar(255) NOT NULL, "to_address" varchar(255), "cc_address" varchar(255), "bcc_address" varchar(255), "reply_to_address" varchar(255), "subject" varchar(255), "content" text, "sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
628
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804223859')
629
+  (16.2ms) commit transaction
630
+ Migrating to CreateDelayedJobs (20110804224806)
631
+  (0.0ms) begin transaction
632
+  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
633
+  (0.0ms) PRAGMA index_list("delayed_jobs")
634
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
635
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110804224806')
636
+  (4.1ms) commit transaction
637
+ Migrating to AddQueueToDelayedJobs (20120209150616)
638
+  (0.0ms) begin transaction
639
+  (0.3ms) ALTER TABLE "delayed_jobs" ADD "queue" varchar(255)
640
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120209150616')
641
+  (0.9ms) commit transaction
642
+  (0.3ms) select sqlite_version(*)
643
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
644
+  (0.0ms) PRAGMA index_list("delayed_jobs")
645
+  (0.0ms) PRAGMA index_info('delayed_jobs_priority')
646
+  (0.0ms) PRAGMA index_list("emails")
647
+  (0.4ms) begin transaction
648
+  (0.1ms) rollback transaction
649
+  (0.0ms) begin transaction
650
+ Rendered sample_mailer/hello.text.erb (1.8ms)
651
+  (0.1ms) SAVEPOINT active_record_1
652
+ SQL (3.9ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 18:20:34 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3454c2e1e7a_4b9a3fd5c6034d3888023@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 23:20:34 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 23:20:34 UTC +00:00]]
653
+ SQL (0.4ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 23:20:34 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 23:20:34 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 23:20:34 UTC +00:00]]
654
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 18:20:34 -0500
655
+ From: from@example.com
656
+ Reply-To: reply_to@example.com
657
+ To: to@example.com
658
+ Cc: cc@example.com
659
+ Message-ID: <4f3454c2e1e7a_4b9a3fd5c6034d3888023@dgmpro.local.mail>
660
+ Subject: Hiya!
661
+ Mime-Version: 1.0
662
+ Content-Type: text/plain;
663
+ charset=UTF-8
664
+ Content-Transfer-Encoding: 7bit
665
+
666
+ Papaya', "created_at" = '2012-02-09 23:20:34.935716', "updated_at" = '2012-02-09 23:20:34.935716' WHERE "emails"."id" = 1
667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
668
+
669
+ Sent mail to to@example.com (66ms)
670
+ Date: Thu, 09 Feb 2012 18:20:34 -0500
671
+ From: from@example.com
672
+ Reply-To: reply_to@example.com
673
+ To: to@example.com
674
+ Cc: cc@example.com
675
+ Message-ID: <4f3454c2e1e7a_4b9a3fd5c6034d3888023@dgmpro.local.mail>
676
+ Subject: Hiya!
677
+ Mime-Version: 1.0
678
+ Content-Type: text/plain;
679
+ charset=UTF-8
680
+ Content-Transfer-Encoding: 7bit
681
+
682
+ Papaya
683
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
684
+  (0.5ms) rollback transaction
685
+  (0.0ms) begin transaction
686
+ Rendered sample_mailer/hello.text.erb (0.1ms)
687
+  (0.1ms) SAVEPOINT active_record_1
688
+ SQL (0.5ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 18:20:34 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3454c2f3439_4b9a3fd5c6034d388811c@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00]]
689
+ SQL (0.3ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00]]
690
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 18:20:34 -0500
691
+ From: from@example.com
692
+ Reply-To: reply_to@example.com
693
+ To: to@example.com
694
+ Cc: cc@example.com
695
+ Message-ID: <4f3454c2f3439_4b9a3fd5c6034d388811c@dgmpro.local.mail>
696
+ Subject: Hiya!
697
+ Mime-Version: 1.0
698
+ Content-Type: text/plain;
699
+ charset=UTF-8
700
+ Content-Transfer-Encoding: 7bit
701
+
702
+ Papaya', "created_at" = '2012-02-09 23:20:35.003552', "updated_at" = '2012-02-09 23:20:35.003552' WHERE "emails"."id" = 1
703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
704
+
705
+ Sent mail to to@example.com (14ms)
706
+ Date: Thu, 09 Feb 2012 18:20:34 -0500
707
+ From: from@example.com
708
+ Reply-To: reply_to@example.com
709
+ To: to@example.com
710
+ Cc: cc@example.com
711
+ Message-ID: <4f3454c2f3439_4b9a3fd5c6034d388811c@dgmpro.local.mail>
712
+ Subject: Hiya!
713
+ Mime-Version: 1.0
714
+ Content-Type: text/plain;
715
+ charset=UTF-8
716
+ Content-Transfer-Encoding: 7bit
717
+
718
+ Papaya
719
+  (0.1ms) SELECT COUNT(*) FROM "emails" 
720
+  (0.1ms) SELECT COUNT(*) FROM "delayed_jobs"
721
+  (0.5ms) rollback transaction
722
+  (0.0ms) begin transaction
723
+ Rendered sample_mailer/hello.text.erb (0.1ms)
724
+  (0.1ms) SAVEPOINT active_record_1
725
+ SQL (0.5ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 18:20:35 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3454c3507c_4b9a3fd5c6034d38882e7@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00]]
726
+ SQL (0.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00]]
727
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 18:20:35 -0500
728
+ From: from@example.com
729
+ Reply-To: reply_to@example.com
730
+ To: to@example.com
731
+ Cc: cc@example.com
732
+ Message-ID: <4f3454c3507c_4b9a3fd5c6034d38882e7@dgmpro.local.mail>
733
+ Subject: Hiya!
734
+ Mime-Version: 1.0
735
+ Content-Type: text/plain;
736
+ charset=UTF-8
737
+ Content-Transfer-Encoding: 7bit
738
+
739
+ Papaya', "created_at" = '2012-02-09 23:20:35.027601', "updated_at" = '2012-02-09 23:20:35.027601' WHERE "emails"."id" = 1
740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
741
+
742
+ Sent mail to to@example.com (13ms)
743
+ Date: Thu, 09 Feb 2012 18:20:35 -0500
744
+ From: from@example.com
745
+ Reply-To: reply_to@example.com
746
+ To: to@example.com
747
+ Cc: cc@example.com
748
+ Message-ID: <4f3454c3507c_4b9a3fd5c6034d38882e7@dgmpro.local.mail>
749
+ Subject: Hiya!
750
+ Mime-Version: 1.0
751
+ Content-Type: text/plain;
752
+ charset=UTF-8
753
+ Content-Transfer-Encoding: 7bit
754
+
755
+ Papaya
756
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
757
+ Delayed::Backend::ActiveRecord::Job Load (0.1ms) SELECT "delayed_jobs".* FROM "delayed_jobs" LIMIT 1
758
+ DelayedMailhopper::Email Load (0.1ms) SELECT "emails".* FROM "emails" WHERE "emails"."id" = ? ORDER BY created_at DESC LIMIT 1 [["id", 1]]
759
+
760
+ Sent mail to to@example.com (6ms)
761
+ Date: Thu, 09 Feb 2012 18:20:35 -0500
762
+ From: from@example.com
763
+ Reply-To: reply_to@example.com
764
+ To: to@example.com
765
+ Cc: cc@example.com
766
+ Message-ID: <4f3454c3507c_4b9a3fd5c6034d38882e7@dgmpro.local.mail>
767
+ Subject: Hiya!
768
+ Mime-Version: 1.0
769
+ Content-Type: text/plain;
770
+ charset=UTF-8
771
+ Content-Transfer-Encoding: 7bit
772
+
773
+ Papaya
774
+  (0.1ms) SAVEPOINT active_record_1
775
+  (0.1ms) UPDATE "emails" SET "sent_at" = '2012-02-09 23:20:35.052547', "updated_at" = '2012-02-09 23:20:35.053051' WHERE "emails"."id" = 1
776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
777
+ [DelayedMailhopper::SendJob] success for email_id 1, delayed_job_id 1
778
+ DelayedMailhopper::Email Load (0.1ms) SELECT "emails".* FROM "emails" WHERE "emails"."id" = ? LIMIT 1 [["id", 1]]
779
+  (0.6ms) rollback transaction
780
+  (0.1ms) begin transaction
781
+ Rendered sample_mailer/hello.text.erb (0.1ms)
782
+  (0.1ms) SAVEPOINT active_record_1
783
+ SQL (0.5ms) INSERT INTO "emails" ("bcc_address", "cc_address", "content", "created_at", "from_address", "reply_to_address", "sent_at", "subject", "to_address", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["bcc_address", "bcc@example.com"], ["cc_address", "cc@example.com"], ["content", "Date: Thu, 09 Feb 2012 18:20:35 -0500\r\nFrom: from@example.com\r\nReply-To: reply_to@example.com\r\nTo: to@example.com\r\nCc: cc@example.com\r\nMessage-ID: <4f3454c310206_4b9a3fd5c6034d3888320@dgmpro.local.mail>\r\nSubject: Hiya!\r\nMime-Version: 1.0\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\nPapaya"], ["created_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["from_address", "from@example.com"], ["reply_to_address", "reply_to@example.com"], ["sent_at", nil], ["subject", "Hiya!"], ["to_address", "to@example.com"], ["updated_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00]]
784
+ SQL (0.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/struct:DelayedMailhopper::SendJob\nid: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00], ["updated_at", Thu, 09 Feb 2012 23:20:35 UTC +00:00]]
785
+  (0.3ms) UPDATE "emails" SET "to_address" = 'to@example.com', "from_address" = 'from@example.com', "cc_address" = 'cc@example.com', "bcc_address" = 'bcc@example.com', "reply_to_address" = 'reply_to@example.com', "subject" = 'Hiya!', "content" = 'Date: Thu, 09 Feb 2012 18:20:35 -0500
786
+ From: from@example.com
787
+ Reply-To: reply_to@example.com
788
+ To: to@example.com
789
+ Cc: cc@example.com
790
+ Message-ID: <4f3454c310206_4b9a3fd5c6034d3888320@dgmpro.local.mail>
791
+ Subject: Hiya!
792
+ Mime-Version: 1.0
793
+ Content-Type: text/plain;
794
+ charset=UTF-8
795
+ Content-Transfer-Encoding: 7bit
796
+
797
+ Papaya', "created_at" = '2012-02-09 23:20:35.073011', "updated_at" = '2012-02-09 23:20:35.073011' WHERE "emails"."id" = 1
798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
799
+
800
+ Sent mail to to@example.com (13ms)
801
+ Date: Thu, 09 Feb 2012 18:20:35 -0500
802
+ From: from@example.com
803
+ Reply-To: reply_to@example.com
804
+ To: to@example.com
805
+ Cc: cc@example.com
806
+ Message-ID: <4f3454c310206_4b9a3fd5c6034d3888320@dgmpro.local.mail>
807
+ Subject: Hiya!
808
+ Mime-Version: 1.0
809
+ Content-Type: text/plain;
810
+ charset=UTF-8
811
+ Content-Transfer-Encoding: 7bit
812
+
813
+ Papaya
814
+ DelayedMailhopper::Email Load (0.2ms) SELECT "emails".* FROM "emails" ORDER BY created_at DESC LIMIT 1
815
+
816
+ Sent mail to to@example.com (5ms)
817
+ Date: Thu, 09 Feb 2012 18:20:35 -0500
818
+ From: from@example.com
819
+ Reply-To: reply_to@example.com
820
+ To: to@example.com
821
+ Cc: cc@example.com
822
+ Message-ID: <4f3454c310206_4b9a3fd5c6034d3888320@dgmpro.local.mail>
823
+ Subject: Hiya!
824
+ Mime-Version: 1.0
825
+ Content-Type: text/plain;
826
+ charset=UTF-8
827
+ Content-Transfer-Encoding: 7bit
828
+
829
+ Papaya
830
+  (0.1ms) SAVEPOINT active_record_1
831
+  (0.1ms) UPDATE "emails" SET "sent_at" = '2012-02-09 23:20:35.092855', "updated_at" = '2012-02-09 23:20:35.093357' WHERE "emails"."id" = 1
832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
833
+  (0.5ms) rollback transaction